architecture-impact-ve…
基于同 run code-facts / adapter evidence 生成 candidate-only 架构影响评估。
Use when 需要初始化目标产品仓库的 Nucleus V2 资产、只读检查、候选产物、审批后写入和结果证据。
Claude Code
$ npx -y skills add protect-my-hair/nucleus-marketplace --skill target-repo-setup --agent claude-code
Codex
$ npx skills add protect-my-hair/nucleus-marketplace --skill target-repo-setup -a codex -y
Cursor
$ npx skills add protect-my-hair/nucleus-marketplace --skill target-repo-setup -a cursor -y
Gemini CLI
$ npx skills add protect-my-hair/nucleus-marketplace --skill target-repo-setup -a gemini-cli -y
GitHub Copilot
$ npx skills add protect-my-hair/nucleus-marketplace --skill target-repo-setup -a github-copilot -y
OpenCode
$ npx skills add protect-my-hair/nucleus-marketplace --skill target-repo-setup -a opencode -y
Windsurf
$ npx skills add protect-my-hair/nucleus-marketplace --skill target-repo-setup -a windsurf -y
name: target-repo-setup description: Use when 需要初始化目标产品仓库的 Nucleus V2 资产、只读检查、候选产物、审批后写入和结果证据。
用于目标产品仓库的 Nucleus V2 初始化。它是 Skill package 入口,确定性本地能力由 `scripts/target_repo_setup.py` 的显式子命令执行。人读说明先使用中文动作;CLI 子命令、JSON 字段和 approval scope 保持英文机器契约。
1. 执行目标仓库只读检查(`run-preflight`),原始报告写到目标仓库外部。 2. 归一化只读检查结果(`normalize-preflight`);未审批时只写 `.nucleus/runs/<workflowRunId>/**`。 3. 生成初始化计划、规则块候选差异、`docs/specs/**` 规范模板候选和模板候选产物(`build-plan`、`check-boundary`、`build-candidates`)。 4. 生成运行结果包(`build-result`):先读 `.nucleus/runs/<workflowRunId>/summary.md`,机器事实源仍是 `.nucleus/runs/<workflowRunId>/result.json`。 5. 缺少人工审批事实时停在 `NEEDS_HUMAN_REVIEW`;只有审批事实有效时,才能写 `AGENTS.md` 的 Nucleus 管理规则块、允许目录和缺失的默认 `docs/specs/**` 规范模板。 6. 正式特性/测试骨架不由初始化步骤默认选择路径;必须由目标仓库特性树评审给出明确目标路径(targetPath)后,才允许单独执行提升命令。 7. 如需检查、安装、配置或激活宿主工具,单独使用 `$host-tool-setup`;本 Skill 的成功不代表宿主工具可用。
运行结束后必须先读 `.nucleus/runs/<workflowRunId>/summary.md` 和 `result.json`,再按 `references/human-interaction.md` 输出结论。最终回复不能只列状态(status)、检查项(gate)或工具状态;必须明确“已经完成什么、还没有做什么、需要用户决定什么、下一步怎么做”。
到达 setup plan review 或 template candidate review 前,必须按 workflow 的 `subagentPreReview` 调度独立 reviewer 子代理;未取得“材料可提交人工审查”预审结论时,不得请求人工审批或评审通过。
运行 `python3 scripts/target_repo_setup.py list-subcommands` 查看完整能力。当前实现:
必须 `ALERT_AND_BLOCK`:
Engineering Workflow Discipline Plugin · For Claude Code / Codex Nucleus is a workflow plugin installed inside an AI coding agent.
基于同 run code-facts / adapter evidence 生成 candidate-only 架构影响评估。
Use when 从显式缺陷 context package 评估 Nucleus V2 缺陷接入质量并生成 candidate-only RCA 证据。
Use when 从 prior Nucleus result packages 生成 candidate-only 交付闭环证据和 PR/MR draft 文本。
Nucleus V2 approved-write 交付 workflow evidence finalizer。用于聚合已完成的 step result evidence,生成 final evidence report 和最终 result…
Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic…
Triage a Windows crash dump - identify the exception, the faulting frame, and what to look at next. Use when the user points at a…
Test and debug a web app in its existing d3k browser, including local Chrome connected to a Vercel Sandbox over CDP. Use for UI…