solana-kit-migration

Migrate Solana apps from @solana/web3.js v1 to @solana/kit with API mappings.

125|79|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/sendaifun/skills --skill solana-kit-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solana-kit-migration
Source: https://github.com/sendaifun/skills/tree/main/skills/solana-kit-migration
Command: npx skills add https://github.com/sendaifun/skills --skill solana-kit-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps developers migrate Solana applications from the older @solana/web3.js (v1) SDK to the modern @solana/kit, reducing migration risk and preserving functionality.

Core Features & Use Cases

  • Clear migration guidance: step-by-step patterns, API mappings, and best practices for a safe transition.
  • Hybrid strategies: guidance on mixing v1 and Kit via compat layers for gradual adoption.
  • Reference implementations: example migrations, code snippets, and tests to validate ported logic.

Quick Start

Start by running the migration analyzer against your codebase to estimate effort, review the provided references, and begin porting hot paths using the pattern examples in this Skill.

Frequently Asked Questions about solana-kit-migration

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

FAQPage Schema
How do I migrate my Solana web3.js app to the new Kit SDK?

You can migrate safely by running the provided migration analyzer to estimate effort, reviewing API mappings, and porting hot paths using included pattern examples and hybrid strategies.

Can I use @solana/kit and @solana/web3.js v1 together during migration?

Yes, you can use Kit and web3.js v1 together during migration by utilizing hybrid strategies and compat layers, allowing gradual adoption and reducing risk while porting logic incrementally.

What is the difference between @solana/web3.js v1 and @solana/kit?

The difference between web3.js v1 and Kit involves modernized TypeScript architecture, requiring API mappings to transition. The Skill provides reference docs and example migrations to bridge these structural changes.

How do I estimate the effort needed to port my codebase to Solana Kit?

To estimate the effort to port to Solana Kit, run the analysis scripts against your codebase to evaluate scope, identify edge cases, and determine the required API mappings for adoption.

Does this Solana migration approach handle edge cases and complex porting scenarios?

Yes, this Solana migration approach handles edge cases and complex porting scenarios by providing reference implementations, tests to validate ported logic, and specific patterns to reduce risk during adoption.