What problem does it solve? Writing Solana programs with Anchor or the native solana-program crate consumes excessive compute units and produces large binaries. This Skill guides you through building programs with Pinocchio, the zero-dependency, zero-copy framework that reduces compute usage by 88-95% and shrinks binary size by roughly 40%. ## Core Features & Use Cases - Account Validation Patterns: Implement struct-based contexts, TryFrom traits, builder patterns, and macro-based validation with bytemuck zero-copy deserialization. - CPI Reference: Invoke System Program and Token Program instructions (create accounts, transfer SOL, mint, burn, Token-2022 metadata) using pinocchio-system and pinocchio-token helpers, plus manual CPI for third-party programs. - Anchor Migration: Follow a step-by-step mapping from Anchor constraints, accounts, and CPIs to manual Pinocchio equivalents, with Shank IDL generation. - Use Case: You are building a high-throughput DEX where compute units are the bottleneck. Use this Skill to scaffold a Pinocchio program, define bytemuck account structs with single-byte discriminators, and implement PDA-signed token transfers at a fraction of Anchor's CU cost. ## Quick Start Ask the assistant to scaffold a new Pinocchio Solana program with a PDA vault that supports initialize, deposit, and withdraw instructions.