quality
Run project quality gates. Executes lint and tests based on project placeholder mappings.
Files1
View on GitHubSKILL.mdskills/quality/SKILL.md
GitHubQuality
Run project quality gates and report results.
Inputs
Use the requested scope, or default to full when none is supplied:
- fast: configured lint + unit tests (focused feedback; not a delivery gate)
- full: all tests + smoke tests
- dry-run: print commands without executing
If the user provides an invalid scope option, respond with an error message indicating valid options: fast, full, or dry-run.
Workflow
Load commands from the consuming project's root AGENTS.md and any workflow document it names (convention:
docs/agents/workflow.md, relative to the project root). PreferVALIDATE_COMMANDorRUN_ALL_TESTS_COMMANDfor full scope. Resolve required commands before execution; report missing configuration instead of guessing or skipping a gate. Otherwise resolve the project mappings:{{LINT_COMMAND}}{{RUN_UNIT_TESTS_COMMAND}}(optional){{RUN_ALL_TESTS_COMMAND}}{{SMOKE_TEST_COMMAND}}(optional)
Execute the complete validation command for full scope, or lint → tests → smoke as configured. Run identical commands once. A complete gate already including lint and smoke replaces separate invocations.
Report:
## Quality Gate Results Scope: fast | full | dry-run Results: ✅/❌ Lint: passed | failed ✅/❌ Tests: X passed, Y failed ✅/❌ Smoke: passed | failed | skipped [If failures: show failing test names and relevant log lines] Next: Fix failures | Proceed with PR
Notes
- Stop immediately if lint or tests fail.
- Do not modify test files.
- For CI/PR workflows, always run at least lint + tests before marking ready.