fix-issue
Skill485 starsChanged 2 months agoApache-2.0View on GitHub
This skill codifies the "slow and steady" approach to solving non-trivial issues or adding features. It enforces exploring the problem space, considering alternative designs, and formalizing the design before writing any implementation code. Use this skill whenever you are: The workflow consists of four distinct steps: Before proposing any changes or writing a task file, gather context on the problem space: Create the task file under task/issue-<id>-fix.md or task/<name>.md. Create a new git branch for this task, push it, and…
- Commits and pushes
16 other projects use a version of this.
Adopted by
Most recently taken up by
- maioio/genesis-architecttheir own version, first seen Oct 2, 2026
- domengabrovsek/agent-configtheir own version, first seen Oct 2, 2026
- getsentry/sentry-javascripttheir own version, first seen Sep 27, 2026
- elfrost/ai-patchlabtheir own version, first seen Sep 22, 2026
- smartwhale8/claude-playbooktheir own version, first seen Sep 20, 2026
- frappe/skillstheir own version, first seen Aug 12, 2026
Used with
Projects with it also use refactor, ship and 3 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.
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 3 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
AWSSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- getsentry/sentry-javascript★ 8.8ksame name
- docker/docs★ 4.7ksame name
- frappe/skills★ 145same name
- dlupiak/claude-session-dashboard★ 71same name
- maioio/genesis-architect★ 49same name
- smartwhale8/claude-playbook★ 41same name
- iamneilroberts/claude-skills★ 26same name
- domengabrovsek/agent-config★ 17same name
- viknesh20-20/claude-code-tool-kit★ 7same name
- justnau1020/claude-os★ 3same name
6 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 repository29 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- build-infra/AGENTS.mdAGENTS.md
- rust-analyzer-mcp-server/AGENTS.mdAGENTS.md
- task/AGENTS.mdAGENTS.md
- analyze-log-filesSkill
- analyze-performanceSkill
- audit-taskSkill
- batch-refactor-with-sub-agentsSkill
- check-bounds-safetySkill
- check-code-qualitySkill
- check-test-coverageSkill
- code-reviewSkill
- concurrency-safetySkill
- create-commit-messageSkill
- create-prSkill
- design-philosophySkill
- fast-string-allocationsSkill
- merge-prSkill
- organize-modulesSkill
- organize-testsSkill
- release-crateSkill
- remove-crate-prefixSkill
- review-prSkill
- run-clippySkill
- safe-renamingSkill
- test-cross-platformSkill
- write-documentationSkill
- write-structured-tracingSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Use this skill whenever you are:
- Distinctive: line 35
Before proposing any changes or writing a task file, gather context on the problem space:
- Very specific: line 37
Read the issue description (e.g., via gh issue view <id>).
- Distinctive: line 38
Search the codebase to locate all relevant files, traits, types, and usages.
- Distinctive: line 40
Do NOT write or modify any code during this step.
- Very specific: line 44
Create the task file under task/issue-<id>-fix.md or task/<name>.md.
- Very specific: line 45
Create a new git branch for this task, push it, and open a Draft PR using gh pr create --draft --fill to track the work.
- Distinctive: line 47
Instead of a simple todo list, format this task file as a Design Document with the following sections:
- Distinctive: line 84
Every phase MUST end with a Mandatory manual review checkbox list for modified files.
- Distinctive: line 92
Ask for feedback and wait for explicit approval before proceeding to implementation.
- Distinctive: line 96
Only after the design doc is approved, load the task and begin implementation step-by-step.
- Very specific: line 99
Run quality checks (./check.fish) and pause for manual reviews frequently.
“Common” is measured: kept by at least 6 in 10 of the 15 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
Issue Fix Workflow: Deep Exploration and Design
This skill codifies the "slow and steady" approach to solving non-trivial issues or adding features. It enforces exploring the problem space, considering alternative designs, and formalizing the design before writing any implementation code.
When to Use
Use this skill whenever you are:
- Creating a new task file for a non-trivial issue or feature.
- Asked by the user to "explore first", "design first", or "write a design doc".
- Working on complex or architectural changes that span multiple components.
The Design-First Workflow
The workflow consists of four distinct steps:
┌───────────────────┐ ┌───────────────────┐ ┌───────────────────┐ ┌───────────────────┐
│ 1. Deep Research │ ───► │ 2. Design Doc │ ───► │ 3. User Review │ ───► │ 4. Implementation │
│ (No Code Written) │ │ (Task MD File) │ │ & Approval │ │ (Iterative Step) │
└───────────────────┘ └───────────────────┘ └───────────────────┘ └───────────────────┘Step 1: Deep Research (No Code Written)
Before proposing any changes or writing a task file, gather context on the problem space:
- Read the issue description (e.g., via
gh issue view <id>). - Search the codebase to locate all relevant files, traits, types, and usages.
- Understand the control flow, thread boundaries, and lifecycle constraints.
- Do NOT write or modify any code during this step.
Step 2: Design Doc (Task File Creation)
Create the task file under task/issue-<id>-fix.md or task/<name>.md.
Create a new git branch for this task, push it, and open a Draft PR using gh pr create --draft --fill to track the work.
Instead of a simple todo list, format this task file as a Design Document with the following sections:
1. Overview
- Clear statement of the goal.
- Context and reference to GitHub issues or PRs.
2. Problem Space & Constraints
- Detailed analysis of the current code.
- Specific limitations of the existing design.
- Architectural and safety constraints (e.g., thread safety, locks, lifetimes, platform compatibility).
3. Design Alternatives
Present at least two (ideally three) alternative approaches. For each alternative, detail:
- How it works: High-level explanation of the API and structural changes.
- Pros: Benefits of this approach.
- Cons: Drawbacks, complexity, or limitations.
- Assessment: Feasibility, effort, and alignment with the project's design philosophy.
4. Proposed Design
- Which alternative was chosen and why.
- Specific API signatures, type changes, and struct definitions.
- Visual diagram (if applicable, using ASCII or Mermaid).
- Threading, lock, and lifecycle impact analysis.
5. Implementation Plan
The very last section containing flat checklists grouped under phase headers.
- Phase 1: Preparation / API Refactoring
- Phase 2: Core Implementation
- Phase 3: Integration & Testing
- Every phase MUST end with a Mandatory manual review checkbox list for modified files.
Step 3: User Review & Approval
Present the newly created task file to the user.
- Highlight the design alternatives and the proposed design.
- Ask for feedback and wait for explicit approval before proceeding to implementation.
Step 4: Iterative Implementation
Only after the design doc is approved, load the task and begin implementation step-by-step.
- Run quality checks (
./check.fish) and pause for manual reviews frequently.
Step 5: Merge & Complete
Once the implementation is fully tested and manually reviewed:
- Remind the user to run the
/merge-prslash command to push the final code and merge the existing Pull Request intomain.
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.

