solana-development

Guide structured Solana program development in Rust with PDAs and CPIs.

4|2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/LaiTszKin/apollo-toolkit --skill solana-development-laitszkin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solana-development
Source: https://github.com/LaiTszKin/apollo-toolkit/tree/main/solana-development
Command: npx skills add https://github.com/LaiTszKin/apollo-toolkit --skill solana-development-laitszkin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Solana Rust development can be complex; this Skill provides a structured approach aligned with official Solana docs to build and maintain Solana programs and Rust clients.

Core Features & Use Cases

  • Align program structure with official Solana Rust patterns, including account modeling, PDAs, CPIs, and deployment strategies.
  • Provide a repeatable workflow for local testing, deployment, upgrades, and debugging in Rust-based Solana projects.
  • Reference official Solana docs to ensure version-accurate APIs and recommended practices across projects.

Quick Start

Read the official Solana Rust development references and scaffold a minimal native Solana program following the recommended structure.

Frequently Asked Questions about solana-development

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

FAQPage Schema
How do I structure a native Solana program in Rust using PDAs and CPIs?

Structure a native Solana program in Rust by explicitly defining program architecture, account modeling, PDA seeds, and CPI usage aligned with official Solana documentation. This enforces safe and correct deployments while providing a repeatable workflow for local testing and upgrades.

What is the best way to test and deploy Solana Rust programs locally?

The best way to test and deploy Solana Rust programs locally is to follow a structured, production-grade development guide. This provides a repeatable workflow for local testing, deployment, debugging, and program upgrades to ensure version-accurate API practices.

How do PDAs work in Solana on-chain development?

PDAs in Solana on-chain development work by using deterministic seeds to derive program-controlled accounts, ensuring explicit account modeling and safe program structure. This approach aligns with official Solana Rust patterns to manage account security and state correctly.

Do I need Rust to build Solana on-chain programs?

Yes, you need Rust to build Solana on-chain programs using this approach. It solves the complexities of Solana development by providing a structured guide for native Solana programs and Rust clients using the Solana SDK, ensuring safe and correct deployments.

Why does my Solana CPI call fail during on-chain program execution?

Solana CPI calls often fail due to misaligned program structure or incorrect PDA seeds. This Skill addresses these complexities by enforcing explicit CPI usage and alignment with official Solana docs, ensuring version-accurate APIs and safe deployments to prevent execution errors.

Can I use the Solana SDK to build a Rust client for my on-chain program?

Yes, you can use the Solana SDK to build a Rust client for your on-chain program. This Skill covers native Solana programs alongside Rust clients, providing a structured approach to account modeling and testing aligned with official Solana documentation.