audit-infra
Infrastructure-first security audit — secrets, supply chain, CI/CD, LLM/skill security, OWASP, STRIDE. Complements /audit-solana (program-level)
Generate documentation for Solana programs, APIs, and components
> /plugin marketplace add solanabr/solana-ai-kit > /plugin install solana-ai-kit@stbr
How it fires
How this command gets triggered: by you, by Claude, or both.
/write-docsContext preview
What this command does when you run it.
Generate documentation for Solana programs, APIs, and components
description: "Generate documentation for Solana programs, APIs, and components"
Generate comprehensive documentation for Solana blockchain code.
$ARGUMENTS
| Type | What to Generate | |------|------------------| | **Program** | Instructions, accounts, PDAs, errors, security, CU | | **SDK/API** | Functions, params, returns, errors, examples | | **Component** | Props/properties, events, usage patterns | | **README** | Overview, setup, quick start, deployment |
**For Instructions/Endpoints:**
**For Account Structures:**
**For README:**
**Do:**
**Don't:**
Generate documentation appropriate to the code type:
1. **Programs**: Instruction docs, account docs, error codes 2. **SDKs**: Function docs, type definitions, examples 3. **Components**: Props, events, usage patterns 4. **Projects**: README with setup and deployment
For complex projects, delegate to **tech-docs-writer** agent.
Production-ready Claude Code configuration for full-stack Solana development. Combines best practices from multiple sources into an agent-optimized, token-efficient config you can install and adapt to your specific project.
Repo: solanabr/solana-ai-kit
Infrastructure-first security audit — secrets, supply chain, CI/CD, LLM/skill security, OWASP, STRIDE. Complements /audit-solana (program-level)
Benchmark CU usage and compare against baseline for regression detection