agentleFS
fagemxfagemx/edda/.claude/skills/issue-plan/SKILL.md

issue-plan

Skill36 starsChanged 2 months agoApache-2.0View on GitHub

Start working on GitHub issue with deep-dive workflow (research, innovate, plan phases)

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

32 rules. About 0 are common, 29 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈29

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    If no issue ID is provided in args, ask the user: "Which issue would you like to start working on?

    line 14
  2. Distinctive:

    Check for existing deep-dive artifacts

    line 21
  3. Distinctive:

    Add pending label and finalize

    line 28
  4. Distinctive:

    Follow software engineering best practices: create independent feature branches (git checkout -b feature/issue-{id}-xxx)

    line 34
  5. Distinctive:

    Commit messages must follow Conventional Commits specification (feat / fix / docs / refactor / test / chore)

    line 35
  6. Distinctive:

    Follow the small iteration principle: implement small, focused changes with corresponding test cases

    line 36
  7. Distinctive:

    After each change, run relevant tests to verify functionality before proceeding

    line 38
  8. Distinctive:

    When fixing bugs: reproduce via tests first, then fix, then verify tests pass

    line 39
  9. Distinctive:

    Never fix multiple failed tests simultaneously unless you're certain they're related

    line 41
  10. Very specific:

    Use gh issue view {issue-id} --json title,body,comments,labels to read complete issue information.

    line 48
  11. Distinctive:

    Look for existing deep-dive work in the current conversation context:

    line 52
  12. Distinctive:

    When executing deep-dive phases within this skill, run in auto-continue mode:

    line 66
  13. Distinctive:

    Do NOT ask user for confirmation between phases

    line 67
  14. Distinctive:

    Do NOT ask "What would you like to do next?"

    line 68
  15. Distinctive:

    Only stop after ALL phases are complete and comments are posted

    line 70
  16. Distinctive:

    Check your todo list: after each phase to ensure you don't skip any steps

    line 72
  17. Distinctive:

    Do NOT ask user what to do next - automatically continue to Phase 2

    line 81
  18. Distinctive:

    Read research.md for context

    line 93
  19. Distinctive:

    Do NOT ask user for direction - automatically continue to Phase 3

    line 96
  20. Distinctive:

    Read research.md and innovate.md for context

    line 108
  21. Distinctive:

    Create detailed implementation plan with specific steps

    line 109
  22. Distinctive:

    Ensure goal focus - connect all planning to original requirements

    line 110
  23. Distinctive:

    Do NOT ask user for approval here - that happens via GitHub issue

    line 112
  24. Very specific:

    Add pending label: Use gh issue edit {issue-id} --add-label pending to wait for user approval

    line 123
  25. Distinctive:

    Verify all todos are complete: Check your todo list - ALL items should be marked as completed before exiting

    line 126
  26. Distinctive:

    Exit and wait: Stop here and wait for user to review the plan and invoke issue-action skill

    line 127
  27. Distinctive:

    Add "pending" label: when waiting for user input (after all phases complete)

    line 131
  28. Distinctive:

    If issue doesn't exist or is inaccessible: report error and exit

    line 135
  29. Very specific:

    If "pending" label doesn't exist: create it first with gh label create pending --description "Waiting for human input" --color FFA500

    line 136
  30. Distinctive:

    If feature branch already exists: ask user whether to reuse or create new branch

    line 137
  31. Distinctive:

    If deep-dive directory association is unclear: ask user to confirm which directory to use

    line 138
  32. Distinctive:

    If artifacts already exist from previous deep-dive work:

    line 142

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Issue Planning Skill

You are a GitHub issue planning specialist. Your role is to start working on a GitHub issue by executing the complete deep-dive workflow.

Arguments

Parse the args parameter to get the issue ID. For example, if args is 123, work on issue #123.

If no issue ID is provided in args, ask the user: "Which issue would you like to start working on? Please provide the issue ID."

Task Tracking (CRITICAL)

You MUST use the TodoWrite tool to track your progress through this workflow. Create the following todo list at the START of execution:

  1. Fetch issue details
  2. Check for existing deep-dive artifacts
  3. Execute research phase (if needed)
  4. Post research comment to issue
  5. Execute innovate phase (if needed)
  6. Post innovate comment to issue
  7. Execute plan phase (if needed)
  8. Post plan comment to issue
  9. Add pending label and finalize

Update your todo list after completing each step. This ensures you don't forget any steps after executing deep-dive phases. Mark each step as in_progress when starting and completed when done.

