claude-code-qa

claude-code-qa is a skill for Claude Code from PramodDutta/qaskills. It costs 59 tokens per session (2,180 once invoked), scanned A, original, MIT.

A guide for writing and maintaining reliable automated tests in Claude Code. It covers tests for individual pieces, connected parts, and complete user journeys using tools such as Playwright, Cypress, and pytest.

In plain words
What is it for?
Use it to choose the right test type, add meaningful coverage, fix unreliable tests, review test quality, and connect testing to continuous integration.
Why use it?
It helps teams avoid flaky tests, tests that break during harmless refactoring, and test suites that pass without checking useful behavior.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the qa-essentials plugin — 10 skills shipped together

Good fit Use it to choose the right test type, add meaningful coverage, fix unreliable tests, review test quality, and connect testing to continuous integration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pramoddutta/qaskills/claude-code-qa
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 PramodDutta/qaskills --skill claude-code-qa
Clone the repo
git clone --depth 1 https://github.com/PramodDutta/qaskills

Made for: Claude Code.

Or install qa-essentials, the plugin that ships this one along with the rest of its 10 skills.

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 claude-code-qa

README.md
[![agentmods](https://agentmods.dev/badge/skills/pramoddutta/qaskills/claude-code-qa/github.svg)](https://agentmods.dev/skills/pramoddutta/qaskills/claude-code-qa)
Your own site
<a href="https://agentmods.dev/skills/pramoddutta/qaskills/claude-code-qa"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/claude-code-qa/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 claude-code-qa

Your own site · 80×15
<a href="https://agentmods.dev/skills/pramoddutta/qaskills/claude-code-qa"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/claude-code-qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,180 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00059 $0.02180
Opus 5.5 $0.00024 $0.00872
Sonnet 5.5 $0.00012 $0.00436
Haiku 4.5 $0.00006 $0.00218

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

Security

Grade A, and why

claude-code-qa 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.

packs/qa-essentials/skills/claude-code-qa/SKILL.md · 193 lines

How it starts

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

QA Skill for Claude Code

You are an expert QA engineer working inside Claude Code (and other AI coding agents). When the user asks you to write tests, add test coverage, fix flaky tests, set up a testing framework, or review existing tests, follow this skill. Your job is not just to make tests pass — it is to produce tests that are reliable, meaningful, and maintainable, and that actually catch regressions.

Core principles

  1. Test behavior, not implementation. Assert on what the user observes or what a caller receives — not on private internals. Implementation-coupled tests break on every refactor and teach the team to ignore failures.
  2. Reliability over quantity. One trustworthy test beats ten flaky ones. A test suite the team doesn't trust is worse than no suite, because red builds get rubber-stamped.
  3. Right test at the right level. Follow the test pyramid: many fast unit tests, fewer integration tests, a small number of high-value end-to-end tests on critical paths.
  4. Deterministic by default. No real network, no real clock, no random data without a seed, no inter-test ordering dependencies. Same input, same result, every run.
  5. Readable as documentation. A test's name and body should explain the requirement. Use the Arrange–Act–Assert shape and descriptive names.

Step 1 — Understand the code before writing a single test

  • Read the module/route/component under test and its existing tests. Match the conventions already in the repo (framework, file naming, assertion style, folder layout).
  • Identify the public contract: inputs, outputs, side effects, error cases, edge cases.
  • Decide the level: pure logic → unit; module + its collaborators (db, http) → integration; a real user journey through the UI → end-to-end.
  • Ask: "What regression would actually hurt in production?" Test that first. Do not chase 100% coverage on trivial getters while critical flows are untested.

Step 2 — Detect and respect the existing framework

Read the full file on GitHub · 193 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 · 193 lines · 59 tokens per session scan A f39541e15337

Subscribe to this mod's changes

claude-code-qa is a skill published in the GitHub repository PramodDutta/qaskills (237 stars, last pushed 8d ago), licensed MIT. It adds 59 tokens to every session and 2,180 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-30.

Related

Other skills, from other repositories

test-runner

For a code change, pick the right test tier by change surface, run apc test with baseline diff, and report only NEW reds vs baseline back to the task's acceptance criterion. Separates envblocked from SUT red so a broken machine never fails the code.

Prismer-AI/PrismerCloud · 59 tokens

designing-tests

Designs and implements testing strategies for any codebase. Use when adding tests, improving coverage, setting up testing infrastructure, debugging test failures, or when asked about unit tests, integration tests, or E2E testing.

CloudAI-X/claude-workflow-v2 · 48 tokens

backend/testing-guide

A guide for writing backend tests: small unit tests, tests that check connected parts such as an API and database, and end-to-end tests that follow a complete user flow.

echoVic/boss-skill · 30 tokens

qa/test-strategy

A testing strategy based on the testing pyramid: many small unit tests, fewer integration tests, and a smaller set of end-to-end tests that follow real user journeys. It also defines checks for security, boundaries, permissions, and business consistency.

echoVic/boss-skill · 33 tokens

testing

Use when writing or reviewing Flutter/Dart tests (unit, widget, golden), fixing flaky tests, adding coverage, or choosing between unit and widget tests.

evanca/flutter-ai-rules · 33 tokens

cometchat-flutter-v6-testing

Test a Flutter app that uses the CometChat UI Kit — what is worth testing versus what belongs to the kit, mocking the SDK boundary, widget tests around chat screens, and integration/CI setup. Triggers: 'test my cometchat integration', 'mock cometchat in flutter tests', 'widget test chat screen', 'cometchat test setup'.

cometchat/cometchat-skills · 83 tokens