with one click
add-feat
Add a new feature with design, TDD, and PR workflow
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Add a new feature with design, TDD, and PR workflow
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Write personal blog posts with the rhythm, structure, and voice of top-tier essayists (Paul Graham, Dan Luu, Henrik Karlsson, Ben Kuhn, etc.)
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.
Fix a bug with systematic debugging, TDD, and PR workflow
Create a git release — tag, push, and create GitHub release
Emergency fix — minimal change, fast PR, no design overhead
| name | add-feat |
| description | Add a new feature with design, TDD, and PR workflow |
| user_invocable | true |
Follow this exact sequence. Do NOT skip steps.
git checkout main && git pull
git worktree add .claude/worktrees/feat-<name> -b feat/<feature-name>
cd .claude/worktrees/feat-<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/feat-<name>git checkout main && git pull && git branch -d feat/<feature-name>Before every PR, answer each item and present as a markdown table:
| # | Check | Answer |
|---|---|---|
| 1 | What changed — what was built and how | [brief] |
| 2 | Systematic design — is the design systematic, or patch-by-patch? | [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] |