Analyze and fix a bug
Example collaboration with Claude Code:
- Investigate this bug report and find the root cause in our codebase
- Trace the execution path and explain what's happening at each step
- Write a fix for this issue and add regression tests to prevent it from happening again
- Review the proposed fix with red/green diffs before applying change
Example Claude Code slash commands:
/bug-report- Document bug details and reproduction steps/implement- Apply the fix after understanding the issue


Plan a new feature
Example collaboration with Claude Code:
- I want to build [feature]. Research similar patterns in our codebase.
- Write a plan document or spec for this feature. Interview me to build it
- Generate a Mermaid diagram
- What edge cases should we handle?
- Update the schema design.
- Identify all the files that will need to change for this feature
Example Claude Code slash commands
- /plan
Diagram, Mockup, Model
Example collaboration with Claude Code:
- Implement this feature following the plan document step by step
- Review each code change in the diff viewer before approving
- Refactor this to be cleaner and add proper error handling
- Run multiple sessions in parallel for independent pieces of work
- Update plan docs and documentation based on what was implemented
Example Claude Code slash commands:
- /implement
- /commit


Develop a new feature
Example collaboration with Claude Code:
- Implement this feature following the plan document step by step
- Review each code change in the diff viewer before approving
- Refactor this to be cleaner and add proper error handling
- Run multiple sessions in parallel for independent pieces of work
- Update plan docs and documentation based on what was implemented
Example Claude Code slash commands:
- /implement
- /commit
Test-driven development
Example collaboration with Claude Code:
- Write failing tests first for this feature I want to implement
- Review the test cases to ensure they capture all requirements and edge cases
- Now implement the code to make these tests pass
- Add integration tests and update any existing tests affected by these changes
- Update plan docs and documentation based on what was implemented
Example Claude Code slash commands
- /tests
- /implement
- /commit


Release
Example collaboration with Claude Code:
- Summarize all changes since the last release by reviewing commits
- Update the changelog with user-facing release notes
- Run the release command to bump versions and create tags
- Review the generated release notes and iterate before publishing
Example Claude Code slash commands:
- /release
Understand unfamiliar code
Example collaboration with Claude Code:
- Explain what this code does and why it was written this way
- Trace how data flows through this system from input to output
- What architectural patterns is this codebase using?
- Document this undocumented module as I learn it
Example Claude Code slash commands
- /plan


Refactor legacy code
Example collaboration with Claude Code:
- Analyze this legacy file and suggest modern patterns to replace the outdated code
- Refactor this incrementally while maintaining backwards compatibility
- Review each refactoring step in isolation with the diff viewer
- Update the tests to ensure the refactoring doesn't break existing behavior
Example Claude Code slash commands
- /plan
- /implement
Review pull requests
Example collaboration with Claude Code:
- Analyze this PR and explain what changes were made and why
- Identify potential bugs, security issues, or performance problems
- Suggest improvements or alternative approaches
- Help me understand these changes in an area of the codebase I'm less familiar with
Example Claude Code slash commands
- /review-branch


Debug production issues
Example collaboration with Claude Code:
- Analyze this stack trace and identify the source of the error
- Find similar patterns in the codebase that might be affected
- Suggest monitoring or logging improvements to catch issues like this earlier
- Write a hotfix and explain the tradeoffs
Example Claude Code slash commands
- /bug-report
- /implement
Set up dev environment
Example collaboration with Claude Code:
- What dependencies and tools do I need for this project?
- Walk me through the setup process step by step
- Troubleshoot this configuration error for me
- Create onboarding documentation for new developers


Write documentation
Example collaboration with Claude Code:
- Analyze this code and generate API documentation
- Write a README section explaining how to use this library
- Create an architectural decision record for this major change
- Iterate on documentation in the WYSIWYG markdown editor
Example Claude Code slash commands
- /document
Reconcile plan and code
Example collaboration with Claude Code:
- What dependencies and tools do I need for this project?
- Walk me through the setup process step by step
- Troubleshoot this configuration error for me
- Create onboarding documentation for new developers

Example Claude Code slash commands for download
Install these in your .Claude/Commands folder
Run them in Nimbalyst and/or Claude Code
