一键导入
fix-bug
Fix a bug with systematic debugging, TDD, and PR workflow
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fix a bug with systematic debugging, TDD, and PR workflow
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Write personal blog posts with the rhythm, structure, and voice of top-tier essayists (Paul Graham, Dan Luu, Henrik Karlsson, Ben Kuhn, etc.)
Add a new feature with design, TDD, and PR workflow
Audit a codebase for security vulnerabilities, code quality issues, and architecture concerns
Use when the user says "autopilot", "auto mode", "替我回答", or "自动回答". Enables autonomous decision-making by answering Claude's own questions based on the user's personality profile.
Create a git release — tag, push, and create GitHub release
Emergency fix — minimal change, fast PR, no design overhead
| name | fix-bug |
| description | Fix a bug with systematic debugging, TDD, and PR workflow |
| user_invocable | true |
Follow this exact sequence. No plan needed — go straight to debugging.
git checkout main && git pull
git log --oneline -10), gather evidencegit worktree add .claude/worktrees/fix-<name> -b fix/<bug-description>
cd .claude/worktrees/fix-<name>
All work happens in the worktree — main stays clean.
git diff main...HEADgh pr creategh pr merge <number> --mergecd <project-root> && git worktree remove .claude/worktrees/fix-<name>git checkout main && git pull && git branch -d fix/<bug-description>Before every PR, answer each item and present as a markdown table:
| # | Check | Answer |
|---|---|---|
| 1 | What changed — what was fixed and how | [brief] |
| 2 | Root cause fix — does this fix the root cause, or just the symptom? | [yes/no + evidence] |
| 3 | Single source of truth — no duplicate data paths or redundant caches introduced? | [yes/no + evidence] |
| 4 | Test regression — do all existing tests pass? | [pass count / fail count] |
| 5 | Reuse — did you reuse existing patterns/functions, or reinvent something? | [yes/no + evidence] |