/improve-ut
Use this command to improve test coverage after code changes.
$ npx -y skills add mindfold-ai/trellis --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/improve-ut
Context preview
What this command does when you run it.
Use this command to improve test coverage after code changes.
Command definition
improve-ut.mdImprove Unit Tests (UT)
Use this command to improve test coverage after code changes.
Usage
/trellis:improve-ut
Source of Truth
Discover and read unit-test specs:
python3 ./.trellis/scripts/get_context.py --mode packages
Look for packages with `unit-test` spec layer in the output.
For each found module, read its `index.md` and follow the **"Pre-Development Checklist"** section. Read all guideline files listed in the index.
> If this command conflicts with the unit-test specs, the specs win.
---
Execution Flow
1. Inspect changes:
- `git diff --name-only`
2. Decide test scope using unit-test specs:
- What must be unit vs integration vs regression
- What must be mocked vs real filesystem flow
3. Add/update tests accordingly (mirror existing test structure) 4. Run validation:
pnpm lint pnpm typecheck pnpm test
5. Report coverage decisions and remaining gaps.
---
Output Format
## 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>
Repo: mindfold-ai/trellis
Other commands on trellis.
- /continue
Resume work on the current task โ pick up at the right phase/step in `.trellis/workflow.md`.
Open command - /create-manifest
Create a migration manifest for a new patch, beta, rc, or minor release based on commits since the previous release.
Open command - /finish-work
Wrap up the current session: archive the active task (and any other completed-but-unarchived tasks the user wants to clean up) and record the session journal. Code commits are NOT done here โ those happen in workflow Phase 3.4 before you invoke this command.
Open command - /publish-skill
Sync a marketplace skill to the documentation site. Creates skill detail pages (EN/ZH), updates the marketplace index, and updates docs.json navigation.
Open command - /start
Initialize a Trellis-managed development session. This platform has no session-start hook, so manually load the equivalent compact context by following these steps.
Open command

