/codexai-agentic-workflow:codex-plan-writerfrom codexai-agentic-workflow
Creates structured implementation plans for complex coding requests with dependencies, checkpoints, and verification criteria. Useful for medium-to-large scope tasks.
Ships in codexai-agentic-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create {task-slug}.md plan file for complex requests. Map file structure first. Required sections: Overview, Success Criteria, Tech Stack, File Structure, Task Breakdown (TDD steps, dependencies, verify), Phase X Checklist. No placeholders. Self-review before presenting. Follow the shared confirmation policy in skills/codex-workflow-autopilot/references/workflow-routing-contract.json: for a plan-only request, present the plan and stop; when the user explicitly requested implementation, an internal plan may proceed within the authorized scope. Pause only for an unapproved material decision, risk, or scope change.
$codex-plan-writer or $plan.medium or large.Announce at start: "I'm using codex-plan-writer to create the implementation plan."
ecommerce-cart.md, login-fix.md, dark-mode.md.Write plan file to project root: ./{task-slug}.md
If the spec covers multiple independent subsystems, it should have been broken into sub-project specs during the design phase. If it wasn't, suggest breaking this into separate plans — one per subsystem. Each plan should produce working, testable software on its own.
Every plan MUST start with this header:
# [Feature Name] Implementation Plan
> **For agentic workers:** Use `$sdd` (codex-subagent-execution) or execute inline.
> Follow `$tdd` (RED-GREEN-REFACTOR) for each implementation step.
> to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
---
Before defining tasks, map out which files will be created or modified, what each one is responsible for, and where cross-module / cross-domain seams (SILC-###) meet. This is where decomposition decisions and integration contracts get locked in.
This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.
For each task include:
frontend | backend | data | devops | qa | mobile | debug)AC-### and SILC-### contract IDs (when a spec or cross-module seam exists)P0 | P1 | P2 | P3)For medium or high-risk tasks, also include:
$gate passesEach task in an implementation plan should be completable in 2-5 minutes. Break down as follows:
### Task N: [Component Name]
**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: `python -m pytest tests/path/test.py::test_name -v`
Expected: FAIL with "function not defined"
- [ ] **Step 3: Write minimal implementation**
```python
def function(input):
return expected
```
- [ ] **Step 4: Run test to verify it passes**
Run: `python -m pytest tests/path/test.py::test_name -v`
Expected: PASS
- [ ] **Step 5: Commit**
```bash
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
```
Each task MUST include:
Every step must contain the actual content an engineer needs. These are plan failures — never write them:
After writing the complete plan, look at the spec with fresh eyes and check the plan against it. This is a checklist you run yourself — not a subagent dispatch.
1. Spec coverage: Skim each section/requirement in the spec. Can you point to a task that implements it? List any gaps.
2. Placeholder scan: Search your plan for red flags — any of the patterns from the "No Placeholders" section above. Fix them.
3. Type & SILC Seam Consistency: Do the types, method signatures, API routes, request/response DTO fields, error envelopes, and property names used in consumer tasks (e.g., Frontend UI) match what you defined in producer tasks (e.g., Backend API / DB schema)? A function called clearLayers() in Task 3 but clearFullLayers() in Task 7, or an API returning userId while the UI reads user_id, is a plan failure.
If you find issues, fix them inline. If you find a spec requirement with no task, add the task.
For a standalone plan-only request, present the plan and offer an execution choice. When the plan supports an already-authorized implementation request, follow that workflow and continue within its scope without asking the user to approve the same work again.
"Plan complete and saved to ./{task-slug}.md. Two execution options:
1. Subagent-Driven ($sdd) — I dispatch a fresh subagent per task, review between tasks, fast iteration
2. Inline Execution — Execute tasks in this session, batch execution with checkpoints
Which approach?"
If Subagent-Driven chosen:
codex-subagent-execution skillIf Inline Execution chosen:
$gate after each batch of 3 tasks--help first.Plan writing is complete only when:
./{task-slug}.mdrun_gate.py --output-file <plan.md> without falling back to generic fillerreferences/plan-document-reviewer-prompt.md: subagent dispatch template for automated plan quality verification.| Skill | Integration |
|---|---|
codex-subagent-execution | Executes the plan this skill produces |
codex-test-driven-development | Each task follows TDD cycle |
codex-verification-discipline | Verify before claiming plan is complete |
codex-branch-finisher | After all plan tasks complete, use $finish |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bang-isme/codexai---skills --plugin codexai-agentic-workflow31 skills in this plugin
/codex-branch-finisherUse when implementation is complete, all tests pass, and you need to decide how to integrate the work — guides completion of development work by presenting structured options for merge, PR, or cleanup/codex-context-engineUse when a project has 50+ files, missing context, or explicit $codex-genome request; generates multi-layer project context to reduce hallucination./codex-design-mdUse for DESIGN.md visual identity contracts; author, scaffold, lint, diff, and export design contracts with the native CodexAI engine.Other plugins' skills for the same job