write-tests
Generate comprehensive test coverage for existing code.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/nimbalyst/nimbalyst/HEAD/.claude/commands/write-tests.md -o ~/.claude/commands/write-tests.mdwrite-tests.md
# /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
Prepare and execute an Android release (patch/minor/major)
Author animated technical explainer diagrams as .anim.json files for Nimbalyst's Animation editor. Use when the user wants to animate a diagram, show how a system/protocol/algorithm behaves over time, build a motion explainer, or turn a static architecture diagram into something that plays.
Gather details and draft an actionable bug report for developers.
Author Nimbalyst Project Canvas boards (.canvas files) — an infinite canvas whose cards are live editors for real workspace files and shared documents, arranged spatially and wired with edges. Use when the user asks for a canvas, a board, a spatial layout of documents or mockups, a flow of screens, or a workspace overview.
Create a git commit with concise, bullet-point commit message
Create visual data models for database schemas using Nimbalyst's DataModelLM editor. Use when the user wants to design a data model, database schema, entity relationship diagram, or Prisma schema.
Create a new plan document for tracking work.
Run E2E tests in a dev container (isolated environment)