fastapi-qa

fastapi-qa is a skill for Claude Code from steph-dove/klaussy-agents. It costs 86 tokens per session (1,281 once invoked), scanned A, original, MIT.

A change-checking guide that chooses the right way to test a code change and records evidence for reviewers.

In plain words
What is it for?
It helps verify user-interface changes with screenshots, backend changes with endpoint or end-to-end checks, command-line changes by running commands, and libraries with tests.
Why use it?
It avoids using unsuitable checks, such as taking screenshots for a database change or running browser tests for a small helper. It leaves a written record showing what was checked.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

Part of the klaussy plugin — 79 skills, 3 hooks, 1 MCP server shipped together

Good fit It helps verify user-interface changes with screenshots, backend changes with endpoint or end-to-end checks, command-line changes by running commands, and libraries with tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/steph-dove/klaussy-agents/fastapi-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 steph-dove/klaussy-agents --skill fastapi-qa
Clone the repo
git clone --depth 1 https://github.com/steph-dove/klaussy-agents

Made for: Claude Code.

Or install klaussy, the plugin that ships this one along with the rest of its 79 skills, 3 hooks, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/steph-dove/klaussy-agents/fastapi-qa/github.svg)](https://agentmods.dev/skills/steph-dove/klaussy-agents/fastapi-qa)
Your own site
<a href="https://agentmods.dev/skills/steph-dove/klaussy-agents/fastapi-qa"><img src="https://agentmods.dev/badge/skills/steph-dove/klaussy-agents/fastapi-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 fastapi-qa

Your own site · 80×15
<a href="https://agentmods.dev/skills/steph-dove/klaussy-agents/fastapi-qa"><img src="https://agentmods.dev/badge/skills/steph-dove/klaussy-agents/fastapi-qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,281 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00086 $0.01281
Opus 5 $0.00043 $0.00641
Sonnet 5 $0.00017 $0.00256
Haiku 4.5 $0.00009 $0.00128

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

Security

Grade A, and why

fastapi-qa scanned grade A with 1 finding 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 10d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Backend / API / service** → run the test suite and any integration/e2e that covers the area, then **exercise the changed path for real**: bring the service up, hit the endpoint (curl/httpie/the project's client), and
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • httpx-qa — 92% identical, 10 lines differ
examples/fastapi/.agents/skills/fastapi-qa/SKILL.md · 42 lines

How it starts

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

QA the current change and capture evidence a reviewer can trust. The point is to run the QA that's valid for this change — a UI tweak needs screenshots, a backend fix needs the endpoint exercised and the suite run, a CLI change needs its commands run. Don't screenshot a database migration; don't run the full browser e2e suite for a one-line helper.

Steps

  1. Read CLAUDE.md for how this project builds, runs, and tests, plus any e2e/screenshot tooling it already has. Read any .claude/rules/*.md whose paths: glob covers the changed files — they often name the ports, fixtures, or QA conventions for that layer.

  2. See what changed. git diff master...HEAD for the branch's work, plus git diff / git diff --cached for uncommitted edits. Classify each surface the diff touches (a change can span more than one — QA each with its own method):

    • UI / frontend — components, styles, templates, pages, client-side behavior.
    • Backend / API / service — routes, handlers, business logic, jobs, DB.
    • CLI / tool — command entrypoints, flags, output.
    • Library / SDK — importable code with no runtime surface of its own.
    • Docs / config / infra only — no runtime behavior to observe.
  3. Run the QA that fits each surface (use fastapi-run whenever you need to bring the app or service up):

    • UI / frontendcapture screenshots. Prefer the repo's own tooling (Playwright, Cypress, Storybook, a visual-test harness) — it already knows how to reach each screen. Otherwise launch the app via fastapi-run and drive a headless browser (Playwright/Puppeteer) if one is installed. Capture the states the change actually affects: the default view, the changed interaction, and empty/error or responsive breakpoints when layout or state handling changed. Grab a before shot from master too when the branch point is cheap to check out, so the diff is visible. Note what changed visually.
    • Backend / API / service → run the test suite and any integration/e2e that covers the area, then exercise the changed path for real: bring the service up, hit the endpoint (curl/httpie/the project's client), and capture the request → response and any relevant log lines.
    • CLI / tool → run the representative commands that exercise the change (not just --help); capture stdout, stderr, and exit codes.
    • Library / SDK → run the unit tests plus a small usage snippet that calls the changed API.
    • Docs / config / infra only → there's nothing to observe at runtime. Say so and stop — don't manufacture QA.
  4. Save the artifacts where the user can actually open them — a subfolder named <repo>-<branch> inside their Downloads folder (e.g. myapp-feature-login/), so screenshots land somewhere they'll look. Resolve the destination for the OS you're on:

    • macOS / Linux: ~/Downloads/<repo>-<branch>/
    • Windows: %USERPROFILE%\Downloads\<repo>-<branch>\ (PowerShell: $env:USERPROFILE\Downloads\...)

    Derive <repo> from the repo root's folder name and <branch> from the current branch (git rev-parse --show-toplevel and git rev-parse --abbrev-ref HEAD), replacing any / in the branch with - so it's one valid folder name. Create the folder if it doesn't exist, then write screenshots as PNGs and captured command/HTTP output as text into it — keep artifacts out of the repo tree; they're evidence for a human, not source to commit. If there's no Downloads folder (a headless CI box), fall back to the user's home directory. Report the absolute folder path so the user can find it.

  5. Write a QA summary suited to drop into a PR's Test Plan / QA section: which surfaces changed, what QA ran for each, the evidence (screenshot paths, captured output, test results), pass/fail, and anything you could NOT cover and why. Lead with the result, keep it tight.

Read the full file on GitHub · 42 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. 10d ago First seen · 42 lines · 86 tokens per session scan A cf6bd33c0457

Subscribe to this mod's changes

fastapi-qa is a skill published in the GitHub repository steph-dove/klaussy-agents (16 stars, last pushed 13d ago), licensed MIT. It adds 86 tokens to every session and 1,281 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.