prodtest

prodtest is a skill for Claude Code from nazmulnahid-git/Ai-Stack. It costs 90 tokens per session (1,323 once invoked), scanned A, original, MIT.

A senior-QA testing workflow for a newly implemented feature. It finds the project's test tools, writes tests, and uses Playwright to test the running app in a browser.

In plain words
What is it for?
Use it for unit, integration, functional, and end-to-end testing, with screenshots saved for review. It can either fix found bugs or report them, after asking which approach to use.
Why use it?
It checks a feature at several levels and helps reveal defects that unit tests alone may miss.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-stack plugin — 5 skills shipped together

Good fit Use it for unit, integration, functional, and end-to-end testing, with screenshots saved for review. It can either fix found bugs or report them, after asking which approach to use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nazmulnahid-git/ai-stack/prodtest
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 nazmulnahid-git/Ai-Stack --skill prodtest
Clone the repo
git clone --depth 1 https://github.com/nazmulnahid-git/Ai-Stack

Made for: Claude Code.

Or install ai-stack, the plugin that ships this one along with the rest of its 5 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 prodtest

README.md
[![agentmods](https://agentmods.dev/badge/skills/nazmulnahid-git/ai-stack/prodtest/github.svg)](https://agentmods.dev/skills/nazmulnahid-git/ai-stack/prodtest)
Your own site
<a href="https://agentmods.dev/skills/nazmulnahid-git/ai-stack/prodtest"><img src="https://agentmods.dev/badge/skills/nazmulnahid-git/ai-stack/prodtest/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 prodtest

Your own site · 80×15
<a href="https://agentmods.dev/skills/nazmulnahid-git/ai-stack/prodtest"><img src="https://agentmods.dev/badge/skills/nazmulnahid-git/ai-stack/prodtest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,323 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.00090 $0.01323
Opus 5.5 $0.00036 $0.00529
Sonnet 5.5 $0.00018 $0.00265
Haiku 4.5 $0.00009 $0.00132

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

Security

Grade A, and why

prodtest 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.

skills/prodtest/SKILL.md · 134 lines

How it starts

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

prodtest

Test a feature the way a senior QA engineer would: find out what the feature actually claims to do, then try to break it — at the unit, integration, and browser level.

Step 0 — Ask the fix policy first

Before writing anything, ask once:

Should I fix bugs as I find them, or only report them?

Wait for the answer. It governs the whole run:

  • Fix mode — when a test fails because the product is wrong, fix the product, re-run, and note the fix in the report.
  • Report-only mode — leave the failing test in place (or document the repro), change no product code, and list every defect at the end.

In both modes, a test that fails because the test is wrong is always yours to fix.

Step 1 — Identify the feature under test

  • Use the user's description if given.
  • Otherwise diff the branch: git diff $(git merge-base HEAD origin/main)...HEAD --stat plus recent commit messages, and read the changed handlers, components, and models.
  • Write down, in 3–6 bullets, what the feature is supposed to do — the behaviors you are about to verify. Show these to the user as your test basis; a wrong premise here wastes the whole run.

Step 2 — Learn the real test stack (do not assume)

Read, don't guess:

  • package.json / pyproject.toml / composer.json / go.mod — which runner exists (vitest, jest, pytest, phpunit, go test) and which scripts run it.
  • An existing test file near the feature — copy its imports, factories, fixtures, mocking style, DB setup/teardown, and naming. Match the house style exactly.
  • CI config — the command that must pass.
  • How the app boots locally (dev script, env vars, docker compose, seed/migrate commands) and on which port.

If no test infrastructure exists at all, say so and propose the minimal setup before installing anything.

Step 3 — Unit tests

Cover the pure logic the feature introduced: calculations, validators, reducers, permission predicates, formatters, state machines.

For each unit: the happy path, then the edges that actually bite — empty, null/undefined, zero, negative, very large, unicode, duplicates, boundary values, wrong types at trust boundaries, timezone/DST for dates, rounding for money.

Read the full file on GitHub · 134 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 · 134 lines · 90 tokens per session scan A 89597803c52d

Subscribe to this mod's changes

prodtest is a skill published in the GitHub repository nazmulnahid-git/Ai-Stack (4 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 1,323 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories