什么是 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