testing-and-quality

testing-and-quality is a skill for Claude Code from martian56/claude-engineer. It costs 58 tokens per session (666 once invoked), scanned A, original, MIT.

A software quality checklist covering automated tests, browser checks, accessibility, and code quality. WCAG AA is a widely used accessibility standard for making websites usable by people with disabilities.

In plain words
What is it for?
Use it to run coverage checks, Playwright browser tests, accessibility tests, TypeScript and Python checks, linting, and formatting checks.
Why use it?
It prevents a project from being called finished without fresh evidence that its tests, key browser flows, accessibility checks, types, formatting, and linting pass.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event.

Part of the claude-engineer plugin — 13 skills, 1 command, 2 agents, 3 hooks shipped together

Good fit Use it to run coverage checks, Playwright browser tests, accessibility tests, TypeScript and Python checks, linting, and formatting checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/martian56/claude-engineer/testing-and-quality
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 martian56/claude-engineer --skill testing-and-quality
Clone the repo
git clone --depth 1 https://github.com/martian56/claude-engineer

Made for: Claude Code.

Or install claude-engineer, the plugin that ships this one along with the rest of its 13 skills, 1 command, 2 agents, 3 hooks.

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 testing-and-quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/martian56/claude-engineer/testing-and-quality.svg)](https://agentmods.dev/skills/martian56/claude-engineer/testing-and-quality)
Your own site
<a href="https://agentmods.dev/skills/martian56/claude-engineer/testing-and-quality"><img src="https://agentmods.dev/badge/skills/martian56/claude-engineer/testing-and-quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 666 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.00058 $0.00666
Opus 5 $0.00029 $0.00333
Sonnet 5 $0.00012 $0.00133
Haiku 4.5 $0.00006 $0.00067

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

Security

Grade A, and why

testing-and-quality 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.

plugins/claude-engineer/skills/testing-and-quality/SKILL.md · 39 lines

How it starts

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

Testing & Quality

Announce at start: "I'm using claude-engineer:testing-and-quality to enforce the four quality gates."

Iron Law

No "done" without all four gates passing, verified by fresh evidence. (Pairs with superpowers:verification-before-completion - assertions follow evidence, never precede it.)

The four gates (exact pass/fail commands; exit 0 = pass)

  1. Tests + coverage - FE vitest run --coverage; BE pytest --cov=app --cov-fail-under=80.
  2. E2E + zero console errors - playwright test (specs include a console-error/pageerror fixture and assert no 4xx/5xx on key routes). Drive flows and confirm every button/screen works via the Playwright + Chrome DevTools MCPs.
  3. Accessibility (WCAG AA) - playwright test a11y/ using @axe-core/playwright with tags wcag2a,wcag2aa,wcag21aa,wcag22aa; assert zero violations. Manual keyboard/focus spot-checks too.
  4. Strict types + lint clean - tsc --noEmit && eslint . && prettier --check . && ruff check . && ruff format --check . && mypy app.

The gate runner + commit gate

  • Scaffold scripts/quality-gate.mjs from templates/quality-gate.mjs. It runs all four gates and writes .claude-engineer/quality-gate-status.json ({ allPass, results }).
  • The claude-engineer PreToolUse(Bash) hook blocks git commit unless that file shows allPass: true. So: run node scripts/quality-gate.mjs → fix failures → commit. Intentional bypass: git commit --no-verify.
  • The same four commands are the finish condition and the CI merge condition (claude-engineer:ci-cd-pipeline).

Browser verification (MCPs - BYO install)

  • Chrome DevTools MCP - capture/assert zero console errors per screen, Lighthouse audits, network-failure checks.
  • Playwright MCP - drive real flows; confirm interactions actually work. Install per templates/recommended-mcps.md.

Full detail (test pyramid, coverage targets, Playwright setup, the console-error fixture, axe usage, exact commands): read references/testing-and-gates.md on demand.

Read the full file on GitHub · 39 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 39 lines · 58 tokens per session scan A fb79160ba6d4

Subscribe to this mod's changes

testing-and-quality is a skill published in the GitHub repository martian56/claude-engineer (2 stars, last pushed 2mo ago), licensed MIT. It adds 58 tokens to every session and 666 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

run-smoke-tests

Inspect an unfamiliar repository, interpret a broad Markdown user journey at runtime, operate the real product through its supported web, API, CLI, desktop, or mobile surface, and produce an auditable pass, fail, or blocked judgment with screenshots, logs, recordings, and a step timeline when available. Use when asked…

tamdogood/builder-essential-skills · 122 tokens

playwright-harness

Drive a real browser with Playwright on any OS and gate on what you observe: write a script, launch Chromium (headless by default; a shared headed window when a human must watch or drive), drive the page, and assert on screenshots plus collected page errors. The operational trunk for browser work; specializations…

simiancraft/simiancraft-skills · 221 tokens

playwright-storybook-flows

Specialization of playwright-harness for AUTHORING and REPRODUCING flows. A flow is a sequence of steps a human or an agent can take inside an application to demonstrate a specific feature; it is written as a Storybook docs page in a conventional location, where a human reads it as a manual walkthrough (issue…

simiancraft/simiancraft-skills · 158 tokens

test-strategy-document

Create a production-ready Testing Strategy and QA Execution Plan. Covers testing levels (unit, integration, E2E, performance), mocking boundaries, test environment matrix, code coverage thresholds, and automated CI pipeline runsheets. Use when establishing a QA framework for a new system or feature set.

fattain-naime/engineering-docs · 62 tokens

android-emulator-mask-testing

Specialization of android-emulator-harness for CAMERA / segmentation testing: get a real PERSON in front of the emulator camera so MediaPipe / ML Kit selfie segmentation produces an actual mask, then verify background-replacement / blur / shader effects and tune mask threshold by vision. Use when the task is "test the…

simiancraft/simiancraft-skills · 156 tokens

playwright-camera-mask-testing

Specialization of playwright-harness for CAMERA / segmentation testing in the browser: put a real PERSON in front of getUserMedia so MediaPipe / selfie segmentation produces an actual mask, then verify background-replacement / blur / shader effects by vision. Use when the task is "test the mask on web", "verify…

simiancraft/simiancraft-skills · 158 tokens