architecture-impact-ve…
基于同 run code-facts / adapter evidence 生成 candidate-only 架构影响评估。
Use when feature, requirement, defect, or delivery work needs confirmation that development is happening on the correct requirement branch.
Claude Code
$ npx -y skills add protect-my-hair/nucleus-marketplace --skill requirement-branch --agent claude-code
Codex
$ npx skills add protect-my-hair/nucleus-marketplace --skill requirement-branch -a codex -y
Cursor
$ npx skills add protect-my-hair/nucleus-marketplace --skill requirement-branch -a cursor -y
Gemini CLI
$ npx skills add protect-my-hair/nucleus-marketplace --skill requirement-branch -a gemini-cli -y
GitHub Copilot
$ npx skills add protect-my-hair/nucleus-marketplace --skill requirement-branch -a github-copilot -y
OpenCode
$ npx skills add protect-my-hair/nucleus-marketplace --skill requirement-branch -a opencode -y
Windsurf
$ npx skills add protect-my-hair/nucleus-marketplace --skill requirement-branch -a windsurf -y
name: requirement-branch description: Use when feature, requirement, defect, or delivery work needs confirmation that development is happening on the correct requirement branch.
需求特性开发只能在明确的需求分支内推进。
<HARD-GATE> 当前分支是主干、版本分支、保护分支、未知分支或 detached HEAD,且没有明确创建或切换需求分支授权时,必须 `ALERT_AND_BLOCK`。不得写源码、测试、正式特性文档、提交或准备 MR/PR。 </HARD-GATE>
本 Skill 只解决一个问题:让 coding agent 在任何需求特性写操作前确认自己处于正确需求分支。
它不创建 PMS 状态,不批准分支策略,不替人工决定版本排期,也不负责实现具体特性。
1. 先读取当前任务上下文,确认 requirement id、目标版本分支、期望需求分支命名和 planned writes。 2. 读取 git 当前分支、worktree 状态和 dirty 状态。 3. 如果已经在明确需求分支,记录证据后返回当前 task。 4. 如果不在需求分支,向用户呈现:
5. 只问一个问题:是否授权创建或切换到需求分支。 6. 没有明确授权前停住。
| 反模式 | 为什么错 | 修正 | |---|---|---| | “当前是 master,但只是小改,可以继续” | 需求特性会污染主干 | 停住并请求创建或切换需求分支 | | “result.json 写了 branch,所以算确认” | 机器结果不能制造授权事实 | 分支授权必须来自上下文或明确回复 | | “先写代码,最后再建分支” | 变更归属和证据会错位 | 分支确认先于任何写操作 | | “PMS 会管分支,Nucleus 不用检查” | Nucleus 装在 coding agent 内部,执行前仍要保护现场 | 本地执行前必须检查 |
可记录的机器事实:
这些证据只证明检查发生过,不代表人工已批准开发、PR 审查、合入或发布。
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…