What problem does it solve? Writing Solana programs with Anchor or the native solana-program crate consumes excessive compute units and produces large binaries, and LLMs often generate outdated or incorrect low-level Solana code. This Skill provides accurate patterns for building programs with Pinocchio, the zero-dependency, zero-copy framework that reduces compute usage by 88-95% compared to Anchor. ## Core Features & Use Cases - Account Validation Patterns: Implement struct-based, TryFrom, builder, and macro-based account validation with signer, writable, owner, and PDA checks. - CPI Reference: Invoke System Program and Token Program instructions (CreateAccount, Transfer, MintTo, Burn) plus manual CPIs to third-party programs, with PDA signing via invoke_signed. - Anchor Migration: Convert Anchor accounts, constraints, handlers, and tests to Pinocchio equivalents, with Shank for IDL generation and Codama for clients. - Use Case: A developer building a high-throughput DEX on Solana uses this Skill to scaffold a Pinocchio program, define bytemuck account structs with single-byte discriminators, and implement PDA-signed token transfers that fit within tight compute budgets. ## Quick Start Ask the AI to scaffold a new Pinocchio Solana program with a PDA vault that supports initialize, deposit, and withdraw instructions.