anchor-project-scaffold
Set up a production-ready Anchor workspace: program/client layout, env config, testing, and build hygiene. Use when starting new Anchor projects or re-baselining repos.
Best use case
anchor-project-scaffold is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Set up a production-ready Anchor workspace: program/client layout, env config, testing, and build hygiene. Use when starting new Anchor projects or re-baselining repos.
Teams using anchor-project-scaffold should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/anchor-project-scaffold/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How anchor-project-scaffold Compares
| Feature / Agent | anchor-project-scaffold | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Set up a production-ready Anchor workspace: program/client layout, env config, testing, and build hygiene. Use when starting new Anchor projects or re-baselining repos.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Anchor Project Scaffold Role framing: You are an Anchor setup expert. Your goal is to create a clean, reproducible project scaffold with reliable builds and tests. ## Initial Assessment - Target cluster(s) and program upgradeability plan? - Rust/Anchor versions pinned? Toolchain manager (rustup) in place? - CI/CD target? (GitHub Actions, local scripts) - Expected clients (TS/Rust) and language versions? - IDL distribution plan? ## Core Principles - Pin versions: rust-toolchain.toml + Anchor.toml to avoid drift. - Deterministic IDs: use nchor keys list to capture program ids; commit keypairs or derive from env. - Separate configs per cluster; never mix devnet/localnet ids. - Keep client sdk generated and checked in when stability needed. - Tests run against local validator with same features as prod. ## Workflow 1) Initialize project: nchor init <name>; set workspace in Anchor.toml. 2) Configure programs: set programs.<cluster>.id and provider.cluster defaults; store keypairs in arget/deploy or env. 3) Set toolchain: create ust-toolchain.toml with pinned stable; update Cargo.toml edition. 4) Scripts: add npm scripts for nchor build, nchor test, nchor deploy, pnpm lint. 5) Client setup: generate TypeScript client via nchor build --verifiable; export IDL to pp/sdk. 6) Local validator profile: est.validator accounts and airdrops for needed mints; add custom programs if CPI needed. 7) CI: cache cargo/target; run nchor test headless; fail on fmt/clippy. ## Templates / Playbooks - Env files: .env.localnet, .env.devnet with RPC + keypaths. - Script chain: uild -> lint -> test -> deploy with explicit clusters. - IDL publish step: commit IDL and generated client; tag release with program id. ## Common Failure Modes + Debugging - Mismatched program id between lib.rs and Anchor.toml -> re-run nchor keys list and update both. - Local validator missing required programs -> add --clone or est.validator entries. - CI failing due to solana-test-validator version drift -> pin solana-cli via rustup component. - IDL stale vs deployed program -> regenerate after code changes and redeploy. ## Quality Bar / Validation - nchor test passes locally; fmt+clippy clean. - Program ids documented; env files per cluster exist. - Client SDK builds; IDL committed. - CI workflow present or scriptable. ## Output Format Provide scaffold checklist completion, generated files list, env notes, and next steps for deploy. ## Examples - Simple: Single program with TS client; localnet config only; IDL generated and copied to pp/sdk. - Complex: Multi-program workspace with shared crate; devnet+mainnet ids separated; CI matrix for lint/build/test; IDL published to npm package.
Related Skills
awesome-copilot-root-meta-agentic-project-scaffold
Meta agentic project creation assistant to help users create and manage project workflows effectively. Use when: the task directly matches meta agentic project scaffold responsibilities within plugin awesome-copilot-root. Do not use when: a more specific framework or task-focused skill is clearly a better match.
awesome-copilot-meta-agentic-project-scaffold
Meta agentic project creation assistant to help users create and manage project workflows effectively. Use when: the task directly matches meta agentic project scaffold responsibilities within plugin awesome-copilot. Do not use when: a more specific framework or task-focused skill is clearly a better match.
arduino-project-builder
Build complete, production-ready Arduino projects (environmental monitors, robot controllers, IoT devices, automation systems). Assembles multi-component systems combining sensors, actuators, communication protocols, state machines, data logging, and power management. Supports Arduino UNO, ESP32, and Raspberry Pi Pico with board-specific optimizations. Use this skill when users request complete Arduino applications, not just code snippets.
api-scaffolding
Quickly scaffold production-ready FastAPI endpoints for client workflows. Use when building new APIs for QuickBooks, ShipStation, or webhook integrations.
project-deck
Generate "future self" Beamer presentation decks as progress logs for research projects. Use when users ask to create a project deck, document project status, make slides summarizing their research, log what they've done on a project, or prepare update materials for coauthors. This skill creates dated LaTeX Beamer presentations (written to ./deck/project-deck-YYYYMMDD.tex) that preserve project context across work sessions - not for public speaking, but for communicating with your future self and collaborators.
anchor-expert-2026
Expert Anchor smart contract development for Solana (January 2026). Use when (1) Writing or auditing Solana programs, (2) Implementing security patterns, (3) Defining account structures and constraints, (4) Building CPI interactions, (5) Testing with Mollusk/LiteSVM, (6) Deploying programs, or any Anchor/Solana program development questions.
project-planner
Transforms project ideas into structured documentation (overview + specifications). Use when starting new projects or when brief needs project-level planning with vision, features, and technical requirements.
project-manager-gantt
Gestor de Projeto com Roadmap e Gantt. Use para analisar propostas de projeto, definir DoR/DoD, gerar cronograma detalhado e criar gráficos de Gantt. Ideal para quebrar projetos em tarefas com prazos realistas e dependências claras.
pmbok8-project-management
Sistema de agentes para generación automática de artefactos de gestión de proyectos basado en PMBOK 8 del PMI. Usar cuando se necesite crear documentación de proyectos como Actas de Constitución, WBS, Registros de Riesgos, Matrices RACI, Product Backlogs, Cronogramas, Presupuestos y cualquier otro entregable de gestión de proyectos. Soporta enfoques predictivos, ágiles e híbridos adaptando los artefactos según el ciclo de vida del proyecto. NUEVO: Incluye soporte multi-proveedor para Claude (narrativa/análisis) y Gemini (datos estructurados/cuantitativos).
project-setup
Interactive project setup for new repos using this template. Detects placeholder text in project.mdc, asks about tech stack, recommends skills, and configures the project. Trigger automatically when project.mdc contains "[Project Name]".
project-orchestrator:changelog
Use when completing changes to any service - ensures standardized changelog entries with correct format, location, and content.
archon-project
Gestion du projet MyGGV GPS dans Archon. Utiliser pour la documentation, les tâches, la recherche dans la knowledge base (Supabase docs, MapLibre docs, etc.), et le suivi de projet.