بنقرة واحدة
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when you have a spec or requirements for a multi-step task, before touching code.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | writing-plans |
| description | Use when you have a spec or requirements for a multi-step task, before touching code. |
Turn a spec into a detailed, executable multi-step implementation plan. Prevents implementation drift and gives any engineer — or agent — enough detail to build without guessing.
If the spec covers multiple independent subsystems, break it into separate plans — one per subsystem. Each plan should produce working, testable software on its own.
Scope check — Identify all affected subsystems. If multiple independent subsystems, suggest separate plans.
Design file structure — Before defining tasks, map which files will be created or modified and what each is responsible for. Units should have clear boundaries, focused responsibility, and well-defined interfaces.
Write the plan header:
# [Feature Name] Implementation Plan
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
---
Break work into bite-sized tasks — Each step should take 2–5 minutes:
Write each task using this structure:
### Task N: [Component Name]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py`
- Test: `tests/exact/path/to/test.py`
- [ ] **Step 1:** [Action]
```code
# Actual code here
```
- [ ] **Step 2:** Run: `<exact command>`
Expected: `<exact output>`
No placeholders — These are plan failures; never write them:
TBD / TODO / implement later / fill in details
"Add appropriate error handling" / "handle edge cases"
"Write tests for the above" (without actual test code)
"Similar to Task N" (repeat the code — engineer may read tasks out of order)
Steps that describe without showing how (code blocks required for code steps)
Self-review before saving:
Save to docs/plans/YYYY-MM-DD-<feature-name>.md.
A Markdown plan file with:
path/to/file)docs/plans/clearLayers() in Task 3 but clearFullLayers() in Task 7 is a bug in the plan.Use when starting work in a repository with Agent Powerups installed, when a task may match a reusable local skill, command, workflow, hook recipe, AGENTS.md template, or MCP feature.
Use when validating rendered web pages, local dev servers, browser automation, screenshots, forms, auth sessions, or UI evidence with strict browser safety boundaries.
Use when designing or reviewing filesystem MCP access, path boundaries, allowed roots, method allowlists, and safe local file operations.
Use when implementing any feature or bugfix, before writing implementation code
Use when completing tasks, implementing major features, or before merging to verify work meets requirements.
Use when receiving code review feedback, before implementing suggestions — requires technical verification and reasoned pushback, not performative agreement or blind implementation.