/dyc:forgefrom dyc
插件与技能的全生命周期管理:基于 Agent Plugins Spec 创建标准插件、通过 extensions + init 模式适配多厂商(Claude Code / Qoder / Codex / CodeBuddy),以及发现、安装、编写、校验技能。Use when creating a plugin, scaffolding a multi-vendor plugin, writing plugin.json, generating init.ts, finding/installing skills, or authoring/validating SKILL.md. Not for runtime debugging of deployed skills (route to hunt) or reviewing plugin code quality (route to check).
Ships in dyc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
插件与技能的全生命周期入口:建得了、适得通、找得到、装得上、写得出、验得过。
Forge 是插件与技能的全生命周期路由层:判断任务属于哪个阶段(建/适配/找/管/写/验),加载对应的 reference 或脚本,不在记忆里拼参数。
scripts/validate-skill.ts 全部门禁。scripts/validate-plugin.ts 退出码;npx skills list 状态;校验器退出码。hunt for runtime debugging of deployed skills; route to check for reviewing plugin code quality.scripts/validate-plugin.ts 确认插件合规;npx skills list 确认安装结果;校验器 exit 0 确认编写结果。| Ask | Load |
|---|---|
| 创建插件、plugin.json、标准骨架 | references/plugin-spec.md |
| 多厂商适配、extensions、init.ts | references/extensions-pattern.md → 按其指引再读对应厂商目录的 init-guide(claude/、qoder/、codex/、codebuddy/) |
| 找技能、推荐技能、"有没有 X 的技能" | references/find-plugins.md |
| Skills CLI 命令用法、安装/更新/移除/CI 自动化 | references/cli-guide.md |
| 新建或编写 SKILL.md、技能结构规范 | references/skill-authoring.md |
| 审计、精简、改写既有 SKILL.md / AGENTS.md | references/next-gen-context.md(新一代模型上下文规则 + 删除测试清单) |
| 编写 README、插件说明文档 | references/readme-guide.md |
| 校验技能合规、修复门禁报错 | 运行 scripts/validate-skill.ts <skill-dir>(规则说明见 references/skill-authoring.md 的 Evidence Ladder) |
npx skills find 的实际输出。scripts/validate-plugin.ts 或 validate-skill.ts 的情况下声称校验通过。scripts/validate-plugin.ts <plugin-root> 退出码 0。.<vendor>-plugin/init.ts,确认生成的 .<vendor>-plugin/plugin.json 存在且内容正确。scripts/validate-skill.ts <skill-dir> 全部门禁绿。npx skills list、全局用 npx skills list -g,状态与预期一致。vp run init 同步版本,并通过仓库根的 validate_repo.py 与 vp run validate:schema。Close with plugin path, vendors, validation exit code, next step.
references/skill-authoring.md(Evidence Ladder),不可协商。add / update / remove 一律先给命令、经同意后执行。| What happened | Rule |
|---|---|
| 跨技能用路径引用导致安装副本断链 | 按名引用,路径引用过不了 isolation 门 |
| 技能目录留空文件夹 | 目录只在有文件时创建 |
claude/init-guide.md (opens in a new tab)claude/manifest-rules.md (opens in a new tab)codebuddy/init-guide.md (opens in a new tab)codebuddy/manifest-rules.md (opens in a new tab)codex/init-guide.md (opens in a new tab)codex/manifest-rules.md (opens in a new tab)evals/cases/author-commit-lint-skill.yaml (opens in a new tab)evals/cases/scaffold-new-plugin.yaml (opens in a new tab)evals/eval.yaml (opens in a new tab)qoder/init-guide.md (opens in a new tab)qoder/manifest-rules.md (opens in a new tab)references/cli-guide.md (opens in a new tab)references/extensions-pattern.md (opens in a new tab)references/find-plugins.md (opens in a new tab)references/next-gen-context.md (opens in a new tab)references/plugin-spec.md (opens in a new tab)references/readme-guide.md (opens in a new tab)references/skill-authoring.md (opens in a new tab)scripts/checks-content.ts (opens in a new tab)scripts/markdown-fragments.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
plugin, 插件, create plugin, 创建插件, plugin.json, init.ts, extensions, manifest, 多厂商, multi-vendor, scaffold, 脚手架, 厂商适配, claude-plugin, qoder-plugin, codex-plugin, codebuddy-plugin, find skills, 找技能, skills.sh, skills cli, npx skills, 安装技能, create skill, write SKILL.md, author skill, 新建技能, 编写技能, skill template, validate skill, 校验技能
Other plugins' skills for the same job
npx claudepluginhub mymx2/m2-plugins --plugin dyc12 skills in this plugin
/checkReviews code diffs, PRs, release readiness, and project or document audits, then reports evidence-grounded findings. Use when users ask for code review, issue or PR triage, release gates, project scorecards, security/performance/coverage review, or doc proofreading. Not for debugging root causes (hunt) or drafting prose (write)./chromeDrives a real Chrome browser through the chrome-devtools-mcp MCP server for page automation, network and console analysis, emulation, and extension testing. Use when a task needs operating a live browser: navigating, snapshotting the accessibility tree, interacting by element uid, capture a screenshot or full-page capture, console errors, traces, or heap snapshots, or fixing the MCP server setup. Not for diagnosing application logic root causes (use hunt) or judging visual quality (use ui)./healthRuns a budget-aware agent-assisted engineering health audit for instruction/config drift, hooks/MCP, verifier surfaces, and AI maintainability. Use when users ask to audit Claude, Codex, Pi, agent instructions, MCP or hooks, verifier coverage, or AI-maintainability drift. Not for debugging application code or reviewing PRs./huntFinds the actual root cause of a failing test, error, crash, regression, a page rendered blank or wrong, or a request that throws, before applying fixes, proven against a known-good reference (prior version, release artifact, or "good" screenshot). Use when users report errors, crashes, broken behavior, blank rendering, failing tests, or a used-to-work state that now fails. Not for code review (route to check) or a first-impression visual complaint with no working baseline (route to ui)./learnRuns a six-phase research workflow that turns unfamiliar domains, real docs, source bundles, or collected material into a publish-ready comparison or reference. Use when users ask for multi-source research: deep-dives, comparing tradeoffs, compiling sources, synthesizing unfamiliar material, or turning a source bundle into a coherent reference. Not for quick lookups or single-URL fetches (route to read)./pmProduces PM deliverables and decision frameworks: PRD, user stories, Epic breakdown, backlog prioritization (RICE, MoSCoW), feedback analysis, competitive comparison, metrics reviews (DAU, funnel, retention), roadmaps, GTM (pricing, channels, positioning). Use when users ask to write a PRD, split stories, rank a backlog, analyze feedback or competitors, review metrics, or plan GTM. Not for engineering planning (think), open research (learn), prose polishing (write), or code review (check).