什麼是 solana-anchor?
Anchor 框架的代理導向的技能 — Solana 程式結構、帳戶、CPI、IDL、用戶端和工具。 來源:hairyf/blockchain-skills。
Anchor 框架的代理導向的技能 — Solana 程式結構、帳戶、CPI、IDL、用戶端和工具。
透過命令列快速安裝 solana-anchor AI 技能到你的開發環境
來源:hairyf/blockchain-skills。
Skill based on Anchor (Solana program framework), generated from sources/solana-anchor/docs/ at 2026-02-25.
Anchor is a Solana program framework: Rust eDSL with macros (declareid, #[program], #[derive(Accounts)], #[account]), IDL generation, TypeScript/Rust clients, and CLI for build, test, and deploy. Use this skill when implementing or reviewing Anchor programs, CPIs, account validation, and client integration.
| Program Structure | declareid, #[program], #[derive(Accounts)], #[account], Context, discriminators | core-program-structure | | CPI | Cross-program invocation, CpiContext, PDA signers, invoke/invokesigned | core-cpi | | IDL | Interface Description Language, instructions/accounts/discriminators, client use | core-idl |
Anchor 框架的代理導向的技能 — Solana 程式結構、帳戶、CPI、IDL、用戶端和工具。 來源:hairyf/blockchain-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/hairyf/blockchain-skills --skill solana-anchorAnchor 框架的代理導向的技能 — Solana 程式結構、帳戶、CPI、IDL、用戶端和工具。 來源:hairyf/blockchain-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/hairyf/blockchain-skills --skill solana-anchor 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/hairyf/blockchain-skills