solana-simd

Reference Solana core primitives and SIMD proposals for on-chain program development.

1|1|Updated May 21, 2026
One-click install
npx skills add https://github.com/naruto11eth/cryptoskills --skill solana-simd-naruto11eth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solana-simd
Source: https://github.com/naruto11eth/cryptoskills/tree/main/skills/solana-simd
Command: npx skills add https://github.com/naruto11eth/cryptoskills --skill solana-simd-naruto11eth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI models trained on Ethereum patterns or outdated Solana docs produce broken Solana code — wrong assumptions about state storage, PDA bumps, rent, priority fees, and Token-2022 compatibility. This Skill provides accurate, current reference material on Solana's accounts model, PDAs, CPIs, Token Extensions, and key SIMD proposals so generated code actually compiles and behaves correctly. ## Core Features & Use Cases - Core Primitive Reference: Covers the accounts model, PDA derivation with canonical bumps, CPI patterns (invoke vs invoke_signed), rent-exemption calculations, and versioned transactions with Address Lookup Tables. - SIMD Lookup Workflow: Fetches any Solana Improvement Document on demand from the official GitHub repository, with a quick-reference table of key SIMDs (0033, 0046, 0047, 0096, 0172) and their activation status. - Token-2022 Guidance: Explains Token Extensions (transfer fees, non-transferable, metadata pointer, confidential transfers) and how to write programs compatible with both SPL Token and Token-2022. - Use Case: When building an Anchor vault program, use this Skill to derive PDAs correctly, sign token transfers with invoke_signed, calculate rent-exempt minimums, and set priority fees based on real-time network estimates. ## Quick Start Ask the agent to explain how to derive a PDA and sign a CPI token transfer from an Anchor vault program on Solana.

Frequently Asked Questions about solana-simd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I derive a PDA in Solana with Anchor?

Use Pubkey::find_program_address with your seeds and program ID to get the canonical bump, then store that bump in the account. In Anchor, the seeds and bump constraints on the account struct handle derivation and verification automatically.

What is the difference between invoke and invoke_signed in Solana CPIs?

invoke passes through existing signer privileges from the transaction, used when a human wallet signs. invoke_signed lets a PDA authorize a CPI by providing its seeds and bump, used when a program-controlled account must sign.

How do I look up a specific Solana SIMD proposal?

List the proposals directory in the solana-foundation/solana-improvement-documents GitHub repo, find the filename starting with the zero-padded SIMD number, then fetch the raw markdown file. The spec contains status, design details, and impact sections.

Does Token-2022 work with programs written for SPL Token?

No, programs that hardcode the SPL Token program ID will reject Token-2022 accounts. You must accept both program IDs, or use Anchor's TokenInterface with InterfaceAccount types and transfer_checked for full compatibility.

Why is my Solana transaction too large and how do I fix it?

Legacy transactions are limited to 1,232 bytes, roughly 35 accounts. Use versioned transactions with Address Lookup Tables to compress account references, supporting 256 or more accounts per transaction.

How are Solana priority fees calculated?

Priority fee equals compute units consumed multiplied by microLamports per compute unit, divided by one million. Always set both the compute unit limit and price, and use getRecentPrioritizationFees for real-time estimates.