hezaohezao/subagent-driven-development
Execute plans task-by-task with two-stage review.
npx skills add https://github.com/HezaoHezao/poirot --skill subagent-driven-development
Execute implementation plans task-by-task with systematic two-stage review
between tasks.
Core principle: Fresh focus per task + two-stage review (spec then quality)
= high quality, fast iteration.
> Poirot note: The original skill dispatches a fresh subagent per task via
> delegate_task. Poirot has no subagents, so this version executes tasks
> sequentially in the same context with a deliberate context-reset between
> tasks. The two-stage review methodology is preserved.
plan skill or user requirements)Read the plan file. Extract ALL tasks with full text and context upfront:
read_file(".poirot/plans/feature-plan.md")
Create a todo list with all tasks. Read the plan ONCE — don't re-read per task.
For EACH task in the plan:
Before starting each task, deliberately reset your focus:
Follow the task's steps exactly:
test-driven-development skill)bash("pytest tests/test_feature.py::test_name -v")
# ... implement ...
bash("pytest tests/ -q")
bash("git add -A && git commit -m 'feat: task N description'")
After implementation, review against the plan:
If spec compliance fails: Fix before proceeding to Stage 2.
Review the committed diff for quality:
Use the requesting-code-review skill's checklist for thoroughness.
If quality review fails: Fix, re-commit, re-review.
Only after both reviews pass:
Implementation fails (tests don't pass):
systematic-debugging skill to find root causeReview fails (spec or quality):
Task is blocked (depends on unfinished work):
Re-read the task from the plan. Compare against what you actually built:
Task says: "Create User model with email and password_hash fields"
Check:
- [ ] User model exists
- [ ] Has email field
- [ ] Has password_hash field
- [ ] No extra fields not in the task
- [ ] Test exists for the model
Common spec violations:
Review the git diff for the current task:
bash("git diff HEAD~1 HEAD")
Check for security, correctness, and conventions. Use the requesting-code-review
skill's security scan + self-review checklist.
you feel confused about which task you're on, re-read the plan + current task.
Each task is atomic.
it, you're just implementing sequentially.
not the entire task.
changes across tasks — if a later task breaks, you can't cleanly revert.
Take hezaohezao/subagent-driven-development from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.