Analyzes changed files and improves test coverage using current frontend/backend quality guidelines and colocated project test patterns. Determines test scope (unit vs integration vs regression), adds or updates tests, and runs validation. Use when code changes need test coverage, after implementing a feature, after fixing a bug, or when test gaps are identified.
70
86%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Use this skill to improve test coverage after code changes.
$improve-utDiscover the available package spec layers dynamically:
# Discover available packages and their spec layers
python3 ./.trellis/scripts/get_context.py --mode packagesThis repository currently has frontend, backend, and guides layers rather than a dedicated unit-test/ layer. Read:
.trellis/spec/frontend/quality-guidelines.md for Vitest/frontend changes.trellis/spec/backend/quality-guidelines.md for Rust/backend changes*.test.ts, *.test.tsx, and Rust module tests in the touched domainIf a package later introduces a dedicated test-spec layer, that package-local spec wins.
git diff --name-onlynpm run lint
npm run typecheck
npm run test## UT Coverage Plan
- Changed areas: ...
- Test scope (unit/integration/regression): ...
## Test Updates
- Added: ...
- Updated: ...
## Validation
- npm run lint: pass/fail
- npm run typecheck: pass/fail
- npm run test: pass/fail
## Gaps / Follow-ups
- <none or explicit rationale>786846c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.