solana-wingman

Solana development tutor and builder. Teaches smart contract (program) development through Solana-native challenges, Anchor framework, and security best practices.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "solana-wingman" with this command: npx skills add x4484/solana-wingman/x4484-solana-wingman-solana-wingman

Solana Wingman

A comprehensive Solana development tutor and guide. Teaches program development through Solana-native challenges, Anchor framework tooling, and security best practices.

The Most Important Concept

ACCOUNTS ARE EVERYTHING ON SOLANA.

Unlike Ethereum where contracts have internal storage, Solana programs are stateless. All data lives in accounts that programs read and write.

For every feature, ask:

  • Where does this data live? (which account)
  • Who owns that account? (program-owned vs user-owned)
  • Is it a PDA? (Program Derived Address - deterministic, no private key)
  • Who pays rent? (rent-exempt = 2 years upfront)

Quick Start

# 1. Create project folder
mkdir my-solana-project && cd my-solana-project

# 2. Initialize Anchor project
anchor init my_program

# 3. Start local validator
solana-test-validator

# 4. Build and test
anchor build
anchor test

What I Help With

🎓 Teaching Mode

  • "How do PDAs work?"
  • "Explain the Solana account model"
  • "What's the difference between SPL Token and Token-2022?"

🔨 Build Mode

  • "Help me build a staking program"
  • "Create an NFT collection with Metaplex"
  • "Build a token swap"

🔍 Review Mode

  • "Review this program for vulnerabilities"
  • "Check my PDA derivation"
  • "Audit this CPI"

🐛 Debug Mode

  • "Why is my transaction failing?"
  • "Debug this 'account not found' error"
  • "Fix my token transfer"

Critical Gotchas

Read references/critical-gotchas.md for the full list. Key ones:

  1. Account Model ≠ EVM Storage - Every piece of data needs an account
  2. PDAs Have No Private Key - Derived deterministically from seeds
  3. Token Accounts Are Separate - Each token needs its own account per wallet
  4. Rent Must Be Paid - Accounts need SOL to exist (2 years = rent-exempt)
  5. Compute Units ≠ Gas - Fixed budget, request more if needed

Challenges

Located in knowledge/challenges/:

#ChallengeCore Concept
0Hello SolanaFirst Anchor program
1SPL TokenFungible tokens, ATAs
2NFT MetaplexNFT standard, metadata
3PDA EscrowPDAs, program authority
4StakingTime-based rewards
5Token-2022Modern token extensions
6Compressed NFTsState compression
7Oracle (Pyth)Price feeds
8AMM SwapDEX mechanics
9BlinksShareable transactions

References

  • references/critical-gotchas.md - Must-know pitfalls
  • ../../knowledge/foundations/01-account-model.md - Deep dive on accounts
  • ../../knowledge/foundations/02-pdas.md - PDA patterns and examples

External Resources

Related Skills

  • ../solana-defi/SKILL.md - Jupiter DeFi integrations
  • ../solana-blinks/SKILL.md - Blinks & Actions builder
  • ../solana-security/SKILL.md - Security auditor

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Due Diligence Data Room

Organize, audit, and generate investor or acquirer due diligence data rooms for startups and SMBs. Maps required documents by category (financial, legal, HR,...

Registry SourceRecently Updated
Security

Open Code Review

Scan AI-generated code for hallucinated packages, stale APIs, security anti-patterns, and over-engineering. Use when: (1) reviewing PRs with AI-generated cod...

Registry SourceRecently Updated
110Profile unavailable
Security

Nginx Config

Nginx配置生成。服务器配置、反向代理、SSL、缓存、安全加固、性能优化。Nginx config generator with reverse proxy, SSL, caching, security, optimization. Nginx、服务器、运维。

Registry SourceRecently Updated
1900Profile unavailable
Security

Credential Tester

A little tool to play with Windows security credential-tester, c. Use when you need credential-tester capabilities. Triggers on: credential-tester.

Registry SourceRecently Updated
990Profile unavailable