audit-infra
Infrastructure-first security audit — secrets, supply chain, CI/CD, LLM/skill security, OWASP, STRIDE. Complements /audit-solana (program-level)
Initialize forked template — setup CLAUDE.md and remove config repo scaffolding
> /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.
/cleanupContext preview
What this command does when you run it.
Initialize forked template — setup CLAUDE.md and remove config repo scaffolding
description: Initialize forked template — setup CLAUDE.md and remove config repo scaffolding
Initialize a forked solana-ai-kit template for use as a project. Sets up CLAUDE.md and removes config repo scaffolding files.
If `CLAUDE.md` doesn't exist (or contains "Meta Configuration" indicating it's the repo maintainer version): 1. Copy `CLAUDE-solana.md` → `CLAUDE.md` 2. Create starter `CLAUDE.local.md` (gitignored, private notes) if it doesn't exist 3. Add `CLAUDE.local.md` to `.gitignore` if not present
If `CLAUDE.md` already exists and looks like a project config (not meta), skip this step.
If `.env` doesn't exist but `.env.example` does, copy `.env.example` → `.env` before removing .env.example.
Files/dirs that exist only for maintaining or distributing the config repo itself. These ship in a full clone/fork of solana-ai-kit but have no purpose in a downstream project. Remove each **only if present** — never error on a missing path.
**Remove (if they exist):**
Maintenance scaffolding:
Distribution infra (Claude Code plugin marketplace + Vercel install endpoint — only relevant when *publishing* the kit):
**Preserve (never touch):**
If you encounter a file that looks repo-specific but isn't listed above, flag it to the user rather than removing it.
1. Show the user exactly what will happen (CLAUDE.md setup + files to remove) 2. Wait for user confirmation before proceeding 3. Execute the removals 4. Print summary of what was done 5. Suggest: `git add -A && git commit -m "chore: initialize project from solana-ai-kit template"`
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