y-qa

y-qa is a command for Claude Code from yashs33244/the_y_coding_standard. It costs 144 tokens per session (1,693 once invoked), scanned A, original, MIT.

A command for checking whether a code change actually works by running tests and walking through important user flows and error cases.

In plain words
What is it for?
Use it for QA requests, smoke tests, end-to-end checks, regression checks, and documenting a pass-or-fail result.
Why use it?
It provides a repeatable quality gate that finds runtime failures, boundary problems, and issues that a code review may miss.

Command for Claude Code

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

Part of the the-y-coding-standard plugin — 1 skill, 10 commands shipped together

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.

agentmods
npx agentmods add commands/yashs33244/the_y_coding_standard/y-qa
Clone the repo
git clone --depth 1 https://github.com/yashs33244/the_y_coding_standard

Made for: Claude Code.

Or install the-y-coding-standard, the plugin that ships this one along with the rest of its 1 skill, 10 commands.

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 y-qa

README.md
[![agentmods](https://agentmods.dev/badge/commands/yashs33244/the_y_coding_standard/y-qa.svg)](https://agentmods.dev/commands/yashs33244/the_y_coding_standard/y-qa)
Your own site
<a href="https://agentmods.dev/commands/yashs33244/the_y_coding_standard/y-qa"><img src="https://agentmods.dev/badge/commands/yashs33244/the_y_coding_standard/y-qa.svg" alt="Measured on agentmods" height="20"></a>
Per session 144 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,693 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00144 $0.01693
Opus 5 $0.00072 $0.00847
Sonnet 5 $0.00029 $0.00339
Haiku 4.5 $0.00014 $0.00169

Measured 5d ago against content hash 90e2dafe7c4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

y-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 5d 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.

commands/y-qa.md · 187 lines

How it starts

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

/y-qa

The "Does it work?" gate. Step 06 of the Sprint Loop. /y-review told us the code looks right on paper. /y-qa tells us the code actually runs. Tests pass. The golden path works. The obvious error paths do not crash. The obvious boundaries do not explode. The output is findings/YYYY-MM-DD-qa.md with a top-line verdict and the evidence behind it.

Pre-flight

Before running QA, confirm:

  1. We are in a git repo. If not, abort.
  2. There is an active plan in plans/. Read it to know what user flows we are validating.
  3. There is a recent findings/YYYY-MM-DD-review.md. If not, suggest running /y-review first. If the user insists on skipping, log this as a concern in the QA report.
  4. Today's date is known. Use it to name the findings file.
  5. The findings/ folder exists. If not, create it.

Ask the user once: "QA on current branch, recent commit, or a specified PR number?" Default to current branch.

Workflow

1. Identify the change scope

Capture:

  • Current branch name.
  • Recent commit messages: git log --oneline -10.
  • Files changed since branching from main: git diff --name-only main...HEAD.

Read the active plan and extract the user-facing flows we promised. These are the flows we will walk through.

2. Detect test runners

Look for config in this order:

  • package.json scripts and devDependencies. Look for vitest, jest, playwright, cypress, test.
  • pyproject.toml or pytest.ini or tox.ini. Look for pytest.
  • Cargo.toml. Look for cargo test.
  • go.mod. Look for go test.

If no test runner is configured, write a P1 finding in the QA report: "No test runner detected. Set one up before next sprint." Continue with manual checks only.

Load the right reference for context:

  • Python tests: references/python.md.
  • React / Next.js tests: references/react-nextjs.md.

3. Run unit + integration tests

Run the detected test command. Capture full output, including:

  • Total tests run.
  • Passed / failed / skipped.
  • Stack traces for failures.
  • Time taken.

Read the full file on GitHub · 187 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. 5d ago First seen · 187 lines · 144 tokens per session scan A 90e2dafe7c4b

Subscribe to this mod's changes

y-qa is a command published in the GitHub repository yashs33244/the_y_coding_standard (2 stars, last pushed 3mo ago), licensed MIT. It adds 144 tokens to every session and 1,693 once invoked, about $0.0007 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.