stark-quality-gate

stark-quality-gate is a command for coding agents from f0d010c/stark. It costs 0 tokens per session (472 once invoked), scanned A, original, Apache-2.0.

A repeatable quality gate for checking web interfaces locally and in continuous integration (CI), the automated checks that run during development. It covers visual comparisons, browser checks, interactions, accessibility, and performance when relevant.

In plain words
What is it for?
Setting up Playwright browser tests, visual baselines, component or story checks, interaction checks, and release-quality criteria for a web interface.
Why use it?
It replaces one-off screenshot checks with documented checks that can be run again before release or when comparing changes.

Command

Part of the stark plugin — 9 skills, 14 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/f0d010c/stark/stark-quality-gate
Clone the repo
git clone --depth 1 https://github.com/f0d010c/stark

Or install stark, the plugin that ships this one along with the rest of its 9 skills, 14 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 stark-quality-gate

README.md
[![agentmods](https://agentmods.dev/badge/commands/f0d010c/stark/stark-quality-gate.svg)](https://agentmods.dev/commands/f0d010c/stark/stark-quality-gate)
Your own site
<a href="https://agentmods.dev/commands/f0d010c/stark/stark-quality-gate"><img src="https://agentmods.dev/badge/commands/f0d010c/stark/stark-quality-gate.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 472 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 $0.00000 $0.00472
Opus 5 $0.00000 $0.00236
Sonnet 5 $0.00000 $0.00094
Haiku 4.5 $0.00000 $0.00047

Measured 5d ago against content hash 40e3934e0eb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

stark-quality-gate 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/stark-quality-gate.md · 50 lines

What it actually says

/stark-quality-gate

Use this command when a web UI should be maintained, released, compared across runs, or used as public proof. It turns visual QA into a repeatable local/CI gate instead of a one-off screenshot check.

Read, in order:

  • references/ui-patterns/qa-evidence-contract.md
  • references/ui-patterns/browser-qa-matrix.md
  • references/ui-patterns/story-driven-qa-harness.md
  • references/ui-patterns/runtime-evidence-regression-contract.md
  • references/ui-patterns/frontend-quality-automation-gate.md
  • references/ui-patterns/performance-budget-contract.md when motion, media, 3D/canvas, charts, large lists, or multiple libraries are present
  • references/ui-patterns/accessibility-interaction-contract.md when custom controls, forms, overlays, keyboard paths, focus, or reduced motion are present
  • references/ux-patterns/task-flow-acceptance-harness.md when the surface is a product workflow
  • references/ui-patterns/design-acceptance-gate.md

Output:

Frontend quality automation gate
- Target surface:
- Quality target:
- Gate mode:
- Local command:
- CI command:
- Playwright projects/viewports:
- Story/component harness:
- Visual baselines:
- Interaction flows:
- Accessibility checks:
- Performance/vitals checks:
- Usability/task checks:
- Fixtures and mocks:
- Stabilization/masks:
- Artifact output:
- Failure triage owner:
- Baseline update rule:
- Skipped checks and why:
- Ship decision:

Rules:

  • Use advisory gates only for sketches; use blocking or release-blocking gates for public demos, README/gallery screenshots, checkout/trust, and component-library work.
  • Prefer role/label/text locators before test IDs; missing accessible names are failures, not selector problems.
  • Stabilize clocks, random data, media, animation frames, and generated assets before accepting visual baselines.
  • Do not update baselines unless the design changed intentionally or a verified repair changed the evidence.
  • Treat lab performance and Web Vitals checks as risk evidence, not field-data proof.
  • If a blocking check fails, repair the source issue and re-run the smallest gate that proves the fix.
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 · 50 lines · 0 tokens per session scan A 40e3934e0eb3

Subscribe to this mod's changes

stark-quality-gate is a command published in the GitHub repository f0d010c/stark (25 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 472 tokens. 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.