Skip to content
Skill

generating-solana-projects

by aiskillstore

AI Summary

1. Gather requirements: Ask user for project name, program functionality, required instructions, and frontend features 2. Generate project structure: Create complete directory tree following Anchor conventions 3. Create Rust smart contract: Generate lib.rs, state.rs, errors.rs, and instruction handl

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "generating-solana-projects" skill in my project.

Please run this command in my terminal:
# Install skill into your project (5 files)
mkdir -p .claude/skills/generating-solana-projects && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/generating-solana-projects/SKILL.md "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/mszgy/generating-solana-projects/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/generating-solana-projects/README.md "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/mszgy/generating-solana-projects/README.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/generating-solana-projects/examples.md "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/mszgy/generating-solana-projects/examples.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/generating-solana-projects/reference.md "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/mszgy/generating-solana-projects/reference.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/generating-solana-projects/skill-report.json "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/mszgy/generating-solana-projects/skill-report.json"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Generates complete Solana blockchain projects with Anchor framework (v0.32.1) and Next.js frontend including Rust smart contracts, tests, and wallet integration. Use when creating Solana dApps, NFT marketplaces, token programs, DAOs, DeFi protocols, or when user mentions Solana, Anchor, or blockchain projects.

Generating Solana Projects

Goal: Create production-ready Solana blockchain projects with Anchor framework and Next.js frontend.

Workflow

• Gather requirements: Ask user for project name, program functionality, required instructions, and frontend features • Generate project structure: Create complete directory tree following Anchor conventions • Create Rust smart contract: Generate lib.rs, state.rs, errors.rs, and instruction handlers in programs/ • Create configuration files: Generate Anchor.toml, Cargo.toml, package.json, tsconfig.json with version 0.32.1 • Create tests: Generate TypeScript test file with Anchor testing framework setup • Create Next.js frontend: Generate wallet provider setup, Anchor client, and UI components in app/ • Provide setup instructions: Tell user to run anchor keys list, update program IDs, build, deploy, and test

Critical versions

Always use these exact versions for compatibility: • Anchor: 0.32.1 • anchor-lang (Rust): 0.32.1 • @coral-xyz/anchor (JS): ^0.32.1 • @solana/web3.js: ^1.87.6 • Next.js: 14.0.4

Project structure template

` {project-name}/ ├── Anchor.toml ├── Cargo.toml (workspace) ├── package.json ├── programs/{program-name}/ │ ├── Cargo.toml │ └── src/ │ ├── lib.rs │ ├── state.rs │ ├── errors.rs │ └── instructions/ ├── tests/{program-name}.ts └── app/ (Next.js) ├── package.json └── src/ ├── pages/_app.tsx ├── components/ └── utils/anchorSetup.ts `

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 10d ago
Active
Adoption100+ stars on GitHub
239 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars239
Forks15
Issues6
Updated10d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code