[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AAWY41MFA853FYRQ5ZPZB1":3,"skill-same:01M7AAWY41MFA853FYRQ5ZPZB1":53},{"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},"01M7AAWY41MFA853FYRQ5ZPZB1","solana-dev-kit-web3-interop",null,"How to handle legacy web3.js code — web3.js v3 (Kit internals, 3.0.0 since Oct 2026) is the migration target; defer migration mechanics to the official migration skill.","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\u002Fskills\u002Fsolana-foundation\u002Fkit-web3-interop\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: solana-dev-kit-web3-interop\ndescription: How to handle legacy web3.js code — web3.js v3 (Kit internals, 3.0.0 since Oct 2026) is the migration target; defer migration mechanics to the official migration skill.\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# Kit ↔ web3.js Interop\n\n> **Solana Foundation skill — mirrored in the Musebook skills hub.**\n> This entry reproduces, verbatim, the `kit-web3-interop.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# Kit ↔ web3.js Interop\n\n## The landscape (2026)\n\n`@solana\u002Fweb3.js` v3 is a rebuild of the classic class-based API (`Connection`, `Keypair`, `Transaction`) on top of `@solana\u002Fkit` internals, co-developed by Blueshift and the Solana Foundation.\n\n**Status: stable.** `@solana\u002Fweb3.js` 3.0.0 shipped on 2026-10-01 (3.1.1 as of Oct 19) together with a new `@solana\u002Fwallet-adapter` 3.0 package. 3.1.x depends on `@solana\u002Fkit ^8.5.0` (3.0.x on `^8.4.0`). 3.x is now the `latest` dist-tag, so `npm i @solana\u002Fweb3.js` installs it; a codebase that has to stay on 1.x pins `@solana\u002Fweb3.js@1`. The v3 work now lives on the repo's `main` branch (the `v3.x` branch is gone; 1.x continues on `maintenance\u002Fv1.x`). Treat v3 as the migration target for v1 codebases, not a default recommendation for new work.\n\nThe [3.0.0 release notes](https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-web3.js\u002Fblob\u002Fmain\u002Fpackages\u002Fweb3.js\u002FRELEASE_NOTES.md) list the breaking changes from 1.x. The ones that bite most: `Keypair.generate()` \u002F `fromSecretKey()` \u002F `fromSeed()` and `Transaction.serialize()` are async, `Connection`'s implicit default commitment is now `confirmed` (was `finalized`), many `Connection` results are `bigint` and `Uint8Array` instead of `number` and `Buffer`, and `getRecentBlockhash` \u002F `FeeCalculator` \u002F the `Account` class are gone.\n\n## Decision routing\n\n1. **Greenfield code** → use `@solana\u002Fkit` + plugins directly. Don't add web3.js at all. See [kit\u002Foverview.md](kit\u002Foverview.md).\n2. **Migrating a v1 codebase** → use the official migration skill. It is maintained alongside the source in the solana-web3.js repo and kept current with each release, so prefer it over hand-migrating from memory:\n   ```bash\n   npx skills add https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-web3.js\u002Ftree\u002Fmain\u002Fskills\u002Fweb3js-v1-to-v3-migration\n   ```\n   (Or install from the repo and select it: `npx skills add solana-foundation\u002Fsolana-web3.js -s web3js-v1-to-v3-migration`.) A companion guide in the same repo covers `@solana\u002Fspl-token` → `@solana-program\u002Ftoken`.\n3. **Found `@solana\u002Fweb3-compat` in a codebase** → it is superseded (an interim shim running the v1 API on Kit 5). Do not introduce it in new work; plan a migration to v3 or Kit.\n4. **A dependency expects v1 objects** (`Connection`, sync `Keypair`) → upgrade the dependency or isolate it in an adapter module. Do not downgrade your app to v1, and do not let legacy class types leak across the app.\n\n## Why the boundary is cheap in v3\n\nBecause v3 is built on Kit, the seams are shared types rather than conversion shims:\n\n- `PublicKey` is a deprecated alias of v3's `Address` class.\n- A v3 `Keypair` structurally satisfies Kit's `KeyPairSigner` — it can be passed directly to Kit APIs, Kit plugins, and Codama-generated clients.\n\nThe migration skill covers the rest (async signing, `bigint` RPC numerics, removed APIs, commitment defaults).\n\n## References\n\n- Repo (v3 on `main`): https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-web3.js\n- Migration guide: https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-web3.js\u002Fblob\u002Fmain\u002Fdocs\u002Fweb3js-v1-to-v3-migration.md\n- Migration skill: https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-web3.js\u002Fblob\u002Fmain\u002Fskills\u002Fweb3js-v1-to-v3-migration\u002FSKILL.md\n- API docs: https:\u002F\u002Fsolana-foundation.github.io\u002Fsolana-web3.js\u002F\n","# Kit ↔ web3.js Interop\n\n> **Solana Foundation skill — mirrored in the Musebook skills hub.**\n> This entry reproduces, verbatim, the `kit-web3-interop.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# Kit ↔ web3.js Interop\n\n## The landscape (2026)\n\n`@solana\u002Fweb3.js` v3 is a rebuild of the classic class-based API (`Connection`, `Keypair`, `Transaction`) on top of `@solana\u002Fkit` internals, co-developed by Blueshift and the Solana Foundation.\n\n**Status: stable.** `@solana\u002Fweb3.js` 3.0.0 shipped on 2026-10-01 (3.1.1 as of Oct 19) together with a new `@solana\u002Fwallet-adapter` 3.0 package. 3.1.x depends on `@solana\u002Fkit ^8.5.0` (3.0.x on `^8.4.0`). 3.x is now the `latest` dist-tag, so `npm i @solana\u002Fweb3.js` installs it; a codebase that has to stay on 1.x pins `@solana\u002Fweb3.js@1`. The v3 work now lives on the repo's `main` branch (the `v3.x` branch is gone; 1.x continues on `maintenance\u002Fv1.x`). Treat v3 as the migration target for v1 codebases, not a default recommendation for new work.\n\nThe [3.0.0 release notes](https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-web3.js\u002Fblob\u002Fmain\u002Fpackages\u002Fweb3.js\u002FRELEASE_NOTES.md) list the breaking changes from 1.x. The ones that bite most: `Keypair.generate()` \u002F `fromSecretKey()` \u002F `fromSeed()` and `Transaction.serialize()` are async, `Connection`'s implicit default commitment is now `confirmed` (was `finalized`), many `Connection` results are `bigint` and `Uint8Array` instead of `number` and `Buffer`, and `getRecentBlockhash` \u002F `FeeCalculator` \u002F the `Account` class are gone.\n\n## Decision routing\n\n1. **Greenfield code** → use `@solana\u002Fkit` + plugins directly. Don't add web3.js at all. See [kit\u002Foverview.md](kit\u002Foverview.md).\n2. **Migrating a v1 codebase** → use the official migration skill. It is maintained alongside the source in the solana-web3.js repo and kept current with each release, so prefer it over hand-migrating from memory:\n   ```bash\n   npx skills add https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-web3.js\u002Ftree\u002Fmain\u002Fskills\u002Fweb3js-v1-to-v3-migration\n   ```\n   (Or install from the repo and select it: `npx skills add solana-foundation\u002Fsolana-web3.js -s web3js-v1-to-v3-migration`.) A companion guide in the same repo covers `@solana\u002Fspl-token` → `@solana-program\u002Ftoken`.\n3. **Found `@solana\u002Fweb3-compat` in a codebase** → it is superseded (an interim shim running the v1 API on Kit 5). Do not introduce it in new work; plan a migration to v3 or Kit.\n4. **A dependency expects v1 objects** (`Connection`, sync `Keypair`) → upgrade the dependency or isolate it in an adapter module. Do not downgrade your app to v1, and do not let legacy class types leak across the app.\n\n## Why the boundary is cheap in v3\n\nBecause v3 is built on Kit, the seams are shared types rather than conversion shims:\n\n- `PublicKey` is a deprecated alias of v3's `Address` class.\n- A v3 `Keypair` structurally satisfies Kit's `KeyPairSigner` — it can be passed directly to Kit APIs, Kit plugins, and Codama-generated clients.\n\nThe migration skill covers the rest (async signing, `bigint` RPC numerics, removed APIs, commitment defaults).\n\n## References\n\n- Repo (v3 on `main`): https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-web3.js\n- Migration guide: https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-web3.js\u002Fblob\u002Fmain\u002Fdocs\u002Fweb3js-v1-to-v3-migration.md\n- Migration skill: https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-web3.js\u002Fblob\u002Fmain\u002Fskills\u002Fweb3js-v1-to-v3-migration\u002FSKILL.md\n- API docs: https:\u002F\u002Fsolana-foundation.github.io\u002Fsolana-web3.js\u002F\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","skills\u002Fsolana-foundation\u002Fkit-web3-interop",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-kit-web3-interop",{"tool":45,"command":46},"bunx","bunx skills add themusebook\u002Fskills --skill solana-dev-kit-web3-interop",{"tool":48,"command":49},"pnpm","pnpm dlx skills add themusebook\u002Fskills --skill solana-dev-kit-web3-interop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsolana-foundation\u002Fkit-web3-interop\u002FSKILL.md",true,[],[54,62,69,76,83,90],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":58,"sourceHtmlUrl":59,"categories":60,"keywords":61,"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":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"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":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"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":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"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":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"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":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"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",[],[]]