askill
writing-plans

writing-plansSafety 100Repository

Creates detailed TDD-first implementation plans from design documents. Every task follows red-green-refactor. Searches EC for relevant patterns. Use after brainstorming to write an implementation plan.

4 stars
1.2k downloads
Updated 2/15/2026

Package Files

Loading files...
SKILL.md

Writing Plans

Create implementation plans that an engineer with zero context can follow.

Announce: "I'm using the writing-plans skill to create the implementation plan."

Prerequisites

  • Design document exists in docs/designs/YYYY-MM-DD-<topic>.md
  • On a feature branch

Step 0: Load Context

Get project config and relevant patterns:

ec_search:
  query: project config
  type: config

ec_search:
  query: [feature area] pattern
  type: pattern

ec_search:
  query: [feature area] implementation
  type: learning

Note the configured test_command for TDD steps.

The Plan Structure

Plans go in docs/plans/YYYY-MM-DD-<topic>.md and cross-reference the design.

Header Template

# [Feature Name] Implementation Plan

**Design:** [docs/designs/YYYY-MM-DD-<topic>.md](../designs/YYYY-MM-DD-<topic>.md)

**Goal:** [One sentence]

**Architecture:** [2-3 sentences about approach]

**EC Context:** [List any relevant memories consulted]

---

Task Structure

Each task is bite-sized (2-5 minutes) and follows @tdd:

### Task N: [Component Name] @tdd

**Files:**
- Create: `exact/path/to/file.ts`
- Modify: `exact/path/to/existing.ts`
- Test: `tests/path/to/test.ts`

**Step 1: Write failing test** (RED)
\`\`\`typescript
test('specific behavior', () => {
  // exact test code
});
\`\`\`

**Step 2: Run test, verify it fails**
\`\`\`bash
{test_command} path/to/test
\`\`\`
Expected: FAIL - "function not defined"

**Step 3: Implement minimal code** (GREEN)
\`\`\`typescript
// exact implementation code
\`\`\`

**Step 4: Run test, verify it passes** @verifying
\`\`\`bash
{test_command} path/to/test
\`\`\`
Expected: PASS

**Step 5: Commit**
\`\`\`bash
git add . && git commit -m "feat: add specific feature"
\`\`\`

Principles

  • Exact file paths - No ambiguity
  • Complete code - Not "add validation here"
  • TDD every task - Test → Fail → Implement → Pass → Commit
  • Frequent commits - One per task
  • DRY/YAGNI - Don't over-engineer

EC Integration

Reference patterns found during search:

**EC Context:**
- Pattern: [area] - [brief description of relevant pattern]
- Learning: [area] - [gotcha to be aware of]

If the plan establishes a new pattern, note it for storage after implementation:

**Patterns to Store:**
- [Description of new pattern established]

Handoff

After saving the plan:

"Plan saved to docs/plans/YYYY-MM-DD-<topic>.md. Ready to execute?"

If yes → Use @executing-plans

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

94/100Analyzed 2/24/2026

High-quality, well-structured skill for creating TDD-first implementation plans. Provides comprehensive templates, clear step-by-step instructions, and reusable patterns. Located in dedicated skills folder with proper metadata. Strong actionability and clarity with only minor completeness gap around edge cases. No internal-only signals - this is a broadly applicable methodology skill.

100
95
90
90
95

Metadata

Licenseunknown
Version-
Updated2/15/2026
PublisherMereWhiplash

Tags

testing