بنقرة واحدة
writing-plans
Use after brainstorming, when an approved design is ready to turn into a TDD-first implementation plan
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use after brainstorming, when an approved design is ready to turn into a TDD-first implementation plan
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when changing cogitation project settings (test/build/lint commands, branching conventions, graphify/codex toggles), or the user says "change config", "update settings", or "set test command"
Use when setting up a project for cogitation for the first time, or the user says "set up cogitation", "init", or "configure this project"
Use at the start of any conversation — establishes the cogitation workflow and requires invoking the right skill before responding, including before clarifying questions
Use for MEDIUM-sized work — new but contained behavior (one component, no architecture/data/API change) that deserves rigor without the design-doc + plan-doc ceremony of brainstorming
Use when the user wants to tailor the cogitation workflow — says "customise", "recustomise", "change the workflow", "make TDD less strict", "turn off finishing-branch", or wants a skill looser or disabled
Use when EC memories need cleanup — deduping, pruning stale entries, hygiene — or the user says "audit memories", "clean up EC", or "review what's stored"
| name | writing-plans |
| description | Use after brainstorming, when an approved design is ready to turn into a TDD-first implementation plan |
Create implementation plans that an engineer with zero context can follow.
Announce: "I'm using the writing-plans skill to create the implementation plan."
docs/designs/YYYY-MM-DD-<topic>.mdGet 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.
Plans go in docs/plans/YYYY-MM-DD-<topic>.md and cross-reference the design.
# [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]
---
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"
\`\`\`
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]
After saving the plan:
"Plan saved to
docs/plans/YYYY-MM-DD-<topic>.md. Ready to execute?"
If yes → Use @executing-plans