一键导入
fix-bug
Orchestration skill for bug fixes and production issue repair. Investigate -> light brief -> targeted verification -> council -> PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Orchestration skill for bug fixes and production issue repair. Investigate -> light brief -> targeted verification -> council -> PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Orchestration skill: chains the full ADLC Build Loop. PRD → Brief → Council → Scaffold → Codegen → LDD → TDD → Council → PR. Use when implementing a new feature end-to-end.
Generate a bounded, schema-valid goal prompt from one validated Build Brief task for zero-context external execution.
Applicability-aware Definition of Done checklist. Core checks apply to every task; overlay checks activate only when the applicability manifest says the surface exists. Binary verification — pass or fail. Triggers at Phase 4 completion and Phase 5 entry.
Score whether each task is specific enough for autonomous, one-shot, production-ready execution.
Reviews code changes for understanding, blast radius, state, secrets, assumptions, and explainability. Produces a blocking comprehension artifact when implications are unclear.
Resolve ambiguous triage outcomes in the middle confidence band.
| name | fix-bug |
| description | Orchestration skill for bug fixes and production issue repair. Investigate -> light brief -> targeted verification -> council -> PR. |
Chains the fix loop for bug fixes and production issue repair. It is lighter than build-feature and uses a bug-specific verifier contract instead of universal test ceremony.
Step 1: Investigate (systematic debugging)
Step 2: Light Brief (single task with verification_spec)
Step 3: Apply only the gates that the task class warrants
Step 4: LDD gate
Step 5: Bugfix verification discipline
Step 6: Definition of Done
Step 7: Light Council (3 personas, 1 round)
Step 8: PR with evidence
Use systematic-debugging to:
Create a single-task brief that includes:
bugfixverification_specproduct_vocabulary with mappings and banned_tokens[], or none_declaredDo not decompose into feature-style subwork unless the bug truly reveals a larger feature gap.
Write the canonical light brief outside the target repo using bin/adlc process-artifact-path --target-repo <target-repo> --task <task-id> --artifact-type build-brief --filename build-brief.json --json.
Use the brief's applicability decision, not a universal checklist.
Use ldd-enforcement before verification. Lint must pass before the bugfix verifier runs.
Use the primary verifier from verification_spec.
Bugfix rules:
Do not force the bug through a generic RED/GREEN/REFACTOR script. The verifier itself is the contract.
Use the DoD subset that applies to the task class and activated overlays.
Use eval-council in light mode with three personas:
Include:
Before publishing, run bin/adlc pr-hygiene-scan with the Build Brief. The PR diff and body must contain only the scoped code/docs change, not ADLC goal prompts, Build Brief drafts, local paths, council scratch artifacts, or removed target-repo gates. If the base branch is not the default branch, document the dependency explicitly.
Store verifier summaries, council output, and closeout notes in ADLC process artifact storage keyed by target repo and task. Reference those artifacts from the PR body; do not add them to the target repo commit.
If three fix attempts fail: