[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HQ98BX8Z442SFJX3XSBNR4":3,"skill-same:01M6HQ98BX8Z442SFJX3XSBNR4":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":13,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M6HQ98BX8Z442SFJX3XSBNR4","ce:plan",null,"Transform feature descriptions into well-structured project plans following conventions","apollostreetcompany\u002Fcodex-compound","apollostreetcompany","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F171311035?v=4","01M6HQ7K6QWS8PW86HHDJNTVQS","01M6HQ7KBDWSTW9HFJHC6S829D",0,"MIT","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Fplugins\u002Fcompound-engineering\u002Fskills\u002Fce-plan\u002FSKILL.md",[],[18,5,19,20,21,22,23,24,25,26,27,28,29,30],"plan","bug report","report","bug","idea","conventions","following conventions","structured","project","feature","plans","transform","improvement","2026-11-10 10:12:30",false,"---\nname: ce:plan\ndescription: Transform feature descriptions into well-structured project plans following conventions\nargument-hint: \"[feature description, bug report, or improvement idea]\"\n---\n\n# Create a plan for a new feature or bug fix\n\n## Introduction\n\n**Note: The current year is 2026.** Use this when dating plans and searching for recent documentation.\n\nTransform 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.\n\n## Feature Description\n\n\u003Cfeature_description> #$ARGUMENTS \u003C\u002Ffeature_description>\n\n**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.\"\n\nDo not proceed until you have a clear feature description from the user.\n\n### 0. Idea Refinement\n\n**Check for requirements document first:**\n\nBefore asking questions, look for recent requirements documents in `docs\u002Fbrainstorms\u002F` that match this feature:\n\n```bash\nls -la docs\u002Fbrainstorms\u002F*-requirements.md 2>\u002Fdev\u002Fnull | head -10\n```\n\n**Relevance criteria:** A requirements document is relevant if:\n- The topic (from filename or YAML frontmatter) semantically matches the feature description\n- Created within the last 14 days\n- If multiple candidates match, use the most recent one\n\n**If a relevant requirements document exists:**\n1. Read the source document **thoroughly** — every section matters\n2. Announce: \"Found source document from [date]: [topic]. Using as foundation for planning.\"\n3. Extract and carry forward **ALL** of the following into the plan:\n   - Key decisions and their rationale\n   - Chosen approach and why alternatives were rejected\n   - Problem framing, constraints, and requirements captured during brainstorming\n   - Outstanding questions, preserving whether they block planning or are intentionally deferred\n   - Success criteria and scope boundaries\n   - Dependencies and assumptions, plus any high-level technical direction only when the origin document is inherently technical\n4. **Skip the idea refinement questions below** — the source document already answered WHAT to build\n5. Use source document content as the **primary input** to research and planning phases\n6. **Critical: The source document is the origin document.** Throughout the plan, reference specific decisions with `(see origin: \u003Csource-path>)` when carrying forward conclusions. Do not paraphrase decisions in a way that loses their original context — link back to the source.\n7. **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.\n8. **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 `\u002Fce:brainstorm` or answer those questions first.\n\n**If multiple source documents could match:**\nUse **AskUserQuestion tool** to ask which source document to use, or whether to proceed without one.\n\n**If no requirements document is found (or not relevant), run idea refinement:**\n\nRefine the idea through collaborative dialogue using the **AskUserQuestion tool**:\n\n- Ask questions one at a time to understand the idea fully\n- Prefer multiple choice questions when natural options exist\n- Focus on understanding: purpose, constraints and success criteria\n- Continue until the idea is clear OR user says \"proceed\"\n\n**Gather signals for research decision.** During refinement, note:\n\n- **User's familiarity**: Do they know the codebase patterns? Are they pointing to examples?\n- **User's intent**: Speed vs thoroughness? Exploration vs execution?\n- **Topic risk**: Security, payments, external APIs warrant more caution\n- **Uncertainty level**: Is the approach clear or open-ended?\n\n**Skip option:** If the feature description is already detailed, offer:\n\"Your description is clear. Should I proceed with research, or would you like to refine it further?\"\n\n## Main Tasks\n\n### 1. Local Research (Always Runs - Parallel)\n\n\u003Cthinking>\nFirst, 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.\n\u003C\u002Fthinking>\n\nRun these agents **in parallel** to gather local context:\n\n- Task compound-engineering:research:repo-research-analyst(Scope: technology, architecture, patterns. {feature_description})\n- Task compound-engineering:research:learnings-researcher(feature_description)\n\n**What to look for:**\n- **Repo research:** technology stack and versions (informs research decisions), architectural patterns, and implementation patterns relevant to the feature\n- **Learnings:** documented solutions in `docs\u002Fsolutions\u002F` that might apply (gotchas, patterns, lessons learned)\n\nThese findings inform the next step.\n\n### 1.5. Research Decision\n\nBased on signals from Step 0 and findings from Step 1, decide on external research.\n\n**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.\n\n**Strong local context -> skip external research.** Codebase has good patterns, AGENTS.md has guidance, user knows what they want. External research adds little value.\n\n**Uncertainty or unfamiliar territory → research.** User is exploring, codebase has no examples, new technology. External perspective is valuable.\n\n**Announce the decision and proceed.** Brief explanation, then continue. User can redirect if needed.\n\nExamples:\n- \"Your codebase has solid patterns for this. Proceeding without external research.\"\n- \"This involves payment processing, so I'll research current best practices first.\"\n\n### 1.5b. External Research (Conditional)\n\n**Only run if Step 1.5 indicates external research is valuable.**\n\nRun these agents in parallel:\n\n- Task compound-engineering:research:best-practices-researcher(feature_description)\n- Task compound-engineering:research:framework-docs-researcher(feature_description)\n\n### 1.6. Consolidate Research\n\nAfter all research steps complete, consolidate findings:\n\n- Document relevant file paths from repo research (e.g., `app\u002Fservices\u002Fexample_service.rb:42`)\n- **Include relevant institutional learnings** from `docs\u002Fsolutions\u002F` (key insights, gotchas to avoid)\n- Note external documentation URLs and best practices (if external research was done)\n- List related issues or PRs discovered\n- Capture AGENTS.md conventions\n\n**Optional validation:** Briefly summarize findings and ask if anything looks off or missing before proceeding to planning.\n\n### 2. Issue Planning & Structure\n\n\u003Cthinking>\nThink like a product manager - what would make this issue clear and actionable? Consider multiple perspectives\n\u003C\u002Fthinking>\n\n**Title & Categorization:**\n\n- [ ] Draft clear, searchable issue title using conventional format (e.g., `feat: Add user authentication`, `fix: Cart total calculation`)\n- [ ] Determine issue type: enhancement, bug, refactor\n- [ ] Convert title to filename: add today's date prefix, determine daily sequence number, strip prefix colon, kebab-case, add `-plan` suffix\n  - Scan `docs\u002Fplans\u002F` for files matching today's date pattern `YYYY-MM-DD-\\d{3}-`\n  - Find the highest existing sequence number for today\n  - Increment by 1, zero-padded to 3 digits (001, 002, etc.)\n  - Example: `feat: Add User Authentication` → `2026-01-21-001-feat-add-user-authentication-plan.md`\n  - Keep it descriptive (3-5 words after prefix) so plans are findable by context\n\n**Stakeholder Analysis:**\n\n- [ ] Identify who will be affected by this issue (end users, developers, operations)\n- [ ] Consider implementation complexity and required expertise\n\n**Content Planning:**\n\n- [ ] Choose appropriate detail level based on issue complexity and audience\n- [ ] List all necessary sections for the chosen template\n- [ ] Gather supporting materials (error logs, screenshots, design mockups)\n- [ ] Prepare code examples or reproduction steps if applicable, name the mock filenames in the lists\n\n### 3. SpecFlow Analysis\n\nAfter planning the issue structure, run SpecFlow Analyzer to validate and refine the feature specification:\n\n- Task compound-engineering:workflow:spec-flow-analyzer(feature_description, research_findings)\n\n**SpecFlow Analyzer Output:**\n\n- [ ] Review SpecFlow analysis results\n- [ ] Incorporate any identified gaps or edge cases into the issue\n- [ ] Update acceptance criteria based on SpecFlow findings\n\n### 4. Choose Implementation Detail Level\n\nSelect how comprehensive you want the issue to be, simpler is mostly better.\n\n#### ? MINIMAL (Quick Issue)\n\n**Best for:** Simple bugs, small improvements, clear features\n\n**Includes:**\n\n- Problem statement or feature description\n- Basic acceptance criteria\n- Essential context only\n\n**Structure:**\n\n````markdown\n---\ntitle: [Issue Title]\ntype: [feat|fix|refactor]\nstatus: active\ndate: YYYY-MM-DD\norigin: docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md  # if originated from a requirements doc, otherwise omit\n---\n\n# [Issue Title]\n\n[Brief problem\u002Ffeature description]\n\n## Acceptance Criteria\n\n- [ ] Core requirement 1\n- [ ] Core requirement 2\n\n## Context\n\n[Any critical information]\n\n## MVP\n\n### test.rb\n\n```ruby\nclass Test\n  def initialize\n    @name = \"test\"\n  end\nend\n```\n\n## Sources\n\n- **Origin document:** [docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md](path) — include if plan originated from an upstream requirements doc\n- Related issue: #[issue_number]\n- Documentation: [relevant_docs_url]\n````\n\n#### ? MORE (Standard Issue)\n\n**Best for:** Most features, complex bugs, team collaboration\n\n**Includes everything from MINIMAL plus:**\n\n- Detailed background and motivation\n- Technical considerations\n- Success metrics\n- Dependencies and risks\n- Basic implementation suggestions\n\n**Structure:**\n\n```markdown\n---\ntitle: [Issue Title]\ntype: [feat|fix|refactor]\nstatus: active\ndate: YYYY-MM-DD\norigin: docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md  # if originated from a requirements doc, otherwise omit\n---\n\n# [Issue Title]\n\n## Overview\n\n[Comprehensive description]\n\n## Problem Statement \u002F Motivation\n\n[Why this matters]\n\n## Proposed Solution\n\n[High-level approach]\n\n## Technical Considerations\n\n- Architecture impacts\n- Performance implications\n- Security considerations\n\n## System-Wide Impact\n\n- **Interaction graph**: [What callbacks\u002Fmiddleware\u002Fobservers fire when this runs?]\n- **Error propagation**: [How do errors flow across layers? Do retry strategies align?]\n- **State lifecycle risks**: [Can partial failure leave orphaned\u002Finconsistent state?]\n- **API surface parity**: [What other interfaces expose similar functionality and need the same change?]\n- **Integration test scenarios**: [Cross-layer scenarios that unit tests won't catch]\n\n## Acceptance Criteria\n\n- [ ] Detailed requirement 1\n- [ ] Detailed requirement 2\n- [ ] Testing requirements\n\n## Success Metrics\n\n[How we measure success]\n\n## Dependencies & Risks\n\n[What could block or complicate this]\n\n## Sources & References\n\n- **Origin document:** [docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md](path) — include if plan originated from an upstream requirements doc\n- Similar implementations: [file_path:line_number]\n- Best practices: [documentation_url]\n- Related PRs: #[pr_number]\n```\n\n#### ? A LOT (Comprehensive Issue)\n\n**Best for:** Major features, architectural changes, complex integrations\n\n**Includes everything from MORE plus:**\n\n- Detailed implementation plan with phases\n- Alternative approaches considered\n- Extensive technical specifications\n- Resource requirements and timeline\n- Future considerations and extensibility\n- Risk mitigation strategies\n- Documentation requirements\n\n**Structure:**\n\n```markdown\n---\ntitle: [Issue Title]\ntype: [feat|fix|refactor]\nstatus: active\ndate: YYYY-MM-DD\norigin: docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md  # if originated from a requirements doc, otherwise omit\n---\n\n# [Issue Title]\n\n## Overview\n\n[Executive summary]\n\n## Problem Statement\n\n[Detailed problem analysis]\n\n## Proposed Solution\n\n[Comprehensive solution design]\n\n## Technical Approach\n\n### Architecture\n\n[Detailed technical design]\n\n### Implementation Phases\n\n#### Phase 1: [Foundation]\n\n- Tasks and deliverables\n- Success criteria\n- Estimated effort\n\n#### Phase 2: [Core Implementation]\n\n- Tasks and deliverables\n- Success criteria\n- Estimated effort\n\n#### Phase 3: [Polish & Optimization]\n\n- Tasks and deliverables\n- Success criteria\n- Estimated effort\n\n## Alternative Approaches Considered\n\n[Other solutions evaluated and why rejected]\n\n## System-Wide Impact\n\n### Interaction Graph\n\n[Map the chain reaction: what callbacks, middleware, observers, and event handlers fire when this code runs? Trace at least two levels deep. Document: \"Action X triggers Y, which calls Z, which persists W.\"]\n\n### Error & Failure Propagation\n\n[Trace errors from lowest layer up. List specific error classes and where they're handled. Identify retry conflicts, unhandled error types, and silent failure swallowing.]\n\n### State Lifecycle Risks\n\n[Walk through each step that persists state. Can partial failure orphan rows, duplicate records, or leave caches stale? Document cleanup mechanisms or their absence.]\n\n### API Surface Parity\n\n[List all interfaces (classes, DSLs, endpoints) that expose equivalent functionality. Note which need updating and which share the code path.]\n\n### Integration Test Scenarios\n\n[3-5 cross-layer test scenarios that unit tests with mocks would never catch. Include expected behavior for each.]\n\n## Acceptance Criteria\n\n### Functional Requirements\n\n- [ ] Detailed functional criteria\n\n### Non-Functional Requirements\n\n- [ ] Performance targets\n- [ ] Security requirements\n- [ ] Accessibility standards\n\n### Quality Gates\n\n- [ ] Test coverage requirements\n- [ ] Documentation completeness\n- [ ] Code review approval\n\n## Success Metrics\n\n[Detailed KPIs and measurement methods]\n\n## Dependencies & Prerequisites\n\n[Detailed dependency analysis]\n\n## Risk Analysis & Mitigation\n\n[Comprehensive risk assessment]\n\n## Resource Requirements\n\n[Team, time, infrastructure needs]\n\n## Future Considerations\n\n[Extensibility and long-term vision]\n\n## Documentation Plan\n\n[What docs need updating]\n\n## Sources & References\n\n### Origin\n\n- **Origin document:** [docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md](path) — include if plan originated from an upstream requirements doc. Key decisions carried forward: [list 2-3 major decisions from the origin]\n\n### Internal References\n\n- Architecture decisions: [file_path:line_number]\n- Similar features: [file_path:line_number]\n- Configuration: [file_path:line_number]\n\n### External References\n\n- Framework documentation: [url]\n- Best practices guide: [url]\n- Industry standards: [url]\n\n### Related Work\n\n- Previous PRs: #[pr_numbers]\n- Related issues: #[issue_numbers]\n- Design documents: [links]\n```\n\n### 5. Issue Creation & Formatting\n\n\u003Cthinking>\nApply best practices for clarity and actionability, making the issue easy to scan and understand\n\u003C\u002Fthinking>\n\n**Content Formatting:**\n\n- [ ] Use clear, descriptive headings with proper hierarchy (##, ###)\n- [ ] Include code examples in triple backticks with language syntax highlighting\n- [ ] Add screenshots\u002Fmockups if UI-related (drag & drop or use image hosting)\n- [ ] Use task lists (- [ ]) for trackable items that can be checked off\n- [ ] Add collapsible sections for lengthy logs or optional details using `\u003Cdetails>` tags\n- [ ] Apply appropriate emoji for visual scanning (? bug, ✨ feature, ? docs, ♻️ refactor)\n\n**Cross-Referencing:**\n\n- [ ] Link to related issues\u002FPRs using #number format\n- [ ] Reference specific commits with SHA hashes when relevant\n- [ ] Link to code using GitHub's permalink feature (press 'y' for permanent link)\n- [ ] Mention relevant team members with @username if needed\n- [ ] Add links to external resources with descriptive text\n\n**Code & Examples:**\n\n````markdown\n# Good example with syntax highlighting and line references\n\n\n```ruby\n# app\u002Fservices\u002Fuser_service.rb:42\ndef process_user(user)\n\n# Implementation here\n\nend\n```\n\n# Collapsible error logs\n\n\u003Cdetails>\n\u003Csummary>Full error stacktrace\u003C\u002Fsummary>\n\n`Error details here...`\n\n\u003C\u002Fdetails>\n````\n\n**AI-Era Considerations:**\n\n- [ ] Account for accelerated development with AI pair programming\n- [ ] Include prompts or instructions that worked well during research\n- [ ] Note which AI tools were used for initial exploration (Claude, Copilot, etc.)\n- [ ] Emphasize comprehensive testing given rapid implementation\n- [ ] Document any AI-generated code that needs human review\n\n### 6. Final Review & Submission\n\n**Origin document cross-check (if plan originated from a requirements doc):**\n\nBefore finalizing, re-read the origin document and verify:\n- [ ] Every key decision from the origin document is reflected in the plan\n- [ ] The chosen approach matches what was decided in the origin document\n- [ ] Constraints and requirements from the origin document are captured in acceptance criteria\n- [ ] Open questions from the origin document are either resolved or flagged\n- [ ] The `origin:` frontmatter field points to the correct source file\n- [ ] The Sources section includes the origin document with a summary of carried-forward decisions\n\n**Pre-submission Checklist:**\n\n- [ ] Title is searchable and descriptive\n- [ ] Labels accurately categorize the issue\n- [ ] All template sections are complete\n- [ ] Links and references are working\n- [ ] Acceptance criteria are measurable\n- [ ] Add names of files in pseudo code examples and todo lists\n- [ ] Add an ERD mermaid diagram if applicable for new model changes\n\n## Write Plan File\n\n**REQUIRED: Write the plan file to disk before presenting any options.**\n\n```bash\nmkdir -p docs\u002Fplans\u002F\n# Determine daily sequence number\ntoday=$(date +%Y-%m-%d)\nlast_seq=$(ls docs\u002Fplans\u002F${today}-*-plan.md 2>\u002Fdev\u002Fnull | grep -oP \"${today}-\\K\\d{3}\" | sort -n | tail -1)\nnext_seq=$(printf \"%03d\" $(( ${last_seq:-0} + 1 )))\n```\n\nUse the Write tool to save the complete plan to `docs\u002Fplans\u002FYYYY-MM-DD-NNN-\u003Ctype>-\u003Cdescriptive-name>-plan.md` (where NNN is `$next_seq` from the bash command above). This step is mandatory and cannot be skipped — even when running as part of LFG\u002FSLFG or other automated pipelines.\n\nConfirm: \"Plan written to docs\u002Fplans\u002F[filename]\"\n\n**Pipeline mode:** If invoked from an automated workflow (LFG, SLFG, or any `disable-model-invocation` context), skip all AskUserQuestion calls. Make decisions automatically and proceed to writing the plan without interactive prompts.\n\n## Output Format\n\n**Filename:** Use the date, daily sequence number, and kebab-case filename from Step 2 Title & Categorization.\n\n```\ndocs\u002Fplans\u002FYYYY-MM-DD-NNN-\u003Ctype>-\u003Cdescriptive-name>-plan.md\n```\n\nExamples:\n- ✅ `docs\u002Fplans\u002F2026-01-15-001-feat-user-authentication-flow-plan.md`\n- ✅ `docs\u002Fplans\u002F2026-02-03-001-fix-checkout-race-condition-plan.md`\n- ✅ `docs\u002Fplans\u002F2026-03-10-002-refactor-api-client-extraction-plan.md`\n- ❌ `docs\u002Fplans\u002F2026-01-15-feat-thing-plan.md` (missing sequence number, not descriptive)\n- ❌ `docs\u002Fplans\u002F2026-01-15-001-feat-new-feature-plan.md` (too vague - what feature?)\n- ❌ `docs\u002Fplans\u002F2026-01-15-001-feat: user auth-plan.md` (invalid characters - colon and space)\n- ❌ `docs\u002Fplans\u002Ffeat-user-auth-plan.md` (missing date prefix and sequence number)\n\n## Post-Generation Options\n\nAfter writing the plan file, use the **AskUserQuestion tool** to present these options:\n\n**Question:** \"Plan ready at `docs\u002Fplans\u002FYYYY-MM-DD-NNN-\u003Ctype>-\u003Cname>-plan.md`. What would you like to do next?\"\n\n**Options:**\n1. **Open plan in editor** - Open the plan file for review\n2. **Run `\u002Fdeepen-plan`** - Enhance each section with parallel research agents (best practices, performance, UI)\n3. **Review and refine** - Improve the document through structured self-review\n4. **Share to Proof** - Upload to Proof for collaborative review and sharing\n5. **Start `\u002Fce:work`** - Begin implementing this plan locally\n6. **Start `\u002Fce:work` on remote** - Begin implementing in Claude Code on the web (use `&` to run in background)\n7. **Create Issue** - Create issue in project tracker (GitHub\u002FLinear)\n\nBased on selection:\n- **Open plan in editor** → Run `open docs\u002Fplans\u002F\u003Cplan_filename>.md` to open the file in the user's default editor\n- **`\u002Fdeepen-plan`** → Call the \u002Fdeepen-plan command with the plan file path to enhance with research\n- **Review and refine** → Load `document-review` skill.\n- **Share to Proof** → Upload the plan to Proof:\n  ```bash\n  CONTENT=$(cat docs\u002Fplans\u002F\u003Cplan_filename>.md)\n  TITLE=\"Plan: \u003Cplan title from frontmatter>\"\n  RESPONSE=$(curl -s -X POST https:\u002F\u002Fwww.proofeditor.ai\u002Fshare\u002Fmarkdown \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -d \"$(jq -n --arg title \"$TITLE\" --arg markdown \"$CONTENT\" --arg by \"ai:compound\" '{title: $title, markdown: $markdown, by: $by}')\")\n  PROOF_URL=$(echo \"$RESPONSE\" | jq -r '.tokenUrl')\n  ```\n  Display: `View & collaborate in Proof: \u003CPROOF_URL>` — skip silently if curl fails. Then return to options.\n- **`\u002Fce:work`** → Call the \u002Fce:work command with the plan file path\n- **`\u002Fce:work` on remote** → Run `\u002Fce:work docs\u002Fplans\u002F\u003Cplan_filename>.md &` to start work in background for Claude Code web\n- **Create Issue** → See \"Issue Creation\" section below\n- **Other** (automatically provided) → Accept free text for rework or specific changes\n\n**Note:** If running `\u002Fce:plan` with ultrathink enabled, automatically run `\u002Fdeepen-plan` after plan creation for maximum depth and grounding.\n\nLoop back to options after Simplify or Other changes until user selects `\u002Fce:work` or another action.\n\n## Issue Creation\n\nWhen user selects \"Create Issue\", detect their project tracker from AGENTS.md:\n\n1. **Check for tracker preference** in the user's AGENTS.md (global or project). If AGENTS.md is absent, fall back to CLAUDE.md:\n   - Look for `project_tracker: github` or `project_tracker: linear`\n   - Or look for mentions of \"GitHub Issues\" or \"Linear\" in their workflow section\n\n2. **If GitHub:**\n\n   Use the title and type from Step 2 (already in context - no need to re-read the file):\n\n   ```bash\n   gh issue create --title \"\u003Ctype>: \u003Ctitle>\" --body-file \u003Cplan_path>\n   ```\n\n3. **If Linear:**\n\n   ```bash\n   linear issue create --title \"\u003Ctitle>\" --description \"$(cat \u003Cplan_path>)\"\n   ```\n\n4. **If no tracker configured:**\n   Ask user: \"Which project tracker do you use? (GitHub\u002FLinear\u002FOther)\"\n   - Suggest adding `project_tracker: github` or `project_tracker: linear` to their AGENTS.md\n\n5. **After creation:**\n   - Display the issue URL\n   - Ask if they want to proceed to `\u002Fce:work`\n\nNEVER CODE! Just research and write the plan.\n","# Create a plan for a new feature or bug fix\n\n## Introduction\n\n**Note: The current year is 2026.** Use this when dating plans and searching for recent documentation.\n\nTransform 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.\n\n## Feature Description\n\n\u003Cfeature_description> #$ARGUMENTS \u003C\u002Ffeature_description>\n\n**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.\"\n\nDo not proceed until you have a clear feature description from the user.\n\n### 0. Idea Refinement\n\n**Check for requirements document first:**\n\nBefore asking questions, look for recent requirements documents in `docs\u002Fbrainstorms\u002F` that match this feature:\n\n```bash\nls -la docs\u002Fbrainstorms\u002F*-requirements.md 2>\u002Fdev\u002Fnull | head -10\n```\n\n**Relevance criteria:** A requirements document is relevant if:\n- The topic (from filename or YAML frontmatter) semantically matches the feature description\n- Created within the last 14 days\n- If multiple candidates match, use the most recent one\n\n**If a relevant requirements document exists:**\n1. Read the source document **thoroughly** — every section matters\n2. Announce: \"Found source document from [date]: [topic]. Using as foundation for planning.\"\n3. Extract and carry forward **ALL** of the following into the plan:\n   - Key decisions and their rationale\n   - Chosen approach and why alternatives were rejected\n   - Problem framing, constraints, and requirements captured during brainstorming\n   - Outstanding questions, preserving whether they block planning or are intentionally deferred\n   - Success criteria and scope boundaries\n   - Dependencies and assumptions, plus any high-level technical direction only when the origin document is inherently technical\n4. **Skip the idea refinement questions below** — the source document already answered WHAT to build\n5. Use source document content as the **primary input** to research and planning phases\n6. **Critical: The source document is the origin document.** Throughout the plan, reference specific decisions with `(see origin: \u003Csource-path>)` when carrying forward conclusions. Do not paraphrase decisions in a way that loses their original context — link back to the source.\n7. **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.\n8. **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 `\u002Fce:brainstorm` or answer those questions first.\n\n**If multiple source documents could match:**\nUse **AskUserQuestion tool** to ask which source document to use, or whether to proceed without one.\n\n**If no requirements document is found (or not relevant), run idea refinement:**\n\nRefine the idea through collaborative dialogue using the **AskUserQuestion tool**:\n\n- Ask questions one at a time to understand the idea fully\n- Prefer multiple choice questions when natural options exist\n- Focus on understanding: purpose, constraints and success criteria\n- Continue until the idea is clear OR user says \"proceed\"\n\n**Gather signals for research decision.** During refinement, note:\n\n- **User's familiarity**: Do they know the codebase patterns? Are they pointing to examples?\n- **User's intent**: Speed vs thoroughness? Exploration vs execution?\n- **Topic risk**: Security, payments, external APIs warrant more caution\n- **Uncertainty level**: Is the approach clear or open-ended?\n\n**Skip option:** If the feature description is already detailed, offer:\n\"Your description is clear. Should I proceed with research, or would you like to refine it further?\"\n\n## Main Tasks\n\n### 1. Local Research (Always Runs - Parallel)\n\n\u003Cthinking>\nFirst, 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.\n\u003C\u002Fthinking>\n\nRun these agents **in parallel** to gather local context:\n\n- Task compound-engineering:research:repo-research-analyst(Scope: technology, architecture, patterns. {feature_description})\n- Task compound-engineering:research:learnings-researcher(feature_description)\n\n**What to look for:**\n- **Repo research:** technology stack and versions (informs research decisions), architectural patterns, and implementation patterns relevant to the feature\n- **Learnings:** documented solutions in `docs\u002Fsolutions\u002F` that might apply (gotchas, patterns, lessons learned)\n\nThese findings inform the next step.\n\n### 1.5. Research Decision\n\nBased on signals from Step 0 and findings from Step 1, decide on external research.\n\n**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.\n\n**Strong local context -> skip external research.** Codebase has good patterns, AGENTS.md has guidance, user knows what they want. External research adds little value.\n\n**Uncertainty or unfamiliar territory → research.** User is exploring, codebase has no examples, new technology. External perspective is valuable.\n\n**Announce the decision and proceed.** Brief explanation, then continue. User can redirect if needed.\n\nExamples:\n- \"Your codebase has solid patterns for this. Proceeding without external research.\"\n- \"This involves payment processing, so I'll research current best practices first.\"\n\n### 1.5b. External Research (Conditional)\n\n**Only run if Step 1.5 indicates external research is valuable.**\n\nRun these agents in parallel:\n\n- Task compound-engineering:research:best-practices-researcher(feature_description)\n- Task compound-engineering:research:framework-docs-researcher(feature_description)\n\n### 1.6. Consolidate Research\n\nAfter all research steps complete, consolidate findings:\n\n- Document relevant file paths from repo research (e.g., `app\u002Fservices\u002Fexample_service.rb:42`)\n- **Include relevant institutional learnings** from `docs\u002Fsolutions\u002F` (key insights, gotchas to avoid)\n- Note external documentation URLs and best practices (if external research was done)\n- List related issues or PRs discovered\n- Capture AGENTS.md conventions\n\n**Optional validation:** Briefly summarize findings and ask if anything looks off or missing before proceeding to planning.\n\n### 2. Issue Planning & Structure\n\n\u003Cthinking>\nThink like a product manager - what would make this issue clear and actionable? Consider multiple perspectives\n\u003C\u002Fthinking>\n\n**Title & Categorization:**\n\n- [ ] Draft clear, searchable issue title using conventional format (e.g., `feat: Add user authentication`, `fix: Cart total calculation`)\n- [ ] Determine issue type: enhancement, bug, refactor\n- [ ] Convert title to filename: add today's date prefix, determine daily sequence number, strip prefix colon, kebab-case, add `-plan` suffix\n  - Scan `docs\u002Fplans\u002F` for files matching today's date pattern `YYYY-MM-DD-\\d{3}-`\n  - Find the highest existing sequence number for today\n  - Increment by 1, zero-padded to 3 digits (001, 002, etc.)\n  - Example: `feat: Add User Authentication` → `2026-01-21-001-feat-add-user-authentication-plan.md`\n  - Keep it descriptive (3-5 words after prefix) so plans are findable by context\n\n**Stakeholder Analysis:**\n\n- [ ] Identify who will be affected by this issue (end users, developers, operations)\n- [ ] Consider implementation complexity and required expertise\n\n**Content Planning:**\n\n- [ ] Choose appropriate detail level based on issue complexity and audience\n- [ ] List all necessary sections for the chosen template\n- [ ] Gather supporting materials (error logs, screenshots, design mockups)\n- [ ] Prepare code examples or reproduction steps if applicable, name the mock filenames in the lists\n\n### 3. SpecFlow Analysis\n\nAfter planning the issue structure, run SpecFlow Analyzer to validate and refine the feature specification:\n\n- Task compound-engineering:workflow:spec-flow-analyzer(feature_description, research_findings)\n\n**SpecFlow Analyzer Output:**\n\n- [ ] Review SpecFlow analysis results\n- [ ] Incorporate any identified gaps or edge cases into the issue\n- [ ] Update acceptance criteria based on SpecFlow findings\n\n### 4. Choose Implementation Detail Level\n\nSelect how comprehensive you want the issue to be, simpler is mostly better.\n\n#### ? MINIMAL (Quick Issue)\n\n**Best for:** Simple bugs, small improvements, clear features\n\n**Includes:**\n\n- Problem statement or feature description\n- Basic acceptance criteria\n- Essential context only\n\n**Structure:**\n\n````markdown\n---\ntitle: [Issue Title]\ntype: [feat|fix|refactor]\nstatus: active\ndate: YYYY-MM-DD\norigin: docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md  # if originated from a requirements doc, otherwise omit\n---\n\n# [Issue Title]\n\n[Brief problem\u002Ffeature description]\n\n## Acceptance Criteria\n\n- [ ] Core requirement 1\n- [ ] Core requirement 2\n\n## Context\n\n[Any critical information]\n\n## MVP\n\n### test.rb\n\n```ruby\nclass Test\n  def initialize\n    @name = \"test\"\n  end\nend\n```\n\n## Sources\n\n- **Origin document:** [docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md](path) — include if plan originated from an upstream requirements doc\n- Related issue: #[issue_number]\n- Documentation: [relevant_docs_url]\n````\n\n#### ? MORE (Standard Issue)\n\n**Best for:** Most features, complex bugs, team collaboration\n\n**Includes everything from MINIMAL plus:**\n\n- Detailed background and motivation\n- Technical considerations\n- Success metrics\n- Dependencies and risks\n- Basic implementation suggestions\n\n**Structure:**\n\n```markdown\n---\ntitle: [Issue Title]\ntype: [feat|fix|refactor]\nstatus: active\ndate: YYYY-MM-DD\norigin: docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md  # if originated from a requirements doc, otherwise omit\n---\n\n# [Issue Title]\n\n## Overview\n\n[Comprehensive description]\n\n## Problem Statement \u002F Motivation\n\n[Why this matters]\n\n## Proposed Solution\n\n[High-level approach]\n\n## Technical Considerations\n\n- Architecture impacts\n- Performance implications\n- Security considerations\n\n## System-Wide Impact\n\n- **Interaction graph**: [What callbacks\u002Fmiddleware\u002Fobservers fire when this runs?]\n- **Error propagation**: [How do errors flow across layers? Do retry strategies align?]\n- **State lifecycle risks**: [Can partial failure leave orphaned\u002Finconsistent state?]\n- **API surface parity**: [What other interfaces expose similar functionality and need the same change?]\n- **Integration test scenarios**: [Cross-layer scenarios that unit tests won't catch]\n\n## Acceptance Criteria\n\n- [ ] Detailed requirement 1\n- [ ] Detailed requirement 2\n- [ ] Testing requirements\n\n## Success Metrics\n\n[How we measure success]\n\n## Dependencies & Risks\n\n[What could block or complicate this]\n\n## Sources & References\n\n- **Origin document:** [docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md](path) — include if plan originated from an upstream requirements doc\n- Similar implementations: [file_path:line_number]\n- Best practices: [documentation_url]\n- Related PRs: #[pr_number]\n```\n\n#### ? A LOT (Comprehensive Issue)\n\n**Best for:** Major features, architectural changes, complex integrations\n\n**Includes everything from MORE plus:**\n\n- Detailed implementation plan with phases\n- Alternative approaches considered\n- Extensive technical specifications\n- Resource requirements and timeline\n- Future considerations and extensibility\n- Risk mitigation strategies\n- Documentation requirements\n\n**Structure:**\n\n```markdown\n---\ntitle: [Issue Title]\ntype: [feat|fix|refactor]\nstatus: active\ndate: YYYY-MM-DD\norigin: docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md  # if originated from a requirements doc, otherwise omit\n---\n\n# [Issue Title]\n\n## Overview\n\n[Executive summary]\n\n## Problem Statement\n\n[Detailed problem analysis]\n\n## Proposed Solution\n\n[Comprehensive solution design]\n\n## Technical Approach\n\n### Architecture\n\n[Detailed technical design]\n\n### Implementation Phases\n\n#### Phase 1: [Foundation]\n\n- Tasks and deliverables\n- Success criteria\n- Estimated effort\n\n#### Phase 2: [Core Implementation]\n\n- Tasks and deliverables\n- Success criteria\n- Estimated effort\n\n#### Phase 3: [Polish & Optimization]\n\n- Tasks and deliverables\n- Success criteria\n- Estimated effort\n\n## Alternative Approaches Considered\n\n[Other solutions evaluated and why rejected]\n\n## System-Wide Impact\n\n### Interaction Graph\n\n[Map the chain reaction: what callbacks, middleware, observers, and event handlers fire when this code runs? Trace at least two levels deep. Document: \"Action X triggers Y, which calls Z, which persists W.\"]\n\n### Error & Failure Propagation\n\n[Trace errors from lowest layer up. List specific error classes and where they're handled. Identify retry conflicts, unhandled error types, and silent failure swallowing.]\n\n### State Lifecycle Risks\n\n[Walk through each step that persists state. Can partial failure orphan rows, duplicate records, or leave caches stale? Document cleanup mechanisms or their absence.]\n\n### API Surface Parity\n\n[List all interfaces (classes, DSLs, endpoints) that expose equivalent functionality. Note which need updating and which share the code path.]\n\n### Integration Test Scenarios\n\n[3-5 cross-layer test scenarios that unit tests with mocks would never catch. Include expected behavior for each.]\n\n## Acceptance Criteria\n\n### Functional Requirements\n\n- [ ] Detailed functional criteria\n\n### Non-Functional Requirements\n\n- [ ] Performance targets\n- [ ] Security requirements\n- [ ] Accessibility standards\n\n### Quality Gates\n\n- [ ] Test coverage requirements\n- [ ] Documentation completeness\n- [ ] Code review approval\n\n## Success Metrics\n\n[Detailed KPIs and measurement methods]\n\n## Dependencies & Prerequisites\n\n[Detailed dependency analysis]\n\n## Risk Analysis & Mitigation\n\n[Comprehensive risk assessment]\n\n## Resource Requirements\n\n[Team, time, infrastructure needs]\n\n## Future Considerations\n\n[Extensibility and long-term vision]\n\n## Documentation Plan\n\n[What docs need updating]\n\n## Sources & References\n\n### Origin\n\n- **Origin document:** [docs\u002Fbrainstorms\u002FYYYY-MM-DD-\u003Ctopic>-requirements.md](path) — include if plan originated from an upstream requirements doc. Key decisions carried forward: [list 2-3 major decisions from the origin]\n\n### Internal References\n\n- Architecture decisions: [file_path:line_number]\n- Similar features: [file_path:line_number]\n- Configuration: [file_path:line_number]\n\n### External References\n\n- Framework documentation: [url]\n- Best practices guide: [url]\n- Industry standards: [url]\n\n### Related Work\n\n- Previous PRs: #[pr_numbers]\n- Related issues: #[issue_numbers]\n- Design documents: [links]\n```\n\n### 5. Issue Creation & Formatting\n\n\u003Cthinking>\nApply best practices for clarity and actionability, making the issue easy to scan and understand\n\u003C\u002Fthinking>\n\n**Content Formatting:**\n\n- [ ] Use clear, descriptive headings with proper hierarchy (##, ###)\n- [ ] Include code examples in triple backticks with language syntax highlighting\n- [ ] Add screenshots\u002Fmockups if UI-related (drag & drop or use image hosting)\n- [ ] Use task lists (- [ ]) for trackable items that can be checked off\n- [ ] Add collapsible sections for lengthy logs or optional details using `\u003Cdetails>` tags\n- [ ] Apply appropriate emoji for visual scanning (? bug, ✨ feature, ? docs, ♻️ refactor)\n\n**Cross-Referencing:**\n\n- [ ] Link to related issues\u002FPRs using #number format\n- [ ] Reference specific commits with SHA hashes when relevant\n- [ ] Link to code using GitHub's permalink feature (press 'y' for permanent link)\n- [ ] Mention relevant team members with @username if needed\n- [ ] Add links to external resources with descriptive text\n\n**Code & Examples:**\n\n````markdown\n# Good example with syntax highlighting and line references\n\n\n```ruby\n# app\u002Fservices\u002Fuser_service.rb:42\ndef process_user(user)\n\n# Implementation here\n\nend\n```\n\n# Collapsible error logs\n\n\u003Cdetails>\n\u003Csummary>Full error stacktrace\u003C\u002Fsummary>\n\n`Error details here...`\n\n\u003C\u002Fdetails>\n````\n\n**AI-Era Considerations:**\n\n- [ ] Account for accelerated development with AI pair programming\n- [ ] Include prompts or instructions that worked well during research\n- [ ] Note which AI tools were used for initial exploration (Claude, Copilot, etc.)\n- [ ] Emphasize comprehensive testing given rapid implementation\n- [ ] Document any AI-generated code that needs human review\n\n### 6. Final Review & Submission\n\n**Origin document cross-check (if plan originated from a requirements doc):**\n\nBefore finalizing, re-read the origin document and verify:\n- [ ] Every key decision from the origin document is reflected in the plan\n- [ ] The chosen approach matches what was decided in the origin document\n- [ ] Constraints and requirements from the origin document are captured in acceptance criteria\n- [ ] Open questions from the origin document are either resolved or flagged\n- [ ] The `origin:` frontmatter field points to the correct source file\n- [ ] The Sources section includes the origin document with a summary of carried-forward decisions\n\n**Pre-submission Checklist:**\n\n- [ ] Title is searchable and descriptive\n- [ ] Labels accurately categorize the issue\n- [ ] All template sections are complete\n- [ ] Links and references are working\n- [ ] Acceptance criteria are measurable\n- [ ] Add names of files in pseudo code examples and todo lists\n- [ ] Add an ERD mermaid diagram if applicable for new model changes\n\n## Write Plan File\n\n**REQUIRED: Write the plan file to disk before presenting any options.**\n\n```bash\nmkdir -p docs\u002Fplans\u002F\n# Determine daily sequence number\ntoday=$(date +%Y-%m-%d)\nlast_seq=$(ls docs\u002Fplans\u002F${today}-*-plan.md 2>\u002Fdev\u002Fnull | grep -oP \"${today}-\\K\\d{3}\" | sort -n | tail -1)\nnext_seq=$(printf \"%03d\" $(( ${last_seq:-0} + 1 )))\n```\n\nUse the Write tool to save the complete plan to `docs\u002Fplans\u002FYYYY-MM-DD-NNN-\u003Ctype>-\u003Cdescriptive-name>-plan.md` (where NNN is `$next_seq` from the bash command above). This step is mandatory and cannot be skipped — even when running as part of LFG\u002FSLFG or other automated pipelines.\n\nConfirm: \"Plan written to docs\u002Fplans\u002F[filename]\"\n\n**Pipeline mode:** If invoked from an automated workflow (LFG, SLFG, or any `disable-model-invocation` context), skip all AskUserQuestion calls. Make decisions automatically and proceed to writing the plan without interactive prompts.\n\n## Output Format\n\n**Filename:** Use the date, daily sequence number, and kebab-case filename from Step 2 Title & Categorization.\n\n```\ndocs\u002Fplans\u002FYYYY-MM-DD-NNN-\u003Ctype>-\u003Cdescriptive-name>-plan.md\n```\n\nExamples:\n- ✅ `docs\u002Fplans\u002F2026-01-15-001-feat-user-authentication-flow-plan.md`\n- ✅ `docs\u002Fplans\u002F2026-02-03-001-fix-checkout-race-condition-plan.md`\n- ✅ `docs\u002Fplans\u002F2026-03-10-002-refactor-api-client-extraction-plan.md`\n- ❌ `docs\u002Fplans\u002F2026-01-15-feat-thing-plan.md` (missing sequence number, not descriptive)\n- ❌ `docs\u002Fplans\u002F2026-01-15-001-feat-new-feature-plan.md` (too vague - what feature?)\n- ❌ `docs\u002Fplans\u002F2026-01-15-001-feat: user auth-plan.md` (invalid characters - colon and space)\n- ❌ `docs\u002Fplans\u002Ffeat-user-auth-plan.md` (missing date prefix and sequence number)\n\n## Post-Generation Options\n\nAfter writing the plan file, use the **AskUserQuestion tool** to present these options:\n\n**Question:** \"Plan ready at `docs\u002Fplans\u002FYYYY-MM-DD-NNN-\u003Ctype>-\u003Cname>-plan.md`. What would you like to do next?\"\n\n**Options:**\n1. **Open plan in editor** - Open the plan file for review\n2. **Run `\u002Fdeepen-plan`** - Enhance each section with parallel research agents (best practices, performance, UI)\n3. **Review and refine** - Improve the document through structured self-review\n4. **Share to Proof** - Upload to Proof for collaborative review and sharing\n5. **Start `\u002Fce:work`** - Begin implementing this plan locally\n6. **Start `\u002Fce:work` on remote** - Begin implementing in Claude Code on the web (use `&` to run in background)\n7. **Create Issue** - Create issue in project tracker (GitHub\u002FLinear)\n\nBased on selection:\n- **Open plan in editor** → Run `open docs\u002Fplans\u002F\u003Cplan_filename>.md` to open the file in the user's default editor\n- **`\u002Fdeepen-plan`** → Call the \u002Fdeepen-plan command with the plan file path to enhance with research\n- **Review and refine** → Load `document-review` skill.\n- **Share to Proof** → Upload the plan to Proof:\n  ```bash\n  CONTENT=$(cat docs\u002Fplans\u002F\u003Cplan_filename>.md)\n  TITLE=\"Plan: \u003Cplan title from frontmatter>\"\n  RESPONSE=$(curl -s -X POST https:\u002F\u002Fwww.proofeditor.ai\u002Fshare\u002Fmarkdown \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -d \"$(jq -n --arg title \"$TITLE\" --arg markdown \"$CONTENT\" --arg by \"ai:compound\" '{title: $title, markdown: $markdown, by: $by}')\")\n  PROOF_URL=$(echo \"$RESPONSE\" | jq -r '.tokenUrl')\n  ```\n  Display: `View & collaborate in Proof: \u003CPROOF_URL>` — skip silently if curl fails. Then return to options.\n- **`\u002Fce:work`** → Call the \u002Fce:work command with the plan file path\n- **`\u002Fce:work` on remote** → Run `\u002Fce:work docs\u002Fplans\u002F\u003Cplan_filename>.md &` to start work in background for Claude Code web\n- **Create Issue** → See \"Issue Creation\" section below\n- **Other** (automatically provided) → Accept free text for rework or specific changes\n\n**Note:** If running `\u002Fce:plan` with ultrathink enabled, automatically run `\u002Fdeepen-plan` after plan creation for maximum depth and grounding.\n\nLoop back to options after Simplify or Other changes until user selects `\u002Fce:work` or another action.\n\n## Issue Creation\n\nWhen user selects \"Create Issue\", detect their project tracker from AGENTS.md:\n\n1. **Check for tracker preference** in the user's AGENTS.md (global or project). If AGENTS.md is absent, fall back to CLAUDE.md:\n   - Look for `project_tracker: github` or `project_tracker: linear`\n   - Or look for mentions of \"GitHub Issues\" or \"Linear\" in their workflow section\n\n2. **If GitHub:**\n\n   Use the title and type from Step 2 (already in context - no need to re-read the file):\n\n   ```bash\n   gh issue create --title \"\u003Ctype>: \u003Ctitle>\" --body-file \u003Cplan_path>\n   ```\n\n3. **If Linear:**\n\n   ```bash\n   linear issue create --title \"\u003Ctitle>\" --description \"$(cat \u003Cplan_path>)\"\n   ```\n\n4. **If no tracker configured:**\n   Ask user: \"Which project tracker do you use? (GitHub\u002FLinear\u002FOther)\"\n   - Suggest adding `project_tracker: github` or `project_tracker: linear` to their AGENTS.md\n\n5. **After creation:**\n   - Display the issue URL\n   - Ask if they want to proceed to `\u002Fce:work`\n\nNEVER CODE! Just research and write the plan.\n",{"name":5,"description":7,"argument-hint":36},"[feature description, bug report, or improvement idea]","codex\u002Ffeat\u002Fbead-0-import-bootstrap","fcee358ce06652adf6e1dacc6351e05f12bc3988","plugins\u002Fcompound-engineering\u002Fskills\u002Fce-plan","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany","2026-03-25 18:12:52",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add apollostreetcompany\u002Fcodex-compound --skill \"ce:plan\"",{"tool":49,"command":50},"bunx","bunx skills add apollostreetcompany\u002Fcodex-compound --skill \"ce:plan\"",{"tool":52,"command":53},"pnpm","pnpm dlx skills add apollostreetcompany\u002Fcodex-compound --skill \"ce:plan\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Fplugins\u002Fcompound-engineering\u002Fskills\u002Fce-plan\u002FSKILL.md",true,[],[58,68,80,88,95,110],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":31},"01M6HQDNTAST86HTWY6DCK4RJY","skill-one","Sample skill","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fskill-one\u002FSKILL.md",[],[65,66,67],"skill one","sample skill","sample",{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":31},"01M6HQDM8XEPF79WXCN031KDBD","disabled-skill","A skill with model invocation disabled","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fdisabled-skill\u002FSKILL.md",[],[75,76,77,78,79],"disabled skill","with","with model","true","model",{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":31},"01M6HQDK1PG3422YX8WRBTTW0G","default-skill","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fskills\u002Fdefault-skill\u002FSKILL.md",[],[86,87],"default skill","default",{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":31},"01M6HQDHXC3SKTG1P2JHQ2GDF4","custom-skill","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fcustom-skills\u002Fcustom-skill\u002FSKILL.md",[],[94],"custom skill",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":31},"01M6HQDFDD5DDBPW75D93H8KMN","triage","Triage and categorize findings for the CLI todo system","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Fplugins\u002Fcompound-engineering\u002Fskills\u002Ftriage\u002FSKILL.md",[],[97,102,103,78,104,105,106,107,108,109],"source","for","type","todo","categorize","list","system","cli",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":31},"01M6HQDAVYQBR00YAPJNVDZBBY","test-xcode","Build and test iOS apps on simulator using XcodeBuildMCP","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Fplugins\u002Fcompound-engineering\u002Fskills\u002Ftest-xcode\u002FSKILL.md",[],[117,118,119,120,78,121,122,123,124,125,87,126,127],"test","test xcode","xcode","build and test","scheme","xcodebuildmcp","apps","name","build","use","ios"]