quality-checks
Skill2 starsChanged 6 months agoMITView on GitHub
Configure and run the Symfony / API Platform 4.3 quality stack — PHP-CS-Fixer (`@Symfony` + `@PER-CS` rulesets), PHPStan level 9+ (with `phpstan-symfony` and `phpstan-doctrine` extensions), Psalm if needed, `composer audit` + Renovate for dependency CVEs, `composer install --no-dev --optimize-autoloader` for production builds, PHPUnit `--coverage-clover` with a CI-blocking minimum threshold (100% on the domain), ParaTest for parallel runs, Infection mutation testing with `--min-msi=80 --min-covered-msi=85` on critical packages, and CI patterns that fail on regressions. Trigger on "lint", "static analysis", "quality gates", "CI configuration", "composer audit", "production deploy", "coverage threshold", "mutation testing", "Infection", or "MSI".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- SilverAssist/agents-toolkittheir own version, first seen Aug 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- SilverAssist/agents-toolkit★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository52 other files it gives its agents.
- api-platform-dto-resourcesSkill
- api-platform-errorsSkill
- api-platform-file-uploadSkill
- api-platform-filtersSkill
- api-platform-identifiersSkill
- api-platform-mcpSkill
- api-platform-mutatorsSkill
- api-platform-openapiSkill
- api-platform-paginationSkill
- api-platform-performanceSkill
- api-platform-resilienceSkill
- api-platform-resourcesSkill
- api-platform-securitySkill
- api-platform-serializationSkill
- api-platform-state-processorsSkill
- api-platform-state-providersSkill
- api-platform-testsSkill
- api-platform-upgradeSkill
- api-platform-userSkill
- api-platform-versioningSkill
- bootstrap-checkSkill
- brainstormingSkill
- config-env-parametersSkill
- controller-cleanupSkill
- cqrs-and-handlersSkill
- daily-workflowSkill
- doctrine-batch-processingSkill
- doctrine-fetch-modesSkill
- doctrine-fixtures-foundrySkill
- doctrine-migrationsSkill
- doctrine-relationsSkill
- doctrine-transactionsSkill
- effective-contextSkill
- executing-plansSkill
- functional-testsSkill
- interfaces-and-autowiringSkill
- makefile-disciplineSkill
- messenger-retry-failuresSkill
- ports-and-adaptersSkill
- rate-limitingSkill
- runner-selectionSkill
- strategy-patternSkill
- symfony-cacheSkill
- symfony-messengerSkill
- symfony-schedulerSkill
- symfony-votersSkill
- tdd-with-pestSkill
- tdd-with-phpunitSkill
- test-doubles-mockingSkill
- using-symfony-superpowersSkill
- value-objects-and-dtosSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
composer auditruns on every PR: No CVE merged into main. - Very specific: line 36
No
composer updatein CI / prod: Always composer install.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- PHP-CS-Fixer: install +
@Symfony+@PER-CSrulesets + project-specific overrides. - PHPStan: install +
phpstan-symfony+phpstan-doctrine+ raise level progressively (5 → 7 → 9 → max). - PHPUnit: enable
--coverage-cloverand enforce a minimum on the domain layer. - ParaTest:
./vendor/bin/paratest -p8for parallel CI runs. - Infection:
./vendor/bin/infection --threads=4 --min-msi=80 --min-covered-msi=85— mutation testing on critical packages (domain, voters, processors, finance/rights/PII). composer audit+symfony check:securityon every PR.- Production builds:
composer install --no-dev --optimize-autoloader— nevercomposer update. - Renovate for automated dependency updates.
Guardrails
- CI fails on PHPStan regression. No
// @phpstan-ignorewithout a comment + ticket. - CI fails on coverage drop. Minimum threshold enforced.
- CI fails on MSI regression. Minimum
--min-msi=80and--min-covered-msi=85on critical packages. A green coverage with surviving mutants signals tautological tests — CI must reject it. composer auditruns on every PR. No CVE merged into main.- No
composer updatein CI / prod. Alwayscomposer install. - No
--no-verifyon commits / pushes — hooks exist for a reason.
Progressive disclosure
SKILL.mdcovers posture and tools.reference.mdcarries the full configs (PHP-CS-Fixer.php-cs-fixer.dist.php,phpstan.dist.neonwith extensions, PHPUnitphpunit.xml.dist, GitHub Actions / GitLab CI templates, Renovate config).
Output contract
.php-cs-fixer.dist.php,phpstan.dist.neon,phpunit.xml.dist,infection.json5present 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.
References
reference.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

