Claude commands
Handy Claude commands, kept current by the community. Add one you rely on.
/write-docs
Write docs
Write docs for a Solana program, SDK or component from its code and IDL
/test-dotnet
Test dotnet
Run C# tests: Unity Test Framework in batchmode, or dotnet test
/test-and-fix
Test and fix
Run tests, auto-fix fmt and lint, and fix failures until green or stuck
/setup-ci-cd
Setup ci cd
Set up GitHub Actions CI for Solana programs: lint, build, test, audit
/quick-commit
Quick commit
Format, lint and commit with a conventional message on a kit-named branch
/profile-cu
Profile cu
Measure compute units per instruction and flag the expensive ones
/product-review
Product review
First-time-user product review: scorecard and fix roadmap; --harsh for a roast
/plan-feature
Plan feature
Plan a Solana feature before coding: accounts, PDAs, instructions, risks, tests
/migrate-web3
Migrate web3
Migrate TypeScript from @solana/web3.js 1.x to @solana/kit
/generate-idl-client
Generate idl client
Generate a typed client from an Anchor or Shank IDL (Codama or Anchor TS)
/explain-code
Explain code
Explain Solana code with a diagram and a step-by-step walkthrough
/diff-review
Diff review
Review the branch diff for Solana security issues, CU waste and AI slop
/debug-user-tx
Debug user tx
Replay a user's failing transaction on forked state and map the error to source
/commit-claude-config
Commit claude config
Un-ignore and commit the kit config dir, instruction file, .mcp.json, .gitmodules, policy
Create a command
Please sign in to add a command.