/write-tests
Generate comprehensive test coverage for existing code.
$ npx -y skills add nimbalyst/nimbalyst --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
/write-tests
Context preview
What this command does when you run it.
Generate comprehensive test coverage for existing code.
Command definition
write-tests.mdpackageVersion: 1.0.0 packageId: developer description: Generate comprehensive test coverage for existing code.
/write-tests Command
Generate comprehensive test coverage for existing code.
What This Command Does
1. Analyzes code to test 2. Identifies test cases (happy path, edge cases, errors) 3. Generates test code in appropriate framework 4. Includes setup/teardown as needed
Usage
`/write-tests [file or function]`
Test Generation Approach
- Uses existing test framework in project
- Follows project test patterns
- Includes meaningful test names
- Covers edge cases and error conditions
- Adds necessary mocks/fixtures
Best Practices
- Review generated tests for accuracy
- Adjust assertions as needed
- Run tests to verify they pass
- Add tests incrementally for large files
Nimbalyst - The open-source visual workspace for Claude Code, Codex, and OpenCode. Run multiple coding agents in parallel, edit their work visually in markdown, mockups, and diagrams, and track tasks. Free, MIT-licensed desktop app for macOS, Windows, Linux, with mobile companion for iOS and Android.
Repo: nimbalyst/nimbalyst
Other commands on nimbalyst.
analyze-sessions
Audit recent AI coding sessions to find repeated mistakes, speed losses, and missed Nimbalyst tool usage — then propose harness improvements
audit-updates
Triage npm audit findings and produce a prioritized, supply-chain-cautious package-update plan, then apply approved batches
autofix-issues
Survey recently triaged GitHub issues, propose the ones safe to fix without a product decision, and fan the selected ones out to independent sessions.

