solana-anchor
Skill based on Anchor (Solana program framework), generated from
sources/solana-anchor/docs/at 2026-02-25.
Anchor is a Solana program framework: Rust eDSL with macros (declare_id, #[program], #[derive(Accounts)], #[account]), IDL generation, TypeScript/Rust clients, and CLI for build, test, and deploy. Use this skill when implementing or reviewing Anchor programs, CPIs, account validation, and client integration.
Core References
| Topic | Description | Reference |
|---|---|---|
| Program Structure | declare_id, #[program], #[derive(Accounts)], #[account], Context, discriminators | core-program-structure |
| CPI | Cross-program invocation, CpiContext, PDA signers, invoke/invoke_signed | core-cpi |
| IDL | Interface Description Language, instructions/accounts/discriminators, client use | core-idl |
| PDA | Program Derived Addresses, seeds, bump, seeds::program, init, IDL resolution | core-pda |
| Workspace | init, new, program layout, build/test/deploy flow | core-workspace |
| Realloc | Resize accounts, realloc::payer, realloc::zero | core-realloc |
| Close Account | close = target, rent reclamation | core-close-account |
| Remaining Accounts | ctx.remaining_accounts, variadic instructions, CPI | core-remaining-accounts |
References (Program & Config)
More from hairyf/blockchain-skills
solana
Solana blockchain development — core concepts, clients, RPC, tokens, and payments for agent-driven tooling.
6tron
TRON (java-tron) - account model, DPoS, resources, system contracts, TVM, TRC-10/TRC-20, DEX, APIs, events, TronGrid.
4solana-kit
Solana Kit (JavaScript SDK) — RPC, signers, transactions, accounts, codecs, instruction plans, and program clients for agent-driven Solana tooling.
4tronbox
Development framework and testing environment for TRON (TVM) and EVM-compatible chains — compile, migrate, test, and console.
3tonweb
TonWeb JavaScript SDK for TON. Wallets, BOC, HttpProvider, NFT, Jetton, DNS.
3viem
TypeScript interface for Ethereum — clients, contracts, accounts, chains, ENS, and utilities.
3