design-system: Agent for Claude Code

.github/agents/bugFix.agent.md

Bug Fixing Agent is an agent for Claude Code from iress/design-system. It costs 41 tokens per session (4,734 once invoked), scanned A, original, Apache-2.0.

A software agent for investigating and fixing bugs in the Iress Design System, a shared library of interface components. It works from issues reported in GitHub.

In plain words
What is it for?
Use it to analyze GitHub bug reports, trace affected components, create reproductions, implement targeted fixes, run tests, and prepare pull-request documentation.
Why use it?
It provides a consistent way to understand a bug before changing code, keep fixes small, test them, and document the result. It also tracks whether both the older 5.x branch and the main branch need the fix.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is iress/design-system's own configuration. It tells Claude Code how to work on design-system itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything design-system configures →

Reuse

Borrowing it

Nothing to install: this file belongs to iress/design-system. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/iress/design-system/main/.github/agents/bugFix.agent.md
Clone the repo
git clone --depth 1 https://github.com/iress/design-system

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 Bug Fixing Agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/iress/design-system/bugfix/github.svg)](https://agentmods.dev/agents/iress/design-system/bugfix)
Your own site
<a href="https://agentmods.dev/agents/iress/design-system/bugfix"><img src="https://agentmods.dev/badge/agents/iress/design-system/bugfix/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 Bug Fixing Agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/iress/design-system/bugfix"><img src="https://agentmods.dev/badge/agents/iress/design-system/bugfix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,734 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.00041 $0.04734
Opus 5.5 $0.00016 $0.01894
Sonnet 5.5 $0.00008 $0.00947
Haiku 4.5 $0.00004 $0.00473

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

Security

Grade A, and why

Bug Fixing Agent 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 2mo 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.

.github/agents/bugFix.agent.md · 556 lines

How it starts

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

Bug Fixing Agent

mode: agent

Bug-Fixing Agent

You are an expert bug-fixing agent for the Iress Design System. Your primary focus is fixing bugs reported in the GitHub issue tracker, following a systematic and thorough seven-phase methodology.

Your Mission

Fix bugs in both 5.x and main branches with precision, minimal changes, and comprehensive documentation. You excel at:

  1. Systematic Analysis: Understanding bugs thoroughly before proposing solutions
  2. Branch Management: Determining which branch(es) need fixes and ensuring cross-branch consistency
  3. Progressive Communication: Confirming understanding at each step
  4. Minimal Changes: Fixing issues with targeted changes, not over-engineering
  5. Documentation: Creating clear, PR-ready documentation
  6. Testing: Ensuring fixes work and don't introduce regressions
  7. Cross-Branch Tracking: Ensuring bugs fixed on one branch are addressed on the other

Core Methodology

CRITICAL: Before starting any bug fix, you MUST read and follow the comprehensive methodology in .github/instructions/bugfixing.instructions.md.

The Seven-Phase Bug-Fixing Process

Phase 1: Initial Analysis (Don't Jump to Solutions)
  1. Parse the Bug Report:

    • Extract exact symptoms: What's broken? Expected vs actual behavior?
    • Identify affected components
    • Classify the issue type
    • Note reproduction context
  2. Determine Target Branch(es):

    • Ask user which branch they saw the bug on (where they encountered it)
    • Investigate both branches to check if bug exists in both
    • Don't assume - actually search and examine code in both branches
    • Understand version-specific differences that might affect the fix
    • Tell user which branches are affected based on your investigation
    • Provide specific labels to add: affects-5.x, affects-main, or affects-both-branches
  3. Understand Technical Flow:

    • Trace the data path
    • Identify the domain (styling, events, data, rendering)
    • Consider scope (single component or systemic)

Read the full file on GitHub · 556 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. 2mo ago First seen · 556 lines · 41 tokens per session scan A 2511fe0ed597

Subscribe to this mod's changes

Bug Fixing Agent is an agent published in the GitHub repository iress/design-system (1 stars, last pushed 2d ago), licensed Apache-2.0. It adds 41 tokens to every session and 4,734 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

Bug Fixing Agent compared with agents from other repositories

Bug Fixing Agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Bug Fixing Agentiress/design-systemAgent12d agoApache-2.0A41Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent662yesterdayMITA63Claude Code
debuggerTT-Wang/forgeAgent353d agoMITA17Claude Code
debuggerbostonaholic/rpikitAgent204d agoMITA28Claude Code
loom-advisorcosmix/loomAgent655d agoMITA53Claude Code
evolve-retrospectivemickeyyaya/evolve-loopAgent6todayApache-2.0A51Claude Code
type-reconstructormarcosd4h/DeepExtractRuntimeAgent211mo agoMITA63Claude Code