xiaohongshu
xiaohongshu
comprehensive-tdd-planning
TDD planning with agent-per-file execution. Planning is verbose. Agent files are minimal execution context.
Full skill instructions
| Phase | Verbosity | Purpose |
|---|---|---|
Planning (plan.md) | Verbose | Figure things out, iterate, full specs |
Execution (*.agent.md) | Minimal | Distilled context for agent, ~200-400 lines |
NNNN-descriptive-name/
├── README.md # Index, dependency graph, status matrix
├── plan.md # Full verbose feature specs (planning reference)
├── interfaces.md # Contract source of truth
├── gotchas.md # Discovered issues (append-only)
└── agents/
└── NNN_agent_[name].agent.md # Minimal execution context per agent (zero-padded)
Agent files are distilled execution context, not documentation.
~200-400 lines for 2-4 features. Larger = split agent.
If agent files are well-constructed, searching plan.md is rare—only for unexpected edge cases. Frequent searching means agent files need improvement.
plan.mdinterfaces.mdREADME.mdagents/*.agent.mdCopy agents/columns.agent.md → paste to agent → done
.agent.mdgotchas.md if issues found| Status | Meaning | Action |
|---|---|---|
GAP | Not started | Begin work |
WIP | In progress | Continue |
PASS | Complete | Done |
BLOCKED | Waiting on dep | Work elsewhere |
| Command | Purpose | When |
|---|---|---|
create-feature-plan | Create new plan + agent files | Starting new work |
update-feature-plan | Modify plan, regenerate agents | Mid-flight changes, interface evolution |
close-feature-agent | Verify completion, sync status | Agent finishes work |
migrate-feature-plan | Convert v1.x plan to v2.0.0 | Existing plans need migration |
list-feature-plans | List available plans | Finding plans |
work | Smart orchestration (auto-detect plan, assess, suggest) | After PR merged, starting new session |
heal | Auto-heal plan (cleanup, pattern detection) | Cleanup completed agents, detect issues |
run <plan> | Select and run next best agent task | Ready to start work on plan |
next-task <plan> | Select next task (no run) | Preview next task selection |
assess-agents <plan> | Assess agent completion status | Check status, find cleanup needs |
Handles mid-flight changes:
Key insight: Interface changes cascade. If #2's export changes, all agents that receive from #2 need regenerated files.
Converts v1.x plans (with parallelization.md, speed_prompts.md, YAML front matter) to v2.0.0:
interfaces.mdgotchas.mdagents/*.agent.mdparallelization.md, speed_prompts.md)create-feature-plan
↓
[plan.md + agents/*.agent.md created]
↓
[copy agent file to Claude]
↓
[agent implements]
↓
[PR merged]
↓
just work (auto-detect plan, assess status, suggest next task)
↓
[if cleanup needed] → just heal (auto-fix completed agents)
↓
close-feature-agent ←─────────────────┐
↓ │
[status synced, unblocked identified]
↓ │
[if interfaces changed] → update-feature-plan
↓ │
[next agent file ready] │
↓ │
[repeat] ──────────────────────────┘
After a PR is merged, use just work to:
completed/)Use just heal to:
completed/ directoryAll commands support --auto flag to auto-detect plan from last PR:
just next-task --autojust assess-agents --autojust run-agent --autoLightweight checkpoint:
Does NOT regenerate agent files (use update-feature-plan for that).
See workflow.md for complete workflow documentation including:
Primary Entry Point:
/work - After PR merge, starting work session, need status overviewFocused Entry Points:
/run-agent <plan> or /run-agent --auto - Ready to start working, auto-selects next best agent/plan-list-agents <plan> - Want to see all agents and choose which one to run/plan-cleanup or /heal - Cleanup needed, want to auto-fix/plan-check-status or /assess-agents <plan> - Need detailed status, troubleshooting/list-feature-plans - Need to find a planAfter Work:
/close-feature-agent <agent-path> - Verify completion, sync statusPlan Management:
/create-feature-plan - Create new plan/update-feature-plan <plan> - Modify existing plan/list-feature-plans - List all plansxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience