No slash command · from director-mode-lite
Detects test frameworks (pytest, jest, vitest, go test, cargo, junit) and provides correct run/coverage commands plus failure-analysis steps.
Ships in director-mode-lite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Director Mode Lite - Test Execution Reference
Detect the project's test framework, then use its runner:
| Language | Frameworks |
|---|---|
| JavaScript/TypeScript | Jest, Vitest, Mocha, Playwright |
| Python | pytest, unittest |
| Go | go test |
| Rust | cargo test |
| Java | JUnit, Maven, Gradle |
Check for configuration files:
jest.config.* → Jestvitest.config.* → Vitestpytest.ini or pyproject.toml → pytestgo.mod → go testCargo.toml → cargo testRun tests with the detected framework's command:
# JavaScript/TypeScript
npm test # or pnpm test / yarn test
# Python
pytest -v
# Go
go test ./...
# Rust
cargo test
For coverage, add the framework's coverage flag (for example pytest --cov, jest --coverage, go test -cover ./..., cargo tarpaulin).
For each failure, capture:
## Test Results
**Status**: 2 failed, 18 passed (90% pass rate)
### Failed Tests
#### 1. `user.test.ts` - should validate email format
- **Location**: `src/tests/user.test.ts:45`
- **Expected**: `false` for invalid email
- **Actual**: `true`
- **Root Cause**: Regex pattern missing check for domain
- **Fix**: Update regex in `validateEmail()` function
#### 2. `api.test.ts` - should return 401 for unauthorized
- **Location**: `src/tests/api.test.ts:78`
- **Expected**: Status 401
- **Actual**: Status 500
- **Root Cause**: Auth middleware throwing unhandled error
- **Fix**: Add try-catch in auth middleware
### Coverage Summary
- Statements: 85%
- Branches: 72%
- Functions: 90%
- Lines: 84%
When working with the /test-first command:
Cycle: Write Test → Run (Fail) → Implement → Run (Pass) → Refactor → Run (Pass)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub claude-world/director-mode-lite --plugin director-mode-lite35 skills in this plugin
/agent-checkValidate custom agent file format and structure. Use after creating or editing an agent, before committing agent changes, or when an agent fails to load./agentsList all available agents (core, expert, self-evolving). Use when the user asks what agents are available or runs /agents./agent-templateGenerate custom agent from template. Use when creating a new subagent from scratch, or scaffolding an agent file with correct frontmatter./auto-loopTDD-based autonomous development loop with checkpoint recovery and observability changelogOther plugins' skills for the same job