packrat-ai/packrat/ce-plan
Claude Code and agent skill by packrat-ai/packrat
- community
Checking that the SKILL.md file is still in the repository.
Transform feature descriptions into well-structured project plans following conventions
Install
npx vskill@latest install packrat-ai/packrat/ce-planSKILL.md
The same SKILL.md was published earlier as packrat-ai/packrat/ce-plan.
Create a plan for a new feature or bug fix
Introduction
Note: The current year is 2026. Use this when dating plans and searching for recent documentation.
Transform feature descriptions, bug reports, or improvement ideas into well-structured markdown files issues that follow project conventions and best practices. This command provides flexible detail levels to match your needs.
Feature Description
<feature_description> #$ARGUMENTS </feature_description>
If the feature description above is empty, ask the user: "What would you like to plan? Please describe the feature, bug fix, or improvement you have in mind."
Do not proceed until you have a clear feature description from the user.
0. Idea Refinement
Check for requirements document first:
Before asking questions, look for recent requirements documents in docs/brainstorms/ that match this feature:
Relevance criteria: A requirements document is relevant if:
- The topic (from filename or YAML frontmatter) semantically matches the feature description
- Created within the last 14 days
- If multiple candidates match, use the most recent one
If a relevant requirements document exists:
- Read the source document thoroughly — every section matters
- Announce: "Found source document from [date]: [topic]. Using as foundation for planning."
- Extract and carry forward ALL of the following into the plan:
- Key decisions and their rationale
- Chosen approach and why alternatives were rejected
- Problem framing, constraints, and requirements captured during brainstorming
- Outstanding questions, preserving whether they block planning or are intentionally deferred
- Success criteria and scope boundaries
- Dependencies and assumptions, plus any high-level technical direction only when the origin document is inherently technical
- Skip the idea refinement questions below — the source document already answered WHAT to build
- Use source document content as the primary input to research and planning phases
- Critical: The source document is the origin document. Throughout the plan, reference specific decisions with
(see origin: <source-path>)when carrying forward conclusions. Do not paraphrase decisions in a way that loses their original context — link back to the source. - Do not omit source content — if the source document discussed it, the plan must address it (even if briefly). Scan each section before finalizing the plan to verify nothing was dropped.
- If `Resolve Before Planning` contains any items, stop. Do not proceed with planning. Tell the user planning is blocked by unanswered brainstorm questions and direct them to resume
/ce:brainstormor answer those questions first.
If multiple source documents could match: Use AskUserQuestion tool to ask which source document to use, or whether to proceed without one.
If no requirements document is found (or not relevant), run idea refinement:
Refine the idea through collaborative dialogue using the AskUserQuestion tool:
- Ask questions one at a time to understand the idea fully
- Prefer multiple choice questions when natural options exist
- Focus on understanding: purpose, constraints and success criteria
- Continue until the idea is clear OR user says "proceed"
Gather signals for research decision. During refinement, note:
- User's familiarity: Do they know the codebase patterns? Are they pointing to examples?
- User's intent: Speed vs thoroughness? Exploration vs execution?
- Topic risk: Security, payments, external APIs warrant more caution
- Uncertainty level: Is the approach clear or open-ended?
Skip option: If the feature description is already detailed, offer: "Your description is clear. Should I proceed with research, or would you like to refine it further?"
Main Tasks
1. Local Research (Always Runs - Parallel)
<thinking> First, I need to understand the project's conventions, existing patterns, and any documented learnings. This is fast and local - it informs whether external research is needed. </thinking>
Run these agents in parallel to gather local context:
- Task compound-engineering:research:repo-research-analyst(feature_description)
- Task compound-engineering:research:learnings-researcher(feature_description)
What to look for:
- Repo research: existing patterns, AGENTS.md guidance, technology familiarity, pattern consistency
- Learnings: documented solutions in
docs/solutions/that might apply (gotchas, patterns, lessons learned)
These findings inform the next step.
1.5. Research Decision
Based on signals from Step 0 and findings from Step 1, decide on external research.
High-risk topics → always research. Security, payments, external APIs, data privacy. The cost of missing something is too high. This takes precedence over speed signals.
Strong local context -> skip external research. Codebase has good patterns, AGENTS.md has guidance, user knows what they want. External research adds little value.
Uncertainty or unfamiliar territory → research. User is exploring, codebase has no examples, new technology. External perspective is valuable.
Announce the decision and proceed. Brief explanation, then continue. User can redirect if needed.
Examples:
- "Your codebase has solid patterns for this. Proceeding without external research."
- "This involves payment processing, so I'll research current best practices first."
1.5b. External Research (Conditional)
Only run if Step 1.5 indicates external research is valuable.
Run these agents in parallel:
- Task compound-engineering:research:best-practices-researcher(feature_description)
- Task compound-engineering:research:framework-docs-researcher(feature_description)
1.6. Consolidate Research
After all research steps complete, consolidate findings:
- Document relevant file paths from repo research (e.g.,
app/services/example_service.rb:42) - Include relevant institutional learnings from
docs/solutions/(key insights, gotchas to avoid) - Note external documentation URLs and best practices (if external research was done)
- List related issues or PRs discovered
- Capture AGENTS.md conventions
Optional validation: Briefly summarize findings and ask if anything looks off or missing before proceeding to planning.
2. Issue Planning & Structure
<thinking> Think like a product manager - what would make this issue clear and actionable? Consider multiple perspectives </thinking>
Title & Categorization:
- [ ] Draft clear, searchable issue title using conventional format (e.g.,
feat: Add user authentication,fix: Cart total calculation) - [ ] Determine issue type: enhancement, bug, refactor
- [ ] Convert title to filename: add today's date prefix, determine daily sequence number, strip prefix colon, kebab-case, add
-plansuffix - Scan
docs/plans/for files matching today's date patternYYYY-MM-DD-\d{3}- - Find the highest existing sequence number for today
- Increment by 1, zero-padded to 3 digits (001, 002, etc.)
- Example:
feat: Add User Authentication→2026-01-21-001-feat-add-user-authentication-plan.md - Keep it descriptive (3-5 words after prefix) so plans are findable by context
Stakeholder Analysis:
- [ ] Identify who will be affected by this issue (end users, developers, operations)
- [ ] Consider implementation complexity and required expertise
Content Planning:
- [ ] Choose appropriate detail level based on issue complexity and audience
- [ ] List all necessary sections for the chosen template
- [ ] Gather supporting materials (error logs, screenshots, design mockups)
- [ ] Prepare code examples or reproduction steps if applicable, name the mock filenames in the lists
3. SpecFlow Analysis
After planning the issue structure, run SpecFlow Analyzer to validate and refine the feature specification:
- Task compound-engineering:workflow:spec-flow-analyzer(feature_description, research_findings)
SpecFlow Analyzer Output:
- [ ] Review SpecFlow analysis results
- [ ] Incorporate any identified gaps or edge cases into the issue
- [ ] Update acceptance criteria based on SpecFlow findings
4. Choose Implementation Detail Level
Select how comprehensive you want the issue to be, simpler is mostly better.
📄 MINIMAL (Quick Issue)
Best for: Simple bugs, small improvements, clear features
Includes:
- Problem statement or feature description
- Basic acceptance criteria
- Essential context only
Structure:
class Test def initialize @name = "test" end end
📋 MORE (Standard Issue)
Best for: Most features, complex bugs, team collaboration
Includes everything from MINIMAL plus:
- Detailed background and motivation
- Technical considerations
- Success metrics
- Dependencies and risks
- Basic implementation suggestions
Structure:
📚 A LOT (Comprehensive Issue)
Best for: Major features, architectural changes, complex integrations
Includes everything from MORE plus:
- Detailed implementation plan with phases
- Alternative approaches considered
- Extensive technical specifications
- Resource requirements and timeline
- Future considerations and extensibility
- Risk mitigation strategies
- Documentation requirements
Structure:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/ce:plan/SKILL.md
Popularity
- Repository stars
- 35
- Repository forks
- 38
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/packrat-ai/packrat/ce-plan)