Works with the AI Agents you already use

    Node.js to Rust Migration Pack: 15 Skills

    by jolupa

    1

    Fifteen skills that let your AI agent move a Node.js product (Express, Next.js, React Native, Socket.IO, Postgres) to Rust without breaking the clients and users you already have, with tools that prove every step.

    $49

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    What it does

    • Finds every endpoint, socket event, job and setting of your Node.js app before anything is rewritten
    • Plans the migration as small tasks several AI agents can work on at once without editing the same files
    • Keeps mobile users signed in and links working when the React Native app becomes native
    • Reviews and attacks the rewrite for security holes the port opened, and leaves tests that prove them
    • Plans a staged switch to the new system with a rehearsed way back, and judges each stage
    • Compares the new Rust API with the old one and lists every difference your apps would notice
    Node.js to Rust Migration Pack: 15 Skills

    Node.js to Rust Migration Pack: 15 Skills

    Example session with this skill installed

    The 5% canary of the Rust backend has been running since yesterday. The plans are in release/ and the canary numbers in release/canary-metrics.md. Should we promote it to 25%? Give a go / no-go with reasons in canary-review.md.

    • Read your context and instructions
    • Compiled the node js to

    Canary review: notes API, 5% → 25%

    Decision: NO-GO. Keep the canary at 5% (HOLD). Do not promote to 25%.

    No rollback threshold is breached, so there is no reason to pull the canary back to 0%. But the stage has not met its exit criterion ("every threshold passes over the full stage"), and the rollback that would protect a 25% cohort has never worked within its target time.

    Checker result (cutover_check.py --stage canary):
    [HOLD] 5xx rate: measured 0.00% vs <= 0.5%, but 600 events only bound it to 0.636% at this confidence: not proven, extend the stage
    [HOLD] p95 latency: measured 215 ms vs <= 1.2x baseline (limit 204): action hold
    [FAIL] login success rate: measured 99.2% vs >= 98%, but over 6h; the stage needs at least 24 h
    [FAIL] rollback rehearsal: no passing non-production rehearsal within the target time (1 recorded)
    [WARN] mobile clients: mobile releases cannot be rolled back: say how old and new app versions keep working
    verdict: HOLD

    Reasons

    1. p95 latency breaches its threshold: 215 ms against 204 ms (1.2 × the legacy 170 ms). The plan says hold on a breach.
    2. The 5xx rate is not proven. 0 errors in 600 requests only shows the rate is below 0.636% at 95% confidence; the limit is 0.5%. With no errors, the bound drops below 0.5% at about 765 requests in total: roughly 33 h at the current 23 requests an hour.
    3. Login success covers 6 h of a 24 h minimum, and it is a rollback trigger that went unwatched for about 20 h.
    4. The only rollback rehearsal failed: 12 min against a 5 min target, with a manual proxy restart.

    What would turn this into a GO: [the review goes on to list the fixes, the measurements still needed and who decides]

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Rewriting a working product is easy to start and hard to finish without breaking someone. The old API returned ids as strings, the old app kept tokens in a keychain entry nobody remembers, the old router accepted a trailing slash, the old middleware checked a role the new code forgot. A general AI agent misses most of these. This pack gives your agent the checklists, references and tools to find them first.

    What's inside

    • Understand the legacy: legacy-app-inventory (every endpoint with its full path and middleware, sockets, jobs, env vars, clients) and legacy-behavior-spec (cited, testable behavior specs).
    • Plan and coordinate: rust-migration-director splits the work into task contracts with write scopes, independent reviews and gates, for several agents in parallel.
    • Port: express-to-axum, sqlx-database-parity, realtime-protocol-parity (including old Socket.IO 2.x mobile clients), nextjs-to-leptos, react-native-to-native (SwiftUI and Compose apps that install over the store version without signing anyone out) and rust-cross-platform-core (one Rust core for web, iOS and Android).
    • Prove it: api-parity-testing (record the legacy, replay against the rewrite, classify every difference), visual-parity-testing (screens and accessibility snapshots, state by state) and migration-evidence-gate (nothing is "done" without a passing recorded run and an independent review).
    • Attack it: migration-security-review (what the port stopped enforcing, secrets in web and mobile bundles) and migration-red-team (authorization attacks that leave exploit tests).
    • Ship it: staged-cutover-rollback (canary stages, thresholds, rehearsed rollback and a verdict per stage).

    Each skill has its SKILL.md, references that load only when needed, templates and a bundled tool. The 18 Python scripts use the standard library only, are covered by 191 unit tests, and read nothing beyond the files and local URLs you give them.

    One program or many agents: the director checks where it runs. Inside Orca it uses Orca worktrees and worker agents; anywhere else it uses your program's own subagents (Claude Code, Codex, Cursor and others), or runs tasks one by one.

    Where it stops: the skills plan, port, test and review. They never deploy, publish apps, move production traffic or change production data; those steps stay with the people your plan names. Probes only target local or approved staging instances.

    Measured, not just claimed

    In a blind-graded benchmark, the same AI agent (Claude Opus 5.5) did 16 realistic migration tasks twice: once with these skills and once without any skill. The graders scored 114 assertions without knowing which run used the skills.

    With the packSame agent, no skills
    Assertions passed113 / 114 (99%)106 / 114 (93%)
    Tasks won / tied / lost5 / 11 / 0

    Without the skills, the agent missed these:

    • parallel tasks editing the same file
    • an admin list reachable through a trailing slash
    • a canary declared healthy on too little traffic to prove it
    • database collation
    • the deep links a native app must keep

    It also quoted part of a secret in a security review. With the skills, it used a fingerprint. On easy tasks a strong agent often does as well without help. The pack's value shows on the details that break production. The method, every task and the limitations are in BENCHMARK.md.

    It plans, ports, tests and reviews; it never deploys, publishes apps, moves production traffic or changes production data. Probes and attacks run only against local or approved staging instances with synthetic accounts. Building native apps needs Xcode (macOS) and the Android SDK. Parity checks compare behavior you can observe or record; they cannot prove behavior no test exercises. The guidance targets the library versions in the compatibility note. Orca is optional and not included.

    15 Agent Skills folders, each with SKILL.md, references loaded on demand, templates and Python 3.9+ standard-library tools (18 scripts, 191 unit tests). Tools: inventory.py (routes with full mount paths and middleware chains, sockets, jobs, env names), spec_lint.py, parity.py (record, replay, classify API drift: types, nulls, headers, cookies, caching, errors), evidence.py and gate.py (run receipts, task, feature and release gates), express_routes.py, legacy_compat.rs (Axum 0.8 helpers for legacy error bodies and JSON), db_audit.py (pg type parsers, time zones, collation, transactions), rt_parity.py (SocketIO EIO3/EIO4 probe and trace diff), next_routes.py (Next.js to Leptos route table and skeleton), rn_inventory.py (Expo secure-store, AsyncStorage, identifiers, deep links), portability_check.py (wasm32, iOS, Android hazards; optional cargo check per target), png_diff.py and capture.js (Playwright), rust_security_lint.py and secret_scan.py, authz_probe.py and campaign_check.py, cutover_check.py (thresholds, Wilson bounds, stage verdicts). State lives in migration-project/ in your repository. The director detects Orca from environment variables and otherwise uses the host's subagents.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Mac only

    Software
    Python 3.9+An AI agent with a terminal toolNode.jsPlaywright
    Optional
    GitRust toolchain (cargo, rustup)Node.js 18+ and Playwright
    Xcode
    orAndroid SDK (native apps)
    Orca (multi-agent mode)

    Each step uses the toolchains your migration already needs; a missing one is recorded as a blocker and the other skills keep working. The scripts install and download nothing.

    Permissions

    Terminal / Shell
    Network Access
    Read Files

    Three tools send HTTP requests, only to the base URLs you pass (parity.py, rt_parity.py, authz_probe.py) and only to local hosts unless you add --allow-remote. Environment variables read: MIGRATION_ACTOR (receipt author), the presence of Orca variables (to choose Orca or single-program mode), and only the variables you name for test credentials ({{env:NAME}}) or secret comparisons (--env). Secrets are reported by location and fingerprint, never by value. No script runs a shell.

    Listed1 day ago

    What's inside

    Frequently Asked Questions

    No. The skills cover the common Node.js stack in depth (Express or other Node APIs, Next.js, React Native or Expo, Socket.IO, PostgreSQL), and each one works on its own. The parity, evidence, security and cutover skills work for any stack you rewrite in Rust or another language.

    No. Outside Orca the director uses your program's own subagents, or runs the tasks one by one with independent reviews. Inside Orca it detects it and uses Orca worktrees and workers.

    Any client that reads Agent Skills (SKILL.md) and gives the agent a terminal, such as Claude Code, Codex, Cursor, Gemini CLI and OpenCode. No skill depends on a specific model.

    No. It never deploys, publishes apps, moves traffic or changes production data. The cutover skill writes and checks the plan and judges each stage from your measurements; people you name make the switch.

    They only target local instances unless you pass --allow-remote for an approved staging environment, use synthetic accounts, and report secrets by location and fingerprint, never by value.

    It runs tools instead of guessing: it resolves real routes and middleware, replays legacy traffic and diffs it, reads the exact keychain and keystore locations the old app used, lints the port for dropped auth layers and refuses to call work done without a passing recorded run.

    Yes, through your agent: the porting skills give it the patterns, compatibility helpers and checks to write Axum, SQLx, Leptos, SwiftUI and Compose code that behaves like the legacy. Every port is then verified against the legacy, not just compiled.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.