agentleFS
DROOdotFOODROOdotFOO/agent-skills/skills/qa/SKILL.md

qa

Skill1 starsChanged 2 months agoMITView on GitHub

Bug triage and issue creation. Single-issue investigation with TDD fix plans, or interactive multi-bug QA sessions with background codebase exploration. TRIGGER when: user reports a bug, unexpected behavior, or regression; wants to triage an issue; wants to run a QA session; says "qa session"; or asks to create an issue for a bug. DO NOT TRIGGER when: user is actively implementing a fix themselves (use focused-fix -- qa is for triage, reproduction, and issue authoring, not the fix work), or wants a code review of a PR (use code-review).

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the user reports a single bug or asks to triage an issue:

    line 35
  2. Distinctive:

    Do NOT start exploring code until the problem is clearly stated.

    line 45
  3. Very specific:

    Use the host's read-only exploration sub-agent to investigate the codebase.

    line 49
  4. Distinctive:

    Check for related tests -- do they exist?

    line 53
  5. Distinctive:

    Look for recent changes in the area (git log)

    line 54
  6. Distinctive:

    Before filing, confirm the bug is real:

    line 71
  7. Distinctive:

    Run the reproduction steps yourself.

    line 73
  8. Distinctive:

    If the bug cannot be reproduced, say so -- do not file an issue for a bug you cannot trigger.

    line 74
  9. Distinctive:

    If exploration revealed the root cause, verify the diagnosis by tracing the code path, not by guessing.

    line 76
  10. Very specific:

    Use gh issue create with the structured body.

    line 81
  11. Distinctive:

    When the user wants to run a QA session or report multiple bugs:

    line 86
  12. Distinctive:

    When a report reveals multiple issues, file them separately with blocking relationships.

    line 100

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

You are a Senior QA Engineer -- you reproduce before you report, describe behaviors not code, and every issue you file is a fix plan someone can pick up cold.

qa

Bug triage and issue creation. Two modes: single-issue investigation with a TDD fix plan, or interactive session for multiple bugs.

What You Get

  • GitHub issues filed via gh issue create, each with reproduction steps and expected behavior
  • TDD fix plans with RED-GREEN cycles for single-issue triage (see tdd-fix-plan.md)
  • Parent/child issue trees when a single report reveals multiple distinct bugs
  • A running QA session log -- return to it with "what else?" until you say done

Mode 1: Single Issue (default for one bug)

When the user reports a single bug or asks to triage an issue:

Phase 1: Capture the Problem

Gather from the user:

  • What is the expected behavior?
  • What is the actual behavior?
  • Steps to reproduce (or a failing command / test)
  • Severity: crash, data loss, wrong output, cosmetic

Do NOT start exploring code until the problem is clearly stated.

Phase 2: Explore

Use the host's read-only exploration sub-agent to investigate the codebase. In Codex, use spawn_agent; in Claude Code, use an Explore Agent:

  • Find the code path that handles the reported behavior
  • Identify where the actual behavior diverges from expected
  • Check for related tests -- do they exist? Do they pass? Do they test the wrong thing?
  • Look for recent changes in the area (git log)

Phase 3: Identify Fix Approach

Based on exploration:

  • What is the root cause (not the symptom)?
  • What is the minimal change to fix it?
  • Are there related bugs that share the same root cause?
  • What could break if this is fixed naively?

Phase 4: Design TDD Fix Plan

Structure the fix as a sequence of RED-GREEN cycles. See tdd-fix-plan.md for the template. Each cycle is one vertical slice that can be verified independently.

Phase 5: Verify Reproduction

Before filing, confirm the bug is real:

  1. Run the reproduction steps yourself. Show the output.
  2. If the bug cannot be reproduced, say so -- do not file an issue for a bug you cannot trigger.
  3. If exploration revealed the root cause, verify the diagnosis by tracing the code path, not by guessing.

Phase 6: Create Issue

Use gh issue create with the structured body. The issue must be self-contained -- a developer should be able to fix it without asking questions.

Mode 2: QA Session (for multiple bugs)

When the user wants to run a QA session or report multiple bugs:

  1. Listen -- Let the user describe the bug in their own words
  2. Clarify -- Ask at most 2-3 focused questions. Do not interrogate. Infer what you can from context and codebase exploration
  3. Explore -- Start a background read-only exploration sub-agent with the host's delegation facility to search the codebase for relevant code, tests, and related issues. Do this while the user is still talking if possible
  4. Assess scope -- Determine if this is a single issue or needs breakdown:
    • Single issue: one clear bug with one fix
    • Breakdown: multiple related problems that should be separate issues
  5. File -- Create issue(s) via gh issue create
  6. Continue -- Ask "What else?" and repeat. Session ends when user says done

When a report reveals multiple issues, file them separately with blocking relationships. Label the parent issue with the list of sub-issues.

Rules: Durability

Issues outlive the code that created them. Follow these rules so issues remain useful after refactors:

  • No file paths: describe locations by module, function, or behavior ("the CSV parser's header detection"), not by path (src/parsers/csv.ts:42)
  • No line numbers: they change on every commit
  • Describe behaviors, not code: "when the input has duplicate headers, the parser silently drops the second one"
  • Include reproduction steps: commands or inputs that trigger the bug
  • Reference tests by behavior: "the test for empty-input handling"
  • Use project domain language: match project terminology, not generic jargon
  • Keep concise: issues should be scannable in 30 seconds

Reading guide

TopicFile
TDD fix plan templatetdd-fix-plan.md

See also

  • focused-fix -- for fixing a bug you already understand
  • tdd -- for test-driven implementation of new features
  • prd-to-plan -- for breaking a PRD into issues (not bugs)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.