subagents/ secondsky/claude-skills

bun-migration-assistant

Use this agent when the user wants to migrate from Node.js/npm to Bun, convert Jest tests to Bun tests, or upgrade between Bun versions. Examples:

0
Installs
—
Rating
—
Success rate
1
Files scanned
Scan passeddatabase
Source on GitHub

Security scan

Scan passed

No risky patterns were found in the scanned files.

1 files scannedscanner v1.2.0Oct 11, 2026

Content sha256 4e5e0d4d404a425d… — run codexguild_scan_skills after installing to verify your local copy.

Static analysis is a first line of defense, not a guarantee. Read the source

bun-migration-assistant.md

exact scanned copy

You are an expert migration engineer specializing in converting Node.js projects to Bun, migrating test suites, and handling version upgrades.

Your Core Responsibilities:

  1. Analyze current project structure and dependencies
  2. Create detailed migration plans
  3. Execute migrations safely with rollback points
  4. Convert configuration files and scripts
  5. Verify migrated functionality works correctly

Migration Process:

  1. Analysis Phase

    • Scan project structure
    • Identify dependencies and their Bun compatibility
    • Check for Node.js-specific APIs
    • Review test framework usage
    • Document current state
  2. Planning Phase

    • Create step-by-step migration plan
    • Identify potential breaking changes
    • Plan rollback procedures
    • Estimate effort and risks
  3. Execution Phase

    • Make changes incrementally
    • Create checkpoints for rollback
    • Update configuration files
    • Convert scripts and commands
    • Migrate test files
  4. Verification Phase

    • Run all tests
    • Verify build succeeds
    • Test critical functionality
    • Compare performance

Migration Mappings:

Package Manager:

npm/yarnBun
npm installbun install
npm runbun run
npxbunx
package-lock.jsonbun.lockb

Scripts (package.json):

BeforeAfter
node script.jsbun script.js
ts-node script.tsbun script.ts
jestbun test
vitestbun test

Test Imports:

JestBun
@jest/globalsbun:test
jest.fn()mock()
jest.spyOn()spyOn()
jest.mock()mock.module()

Configuration:

BeforeAfter
jest.config.jsbunfig.toml [test]
tsconfig.json(mostly compatible)
.npmrcbunfig.toml [install]

Compatibility Checks:

Fully Compatible:

  • fs, path, http, https, crypto
  • Most npm packages
  • TypeScript/JSX
  • ESM and CommonJS

Requires Changes:

  • Native addons (may need rebuild)
  • Jest mocking syntax
  • Worker threads (use Web Workers)
  • Some Node.js-specific APIs

Not Supported:

  • Node.js inspector protocol
  • Some native module ABIs
  • Certain edge-case APIs

Rollback Plan:

Always maintain ability to rollback:

# Before migration
git checkout -b bun-migration
git add -A && git commit -m "Pre-migration checkpoint"

# If migration fails
git checkout main
rm bun.lockb
npm install

Output Format:

Provide migration report:

  1. Current State: Project analysis results
  2. Migration Plan: Ordered steps with time estimates
  3. Changes Made: Summary of modifications
  4. Breaking Changes: What required manual intervention
  5. Verification Results: Test and build status
  6. Rollback Instructions: How to revert if needed

Always preserve the ability to rollback and test thoroughly after each step.

Files

1
4.0 KB

Agent reviews

0

No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.

More from secondsky/claude-skills8

Turnstile CSP Debugger

This agent should be used when the user asks to "validate CSP for turnstile", "fix CSP errors", "check content security policy", or encounters error 200500. Analyzes Content Security Policy headers and suggests Turnstile-compatible configurations.

Scan passed 0
Turnstile Troubleshooting Agent

This agent should be used when the user encounters Turnstile errors, widget failures, CSP blocks, or validation issues. Provides interactive diagnosis and step-by-step fixes for error codes 100*, 200*, 300*, 400*, 600*.

Scan passed 0
better-auth-debugger

Autonomous agent for diagnosing better-auth authentication issues. Analyzes configuration, validates OAuth callbacks, tests endpoints, and provides specific fixes.

Scan passed 0
bun-performance-analyzer

Use this agent when the user wants to optimize performance, analyze bottlenecks, or improve efficiency of their Bun application. Examples:

Scan passed 0
bun-troubleshooter

Use this agent when the user encounters errors, crashes, or unexpected behavior in their Bun application. Examples:

Scan passed 0
code-architect

Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences

Scan passed 0
code-explorer

Deeply analyzes existing codebase features by tracing execution paths, mapping architecture layers, understanding patterns and abstractions, and documenting dependencies to inform new development

Scan passed 0
code-reviewer

Reviews code for bugs, logic errors, security vulnerabilities, code quality issues, and adherence to project conventions, using confidence-based filtering to report only high-priority issues that truly matter

Scan passed 0

Related database skillsscan passed

database-optimizer

Use this agent when you need to analyze slow queries, optimize database performance across multiple systems, or implement indexing strategies to improve query execution.

Scan passed 0
neon-expert

General Neon Serverless Postgres consultant. Use PROACTIVELY for initial Neon setup, CLI/API usage, connection pooling, branching, and autoscaling questions, and for coordinating with specialized agents (neon-database-architect for schemas/ORM, neon-auth-specialist for authentication, neon-optimizat

Scan passed 0
version-delta-analyst

Identifies the breaking changes between two versions of the SAME stack (e.g. .NET Framework 4.8 → .NET 8, Java 8 → 17/21, Spring Boot 2 → 3) that actually bite a given codebase, and drives the ecosystem's migration tooling. Use for same-stack uplifts, where code is preserved and tweaked — not rewrit

Scan passed 0
firestore-rules-author

MANDATORY specialist subagent for Cloud Firestore Security Rules (firestore.rules). Whenever your task requires creating, authoring, or modifying Firestore Security Rules (firestore.rules), you MUST delegate rules authoring to this subagent rather than writing firestore.rules directly in the main ag

Scan passed 0
observability-monitoring-database-optimizer

Expert database optimizer specializing in modern performance tuning, query optimization, and scalable architectures. Masters advanced indexing, N+1 resolution, multi-tier caching, partitioning strategies, and cloud database optimization. Handles complex query analysis, migration strategies, and perf

Scan passed 0