What problem does it solve? Writing Solana programs with Anchor or the native solana-program crate consumes excessive compute units and produces large binaries, while Pinocchio's low-level API lacks guardrails, making account validation, CPI calls, and PDA handling error-prone for developers. ## Core Features & Use Cases - Zero-Copy Program Patterns: Provides bytemuck-based account structs, single-byte discriminators, and manual serialization patterns that reduce compute usage by 88-95% compared to Anchor. - CPI and PDA References: Includes ready-to-use System Program and Token Program CPI examples, PDA derivation and signing patterns, and manual CPI construction for third-party programs. - Anchor Migration & Optimization: Ships a step-by-step Anchor-to-Pinocchio migration guide, an optimization checklist, edge-case documentation, and a scaffolding script that generates a complete project skeleton. - Use Case: A developer building a high-throughput DEX on Solana uses this Skill to scaffold a Pinocchio program, implement validated account contexts, and migrate an existing Anchor vault to cut transaction compute costs. ## Quick Start Ask the AI to scaffold a new Pinocchio Solana program with a PDA vault that supports initialize, deposit, and withdraw instructions.