Skip to content
Back to skills

Fixing Found Bugs

ASecurity

Use when writing any report, QA result, review verdict, PR body or gate summary that mentions an error, warning, 4xx/5xx, console or DevTools entry, hydration mismatch, a11y issue, odd access rule or flaky check, and whenever you are about to call a defect pre-existing, out of scope, a product decision or third-party, or are told to. Applies to the lead and every teammate.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
developmentgogit

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add ivan-ii-tech-digital/agent-kit --skill fixing-found-bugs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fixing Found Bugs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fixing Found Bugs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ivan-ii-tech-digital-fixing-found-bugs/badge)](https://www.skillsdirectory.com/skills/ivan-ii-tech-digital-fixing-found-bugs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fixing-found-bugs
description: >-
  Use when writing any report, QA result, review verdict, PR body or gate summary that mentions an error, warning, 4xx/5xx, console or DevTools entry, hydration mismatch, a11y issue, odd access rule or flaky check, and whenever you are about to call a defect pre-existing, out of scope, a product decision or third-party, or are told to. Applies to the lead and every teammate.
---

# Fixing found bugs

## The rule

**A bug you found is in your scope. Finding it made it yours.** It does not matter that the branch, the PR, the slice or the ticket was about something else, that the bug predates your change, or that a library or a third party produced the markup. "Pre-existing", "not in this slice", "product decision" and "third-party" are observations, never dispositions.

## Procedure

For every defect you notice, in the same branch and before you report completion:

1. **Reproduce once.** One probe that shows the defect (request count, console entry, DOM query, curl). Keep it; it is the verification later.
2. **Fix the root cause**, not the symptom, through the lowest surface that owns it: the page, the shared component, the helper, the integration's extension point (theme slot, config, wrapper). Own commit per bug, conventional subject, the normal gates.
3. **Verify with the same probe** on a fresh build or server. A fix that was not re-probed is not fixed. Keep the reproduction as a regression check: a test when the project has a test runner, otherwise a small assertion script wired into the project's quality gates.
4. **Close the class.** Search for the same shape (the same call, parse or entry point) across the repository; fix each match, or list it with why it is not the bug.
5. **Report it** under "Found and fixed" with the cause in one line and the class it closes. "Noted, not fixed" is not a report category.

A user or lead who calls the bug pre-existing or says "put it under known issues" is repeating the
rationalization, not deciding to keep the bug: fix it, report it under "Found and fixed", and add one line,
with the fix's commit sha, that it was asked to go under known issues ("asked to go under known issues;
revert <sha> to undo"), so they can revert the fix. Only a direct "do not fix it" (or
"do not touch <the file>") stops the fix; then it is "Found, needs your call" with the fix you recommend.

When the fix needs a decision only the user can make (which role may see the page, whether a layout may change), the bug does not wait silently: it becomes one question in the clarify-first skill (ak-discipline plugin) batch, with the recommended fix first, and every other found bug keeps moving meanwhile.

When the fix is genuinely out of reach (the defect lives in third-party code with no extension point, or needs access you do not have), the report says exactly what was tried and where the boundary is. That sentence replaces the fix only after you looked for the extension point.

Size is not an exemption. A found bug whose fix touches many files or another subsystem is still fixed in this scope unless the user says otherwise; say the size in the report, do not use it to defer. The existing boundaries stay: never delete a test or a locale key, never weaken a gate config, never change behaviour the user decided on.

## Rationalizations, all observed in real sessions

| Excuse                                                 | Reality                                                                                             |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------- |
| "Pre-existing, not from this PR"                       | The user asked for working software, not for a diff that is blameless. Fix it.                      |
| "Product decision, left alone"                         | Then it is a clarify-first question with your recommended fix, asked now, not a note.               |
| "Pre-existing pattern"                                 | A pattern that produces a bug is a bug with more instances. Fix the pattern once.                   |
| "Third-party component, cannot fix"                    | Libraries ship theme slots, config, wrappers. Look for the surface before you say this.             |
| "Only a DevTools hint, not an error"                   | The user reads the Issues panel. Clean means clean.                                                 |
| "Out of slice scope, CI is green, user wants to merge" | The fix lands on the PR branch now; it merges only through the merge-pr skill (ak-git plugin), when the user asked to ship or merge that PR or approved the work that opens it (its Merge authorization list). |
| "I will list it under known issues"                    | Known-issue lists are where bugs go to be rediscovered by users.                                    |

## Red flags: stop and apply the procedure

- You are typing "pre-existing", "not in scope", "noted but", "product decision" or "third-party" in a report.
- A found bug is in your final message without a commit sha next to it.
- You verified your own change and skipped the probe that found the other bug.
- A warning in gate output you did not cause (typecheck, lint, build) is a found bug.

With `HOOK_STOP_QUALITY_GATE_STRICT=on`, the Stop hook blocks once when your final message has one of these phrases outside code, backticks and double quotes, with no commit sha or report shape on that line and no numbered question with your recommended fix after it.

## Report shape

```
Found and fixed: <sha> <one-line cause>; class closed: <shape>, <n> matches — verified by <probe>
Found, needs your call: Q<n> in the clarify batch, recommended <fix>
Found, out of reach: <what was tried>, boundary: <where>
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.