fix-feature-bug

fix-feature-bug is a skill for Claude Code from markmhendrickson/ateles. It costs 57 tokens per session (998 once invoked), scanned A, original, MIT.

A guided process for investigating and fixing software bugs, including failures reported by tests or error messages. It asks for confirmation, identifies the affected feature, and checks the fix with a regression test—a test that prevents the same problem from returning.

In plain words
What is it for?
It helps diagnose errors, locate the affected code, reproduce and fix broken features, classify failures, add regression tests, and report what changed.
Why use it?
It turns a vague report that something is broken into a repeatable investigation and makes the fix easier to verify. It also helps catch related problems before the change is considered complete.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit It helps diagnose errors, locate the affected code, reproduce and fix broken features, classify failures, add regression tests, and report what changed.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/markmhendrickson/ateles/fix-feature-bug"><img src="https://agentmods.dev/badge/skills/markmhendrickson/ateles/fix-feature-bug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 998 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.00057 $0.00998
Opus 5.5 $0.00023 $0.00399
Sonnet 5.5 $0.00011 $0.00200
Haiku 4.5 $0.00006 $0.00100

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

Security

Grade A, and why

fix-feature-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 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-feature-bug/SKILL.md · 120 lines

How it starts

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

Fix Feature Bug

Systematically fix bugs using error classification and regression testing.

When to Use

Use this skill when:

  • User mentions "bug", "error", "fix", "broken", "not working", "failing"
  • User reports "issue" or "problem" in context of code/functionality
  • Error messages or stack traces are present
  • Test failures mentioned
  • User mentions "regression" or "broken feature"
  • User explicitly invokes /fix-feature-bug

Workflow

Step 1: Detection and Confirmation

  1. Extract bug information from context:

    • Error messages or stack traces (if provided)
    • Feature/module ID (if mentioned or inferred from paths)
    • Description of the problem
    • Steps to reproduce (if mentioned)
  2. Identify affected feature/module:

    • Check error messages for file paths
    • Check context for feature mentions
    • Check open files for feature references
    • If cannot identify → ask: "Which feature/module is affected? (identifier or 'unknown')"
  3. Ask for confirmation:

    I see you're reporting a bug. Should I fix this using the bug fix workflow? 
    Feature/Module: {identifier} (or 'unknown' if not identified)
    (yes/no)
    
  4. Handle exceptions:

    • If user says "no" → do not proceed
    • If user says "just document it" → document the bug instead of fixing

Step 2: Execute Bug Fix Workflow

If user confirms (yes):

  1. Load configuration:

    • Read foundation-config.yaml for bug fix workflow settings
    • Check if development.bug_fix.error_classification.enabled is true
    • Determine feature unit directory (if feature units enabled)
  2. Load required documents:

    • foundation/agent_instructions/cursor_commands/fix_feature_bug.md — workflow
    • Repository navigation guide (if configured)
    • Feature spec and manifest (if feature units enabled and identifier provided)
    • Error classification documentation (if configured)
    • Relevant subsystem/module docs (if configured)
  3. Classify bug (if error classification configured):

    • Class 1: Implementation bug (spec correct, code wrong) → Patch code only
    • Class 2: Spec bug (code correct, spec wrong) → Update spec first, then align code
    • Class 3: Architectural bug (architecture docs wrong) → Update architecture docs first

Read the full file on GitHub · 120 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 · 120 lines · 57 tokens per session scan A cc5c66117989

Subscribe to this mod's changes

fix-feature-bug is a skill published in the GitHub repository markmhendrickson/ateles (5 stars, last pushed yesterday), licensed MIT. It adds 57 tokens to every session and 998 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-31.

Related

Other skills, from other repositories