fix-bug

fix-bug is a skill for Claude Code from nowsprinting/unity-coding-skills. It costs 45 tokens per session (3,227 once invoked), scanned A, original, Unlicense.

A test-first process for fixing software bugs: reproduce the problem, find its cause, and then apply the fix. It applies when software behaves unexpectedly or a defect is reported.

In plain words
What is it for?
Use it to investigate broken behavior, write a reproduction test, identify the root cause, implement the correction, and verify nearby behavior.
Why use it?
It prevents fixes based only on guesswork by requiring a failing test and a diagnosis before changing the code.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Part of the unity-coding-skills plugin — 12 skills shipped together

Good fit Use it to investigate broken behavior, write a reproduction test, identify the root cause, implement the correction, and verify nearby behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nowsprinting/unity-coding-skills/fix-bug
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 nowsprinting/unity-coding-skills --skill fix-bug
Clone the repo
git clone --depth 1 https://github.com/nowsprinting/unity-coding-skills

Made for: Claude Code.

Or install unity-coding-skills, the plugin that ships this one along with the rest of its 12 skills.

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-bug

README.md
[![agentmods](https://agentmods.dev/badge/skills/nowsprinting/unity-coding-skills/fix-bug/github.svg)](https://agentmods.dev/skills/nowsprinting/unity-coding-skills/fix-bug)
Your own site
<a href="https://agentmods.dev/skills/nowsprinting/unity-coding-skills/fix-bug"><img src="https://agentmods.dev/badge/skills/nowsprinting/unity-coding-skills/fix-bug/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-bug

Your own site · 80×15
<a href="https://agentmods.dev/skills/nowsprinting/unity-coding-skills/fix-bug"><img src="https://agentmods.dev/badge/skills/nowsprinting/unity-coding-skills/fix-bug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,227 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00045 $0.03227
Opus 5.5 $0.00018 $0.01291
Sonnet 5.5 $0.00009 $0.00645
Haiku 4.5 $0.00005 $0.00323

Measured yesterday against content hash bfe919892f0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-bug 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 yesterday.

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.

skills/fix-bug/SKILL.md · 198 lines

How it starts

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

Guide for diagnosing and fixing bugs. This skill defines a test-first debugging workflow: reproduce the bug with a failing test, diagnose the root cause, then fix it.

Task Type Check

If the user's request is to implement a new feature, change a specification, or refactor rather than investigate or fix a bug, stop and guide the user to invoke the /implement skill instead.

Input

Take the bug report from the incident argument: the report written directly, the name of a failing test, or the URLs of issues in an issue tracker, in any combination. For an issue URL, fetch its body and comments (e.g., gh issue view <URL> --comments for GitHub Issues): the comments often correct the body. Combine the argument with the bug report in the conversation, if any; when the argument is omitted, take it from the conversation alone.

Workflow

Recording implementation notes: Notes for this run go in <scratchpad>/implementation-notes, where <scratchpad> is the scratchpad directory listed in your system prompt (write its absolute path literally): one note per line, in the form <category>: <note>. Immediately before your first append in this run — and only then — delete that file if it exists (usually it will not), so this run starts from an empty one: every /fix-bug and /implement run in the session shares this file, so an earlier run abandoned before its Implementation Notes step would otherwise leak its notes into this one. Never delete it again afterwards, including when Step 3 sends you back to Step 1 or Step 2; those loops are part of the same run and their notes must survive.

While working through Steps 1-8, whenever one of the following occurs, immediately append a line to that file — do not wait until the end to reconstruct these from memory:

  • The confirmed Condition / Expected / Actual differs from what the user first reported, or the documentation conflicted with the report and you resolved which is correct → Bug report clarifications
  • You established — or later revised — which line(s) or logic are responsible and why they misbehave, including when the fix actually applied differs from the one formulated in Step 5 → Root cause
  • You investigated a suspected cause, code path, or reproduction approach and eliminated it → Ruled out
  • You considered alternatives and chose one, and why → Tradeoffs
  • You modified or deleted test code that was already committed, and why → Test changes
  • A test design you take test cases from has Issues in its Assessment, or a test case marked unverifiable, undefined, or ambiguous → Open questions

Read the full file on GitHub · 198 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. yesterday Changed · +21 lines · -41 tokens per session bfe919892f0b
  2. 1mo ago Changed 37287d8ad53b
  3. 2mo ago Changed a9f2b653e77c
  4. 3mo ago First seen · 177 lines · 86 tokens per session scan A 613d4f527918

Subscribe to this mod's changes

fix-bug is a skill published in the GitHub repository nowsprinting/unity-coding-skills (20 stars, last pushed 2d ago), licensed Unlicense. It adds 45 tokens to every session and 3,227 once invoked, about $0.0002 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-30.

Related

fix-bug compared with skills from other repositories

fix-bug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-bugnowsprinting/unity-coding-skillsSkill202d agoUnlicenseA45Claude Code
dotnet-analyzersNikiforovAll/claude-code-rulesSkill1441mo agoApache-2.0A45Claude Code
dotnet-testNikiforovAll/claude-code-rulesSkill1441mo agoApache-2.0A35Claude Code
docs-siteVPDPersonal/Aspid.FastToolsSkill27yesterdayMITA116Claude Code
aspid-visual-element-fluentVPDPersonal/Aspid.FastToolsSkill27yesterdayMITA109Claude Code, Codex
asp-prVPDPersonal/Aspid.FastToolsSkill27yesterdayMITA40Claude Code
aspid-serializable-typeVPDPersonal/Aspid.FastToolsSkill27yesterdayMITA136Claude Code, Codex