| name | quality-report |
| description | Run quality checks and generate a comprehensive report. Use proactively before any git commit, after completing implementation work, or when the user asks about code quality. |
| argument-hint | [{"action":"full|tests|coverage|types|lint"}] |
Quality Report Skill
Actions
full — All Quality Checks
Run all checks and produce a comprehensive report:
npm run typecheck — TypeScript type safety
npm run lint — ESLint compliance
npm test — All tests pass
npm run test:coverage — Coverage thresholds (from jest.config.mjs, never hardcode)
- Scan for
it.todo() / it.skip() remnants
- Verify test-source file correspondence
tests — Test Results Only
- Run
npm test
- Report: total, passed, failed, skipped
- List any failing test names with error summaries
coverage — Coverage Analysis
- Run
npm run test:coverage
- Report percentages: statements, branches, functions, lines
- Compare against thresholds from
jest.config.mjs coverageThreshold.global
- List files below threshold
types — TypeScript Check
- Run
npm run typecheck
- Report: zero errors or list errors with file:line
lint — Lint Check
- Run
npm run lint
- Report: zero errors or list errors/warnings with file:line
Report Format
## Quality Report
| Check | Status | Details |
|-------|--------|---------|
| Typecheck | PASS/FAIL | N errors |
| Lint | PASS/FAIL | N errors, M warnings |
| Tests | PASS/FAIL | X/Y passed |
| Coverage | PASS/FAIL | stmts: X%, branches: X% |
| No it.todo/skip | PASS/FAIL | N found |
| Test correspondence | PASS/FAIL | N src files without tests |
**Overall: PASS/FAIL**