Loading...
Loading...
Analyzes changed files and improves unit test coverage using project-specific testing conventions from .trellis/spec/ unit-test specs. Determines test scope (unit vs integration vs regression), adds or updates tests following existing patterns, and runs validation. Use when code changes need test coverage, after implementing a feature, after fixing a bug, or when test gaps are identified.
npx skill4agent add mindfold-ai/trellis improve-ut$improve-ut# Discover available packages and their spec layers
python3 ./.trellis/scripts/get_context.py --mode packagesunit-testunit-test/index.mdconventions.mdintegration-patterns.mdmock-strategies.mdIf this skill conflicts with the unit-test specs, the specs win.
git diff --name-onlypnpm lint
pnpm typecheck
pnpm test## UT Coverage Plan
- Changed areas: ...
- Test scope (unit/integration/regression): ...
## Test Updates
- Added: ...
- Updated: ...
## Validation
- pnpm lint: pass/fail
- pnpm typecheck: pass/fail
- pnpm test: pass/fail
## Gaps / Follow-ups
- <none or explicit rationale>