fix-issue

fix-issue is a skill for Claude Code from joris887/exosuit. It costs 27 tokens per session (770 once invoked), scanned A, original, MIT.

A workflow for fixing a GitHub issue, which is a tracked report of a bug or requested change. It follows the project’s coding rules and prepares the completed fix for a pull request, a proposed code change for review.

In plain words
What is it for?
Use it to inspect an issue, identify its acceptance conditions, create a fix branch, implement and test the solution, and prepare a pull request.
Why use it?
It turns an issue description into a structured fix with a separate branch and test-first development. TDD, or test-driven development, means writing tests for the expected behavior before implementing the change.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions Claude Code.

Part of the exosuit plugin — 44 skills, 1 command, 9 agents, 10 hooks shipped together

Good fit Use it to inspect an issue, identify its acceptance conditions, create a fix branch, implement and test the solution, and prepare a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joris887/exosuit/fix-issue
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add joris887/exosuit --skill fix-issue
Clone the repo
git clone --depth 1 https://github.com/joris887/exosuit

Made for: Claude Code.

Or install exosuit, the plugin that ships this one along with the rest of its 44 skills, 1 command, 9 agents, 10 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-issue

README.md
[![agentmods](https://agentmods.dev/badge/skills/joris887/exosuit/fix-issue/github.svg)](https://agentmods.dev/skills/joris887/exosuit/fix-issue)
Your own site
<a href="https://agentmods.dev/skills/joris887/exosuit/fix-issue"><img src="https://agentmods.dev/badge/skills/joris887/exosuit/fix-issue/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-issue

Your own site · 80×15
<a href="https://agentmods.dev/skills/joris887/exosuit/fix-issue"><img src="https://agentmods.dev/badge/skills/joris887/exosuit/fix-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 770 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00770
Opus 5.5 $0.00011 $0.00308
Sonnet 5.5 $0.00005 $0.00154
Haiku 4.5 $0.00003 $0.00077

Measured 1mo ago against content hash 997e58c97687, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-issue scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/fix-issue/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.


fix-issue

Fix GitHub issue $ARGUMENTS following project coding standards.

1. Get Issue Details

gh issue view $ARGUMENTS

2. Understand the Problem

  • Read the issue description carefully
  • Check for related issues or PRs
  • Identify acceptance criteria

3. Create Feature Branch

Detect the default branch dynamically:

DEFAULT_BRANCH=$(grep -oP '^\- \*\*Default branch:\*\* \K\S+' CLAUDE.md 2>/dev/null)
if [ -z "$DEFAULT_BRANCH" ]; then
    DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')
fi
if [ -z "$DEFAULT_BRANCH" ]; then
    for branch in main master develop; do
        if git show-ref --verify --quiet "refs/heads/$branch"; then DEFAULT_BRANCH="$branch"; break; fi
    done
fi
git checkout $DEFAULT_BRANCH
git pull origin $DEFAULT_BRANCH
git checkout -b fix/issue-$ARGUMENTS

Note: This skill is a standalone quick-fix flow (issue → branch → TDD fix → PR). For fixes that are part of an active sprint, use /story-cycle instead — it integrates with the sprint branch and quality gates.

4. Search for Relevant Code

  • Use Glob and Grep to find related files
  • Understand the current implementation
  • Identify what needs to change
  • Check docs/adr/ for accepted decisions that constrain the fix approach — the fix must respect existing architectural decisions

5. Implement Fix (TDD)

  1. Write a failing test that reproduces the issue
  2. Verify the test fails for the right reason
  3. Implement the minimal fix
  4. Verify the test passes
  5. Run full test suite (use project's test command from CLAUDE.md)

6. Verify Fix

  • Ensure code passes linting and type checking
  • Review changes for quality

7. Commit and Push

git add .
git commit -m "$(cat <<'EOF'
fix: resolve issue #$ARGUMENTS

[Description of what was fixed and how]

Closes #$ARGUMENTS

Co-Authored-By: Claude <[email protected]>
EOF
)"
git push -u origin fix/issue-$ARGUMENTS

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 115 lines · 27 tokens per session scan A 997e58c97687

Subscribe to this mod's changes

fix-issue is a skill published in the GitHub repository joris887/exosuit (8 stars, last pushed 26d ago), licensed MIT. It adds 27 tokens to every session and 770 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

linked-intent-dev

Guide for linked-intent development (LID). Consult for ALL code changes. Walks changes through a mode-aware six-phase workflow (HLD → LLD → EARS → intent-narrowing edge audit → tests-first → code) with mandatory stops between each phase. Bugs walk the arrow like any other change — no short-circuit. Enforces cascade…

jszmajda/lid · 87 tokens

plan-pipeline-execute

Execute a validated plan: worktree isolation, TDD scaffolding, level-based parallel agents, quality gate with smoke test, PR creation and merge. Handles everything through to merged PR.

FlorianBruniaux/claude-code-ultimate-guide · 43 tokens

qa

Systematic QA testing of a web application: diff-aware, tiered, with fix-and-verify loop.

FlorianBruniaux/claude-code-ultimate-guide · 23 tokens

refactor

Safely restructures existing code while preserving behavior through impact analysis and TDD. User-invoked entry point via /refactor; not for autonomous or subagent use.

irahardianto/awesome-agv · 38 tokens

bugfix

Fixes bugs of any size from hotfixes to complex debugging sessions using root cause diagnosis and TDD. User-invoked entry point via /bugfix; not for autonomous or subagent use.

irahardianto/awesome-agv · 44 tokens

software-health

Assess and maintain software health through scoped change or module reviews, workflow consistency, failure recovery, resource lifetime, performance, and AI instruction/tool contracts when applicable. Use for systematic application-health reviews, contradictory or sluggish behavior across components, and regression…

tianemon/EasyMint · 67 tokens