/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 is a free, open-source, local, interactive visual editor & session/task manager for developers, product managers, designers, builders.
Repo: nimbalyst/nimbalyst
Other commands on nimbalyst.
- /android-release
Prepare and execute an Android release (patch/minor/major)
Open command - /bug-report
Gather details and draft an actionable bug report for developers.
Open command - /commit
Create a git commit with concise, bullet-point commit message
Open command - /design
Create a new plan document for tracking work.
Open command - /e2e-devcontainer
Run E2E tests in a dev container (isolated environment)
Open command - /implement
Execute a plan document while keeping progress synchronized.
Open command

