qa-test-and-fix

qa-test-and-fix is a skill for Claude Code, Codex from 0xranx/agentbrief. It costs 75 tokens per session (786 once invoked), scanned A, original, MIT.

A full process for finding software bugs, fixing them, and checking that the fix works.

In plain words
What is it for?
Use it for bug investigations, smoke tests, checks after code changes, edge-case testing, and verifying fixes across the relevant test suite.
Why use it?
It replaces guesswork with reproduction, diagnosis, targeted tests, and follow-up checks for related failures.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for bug investigations, smoke tests, checks after code changes, edge-case testing, and verifying fixes across the relevant test suite.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xranx/agentbrief/qa-test-and-fix
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 0xranx/agentbrief --skill qa-test-and-fix
Clone the repo
git clone --depth 1 https://github.com/0xranx/agentbrief

Made for: Claude Code, Codex.

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 qa-test-and-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xranx/agentbrief/qa-test-and-fix.svg)](https://agentmods.dev/skills/0xranx/agentbrief/qa-test-and-fix)
Your own site
<a href="https://agentmods.dev/skills/0xranx/agentbrief/qa-test-and-fix"><img src="https://agentmods.dev/badge/skills/0xranx/agentbrief/qa-test-and-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 786 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.00075 $0.00786
Opus 5 $0.00037 $0.00393
Sonnet 5 $0.00015 $0.00157
Haiku 4.5 $0.00007 $0.00079

Measured 8d ago against content hash 766f8f40ece5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

qa-test-and-fix 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 8d 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.

briefs/qa-engineer/skills/qa-test-and-fix/SKILL.md · 102 lines

How it starts

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

QA: Test & Fix

You are running a full QA cycle. Your goal is to find bugs, fix them, and prove the fixes work — all with atomic commits.

Intensity Tiers

Choose based on the scope of changes:

Tier 1: Smoke Test (quick)

For small changes, single files, or quick checks.

  1. Run existing test suite
  2. Manually trace the changed code paths
  3. Check the 3 most likely edge cases
  4. Report findings

Tier 2: Standard QA (default)

For features, refactors, or anything touching user-facing code.

  1. Run existing test suite
  2. Read all changed files, understand the intent
  3. Test happy path end-to-end
  4. Test each edge case category (input, state, error, concurrency)
  5. Write tests for any untested code paths
  6. Fix found bugs with atomic commits
  7. Re-run full test suite to verify no regressions

Tier 3: Deep QA (thorough)

For releases, security-sensitive changes, or critical features.

  1. Everything in Tier 2
  2. Fuzz inputs with boundary values
  3. Test error recovery (kill process mid-operation, corrupt data)
  4. Test concurrent access patterns
  5. Review all error handling paths
  6. Performance check (is anything unexpectedly slow?)
  7. Security check (input validation, auth, data leaks)

QA Process

Step 1: Baseline

# Run existing tests to establish baseline
pnpm test  # or npm test, pytest, go test, etc.

Record: X tests passing, Y tests failing, Z tests skipped.

Step 2: Discover

Read the code changes and identify risk areas:

  • New code without tests
  • Modified code where tests don't cover the change
  • Error handling that's never exercised
  • Assumptions about input format or state

Step 3: Reproduce & Diagnose

For each potential bug:

  1. Write the exact reproduction steps
  2. Confirm the bug exists (test fails or unexpected behavior)
  3. Trace the root cause (don't guess — read the code)

Step 4: Fix

For each confirmed bug:

  1. Write a failing test FIRST
  2. Make the minimal code change to fix
  3. Verify the test passes
  4. Commit atomically: fix: [what was broken and why]

Read the full file on GitHub · 102 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. 8d ago First seen · 102 lines · 75 tokens per session scan A 766f8f40ece5

Subscribe to this mod's changes

qa-test-and-fix is a skill published in the GitHub repository 0xranx/agentbrief (45 stars, last pushed 5mo ago), licensed MIT. It adds 75 tokens to every session and 786 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

fix-failing-tests

Diagnose a failing test in the googleapis/mcp-toolbox repo and land a fix by reasoning from the actual error: read the failure, reproduce it, shrink it until the cause is forced into the open, then fix the cause. Use this whenever a test or CI job is red, a build breaks after a change, many packages fail at once, or a…

googleapis/mcp-toolbox · 87 tokens

langsmith-observability

LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.

synthetic-sciences/openscience · 45 tokens

verification

Prove that a coding task is actually complete. Use this after meaningful code changes, when tests/builds fail or are skipped, before marking a plan or goal complete, and whenever acceptance depends on runtime, security, recovery, performance, or cross-module evidence.

ageerle/ruoyi-ai · 54 tokens

ulw-qa

This is a Hermes-native ultraqa workflow skill.

rlaope/oh-my-hermes · 57 tokens

ai-discover

Parallel discovery of performance hotspots (perf track) and failure surfaces (bug track) for the auto-improvement loop. Fans out one subagent per hot-path area or failure surface; each returns ONE concrete, behavior-preserving fix candidate (perf) or a reproducing test plus fix (bug). Discovery only — no code changes…

kirodotdev/KiroCrew · 75 tokens

tmux-manual-qa

Run a single manual tmux-based QA scenario for the todo continuation feature against the real CLI (./pi-test.sh) in an interactive TUI. Captures scrollback, asserts deterministic pass/fail count markers, and cleans up test fixtures. Use only for the manual-qa milestone features.

code-yeongyu/senpi · 66 tokens