[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7955N5WN3TARHWMC3WKHPVH":3,"skill-same:01M7955N5WN3TARHWMC3WKHPVH":58},{"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":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M7955N5WN3TARHWMC3WKHPVH","replit-upgrade-migration",null,"Upgrade Replit Nix channels, migrate between database types, and update deployment targets.\nUse when upgrading Nix channel versions, migrating from Replit DB to PostgreSQL,\nswitching deployment types, or updating system dependencies.\nTrigger with phrases like \"upgrade replit\", \"replit nix upgrade\",\n\"migrate replit database\", \"replit version update\", \"replit channel update\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--replit-pack--replit-upgrade-migration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: replit-upgrade-migration\ndescription: |\n  Upgrade Replit Nix channels, migrate between database types, and update deployment targets.\n  Use when upgrading Nix channel versions, migrating from Replit DB to PostgreSQL,\n  switching deployment types, or updating system dependencies.\n  Trigger with phrases like \"upgrade replit\", \"replit nix upgrade\",\n  \"migrate replit database\", \"replit version update\", \"replit channel update\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Bash(pip:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, replit, migration, nix, upgrade]\n---\n# Replit Upgrade & Migration\n\n## Current State\n!`cat .replit 2>\u002Fdev\u002Fnull | head -15 || echo 'No .replit found'`\n!`cat replit.nix 2>\u002Fdev\u002Fnull || echo 'No replit.nix found'`\n\n## Overview\nGuide for upgrading Replit environments: Nix channel updates, package version bumps, database migrations (KV to PostgreSQL, dev to prod), deployment type changes, and Node.js\u002FPython runtime upgrades.\n\n## Prerequisites\n- Existing Replit App with `.replit` and `replit.nix`\n- Git version control (recommended)\n- Backup of critical data before migration\n\n## Instructions\n\n### Step 1: Upgrade Nix Channel\nNix channels determine available package versions. Upgrade to get newer runtimes.\n\n```toml\n# .replit — before\n[nix]\nchannel = \"stable-23_05\"\n\n# .replit — after (2024-2025 stable)\n[nix]\nchannel = \"stable-24_05\"\n```\n\nAfter changing the channel, reload the shell (exit Shell tab and re-enter). Then verify:\n```bash\nnode --version     # Should show newer version\npython3 --version  # Should show newer version\n```\n\n### Step 2: Upgrade Node.js or Python Runtime\n```nix\n# replit.nix — update runtime packages\n\n# Before (Node 18)\n{ pkgs }: {\n  deps = [\n    pkgs.nodejs-18_x\n    pkgs.nodePackages.typescript\n  ];\n}\n\n# After (Node 20)\n{ pkgs }: {\n  deps = [\n    pkgs.nodejs-20_x\n    pkgs.nodePackages.typescript-language-server\n    pkgs.nodePackages.pnpm\n  ];\n}\n```\n\n```toml\n# .replit — update modules to match\nmodules = [\"nodejs-20:v8-20230920-bd784b9\"]\n```\n\n**Verify after upgrade:**\n```bash\nnode --version         # v20.x.x\nnpm --version          # 10.x.x\nnpm test               # Run tests to catch breaking changes\n```\n\n### Step 3: Migrate from Replit KV to PostgreSQL\nWhen your app outgrows the 50 MiB KV database limit:\n\n```typescript\n\u002F\u002F scripts\u002Fmigrate-kv-to-postgres.ts\nimport Database from '@replit\u002Fdatabase';\nimport { Pool } from 'pg';\n\nconst kv = new Database();\nconst pool = new Pool({\n  connectionString: process.env.DATABASE_URL,\n  ssl: { rejectUnauthorized: false },\n});\n\nasync function migrate() {\n  \u002F\u002F Create table\n  await pool.query(`\n    CREATE TABLE IF NOT EXISTS kv_data (\n      key TEXT PRIMARY KEY,\n      value JSONB NOT NULL,\n      migrated_at TIMESTAMPTZ DEFAULT NOW()\n    )\n  `);\n\n  \u002F\u002F Read all KV entries\n  const keys = await kv.list();\n  console.log(`Migrating ${keys.length} keys...`);\n\n  let migrated = 0;\n  let errors = 0;\n\n  for (const key of keys) {\n    try {\n      const value = await kv.get(key);\n      await pool.query(\n        'INSERT INTO kv_data (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = $2',\n        [key, JSON.stringify(value)]\n      );\n      migrated++;\n    } catch (err: any) {\n      console.error(`Failed to migrate key \"${key}\": ${err.message}`);\n      errors++;\n    }\n  }\n\n  console.log(`Migration complete: ${migrated} migrated, ${errors} errors`);\n}\n\nmigrate().then(() => pool.end());\n```\n\n### Step 4: Switch Deployment Type\n```toml\n# .replit — change deployment target\n\n# From Autoscale (scales to zero):\n[deployment]\ndeploymentTarget = \"autoscale\"\nrun = [\"sh\", \"-c\", \"npm start\"]\n\n# To Reserved VM (always-on):\n[deployment]\ndeploymentTarget = \"cloudrun\"\nrun = [\"sh\", \"-c\", \"npm start\"]\n\n# To Static (frontend only):\n[deployment]\ndeploymentTarget = \"static\"\npublicDir = \"dist\"\n```\n\nAfter changing: click \"Deploy\" to create a new deployment with the new type.\n\n### Step 5: Migrate Large Files to Object Storage\n```typescript\n\u002F\u002F Move large values from KV to Object Storage\nimport Database from '@replit\u002Fdatabase';\nimport { Client } from '@replit\u002Fobject-storage';\n\nconst kv = new Database();\nconst storage = new Client();\n\nasync function migrateToObjectStorage(prefix: string) {\n  const keys = await kv.list(prefix);\n\n  for (const key of keys) {\n    const value = await kv.get(key);\n    const content = typeof value === 'string' ? value : JSON.stringify(value);\n\n    await storage.uploadFromText(`migrated\u002F${key}`, content);\n    await kv.delete(key);\n    console.log(`Migrated: ${key}`);\n  }\n}\n```\n\n### Step 6: Pre-Migration Checklist\n```markdown\n## Before Any Upgrade\n- [ ] Git commit current working state\n- [ ] Back up Replit KV data: export all keys to JSON file\n- [ ] Back up PostgreSQL: pg_dump or Replit snapshot\n- [ ] Note current deployment URL and settings\n- [ ] Run full test suite: npm test\n- [ ] Document current .replit and replit.nix content\n\n## After Upgrade\n- [ ] Reload shell (exit and re-enter Shell tab)\n- [ ] Verify runtime versions\n- [ ] npm install \u002F pip install (rebuild packages for new runtime)\n- [ ] Run full test suite\n- [ ] Test in Workspace Webview\n- [ ] Deploy and verify production health check\n- [ ] Monitor for 24 hours for regressions\n```\n\n## Error Handling\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `Package not found` after channel upgrade | Package renamed or removed | Search Nix packages: `nix-env -qaP \\| grep name` |\n| `node-gyp` build failure | Native addon incompatible | Update the addon or add Nix system deps |\n| PostgreSQL connection refused | Pool not using SSL | Add `ssl: { rejectUnauthorized: false }` |\n| Old deployment still running | Didn't redeploy | Click \"Deploy\" to apply new config |\n\n## Resources\n- [Replit App Configuration](https:\u002F\u002Fdocs.replit.com\u002Freplit-app\u002Fconfiguration)\n- [Nix on Replit](https:\u002F\u002Fdocs.replit.com\u002Fprogramming-ide\u002Fnix-on-replit)\n- [PostgreSQL on Replit](https:\u002F\u002Fdocs.replit.com\u002Fcloud-services\u002Fstorage-and-databases\u002Fpostgresql-on-replit)\n- [Deployment Types](https:\u002F\u002Fdocs.replit.com\u002Fhosting\u002Fdeployments)\n\n## Next Steps\nFor CI integration during upgrades, see `replit-ci-integration`.\n","# Replit Upgrade & Migration\n\n## Current State\n!`cat .replit 2>\u002Fdev\u002Fnull | head -15 || echo 'No .replit found'`\n!`cat replit.nix 2>\u002Fdev\u002Fnull || echo 'No replit.nix found'`\n\n## Overview\nGuide for upgrading Replit environments: Nix channel updates, package version bumps, database migrations (KV to PostgreSQL, dev to prod), deployment type changes, and Node.js\u002FPython runtime upgrades.\n\n## Prerequisites\n- Existing Replit App with `.replit` and `replit.nix`\n- Git version control (recommended)\n- Backup of critical data before migration\n\n## Instructions\n\n### Step 1: Upgrade Nix Channel\nNix channels determine available package versions. Upgrade to get newer runtimes.\n\n```toml\n# .replit — before\n[nix]\nchannel = \"stable-23_05\"\n\n# .replit — after (2024-2025 stable)\n[nix]\nchannel = \"stable-24_05\"\n```\n\nAfter changing the channel, reload the shell (exit Shell tab and re-enter). Then verify:\n```bash\nnode --version     # Should show newer version\npython3 --version  # Should show newer version\n```\n\n### Step 2: Upgrade Node.js or Python Runtime\n```nix\n# replit.nix — update runtime packages\n\n# Before (Node 18)\n{ pkgs }: {\n  deps = [\n    pkgs.nodejs-18_x\n    pkgs.nodePackages.typescript\n  ];\n}\n\n# After (Node 20)\n{ pkgs }: {\n  deps = [\n    pkgs.nodejs-20_x\n    pkgs.nodePackages.typescript-language-server\n    pkgs.nodePackages.pnpm\n  ];\n}\n```\n\n```toml\n# .replit — update modules to match\nmodules = [\"nodejs-20:v8-20230920-bd784b9\"]\n```\n\n**Verify after upgrade:**\n```bash\nnode --version         # v20.x.x\nnpm --version          # 10.x.x\nnpm test               # Run tests to catch breaking changes\n```\n\n### Step 3: Migrate from Replit KV to PostgreSQL\nWhen your app outgrows the 50 MiB KV database limit:\n\n```typescript\n\u002F\u002F scripts\u002Fmigrate-kv-to-postgres.ts\nimport Database from '@replit\u002Fdatabase';\nimport { Pool } from 'pg';\n\nconst kv = new Database();\nconst pool = new Pool({\n  connectionString: process.env.DATABASE_URL,\n  ssl: { rejectUnauthorized: false },\n});\n\nasync function migrate() {\n  \u002F\u002F Create table\n  await pool.query(`\n    CREATE TABLE IF NOT EXISTS kv_data (\n      key TEXT PRIMARY KEY,\n      value JSONB NOT NULL,\n      migrated_at TIMESTAMPTZ DEFAULT NOW()\n    )\n  `);\n\n  \u002F\u002F Read all KV entries\n  const keys = await kv.list();\n  console.log(`Migrating ${keys.length} keys...`);\n\n  let migrated = 0;\n  let errors = 0;\n\n  for (const key of keys) {\n    try {\n      const value = await kv.get(key);\n      await pool.query(\n        'INSERT INTO kv_data (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = $2',\n        [key, JSON.stringify(value)]\n      );\n      migrated++;\n    } catch (err: any) {\n      console.error(`Failed to migrate key \"${key}\": ${err.message}`);\n      errors++;\n    }\n  }\n\n  console.log(`Migration complete: ${migrated} migrated, ${errors} errors`);\n}\n\nmigrate().then(() => pool.end());\n```\n\n### Step 4: Switch Deployment Type\n```toml\n# .replit — change deployment target\n\n# From Autoscale (scales to zero):\n[deployment]\ndeploymentTarget = \"autoscale\"\nrun = [\"sh\", \"-c\", \"npm start\"]\n\n# To Reserved VM (always-on):\n[deployment]\ndeploymentTarget = \"cloudrun\"\nrun = [\"sh\", \"-c\", \"npm start\"]\n\n# To Static (frontend only):\n[deployment]\ndeploymentTarget = \"static\"\npublicDir = \"dist\"\n```\n\nAfter changing: click \"Deploy\" to create a new deployment with the new type.\n\n### Step 5: Migrate Large Files to Object Storage\n```typescript\n\u002F\u002F Move large values from KV to Object Storage\nimport Database from '@replit\u002Fdatabase';\nimport { Client } from '@replit\u002Fobject-storage';\n\nconst kv = new Database();\nconst storage = new Client();\n\nasync function migrateToObjectStorage(prefix: string) {\n  const keys = await kv.list(prefix);\n\n  for (const key of keys) {\n    const value = await kv.get(key);\n    const content = typeof value === 'string' ? value : JSON.stringify(value);\n\n    await storage.uploadFromText(`migrated\u002F${key}`, content);\n    await kv.delete(key);\n    console.log(`Migrated: ${key}`);\n  }\n}\n```\n\n### Step 6: Pre-Migration Checklist\n```markdown\n## Before Any Upgrade\n- [ ] Git commit current working state\n- [ ] Back up Replit KV data: export all keys to JSON file\n- [ ] Back up PostgreSQL: pg_dump or Replit snapshot\n- [ ] Note current deployment URL and settings\n- [ ] Run full test suite: npm test\n- [ ] Document current .replit and replit.nix content\n\n## After Upgrade\n- [ ] Reload shell (exit and re-enter Shell tab)\n- [ ] Verify runtime versions\n- [ ] npm install \u002F pip install (rebuild packages for new runtime)\n- [ ] Run full test suite\n- [ ] Test in Workspace Webview\n- [ ] Deploy and verify production health check\n- [ ] Monitor for 24 hours for regressions\n```\n\n## Error Handling\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `Package not found` after channel upgrade | Package renamed or removed | Search Nix packages: `nix-env -qaP \\| grep name` |\n| `node-gyp` build failure | Native addon incompatible | Update the addon or add Nix system deps |\n| PostgreSQL connection refused | Pool not using SSL | Add `ssl: { rejectUnauthorized: false }` |\n| Old deployment still running | Didn't redeploy | Click \"Deploy\" to apply new config |\n\n## Resources\n- [Replit App Configuration](https:\u002F\u002Fdocs.replit.com\u002Freplit-app\u002Fconfiguration)\n- [Nix on Replit](https:\u002F\u002Fdocs.replit.com\u002Fprogramming-ide\u002Fnix-on-replit)\n- [PostgreSQL on Replit](https:\u002F\u002Fdocs.replit.com\u002Fcloud-services\u002Fstorage-and-databases\u002Fpostgresql-on-replit)\n- [Deployment Types](https:\u002F\u002Fdocs.replit.com\u002Fhosting\u002Fdeployments)\n\n## Next Steps\nFor CI integration during upgrades, see `replit-ci-integration`.\n",{"name":5,"tags":24,"author":30,"license":15,"version":31,"description":32,"allowed-tools":33,"compatible-with":34},[25,26,27,28,29],"saas","replit","migration","nix","upgrade","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Upgrade Replit Nix channels, migrate between database types, and update deployment targets.\nUse when upgrading Nix channel versions, migrating from Replit DB to PostgreSQL,\nswitching deployment types, or updating system dependencies.\nTrigger with phrases like \"upgrade replit\", \"replit nix upgrade\",\n\"migrate replit database\", \"replit version update\", \"replit channel update\".\n","Read, Write, Edit, Bash(npm:*), Bash(pip:*)","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--replit-pack--replit-upgrade-migration",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill replit-upgrade-migration",{"tool":50,"command":51},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill replit-upgrade-migration",{"tool":53,"command":54},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill replit-upgrade-migration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--replit-pack--replit-upgrade-migration\u002FSKILL.md",true,[],[59,66,73,80,87,95],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]