Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/juicebox-upgrade-migration

@0d57af8
Run it yourself

Plan Juicebox SDK upgrades. Trigger: "upgrade juicebox", "juicebox migration".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/juicebox-upgrade-migration

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesimplementation.md

≈417 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Juicebox Upgrade Migration - Implementation

Version Check

npm list @juicebox/sdk | grep juicebox
npm view @juicebox/sdk version  # latest available

Safe Migration Pattern

async function runMigration(from: string, to: string): Promise<void> {
  const client = new JuiceboxClient({ apiKey: process.env.JUICEBOX_API_KEY! });

  // 1. Backup
  const snapshot = await client.createSnapshot({ label: `pre-migration-${to}` });
  console.log(`Snapshot: ${snapshot.id}`);

  // 2. Run
  try {
    const runner = new MigrationRunner(client);
    const results = await runner.migrate(from, to);
    if (results.errors.length > 0) throw new Error(`${results.errors.length} errors`);
    console.log(`Applied ${results.applied} migrations`);
  } catch (err) {
    // 3. Rollback on failure
    await client.restoreSnapshot(snapshot.id);
    throw err;
  }
}

Breaking Changes Audit

# Find deprecated v1 API calls
grep -r "juicebox\.v1\." src/ --include="*.ts"
# Replace with v2 equivalents per migration guide

Rollback via API

curl -X POST "https://api.juicebox.io/v1/snapshots/$SNAPSHOT_ID/restore" \
  -H "Authorization: Bearer $JUICEBOX_API_KEY"
# Returns: {"status":"restoring","eta_seconds":30}

Version Compatibility Matrix

SDK Version API Version Node.js Notes
1.x v1 14+ Legacy, EOL 2025
2.x v2 16+ Current stable
3.x v2 + v3 18+ Latest, recommended

Tons of Skills by Intent Solutions | jeremylongshore.com

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is a comprehensive guide for migrating and upgrading the Juicebox SDK. It includes version detection, schema migration examples, and rollback strategies. The network operations are limited to official Juicebox domains and GitHub for version checking. No malicious patterns, obfuscation, or unauthorized data access were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Edits files Runs commands
version
1.16.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "recruiting",
  "juicebox"
]
All 4 allowed tools
ReadWriteEditBash(npm:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/juicebox-upgrade-migration