code-plugin-architecture SKILL.md skillA

code-plugin-architecture from adonis0123/adonis-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add adonis0123/adonis-skills/code-plugin-architecture@v0.4.1

Pins v0.4.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
adonis0123/adonis-skills
Path
skills/code-plugin-architecture/SKILL.md
Versions recorded
4
Latest version
v0.4.1, committed Sep 14, 2026
First version recorded
May 28, 2026
Size
9,020 bytes
Repository stars
4
License
MIT

Design, review, refactor, or explain recurring extension mechanisms when adding or removing one variant requires scattered coordinated edits. Use for plugin architecture, registries, extension points, and cross-stack contract/host mappings. Assess whether a typed map, existing framework mechanism, or lifecycle-owning core is justified. Skip one plugin's internal styling or bugs, user signup, DI containers, and package registries.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Code Plugin Architecture

让新增或移除一种变体所需的知识集中在清晰边界内。目标是减少真实的修改传播和回归,结构按问题选择。

## 先确定用户要什么

| 当前请求                 | 本轮产出与边界                                                         |
| ------------------------ | ---------------------------------------------------------------------- |
| 解释 / 命名 / 第一性原理 | 解释当前机制、取舍和反例;不创建实现、README 或评审工程                |
| 只读评审                 | 读取约定范围,报告当前伤害、证据和最小建议;不为验收删除插件或创建分支 |
| 设计                     | 给所需契约、落点、行为和验证方案;示例是建议,不声称已实现             |
| 实现 / 重构              | 检查工作树后修改授权范围,保留既有行为与标识,运行对应验证             |

解释、评审、设计不因加载本 skill 自动变成实现。已有授权继续有效;新增范围、外部动作、破坏性迁移仍需对应授权。用户只问一个变体的内部问题时,处理那个问题,不扩成机制改造。

默认只读本文件。仅当当前任务需要时加载对应引用,不用为一个简单问题读完案例库:

- 需要论证必要性、OCP / DIP / DDD 类比 → [references/first-principles.md](references/first-principles.md)。
- 需要检查具体反模式 → [references/anti-patterns.md](references/anti-patterns.md)。
- 有真实生命周期、订阅、缓存、异步加载或多账号状态 → [references/stateful-runtime.md](references/stateful-runtime.md)。
- 跨团队发布、第三方插件或版本兼容 → [references/governance.md](references/governance.md)。
- 要迁移到 Rust / Tauri / Python 或框架插件 API → [references/cross-stack.md](references/cross-stack.md)。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add adonis0123/adonis-skills/code-plugin-architecture@sha256:1512feae346629b5

The line at the top of this page pins the label v0.4.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mh3q4vawt65tprxi.svg)](https://markdownregistry.com/a/art_mh3q4vawt65tprxi)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between May 28, 2026 and Sep 14, 2026, about one every 36 days.

versioncommittedcommitsizeaudit
v0.4.1 latest2026-09-14 1c0961c 9,020 BA view · diff
v0.4.02026-09-05 8844a98 9,020 BA view · diff
v0.2.02026-05-29 2a97cfe 26,506 BA view · diff
v0.2.02026-05-28 0fc3481 21,509 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9020 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

adonis0123/adonis-skills · 4 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mh3q4vawt65tprxi
GET https://markdownregistry.com/api/v1/resolve?ref=adonis0123/adonis-skills/code-plugin-architecture
GET https://markdownregistry.com/api/v1/blob/1512feae346629b520a440bf8861bbf1eae1e4746cf0fb0207e1e507c7378d8e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from adonis0123/adonis-skills

agent-symlink-init SKILL.md skill
adonis0123/adonis-skills · .agents/skills/agent-symlink-init/SKILL.md · Initialize or migrate agent-skill symlinks in any repository. Use when a project needs `.claude/skills` linked to…
git:20260914.ce3286b · audit A · 4 stars
code-inspector-init SKILL.md skill
adonis0123/adonis-skills · .agents/skills/code-inspector-init/SKILL.md · Set up or migrate code-inspector-plugin across modern frontend frameworks. Use when you need click-to-source IDE…
git:20260914.ce3286b · audit A · 4 stars
commit SKILL.md skill
adonis0123/adonis-skills · .agents/skills/commit/SKILL.md · Generate read-only emoji-prefixed Conventional Commit messages or create focused local commits from staged changes or a…
git:20260923.3e02ac9 · audit A · 4 stars
copywriting SKILL.md skill
adonis0123/adonis-skills · .agents/skills/copywriting/SKILL.md · When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages…
v1.0.0 · audit A · 4 stars
css-tailwind-styling SKILL.md skill
adonis0123/adonis-skills · .agents/skills/css-tailwind-styling/SKILL.md · Expert guidance for writing clean, performant CSS and Tailwind CSS. Use when creating styles, designing components…
git:20260923.15ed8b9 · audit A · 4 stars
lingui-best-practices SKILL.md skill
adonis0123/adonis-skills · .agents/skills/lingui-best-practices/SKILL.md · Implement or review Lingui message macros, catalog configuration, locale loading, and React or JavaScript integration…
git:20260923.15ed8b9 · audit A · 4 stars
lingui-workflow SKILL.md skill
adonis0123/adonis-skills · .agents/skills/lingui-workflow/SKILL.md · Choose and troubleshoot extract, translation-check, compile, and catalog-manifest commands in an existing Lingui…
git:20260905.8844a98 · audit A · 4 stars
repo-skill-creator SKILL.md skill
adonis0123/adonis-skills · .agents/skills/repo-skill-creator/SKILL.md · Create and maintain repository skills for adonis-skills. Use when users ask to scaffold a new skill under skills/…
git:20260923.15ed8b9 · audit A · 4 stars
weekly-report SKILL.md skill
adonis0123/adonis-skills · .agents/skills/weekly-report/SKILL.md · Generate structured weekly reports from Git commit history across one or multiple repositories. Use when you need…
v1.1.1 · audit A · 4 stars
AGENTS.md AGENTS.md file
adonis0123/adonis-skills · AGENTS.md
git:20260317.cd91537 · audit B · 4 stars
CLAUDE.md CLAUDE.md file
adonis0123/adonis-skills · CLAUDE.md
git:20261018.53d2379 · audit A · 4 stars
DESIGN.md DESIGN.md file
adonis0123/adonis-skills · DESIGN.md · Catalog site for Nika's agent skills. Near-white warm gray pages, one fresh leaf-green accent used on small areas, and…
alpha · audit A · 4 stars

Every file in adonis0123/adonis-skills

Browse by kind, by grade A, or by owner.