[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A7S27AD5AM3RT97EC5BK8M":3,"skill-same:01M7A7S27AD5AM3RT97EC5BK8M":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7A7S27AD5AM3RT97EC5BK8M","solana-dev-idl-codegen",null,"Generate type-safe program clients from IDLs using Codama, eliminating hand-maintained serializers across languages.","themusebook\u002Fskills","themusebook","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F349927247?v=4","01M7A5C1RV5S3V5FF6ZACVDNRN","musebook","01M7A5C1SFC3KRZAXNN60XJ7KM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fsolana-foundation\u002Fidl-codegen\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: solana-dev-idl-codegen\ndescription: Generate type-safe program clients from IDLs using Codama, eliminating hand-maintained serializers across languages.\nlicense: MIT\nmetadata:\n  author: Solana Foundation\n  version: \"2.7.0\"\n  source: https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill\n  category: Tooling\n---\n\n# IDL & Client Code Generation\n\n> **Solana Foundation skill — mirrored in the Musebook skills hub.**\n> This entry reproduces, verbatim, the `idl-codegen.md` reference of the\n> foundation-maintained **solana-dev** skill (v2.7.0, MIT) from\n> https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill. It is one of the 16 topic\n> references the solana-dev router discloses progressively; for the full\n> skill (router + all references + nested guides), install the upstream\n> original: `npx skills add https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill` — also mirrored in this hub as the\n> `solana-dev` entry. Maintained by the Solana Foundation; Musebook does\n> not author or maintain this content. Relative links in the body point\n> at the upstream skill's file layout and resolve in the full install.\n\n# IDLs + client generation (Codama \u002F Shank)\n\n## Goal\nNever hand-maintain multiple program clients by manually re-implementing serializers.\nPrefer an IDL-driven, code-generated workflow.\n\n## Codama (preferred)\n- Use Codama as the \"single program description format\" to generate:\n  - TypeScript clients (including Kit-friendly output)\n  - Rust clients (when available\u002Fneeded)\n  - documentation artifacts\n\n## Anchor → Codama\nIf the program is Anchor:\n1) Produce Anchor IDL from the build\n2) Convert Anchor IDL to Codama nodes (nodes-from-anchor)\n3) Render a Kit-native TypeScript client (codama renderers)\n\n## Native Rust → Shank → Codama\nIf the program is native:\n1) Use Shank macros to extract a Shank IDL from annotated Rust\n2) Convert Shank IDL to Codama\n3) Generate clients via Codama renderers\n\n## Repository structure recommendation\n- `programs\u002F\u003Cname>\u002F` (program source)\n- `idl\u002F\u003Cname>.json` (Anchor\u002FShank IDL)\n- `codama\u002F\u003Cname>.json` (Codama IDL)\n- `clients\u002Fts\u002F\u003Cname>\u002F` (generated TS client)\n- `clients\u002Frust\u002F\u003Cname>\u002F` (generated Rust client)\n\n## Generation guardrails\n- Codegen outputs should be checked into git if:\n  - you need deterministic builds\n  - you want users to consume the client without running codegen\n- Otherwise, keep codegen in CI and publish artifacts.\n\n## \"Do not do this\"\n- Do not write IDLs by hand unless you have no alternative.\n- Do not hand-write Borsh layouts for programs you own; use the IDL\u002Fcodegen pipeline.\n","# IDL & Client Code Generation\n\n> **Solana Foundation skill — mirrored in the Musebook skills hub.**\n> This entry reproduces, verbatim, the `idl-codegen.md` reference of the\n> foundation-maintained **solana-dev** skill (v2.7.0, MIT) from\n> https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill. It is one of the 16 topic\n> references the solana-dev router discloses progressively; for the full\n> skill (router + all references + nested guides), install the upstream\n> original: `npx skills add https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill` — also mirrored in this hub as the\n> `solana-dev` entry. Maintained by the Solana Foundation; Musebook does\n> not author or maintain this content. Relative links in the body point\n> at the upstream skill's file layout and resolve in the full install.\n\n# IDLs + client generation (Codama \u002F Shank)\n\n## Goal\nNever hand-maintain multiple program clients by manually re-implementing serializers.\nPrefer an IDL-driven, code-generated workflow.\n\n## Codama (preferred)\n- Use Codama as the \"single program description format\" to generate:\n  - TypeScript clients (including Kit-friendly output)\n  - Rust clients (when available\u002Fneeded)\n  - documentation artifacts\n\n## Anchor → Codama\nIf the program is Anchor:\n1) Produce Anchor IDL from the build\n2) Convert Anchor IDL to Codama nodes (nodes-from-anchor)\n3) Render a Kit-native TypeScript client (codama renderers)\n\n## Native Rust → Shank → Codama\nIf the program is native:\n1) Use Shank macros to extract a Shank IDL from annotated Rust\n2) Convert Shank IDL to Codama\n3) Generate clients via Codama renderers\n\n## Repository structure recommendation\n- `programs\u002F\u003Cname>\u002F` (program source)\n- `idl\u002F\u003Cname>.json` (Anchor\u002FShank IDL)\n- `codama\u002F\u003Cname>.json` (Codama IDL)\n- `clients\u002Fts\u002F\u003Cname>\u002F` (generated TS client)\n- `clients\u002Frust\u002F\u003Cname>\u002F` (generated Rust client)\n\n## Generation guardrails\n- Codegen outputs should be checked into git if:\n  - you need deterministic builds\n  - you want users to consume the client without running codegen\n- Otherwise, keep codegen in CI and publish artifacts.\n\n## \"Do not do this\"\n- Do not write IDLs by hand unless you have no alternative.\n- Do not hand-write Borsh layouts for programs you own; use the IDL\u002Fcodegen pipeline.\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"source":26,"version":27,"category":28},"Solana Foundation","https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill","2.7.0","Tooling","main","1c523aba5cdf867a79f078847075492d7778092a","public\u002Fapi\u002Fskills\u002Fsolana-foundation\u002Fidl-codegen",1,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002Fthemusebook","https:\u002F\u002Fmusebook.trade","The official Github of musebook","2026-11-02 23:42:26",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add themusebook\u002Fskills --skill solana-dev-idl-codegen",{"tool":45,"command":46},"bunx","bunx skills add themusebook\u002Fskills --skill solana-dev-idl-codegen",{"tool":48,"command":49},"pnpm","pnpm dlx skills add themusebook\u002Fskills --skill solana-dev-idl-codegen","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fsolana-foundation\u002Fidl-codegen\u002FSKILL.md",true,[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"metadata.json","REFERENCE","参考文档",321,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fsolana-foundation\u002Fidl-codegen\u002Fmetadata.json",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"verification.json",1025,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fsolana-foundation\u002Fidl-codegen\u002Fverification.json",[64,72,79,86,93,100],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7AB34SPKVSDRRG009PM1CZH","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7AB18BH6N7KR7939HRNWVMQ","viem-integration","Integrate EVM blockchains using viem. Use when user says \"read blockchain data\", \"send transaction\", \"interact with smart contract\", \"connect to Ethereum\", \"use viem\", \"use wagmi\", \"wallet integration\", \"viem setup\", or mentions blockchain\u002FEVM development with TypeScript.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fviem-integration\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7AB12GHGP48WCNXDQQ9222H","v4-security-foundations","Security-first Uniswap v4 hook development. Use when user mentions \"v4 hooks\", \"hook security\", \"PoolManager\", \"beforeSwap\", \"afterSwap\", or asks about V4 hook best practices, vulnerabilities, or audit requirements.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-security-foundations\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7AB0XM3PSR7V3Q2ZRR0Q0FB","v4-sdk-integration","App-layer SDK guide for building swap and liquidity experiences directly with the Uniswap v4 SDK. Use when user asks about \"v4 sdk\", \"uniswap v4\", \"v4 swap\", \"v4 liquidity\", \"PoolManager\", \"V4Planner\", \"StateView\", \"PositionManager\", \"pool state\", \"v4 position\", \"uniswap sdk\", or when building swap\u002Fliquidity UX directly with SDKs rather than via the Trading API.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-sdk-integration\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7AB0SGA93ASA588DJW4P9WT","v4-hook-generator","Generate Uniswap v4 hook contracts via OpenZeppelin MCP. Use when building custom swap logic, async swaps, hook-owned liquidity, custom curves, dynamic fees, MEV protection, limit orders, or oracle hooks.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-hook-generator\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7AAZYH75H4CS03WSW2EZ8DM","testing","For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002FSKILL.md",[],[]]