create-plan
Skill0 starsChanged 10 months agoMITView on GitHub
Create implementation plan documents in ai_docs/plans/ following decision record schema. Generates YYYY-MM-DD-<feature>.md with phases, alternatives, and success criteria. Use before starting significant feature work.
48 other projects use a version of this.
Adopted by
Most recently taken up by
- CodelyTV/agent-harnesstheir own version, first seen Nov 29, 2026
- HEADING-OS-Official/heading-ostheir own version, first seen Nov 29, 2026
- FreddyZeta1847/blueprinttheir own version, first seen Nov 29, 2026
- atomicinnovation/acceleratortheir own version, first seen Nov 22, 2026
- DmitryTokyo/agent-kittheir own version, first seen Nov 22, 2026
- jerelvelarde/chalk-skillstheir own version, first seen Nov 22, 2026
Used with
Projects with it also use support-ticket-triage, codebase-migrate and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ComposioHQSkillsupport-ticket-triage
Triage customer support tickets/emails/chats into categories, priority, and next action; draft responses and create reproducible steps; use for Zendesk/Intercom/Help Scout exports or pasted threads.
Also in 5 projects that use this
ComposioHQSkillcodebase-migrate
Run large codebase migrations and multi-file refactors. Uses the Composio CLI to coordinate issue tracking, batched PRs, and CI verification while the agent executes the transforms locally across hundreds of files.
Also in 5 projects that use this
corticalstackSkilliterate-plan
Revise an existing implementation plan in flow/plans/ based on feedback, researching when needed. Explicit-only; run only when invoked via /iterate-plan or explicitly asked.
Also in 4 projects that use this
petestewartSkilldatadog-logs
Query Datadog logs via the Logs Search API v2. Use when the user asks to "check the logs", "search logs", "find errors in Datadog", "look up logs for", "show me production logs", "check for errors", "search Datadog", or any request involving log search, error investigation, or production debugging that requires Datadog log data.
Also in 3 projects that use this
- +7 more from ComposioHQ
Other versions48 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 48
- ComposioHQ/awesome-codex-skills★ 17ksame name
- composio-community/awesome-codex-skills★ 16ksame name
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
- freestylefly/wesight★ 969same name
- gittower/git-flow-next★ 458same name
- JetBrains/youtrackdb★ 443same name
- CodelyTV/agent-harness★ 353same name
- OpenFn/lightning★ 324same name
- dannys-code-corner/incan★ 75same name
- DasDigitaleMomentum/opencode-processing-skills★ 60same name
38 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- argocd-opsSkill
- codexSkill
- convergent-reviewSkill
- create-handoffSkill
- create-researchSkill
- init-ai-docsSkill
- init-central-docsSkill
- jiraSkill
- loki-debugSkill
- pr-statusSkill
- resume-handoffSkill
- tatari-turboliftSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. 0 are common, 11 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 46 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Create structured implementation plan documents in ai_docs/plans/ following the Decision Records with AI Assistance schema.
- Distinctive: line 31
Before starting significant feature work
- Distinctive: line 32
When planning multi-phase implementations
- Distinctive: line 33
When you need to document alternatives considered
- Distinctive: line 34
When work requires human review before proceeding
- Very specific: line 62
Repo-level config: Read $REPO_ROOT/AGENTS.md and $REPO_ROOT/CLAUDE.md (if they exist)
- Very specific: line 63
Parent directory config: Read $REPO_ROOT/../AGENTS.md and $REPO_ROOT/../CLAUDE.md (if they exist) — this covers workspace-level pointers …
- Distinctive: line 64
System context: Check any CLAUDE.md content already loaded in conversation context (system-reminder blocks)
- Very specific: line 76
Verify the directory exists and contains a plans/ subdirectory
- Very specific: line 81
Check if $REPO_ROOT/ai_docs/plans/ exists or is configured locally
- Very specific: line 82
If so, set PLANS_DIR to ai_docs/plans/ and run /init-ai-docs if needed
- Distinctive: line 90
Ask the user for:
- Distinctive: line 101
Read all referenced files completely: - Don't skim, read in full
- Distinctive: line 102
Find 3 similar patterns: - Use parallel sub-agents to locate existing implementations that mirror what you're building
- Very specific: line 107
Use Task tool with subagent_type: Explore to search in parallel (preferred) or sequential Glob/Grep if Task unavailable:
- Distinctive: line 128
Remove special characters except hyphens
- Distinctive: line 302
Before finalizing the plan, verify:
- Distinctive: line 318
After creating the plan, remind the user with mode-appropriate messaging:
- Very specific: line 374
If the plan involves a significant architectural decision, consider also running /create-research to document the ADR separately.
“Common” is measured: kept by at least 6 in 10 of the 46 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Implementation Plan
Create structured implementation plan documents in ai_docs/plans/ following the Decision Records with AI Assistance schema.
Announce at start: "I'm using the create-plan skill to create an implementation plan."
CRITICAL: The deliverable of this skill is a MARKDOWN FILE written to disk using the Write tool. Always resolve the output path first (Step 2), then write the complete plan to that path (Step 6). If the output path is ambiguous, ask the user to confirm it before proceeding. Do NOT present the plan inline as conversation output — it MUST be written to a file.
When to Use
- Before starting significant feature work
- When planning multi-phase implementations
- When you need to document alternatives considered
- When work requires human review before proceeding
Process
Step 1: Initialize Directory Structure
Invoke the init-ai-docs skill to ensure the directory structure exists:
/init-ai-docsThis is idempotent and safe to run even if structure already exists.
Fallback if skill unavailable:
mkdir -p ai_docs/plans ai_docs/research ai_docs/handoffsStep 2: Detect Output Location
REPO_ROOT=$(git rev-parse --show-toplevel)Determine where plans are stored by checking multiple sources in order. Stop as soon as a valid path is found:
- Repo-level config: Read
$REPO_ROOT/AGENTS.mdand$REPO_ROOT/CLAUDE.md(if they exist) - Parent directory config: Read
$REPO_ROOT/../AGENTS.mdand$REPO_ROOT/../CLAUDE.md(if they exist) — this covers workspace-level pointers like~/code/work/CLAUDE.md - System context: Check any CLAUDE.md content already loaded in conversation context (system-reminder blocks)
What to search for (not just a "Decision Records" heading):
- Paths containing
ai-docs(e.g.,ai-docs-sre/,../ai-docs/plans/) - Phrases like "central documentation repository", "centralized at", "central repo"
- Explicit paths ending in
/plans/ - References to a shared docs directory used across repos
Once a candidate path is found:
- Resolve it to an absolute path relative to
$REPO_ROOT - Verify the directory exists and contains a
plans/subdirectory - Set
PLANS_DIRto thatplans/path
If no central repo is detected:
- Check if
$REPO_ROOT/ai_docs/plans/exists or is configured locally - If so, set
PLANS_DIRtoai_docs/plans/and run/init-ai-docsif needed
If no output location can be determined:
- Ask the user where plans should be stored — do NOT silently default to
ai_docs/plans/
Step 3: Gather Context
Ask the user for:
- Feature name: Brief, descriptive name (will become filename)
- Overview: What does this plan achieve?
- Constraints: Technical or business constraints
- Alternatives: What options were considered?
Step 4: Research Phase
Before writing the plan, gather context systematically:
- Read all referenced files completely - Don't skim, read in full
- Find 3 similar patterns - Use parallel sub-agents to locate existing implementations that mirror what you're building
- Identify conventions - Note testing patterns, file organization, naming conventions
Research approach:
Use Task tool with subagent_type: Explore to search in parallel (preferred) or sequential Glob/Grep if Task unavailable:
| Search Goal | Parallel (Task tool) | Sequential (fallback) |
| Similar features | Task(Explore): "Find implementations of [feature type]" | Grep for key terms, then Read matches |
| Test templates | Task(Explore): "Find tests for [similar feature]" | Glob for **/test* patterns |
| Helper utilities | Task(Explore): "Find utility functions for [domain]" | Grep for common function names |
No open questions rule: Research or ask the user before writing. The plan document must be complete - questions are allowed during context gathering (Step 2), but not left unresolved in the final document.
Step 5: Generate Filename
DATE=$(date +%Y-%m-%d)
FILENAME="${PLANS_DIR}/${DATE}-<feature-name>.md"Kebab-case conversion rules (apply manually - no external tools needed):
- Convert to lowercase
- Replace spaces with hyphens
- Remove special characters except hyphens
- Collapse multiple hyphens to single hyphen
| Input | Output |
| "OAuth2 Implementation" | oauth2-implementation |
| "Add User Auth" | add-user-auth |
| "Fix Bug #123" | fix-bug-123 |
Naming convention:
YYYY-MM-DD-<topic>.md(default)YYYY-MM-DD-<project>-<topic>.md(recommended when project-specific in a central repo)
Example: ai_docs/plans/2026-02-02-oauth2-implementation.md
Step 5b: Gather Git Metadata
REPO_ROOT=$(git rev-parse --show-toplevel)
GIT_COMMIT=$(git rev-parse --short HEAD)
GIT_BRANCH=$(git branch --show-current)
GIT_REPO=$(basename "$REPO_ROOT")Step 6: Write the Plan Document
Use this template:
<!-- Keep in sync: templates also appear in init-ai-docs, init-central-docs, and create-*/SKILL.md -->---
schema_version: 1
date: [YYYY-MM-DD]
type: plan
status: draft
topic: "[Feature Name] Implementation Plan"
# Accountability
author: [git-user] # Human owner (run: git config user.name)
ai_assisted: true
ai_model: # optional: which model
# Linking
related_prs: []
related_issue:
superseded_by: # Link to replacement doc if superseded
# Project
project: # Logical project/service name
repo: # GitHub org/repo
# repos: [] # Uncomment for cross-repo docs
# Git Context
git_commit: [short-sha]
branch: [branch name]
repository: [repo name]
# Classification
tags: [relevant, tags]
data_sensitivity: internal
---
# Plan: [Feature Name]
## Desired End State
[Describe what success looks like. What will exist when this is done? How will users/developers interact with it?]
## Overview
[1-2 paragraph summary of what this plan achieves]
## What We're NOT Doing
- [Explicitly list out-of-scope items to prevent scope creep]
- [Things that might seem related but are excluded]
- [Future enhancements deferred to later]
## Assumptions
- [Assumption 1]
- [Assumption 2]
## Constraints
- [Constraint 1]
- [Constraint 2]
## Alternatives Considered
### Option A: [Name]
**Pros:** [benefits]
**Cons:** [drawbacks]
### Option B: [Name]
**Pros:** [benefits]
**Cons:** [drawbacks]
**Decision:** [Which option and why]
## Implementation Phases
### Phase 1: [Name]
**Goal:** [What this phase achieves]
**Tasks:**
Each task is ONE action (2-5 minutes):
- [ ] **Step 1:** Write failing test for [specific behavior]
- File: `tests/path/to/test.py`
- Run: `pytest tests/path/test.py::test_name -v`
- Expected: FAIL with "[specific error]"
- [ ] **Step 2:** Verify test fails correctly
- Run the test command above
- Confirm failure message matches expected
- [ ] **Step 3:** Write minimal implementation
- File: `src/path/to/file.py:45-67`
- Add: [specific code or description]
- [ ] **Step 4:** Verify test passes
- Run: `pytest tests/path/test.py::test_name -v`
- Expected: PASS
- [ ] **Step 5:** Commit
- `git add <files> && git commit -m "feat: add specific feature"`
#### Success Criteria
**Automated Verification:**
- [ ] Tests pass: `pytest tests/path/ -v`
- [ ] Lint passes: `make lint` or project equivalent
**Manual Verification:**
- [ ] [Description of manual check]
- [ ] [Another manual verification step]
### Phase 2: [Name]
**Goal:** [What this phase achieves]
**Tasks:**
- [ ] **Step 1:** [action with file:line reference]
- [ ] **Step 2:** [action]
- [ ] ...
#### Success Criteria
**Automated Verification:**
- [ ] [command to run]
**Manual Verification:**
- [ ] [manual check description]
## Critical Files
- `path/to/file.ext:line-range` - Description of relevance
- `tests/path/to/test.ext` - Test file to mirror
- `path/to/similar/impl.ext:50-75` - Similar pattern to followStep 7: Quality Checklist
Before finalizing the plan, verify:
- No open questions - All ambiguities resolved through research or asking
- Desired end state is clearly described
- Out-of-scope items are explicitly listed
- Assumptions are explicitly listed
- Alternatives were considered with pros/cons
- Each task is one action (2-5 minutes, single verb)
- File:line references included for all code changes
- Success criteria split into automated vs manual
- TDD cycle explicit in task steps (test → verify fail → impl → verify pass → commit)
- No secrets or sensitive data included
- 3 similar patterns identified and referenced in Critical Files
Step 8: Remind About Review and Offer Execution
After creating the plan, remind the user with mode-appropriate messaging:
Local mode:
Plan created at: ai_docs/plans/YYYY-MM-DD-feature-name.md
IMPORTANT: Commit this plan so it merges with your branch:
git add ai_docs/plans/YYYY-MM-DD-feature-name.md && git commit -m "docs: add plan for feature-name"
NOTE: Human accountability is provided through PR review. Ensure the plan
is reviewed as part of the normal PR process before merging.
Update `related_prs` when the implementing PR is created.Central mode:
Plan created at: $PLANS_DIR/YYYY-MM-DD-feature-name.md
Commit directly to the docs repo — no PR required for documentation.
Reference this plan from the implementing code PR.
Update `related_prs` when the implementing PR is created.Then offer execution options:
## Execution Options
Once reviewed, choose an implementation approach:
**1. Subagent-Driven (this session)** - requires Task tool
- Dispatch fresh subagent per task
- Review between tasks
- Fast iteration with code review checkpoints
**2. Parallel Session (separate)** - requires `executing-plans` skill
- Open new session with executing-plans skill
- Batch execution with checkpoints
- Good for longer implementations
**3. Manual Execution (always available)**
- Work through phases sequentially in current session
- Follow TDD cycle for each task
- Commit after each phase passes verification
Which approach would you prefer?STOP: Wait for the user to choose an execution option before proceeding. This skill's scope ends here — implementation is a separate step. Do NOT auto-select an option or begin implementation.
Related Skills
If the plan involves a significant architectural decision, consider also running
/create-research to document the ADR separately.
Cross-Referencing
Reference other decision records depending on mode:
Local mode — use @ai_docs/ prefix:
Based on constraints in @ai_docs/research/2026-01-10-auth-options.mdCentral mode — use relative sibling paths:
Based on constraints in ../<ai-docs-repo>/research/2026-01-10-auth-options.mdBoth syntaxes are grep-able and parseable by AI agents.
Task Granularity Guide
Each step is ONE action (2-5 minutes):
| Good (one action) | Bad (multiple actions) |
| Write the failing test | Write tests and implement |
| Run test to verify it fails | Test and fix |
| Write minimal implementation | Implement feature |
| Run test to verify it passes | Make it work |
| Commit | Finish phase |
TDD cycle in tasks:
Step 1: Write failing test
Step 2: Run test to verify it fails
Step 3: Write minimal implementation
Step 4: Run test to verify it passes
Step 5: CommitRepeat for each behavior/feature within the phase.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