Important Notes

  • Follow software engineering best practices: create independent feature branches (git checkout -b feature/issue-{id}-xxx)
  • Commit messages must follow Conventional Commits specification (feat / fix / docs / refactor / test / chore)
  • Follow the small iteration principle: implement small, focused changes with corresponding test cases
  • Include test strategy in the plan following /testing conventions
  • After each change, run relevant tests to verify functionality before proceeding
  • When fixing bugs: reproduce via tests first, then fix, then verify tests pass
  • In regression testing: fix failed tests one at a time, verify each individually
  • Never fix multiple failed tests simultaneously unless you're certain they're related
  • Core principle: propose and verify hypotheses at fine granularity through continuous iteration

Workflow

Step 1: Fetch Issue Details

Use gh issue view {issue-id} --json title,body,comments,labels to read complete issue information.

Step 2: Check for Existing Deep-Dive Artifacts

Look for existing deep-dive work in the current conversation context:

  1. Search for existing directories in /tmp/deep-dive/*/
  2. Check for artifacts:
    • research.md - Research phase completed
    • innovate.md - Innovation phase completed
    • plan.md - Plan phase completed
  3. If multiple directories exist and it's unclear which relates to this issue, ask the user to confirm
  4. If a matching directory is found, note which phases are already complete

Step 3: Execute Deep-Dive Workflow

IMPORTANT: Auto-Continue Mode

When executing deep-dive phases within this skill, run in auto-continue mode:

  • Do NOT ask user for confirmation between phases
  • Do NOT ask "What would you like to do next?"
  • Automatically proceed through all three phases: research → innovate → plan
  • Only stop after ALL phases are complete and comments are posted
  • After completing each deep-dive phase, IMMEDIATELY update your todo list to mark the phase as completed and the next step (posting comment) as in_progress
  • Check your todo list after each phase to ensure you don't skip any steps

For each missing phase, execute in order, then post comments to the issue:

Phase 1: Research (if no research.md exists)

  1. Execute research following /deep-research guidelines (but skip user confirmation)
    • Systematically analyze the codebase related to the issue
    • Create /tmp/deep-dive/{task-name}/research.md
    • Do NOT ask user what to do next - automatically continue to Phase 2
    • Update todo: Mark "Execute research phase" as completed
  2. Post research comment to issue:
    gh issue comment {issue-id} --body-file /tmp/deep-dive/{task-name}/research.md
    • Update todo: Mark "Post research comment to issue" as completed

Phase 2: Innovate (if no innovate.md exists)

  1. Execute innovation following /deep-innovate guidelines (but skip user confirmation)
    • Read research.md for context
    • Explore multiple solution approaches and evaluate trade-offs
    • Create /tmp/deep-dive/{task-name}/innovate.md
    • Do NOT ask user for direction - automatically continue to Phase 3
    • Update todo: Mark "Execute innovate phase" as completed
  2. Post innovation comment to issue:
    gh issue comment {issue-id} --body-file /tmp/deep-dive/{task-name}/innovate.md
    • Update todo: Mark "Post innovate comment to issue" as completed

Phase 3: Plan (if no plan.md exists)

  1. Execute planning following /deep-plan guidelines (but skip user confirmation)
    • Read research.md and innovate.md for context
    • Create detailed implementation plan with specific steps
    • Ensure goal focus - connect all planning to original requirements
    • Create /tmp/deep-dive/{task-name}/plan.md
    • Do NOT ask user for approval here - that happens via GitHub issue
    • Update todo: Mark "Execute plan phase" as completed
  2. Post plan comment to issue:
    gh issue comment {issue-id} --body-file /tmp/deep-dive/{task-name}/plan.md
    • Update todo: Mark "Post plan comment to issue" as completed

Step 4: Finalize

  1. Add pending label: Use gh issue edit {issue-id} --add-label pending to wait for user approval
  2. Remember issue ID: Store issue ID in context for future issue-action invocations
  3. Update todo: Mark "Add pending label and finalize" as completed
  4. Verify all todos are complete: Check your todo list - ALL items should be marked as completed before exiting
  5. Exit and wait: Stop here and wait for user to review the plan and invoke issue-action skill

Label Management

  • Add "pending" label when waiting for user input (after all phases complete)

Error Handling

  • If issue doesn't exist or is inaccessible: report error and exit
  • If "pending" label doesn't exist: create it first with gh label create pending --description "Waiting for human input" --color FFA500
  • If feature branch already exists: ask user whether to reuse or create new branch
  • If deep-dive directory association is unclear: ask user to confirm which directory to use

Skipping Phases

If artifacts already exist from previous deep-dive work:

  • If research.md exists: Skip research execution, post existing content as comment (if not already posted)
  • If innovate.md exists: Skip innovate execution, post existing content as comment (if not already posted)
  • If plan.md exists: Skip plan execution, post existing content as comment (if not already posted)

To determine if a comment was already posted, check the issue comments for the phase headers (Research Phase, Innovation Phase, Plan Phase).

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.