Use when you have a spec or requirements for a multi-step task, before touching code
Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
Announce at start: "I'm using the writing-plans skill to create the implementation plan."
Save plans to: docs/plans/YYYY-MM-DD-<feature-name>.md
Each step is one action (2-5 minutes):
Every plan MUST start with this header:
# [Feature Name] Implementation Plan
> **For Claude:** REQUIRED SUB-SKILL: Use 10x-engineer:executing-plans to implement this plan task-by-task.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
---
### Task N: [Component Name]
**Parallel group:** [A/B/C/none] (see Task Dependencies below)
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py:123-145`
- Test: `tests/exact/path/to/test.py`
**Step 1: Write the failing test**
```python
def test_specific_behavior():
result = function(input)
assert result == expected
Step 2: Run test to verify it fails
Run tests based on language:
t TestClassNamejest tests/path/test.tsbuck2 test //path:target -- test_nameExpected: FAIL with "function not defined"
Step 3: Write minimal implementation
def function(input):
return expected
Step 4: Run test to verify it passes
Run tests based on language:
t TestClassNamejest tests/path/test.tsbuck2 test //path:target -- test_nameExpected: PASS
Step 5: Commit
sl commit -m "[category] feat: add specific feature"
## Task Dependencies
**Every plan with 3+ tasks MUST include a dependency section** after the header:
```markdown
## Task Dependencies
Tasks in the same parallel group can be worked on concurrently.
Tasks with dependencies must wait for their prerequisites.
| Task | Parallel Group | Depends On | Files Touched |
|------|---------------|------------|---------------|
| 1: Database schema | A | — | `db/migrations/001.sql` |
| 2: API endpoint | B | Task 1 | `src/api/users.py` |
| 3: UI component | B | Task 1 | `src/components/UserForm.js` |
| 4: Integration test | C | Tasks 2, 3 | `tests/integration/user_flow.py` |
**Parallel execution:** Tasks 2 and 3 (Group B) can run simultaneously after Task 1 completes.
Rules for dependency modeling:
After saving the plan, offer execution choice:
"Plan complete and saved to docs/plans/<filename>.md. Three execution options:
1. Subagent-Driven (this session, sequential) - I dispatch fresh subagent per task sequentially, review between tasks, fast iteration
2. Team-Driven (this session, parallel) - I create a team with multiple implementer teammates working concurrently on independent tasks, with pipelined reviews. Requires TeamCreate tool availability.
3. Parallel Session (separate) - Open new session with executing-plans, batch execution with checkpoints
Which approach?"
If Subagent-Driven chosen:
If Team-Driven chosen:
TeamCreate tool is availableaddBlockedBy relationships in TaskCreateIf Parallel Session chosen: