agentleFS
SuckzooSuckzoo/skills/plan-that-shit/SKILL.md

plan-that-shit

Skill1 starsChanged 9 months agoMITView on GitHub

Plan implementation work through a thorough interview process. Use when starting work on a ticket, planning a feature, or when the user wants to discuss and document requirements before coding.

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. About 0 are common, 11 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If argument provided, use $ARGUMENTS as the ticket number

    line 15
  2. Very specific:

    Check directory name from pwd

    line 17
  3. Distinctive:

    If still unclear, ask the user

    line 18
  4. Distinctive:

    Ask the user to briefly explain what they want to implement.

    line 24
  5. Distinctive:

    Before interviewing, spawn an Explore agent to understand the relevant parts of the codebase.

    line 28
  6. Distinctive:

    Find related code: Search for existing implementations similar to what the user wants

    line 32
  7. Distinctive:

    Identify patterns: Look for established patterns in the codebase (e.g., how similar features are structured)

    line 33
  8. Distinctive:

    Check CLAUDE.md: Read relevant CLAUDE.md files for guidance on patterns and conventions

    line 35
  9. Distinctive:

    Avoid suggesting approaches that conflict with existing patterns

    line 56
  10. Very specific:

    Use AskUserQuestion to interview the user with 2-4 questions at a time.

    line 60
  11. Distinctive:

    Ask non-obvious, probing questions

    line 104
  12. Very specific:

    After gathering all information, use EnterPlanMode to draft the implementation plan for user approval.

    line 112
  13. Very specific:

    Enter plan mode: Use the EnterPlanMode tool

    line 114
  14. Distinctive:

    Write the plan: Create the plan file with:

    line 115
  15. Very specific:

    Exit plan mode: Use ExitPlanMode to present the plan for user approval

    line 120
  16. Distinctive:

    Handle feedback: If user requests changes, revise the plan and re-submit

    line 121
  17. Very specific:

    Create directory and save files to ~/tmp/dora-plans/{ticket-number}/:

    line 127
  18. Distinctive:

    After saving, summarize for user:

    line 155

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Plan That Shit

Conduct a thorough interview to understand requirements and create implementation plans for a ticket or feature.

Step 1: Identify Ticket Number

Determine the ticket/branch identifier:

  1. If argument provided, use $ARGUMENTS as the ticket number
  2. Otherwise, check git branch: git branch --show-current
  3. Check directory name from pwd
  4. If still unclear, ask the user

Extract identifiers like VES-965, ves-965, DORA-123, or branch names.

Step 2: Get Initial Context

Ask the user to briefly explain what they want to implement. This is just the starting point for the interview.

Step 3: Explore Codebase

Before interviewing, spawn an Explore agent to understand the relevant parts of the codebase.

Exploration goals:

  1. Find related code: Search for existing implementations similar to what the user wants
  2. Identify patterns: Look for established patterns in the codebase (e.g., how similar features are structured)
  3. Locate files to modify: Identify which files will likely need changes
  4. Check CLAUDE.md: Read relevant CLAUDE.md files for guidance on patterns and conventions
  5. Find examples to follow: Locate similar features that can serve as templates

Spawn Explore agent with prompt like:

Explore the codebase to help plan: {user's feature description}

Find:
1. Similar existing implementations (search for related keywords/patterns)
2. Files that will likely need modification
3. Relevant CLAUDE.md guidance (root and service-specific)
4. Established patterns for this type of feature
5. Any gotchas or conventions specific to this area

Return a summary of findings to inform planning.

Use findings to:

  • Inform interview questions (ask about discovered patterns)
  • Pre-populate TODO.md with known file paths
  • Reference similar implementations in SPEC.md
  • Avoid suggesting approaches that conflict with existing patterns

Step 4: Conduct Thorough Interview

Use AskUserQuestion to interview the user with 2-4 questions at a time. Ask non-obvious questions that dig deeper. Continue until all important aspects are covered.

Areas to explore (adapt based on feature type):

Architecture & Data Flow

  • Data sources (database, API, cache)?
  • System layers/components involved?
  • Existing patterns to follow?

API Design (if applicable)

  • New endpoint or modify existing?
  • Request/response shape?
  • Query/path parameters?
  • Auth requirements?

Caching & Performance

  • Caching needed? Where? TTL?
  • Sync vs async?
  • Rate limiting?

Edge Cases & Error Handling

  • Dependency failure behavior?
  • Missing/incomplete data handling?
  • Timeout/retry logic?

Business Logic

  • Thresholds, rules, calculations?
  • Frontend vs backend logic split?
  • Feature flags?

Data Model

  • Schema changes?
  • New fields/migrations?
  • Entity relationships?

Testing

  • Test coverage level?
  • Unit vs integration?

Scope

  • What's explicitly out of scope?
  • External dependencies?

Interview guidelines:

  • Ask non-obvious, probing questions
  • Offer reasonable options in questions
  • Group related questions (2-4 per turn)
  • Continue until user confirms complete
  • Probe short answers for more detail

Step 5: Enter Plan Mode for Approval

After gathering all information, use EnterPlanMode to draft the implementation plan for user approval.

  1. Enter plan mode: Use the EnterPlanMode tool
  2. Write the plan: Create the plan file with:
    • Overview of what will be implemented
    • Architecture/approach summary
    • Phased TODO list with file paths
    • Key decisions made
  3. Exit plan mode: Use ExitPlanMode to present the plan for user approval
  4. Handle feedback: If user requests changes, revise the plan and re-submit

This ensures the user explicitly approves the implementation approach before files are saved.

Step 6: Save Outputs

Create directory and save files to ~/tmp/dora-plans/{ticket-number}/:

SPEC.md

Technical specification:

  • Overview/summary
  • Architecture details
  • API design
  • Technical specs
  • Implementation details
  • Error handling
  • Out of scope items

TODO.md

Phased implementation checklist:

  • Clear phases (Schema, Protocol, Service, Controller, etc.)
  • Actionable checkbox items
  • File paths for changes
  • Commands to run
  • Task dependencies

DECISIONS.md

Key decisions made (if significant):

  • Decision points and choices
  • Rationale
  • Alternatives considered

Step 7: Summary

After saving, summarize for user:

  • Ticket number identified
  • Key decisions made
  • Files created with paths
  • Suggested next steps

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.