quality-checks

quality-checks is a skill for Claude Code, Codex from gerard-labs/superpowers-api-platform. It costs 194 tokens per session (818 once invoked), scanned A, original, MIT.

A quality-check setup for Symfony and API Platform projects. It combines code formatting, static analysis, tests, dependency security audits, mutation testing, and production build checks.

In plain words
What is it for?
Use it to configure local and continuous-integration checks, enforce coverage and analysis rules, audit dependencies, and prepare production builds.
Why use it?
It finds style errors, type problems, vulnerable dependencies, weak tests, and regressions before deployment.

Skill for Claude CodeCodex

Part of the gerard plugin — 53 skills, 25 commands, 7 agents, 1 hook 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 skills/gerard-labs/superpowers-api-platform/quality-checks
Any agent
npx skills add gerard-labs/superpowers-api-platform --skill quality-checks
Clone the repo
git clone --depth 1 https://github.com/gerard-labs/superpowers-api-platform

Made for: Claude Code, Codex.

Or install gerard, the plugin that ships this one along with the rest of its 53 skills, 25 commands, 7 agents, 1 hook.

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 quality-checks

README.md
[![agentmods](https://agentmods.dev/badge/skills/gerard-labs/superpowers-api-platform/quality-checks.svg)](https://agentmods.dev/skills/gerard-labs/superpowers-api-platform/quality-checks)
Your own site
<a href="https://agentmods.dev/skills/gerard-labs/superpowers-api-platform/quality-checks"><img src="https://agentmods.dev/badge/skills/gerard-labs/superpowers-api-platform/quality-checks.svg" alt="Measured on agentmods" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 818 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.00194 $0.00818
Opus 5 $0.00097 $0.00409
Sonnet 5 $0.00039 $0.00164
Haiku 4.5 $0.00019 $0.00082

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

Security

Grade A, and why

quality-checks 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 2d 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/quality-checks/SKILL.md · 51 lines

How it starts

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

Quality checks (Symfony / API Platform 4.3)

Use when

  • Bootstrapping the quality stack of a new project.
  • Tightening static analysis (raising PHPStan level, enabling custom rules).
  • Setting up CI quality gates that fail on regressions.
  • Auditing dependencies for CVEs before deploy.

Default workflow

  1. PHP-CS-Fixer: install + @Symfony + @PER-CS rulesets + project-specific overrides.
  2. PHPStan: install + phpstan-symfony + phpstan-doctrine + raise level progressively (5 → 7 → 9 → max).
  3. PHPUnit: enable --coverage-clover and enforce a minimum on the domain layer.
  4. ParaTest: ./vendor/bin/paratest -p8 for parallel CI runs.
  5. Infection: ./vendor/bin/infection --threads=4 --min-msi=80 --min-covered-msi=85 — mutation testing on critical packages (domain, voters, processors, finance/rights/PII).
  6. composer audit + symfony check:security on every PR.
  7. Production builds: composer install --no-dev --optimize-autoloader — never composer update.
  8. Renovate for automated dependency updates.

Guardrails

  • CI fails on PHPStan regression. No // @phpstan-ignore without a comment + ticket.
  • CI fails on coverage drop. Minimum threshold enforced.
  • CI fails on MSI regression. Minimum --min-msi=80 and --min-covered-msi=85 on critical packages. A green coverage with surviving mutants signals tautological tests — CI must reject it.
  • composer audit runs on every PR. No CVE merged into main.
  • No composer update in CI / prod. Always composer install.
  • No --no-verify on commits / pushes — hooks exist for a reason.

Progressive disclosure

  • SKILL.md covers posture and tools.
  • reference.md carries the full configs (PHP-CS-Fixer .php-cs-fixer.dist.php, phpstan.dist.neon with extensions, PHPUnit phpunit.xml.dist, GitHub Actions / GitLab CI templates, Renovate config).

Output contract

  • .php-cs-fixer.dist.php, phpstan.dist.neon, phpunit.xml.dist, infection.json5 present and aligned.
  • CI workflow that runs PHPStan + tests + coverage threshold + Infection (MSI ≥ 80, covered-MSI ≥ 85) + audit.
  • Production deploy script using composer install --no-dev --optimize-autoloader.
  • Renovate config (or equivalent) in place.

Read the full file on GitHub · 51 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. 2d ago First seen · 51 lines · 194 tokens per session scan A 943d6f677633

Subscribe to this mod's changes

quality-checks is a skill published in the GitHub repository gerard-labs/superpowers-api-platform (2 stars, last pushed 3mo ago), licensed MIT. It adds 194 tokens to every session and 818 once invoked, about $0.0010 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-09-03.

Related

Other skills, from other repositories

symfony:daily-workflow

Daily development workflow for Symfony projects including common tasks, debugging, and productivity tips.

dev-toolings/superpowers-symfony · 22 tokens

symfony:interfaces-and-autowiring

Master Symfony Dependency Injection with autowiring.

dev-toolings/superpowers-symfony · 18 tokens

symfony-domain-modeling

Symfony domain modeling — entities, value objects, domain events, aggregates, domain exceptions. Triggers on: entity, value object, domain event, aggregate, domain exception, domain model, domain logic, business rule, invariant.

aligundogdu/symfony-hexagonal-skill · 44 tokens

symfony-validation

Symfony validation — 3-layer validation strategy, constraints, DTO validation, domain invariants, validation groups, custom validators. Triggers on: validation, validator, constraint, DTO validation, input validation, invariant, assert, validation group.

aligundogdu/symfony-hexagonal-skill · 46 tokens

Behat BDD Testing

PHP BDD testing with Behat framework using Gherkin feature files, Mink browser extension, context classes, and Symfony integration for behavior-driven acceptance testing.

PramodDutta/qaskills · 37 tokens

ccxt-php

CCXT cryptocurrency exchange library for PHP developers. Covers both REST API (standard) and WebSocket API (real-time). Helps install CCXT, connect to exchanges, fetch market data, place orders, stream live tickers/orderbooks, handle authentication, and manage errors in PHP 8.1+. Use when working with crypto exchanges…

ccxt/ccxt · 93 tokens