[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CCE0FK6N8XAB093X7TTQ4F":3,"skill-same:01M6CCE0FK6N8XAB093X7TTQ4F":73},{"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":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":14,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":40,"install":41,"resources":54},"01M6CCE0FK6N8XAB093X7TTQ4F","migration-helper",null,"Plan and execute Convex schema migrations safely, including adding fields, creating tables, and data transformations. Use when schema changes affect existing data.","baisharg\u002FASTN","baisharg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F204916775?v=4","01M6CC8XHZYVK2DR22FZ1BESCG","BAISH","01M6CC8XP400QZ9DXAWTC8EG3X",2,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmigration-helper\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"migration","migration helper","convex","schema migrations safely","data","plan","execute","use","schema","migrations","2026-11-10 10:12:30",false,"---\nname: migration-helper\ndescription: Plan and execute Convex schema migrations safely, including adding fields, creating tables, and data transformations. Use when schema changes affect existing data.\n---\n\n# Convex Migration Helper\n\nSafely migrate Convex schemas and data when making breaking changes.\n\n## When to Use\n\n- Adding new required fields to existing tables\n- Changing field types or structure\n- Splitting or merging tables\n- Renaming fields\n- Migrating from nested to relational data\n\n## Migration Principles\n\n1. **No Automatic Migrations**: Convex doesn't automatically migrate data\n2. **Additive Changes are Safe**: Adding optional fields or new tables is safe\n3. **Breaking Changes Need Code**: Required fields, type changes need migration code\n4. **Zero-Downtime**: Write migrations to keep app running during migration\n\n## Safe Changes (No Migration Needed)\n\n### Adding Optional Field\n\n```typescript\n\u002F\u002F Before\nusers: defineTable({\n  name: v.string(),\n})\n\n\u002F\u002F After - Safe! New field is optional\nusers: defineTable({\n  name: v.string(),\n  bio: v.optional(v.string()),\n})\n```\n\n### Adding New Table\n\n```typescript\n\u002F\u002F Safe to add completely new tables\nposts: defineTable({\n  userId: v.id('users'),\n  title: v.string(),\n}).index('by_user', ['userId'])\n```\n\n### Adding Index\n\n```typescript\n\u002F\u002F Safe to add indexes at any time\nusers: defineTable({\n  name: v.string(),\n  email: v.string(),\n}).index('by_email', ['email']) \u002F\u002F New index\n```\n\n## Breaking Changes (Migration Required)\n\n### Adding Required Field\n\n**Problem**: Existing documents won't have the new field.\n\n**Solution**: Add as optional first, backfill data, then make required.\n\n```typescript\n\u002F\u002F Step 1: Add as optional\nusers: defineTable({\n  name: v.string(),\n  email: v.optional(v.string()), \u002F\u002F Start optional\n})\n\n\u002F\u002F Step 2: Create migration\nimport { internalMutation } from '.\u002F_generated\u002Fserver'\nimport { v } from 'convex\u002Fvalues'\n\nexport const backfillEmails = internalMutation({\n  args: {},\n  handler: async (ctx) => {\n    const users = await ctx.db.query('users').collect()\n\n    for (const user of users) {\n      if (!user.email) {\n        await ctx.db.patch(user._id, {\n          email: `user-${user._id}@example.com`, \u002F\u002F Default value\n        })\n      }\n    }\n  },\n})\n\n\u002F\u002F Step 3: Run migration via dashboard or CLI\n\u002F\u002F npx convex run migrations:backfillEmails\n\n\u002F\u002F Step 4: Make field required (after all data migrated)\nusers: defineTable({\n  name: v.string(),\n  email: v.string(), \u002F\u002F Now required\n})\n```\n\n### Changing Field Type\n\n**Example**: Change `tags: v.array(v.string())` to separate table\n\n```typescript\n\u002F\u002F Step 1: Create new structure (additive)\ntags: defineTable({\n  name: v.string(),\n}).index(\"by_name\", [\"name\"]),\n\npostTags: defineTable({\n  postId: v.id(\"posts\"),\n  tagId: v.id(\"tags\"),\n})\n  .index(\"by_post\", [\"postId\"])\n  .index(\"by_tag\", [\"tagId\"]),\n\n\u002F\u002F Keep old field as optional during migration\nposts: defineTable({\n  title: v.string(),\n  tags: v.optional(v.array(v.string())), \u002F\u002F Keep temporarily\n})\n\n\u002F\u002F Step 2: Write migration\nexport const migrateTags = internalMutation({\n  args: { batchSize: v.optional(v.number()) },\n  handler: async (ctx, args) => {\n    const batchSize = args.batchSize ?? 100;\n\n    const posts = await ctx.db\n      .query(\"posts\")\n      .filter(q => q.neq(q.field(\"tags\"), undefined))\n      .take(batchSize);\n\n    for (const post of posts) {\n      if (!post.tags || post.tags.length === 0) {\n        await ctx.db.patch(post._id, { tags: undefined });\n        continue;\n      }\n\n      \u002F\u002F Create tags and relationships\n      for (const tagName of post.tags) {\n        \u002F\u002F Get or create tag\n        let tag = await ctx.db\n          .query(\"tags\")\n          .withIndex(\"by_name\", q => q.eq(\"name\", tagName))\n          .unique();\n\n        if (!tag) {\n          const tagId = await ctx.db.insert(\"tags\", { name: tagName });\n          tag = { _id: tagId, name: tagName };\n        }\n\n        \u002F\u002F Create relationship\n        const existing = await ctx.db\n          .query(\"postTags\")\n          .withIndex(\"by_post\", q => q.eq(\"postId\", post._id))\n          .filter(q => q.eq(q.field(\"tagId\"), tag._id))\n          .unique();\n\n        if (!existing) {\n          await ctx.db.insert(\"postTags\", {\n            postId: post._id,\n            tagId: tag._id,\n          });\n        }\n      }\n\n      \u002F\u002F Remove old field\n      await ctx.db.patch(post._id, { tags: undefined });\n    }\n\n    return { migrated: posts.length };\n  },\n});\n\n\u002F\u002F Step 3: Run in batches via cron or manually\n\u002F\u002F Run multiple times until all migrated\n\n\u002F\u002F Step 4: Remove old field from schema\nposts: defineTable({\n  title: v.string(),\n  \u002F\u002F tags field removed\n})\n```\n\n### Renaming Field\n\n```typescript\n\u002F\u002F Step 1: Add new field (optional)\nusers: defineTable({\n  name: v.string(),\n  displayName: v.optional(v.string()), \u002F\u002F New name\n})\n\n\u002F\u002F Step 2: Copy data\nexport const renameField = internalMutation({\n  handler: async (ctx) => {\n    const users = await ctx.db.query('users').collect()\n\n    for (const user of users) {\n      await ctx.db.patch(user._id, {\n        displayName: user.name,\n      })\n    }\n  },\n})\n\n\u002F\u002F Step 3: Update schema (remove old field)\nusers: defineTable({\n  displayName: v.string(),\n})\n\n\u002F\u002F Step 4: Update all code to use new field name\n```\n\n## Migration Patterns\n\n### Batch Processing\n\nFor large tables, process in batches:\n\n```typescript\nexport const migrateBatch = internalMutation({\n  args: {\n    cursor: v.optional(v.string()),\n    batchSize: v.number(),\n  },\n  handler: async (ctx, args) => {\n    const batchSize = args.batchSize\n    let query = ctx.db.query('largeTable')\n\n    \u002F\u002F Use cursor for pagination if needed\n    const items = await query.take(batchSize)\n\n    for (const item of items) {\n      await ctx.db.patch(item._id, {\n        \u002F\u002F migration logic\n      })\n    }\n\n    return {\n      processed: items.length,\n      hasMore: items.length === batchSize,\n    }\n  },\n})\n```\n\n### Scheduled Migration\n\nUse cron jobs for gradual migration:\n\n```typescript\n\u002F\u002F convex\u002Fcrons.ts\nimport { cronJobs } from 'convex\u002Fserver'\nimport { internal } from '.\u002F_generated\u002Fapi'\n\nconst crons = cronJobs()\n\ncrons.interval(\n  'migrate-batch',\n  { minutes: 5 }, \u002F\u002F Every 5 minutes\n  internal.migrations.migrateBatch,\n  { batchSize: 100 },\n)\n\nexport default crons\n```\n\n### Dual-Write Pattern\n\nFor zero-downtime migrations:\n\n```typescript\n\u002F\u002F Write to both old and new structure during transition\nexport const createPost = mutation({\n  args: { title: v.string(), tags: v.array(v.string()) },\n  handler: async (ctx, args) => {\n    const user = await getCurrentUser(ctx)\n\n    \u002F\u002F Create post\n    const postId = await ctx.db.insert('posts', {\n      userId: user._id,\n      title: args.title,\n      \u002F\u002F Keep writing old field during migration\n      tags: args.tags,\n    })\n\n    \u002F\u002F ALSO write to new structure\n    for (const tagName of args.tags) {\n      let tag = await ctx.db\n        .query('tags')\n        .withIndex('by_name', (q) => q.eq('name', tagName))\n        .unique()\n\n      if (!tag) {\n        const tagId = await ctx.db.insert('tags', { name: tagName })\n        tag = { _id: tagId }\n      }\n\n      await ctx.db.insert('postTags', {\n        postId,\n        tagId: tag._id,\n      })\n    }\n\n    return postId\n  },\n})\n\n\u002F\u002F After migration complete, remove old writes\n```\n\n## Testing Migrations\n\n### Verify Migration Success\n\n```typescript\nexport const verifyMigration = query({\n  args: {},\n  handler: async (ctx) => {\n    const total = (await ctx.db.query('users').collect()).length\n    const migrated = (\n      await ctx.db\n        .query('users')\n        .filter((q) => q.neq(q.field('newField'), undefined))\n        .collect()\n    ).length\n\n    return {\n      total,\n      migrated,\n      remaining: total - migrated,\n      percentComplete: (migrated \u002F total) * 100,\n    }\n  },\n})\n```\n\n## Migration Checklist\n\n- [ ] Identify breaking change\n- [ ] Add new structure as optional\u002Fadditive\n- [ ] Write migration function (internal mutation)\n- [ ] Test migration on sample data\n- [ ] Run migration in batches if large dataset\n- [ ] Verify migration completed (all records updated)\n- [ ] Update application code to use new structure\n- [ ] Deploy new code\n- [ ] Remove old fields from schema\n- [ ] Clean up migration code\n\n## Common Pitfalls\n\n1. **Don't make field required immediately**: Always add as optional first\n2. **Don't migrate in a single transaction**: Batch large migrations\n3. **Don't forget to update queries**: Update all code using old field\n4. **Don't delete old field too soon**: Wait until all data migrated\n5. **Test thoroughly**: Verify migration on dev environment first\n\n## Example: Complete Migration Flow\n\n```typescript\n\u002F\u002F 1. Current schema\nexport default defineSchema({\n  users: defineTable({\n    name: v.string(),\n  }),\n})\n\n\u002F\u002F 2. Add optional field\nexport default defineSchema({\n  users: defineTable({\n    name: v.string(),\n    role: v.optional(v.union(v.literal('user'), v.literal('admin'))),\n  }),\n})\n\n\u002F\u002F 3. Migration function\nexport const addDefaultRoles = internalMutation({\n  handler: async (ctx) => {\n    const users = await ctx.db.query('users').collect()\n    for (const user of users) {\n      if (!user.role) {\n        await ctx.db.patch(user._id, { role: 'user' })\n      }\n    }\n  },\n})\n\n\u002F\u002F 4. Run migration: npx convex run migrations:addDefaultRoles\n\n\u002F\u002F 5. Verify: Check all users have role\n\n\u002F\u002F 6. Make required\nexport default defineSchema({\n  users: defineTable({\n    name: v.string(),\n    role: v.union(v.literal('user'), v.literal('admin')),\n  }),\n})\n```\n","# Convex Migration Helper\n\nSafely migrate Convex schemas and data when making breaking changes.\n\n## When to Use\n\n- Adding new required fields to existing tables\n- Changing field types or structure\n- Splitting or merging tables\n- Renaming fields\n- Migrating from nested to relational data\n\n## Migration Principles\n\n1. **No Automatic Migrations**: Convex doesn't automatically migrate data\n2. **Additive Changes are Safe**: Adding optional fields or new tables is safe\n3. **Breaking Changes Need Code**: Required fields, type changes need migration code\n4. **Zero-Downtime**: Write migrations to keep app running during migration\n\n## Safe Changes (No Migration Needed)\n\n### Adding Optional Field\n\n```typescript\n\u002F\u002F Before\nusers: defineTable({\n  name: v.string(),\n})\n\n\u002F\u002F After - Safe! New field is optional\nusers: defineTable({\n  name: v.string(),\n  bio: v.optional(v.string()),\n})\n```\n\n### Adding New Table\n\n```typescript\n\u002F\u002F Safe to add completely new tables\nposts: defineTable({\n  userId: v.id('users'),\n  title: v.string(),\n}).index('by_user', ['userId'])\n```\n\n### Adding Index\n\n```typescript\n\u002F\u002F Safe to add indexes at any time\nusers: defineTable({\n  name: v.string(),\n  email: v.string(),\n}).index('by_email', ['email']) \u002F\u002F New index\n```\n\n## Breaking Changes (Migration Required)\n\n### Adding Required Field\n\n**Problem**: Existing documents won't have the new field.\n\n**Solution**: Add as optional first, backfill data, then make required.\n\n```typescript\n\u002F\u002F Step 1: Add as optional\nusers: defineTable({\n  name: v.string(),\n  email: v.optional(v.string()), \u002F\u002F Start optional\n})\n\n\u002F\u002F Step 2: Create migration\nimport { internalMutation } from '.\u002F_generated\u002Fserver'\nimport { v } from 'convex\u002Fvalues'\n\nexport const backfillEmails = internalMutation({\n  args: {},\n  handler: async (ctx) => {\n    const users = await ctx.db.query('users').collect()\n\n    for (const user of users) {\n      if (!user.email) {\n        await ctx.db.patch(user._id, {\n          email: `user-${user._id}@example.com`, \u002F\u002F Default value\n        })\n      }\n    }\n  },\n})\n\n\u002F\u002F Step 3: Run migration via dashboard or CLI\n\u002F\u002F npx convex run migrations:backfillEmails\n\n\u002F\u002F Step 4: Make field required (after all data migrated)\nusers: defineTable({\n  name: v.string(),\n  email: v.string(), \u002F\u002F Now required\n})\n```\n\n### Changing Field Type\n\n**Example**: Change `tags: v.array(v.string())` to separate table\n\n```typescript\n\u002F\u002F Step 1: Create new structure (additive)\ntags: defineTable({\n  name: v.string(),\n}).index(\"by_name\", [\"name\"]),\n\npostTags: defineTable({\n  postId: v.id(\"posts\"),\n  tagId: v.id(\"tags\"),\n})\n  .index(\"by_post\", [\"postId\"])\n  .index(\"by_tag\", [\"tagId\"]),\n\n\u002F\u002F Keep old field as optional during migration\nposts: defineTable({\n  title: v.string(),\n  tags: v.optional(v.array(v.string())), \u002F\u002F Keep temporarily\n})\n\n\u002F\u002F Step 2: Write migration\nexport const migrateTags = internalMutation({\n  args: { batchSize: v.optional(v.number()) },\n  handler: async (ctx, args) => {\n    const batchSize = args.batchSize ?? 100;\n\n    const posts = await ctx.db\n      .query(\"posts\")\n      .filter(q => q.neq(q.field(\"tags\"), undefined))\n      .take(batchSize);\n\n    for (const post of posts) {\n      if (!post.tags || post.tags.length === 0) {\n        await ctx.db.patch(post._id, { tags: undefined });\n        continue;\n      }\n\n      \u002F\u002F Create tags and relationships\n      for (const tagName of post.tags) {\n        \u002F\u002F Get or create tag\n        let tag = await ctx.db\n          .query(\"tags\")\n          .withIndex(\"by_name\", q => q.eq(\"name\", tagName))\n          .unique();\n\n        if (!tag) {\n          const tagId = await ctx.db.insert(\"tags\", { name: tagName });\n          tag = { _id: tagId, name: tagName };\n        }\n\n        \u002F\u002F Create relationship\n        const existing = await ctx.db\n          .query(\"postTags\")\n          .withIndex(\"by_post\", q => q.eq(\"postId\", post._id))\n          .filter(q => q.eq(q.field(\"tagId\"), tag._id))\n          .unique();\n\n        if (!existing) {\n          await ctx.db.insert(\"postTags\", {\n            postId: post._id,\n            tagId: tag._id,\n          });\n        }\n      }\n\n      \u002F\u002F Remove old field\n      await ctx.db.patch(post._id, { tags: undefined });\n    }\n\n    return { migrated: posts.length };\n  },\n});\n\n\u002F\u002F Step 3: Run in batches via cron or manually\n\u002F\u002F Run multiple times until all migrated\n\n\u002F\u002F Step 4: Remove old field from schema\nposts: defineTable({\n  title: v.string(),\n  \u002F\u002F tags field removed\n})\n```\n\n### Renaming Field\n\n```typescript\n\u002F\u002F Step 1: Add new field (optional)\nusers: defineTable({\n  name: v.string(),\n  displayName: v.optional(v.string()), \u002F\u002F New name\n})\n\n\u002F\u002F Step 2: Copy data\nexport const renameField = internalMutation({\n  handler: async (ctx) => {\n    const users = await ctx.db.query('users').collect()\n\n    for (const user of users) {\n      await ctx.db.patch(user._id, {\n        displayName: user.name,\n      })\n    }\n  },\n})\n\n\u002F\u002F Step 3: Update schema (remove old field)\nusers: defineTable({\n  displayName: v.string(),\n})\n\n\u002F\u002F Step 4: Update all code to use new field name\n```\n\n## Migration Patterns\n\n### Batch Processing\n\nFor large tables, process in batches:\n\n```typescript\nexport const migrateBatch = internalMutation({\n  args: {\n    cursor: v.optional(v.string()),\n    batchSize: v.number(),\n  },\n  handler: async (ctx, args) => {\n    const batchSize = args.batchSize\n    let query = ctx.db.query('largeTable')\n\n    \u002F\u002F Use cursor for pagination if needed\n    const items = await query.take(batchSize)\n\n    for (const item of items) {\n      await ctx.db.patch(item._id, {\n        \u002F\u002F migration logic\n      })\n    }\n\n    return {\n      processed: items.length,\n      hasMore: items.length === batchSize,\n    }\n  },\n})\n```\n\n### Scheduled Migration\n\nUse cron jobs for gradual migration:\n\n```typescript\n\u002F\u002F convex\u002Fcrons.ts\nimport { cronJobs } from 'convex\u002Fserver'\nimport { internal } from '.\u002F_generated\u002Fapi'\n\nconst crons = cronJobs()\n\ncrons.interval(\n  'migrate-batch',\n  { minutes: 5 }, \u002F\u002F Every 5 minutes\n  internal.migrations.migrateBatch,\n  { batchSize: 100 },\n)\n\nexport default crons\n```\n\n### Dual-Write Pattern\n\nFor zero-downtime migrations:\n\n```typescript\n\u002F\u002F Write to both old and new structure during transition\nexport const createPost = mutation({\n  args: { title: v.string(), tags: v.array(v.string()) },\n  handler: async (ctx, args) => {\n    const user = await getCurrentUser(ctx)\n\n    \u002F\u002F Create post\n    const postId = await ctx.db.insert('posts', {\n      userId: user._id,\n      title: args.title,\n      \u002F\u002F Keep writing old field during migration\n      tags: args.tags,\n    })\n\n    \u002F\u002F ALSO write to new structure\n    for (const tagName of args.tags) {\n      let tag = await ctx.db\n        .query('tags')\n        .withIndex('by_name', (q) => q.eq('name', tagName))\n        .unique()\n\n      if (!tag) {\n        const tagId = await ctx.db.insert('tags', { name: tagName })\n        tag = { _id: tagId }\n      }\n\n      await ctx.db.insert('postTags', {\n        postId,\n        tagId: tag._id,\n      })\n    }\n\n    return postId\n  },\n})\n\n\u002F\u002F After migration complete, remove old writes\n```\n\n## Testing Migrations\n\n### Verify Migration Success\n\n```typescript\nexport const verifyMigration = query({\n  args: {},\n  handler: async (ctx) => {\n    const total = (await ctx.db.query('users').collect()).length\n    const migrated = (\n      await ctx.db\n        .query('users')\n        .filter((q) => q.neq(q.field('newField'), undefined))\n        .collect()\n    ).length\n\n    return {\n      total,\n      migrated,\n      remaining: total - migrated,\n      percentComplete: (migrated \u002F total) * 100,\n    }\n  },\n})\n```\n\n## Migration Checklist\n\n- [ ] Identify breaking change\n- [ ] Add new structure as optional\u002Fadditive\n- [ ] Write migration function (internal mutation)\n- [ ] Test migration on sample data\n- [ ] Run migration in batches if large dataset\n- [ ] Verify migration completed (all records updated)\n- [ ] Update application code to use new structure\n- [ ] Deploy new code\n- [ ] Remove old fields from schema\n- [ ] Clean up migration code\n\n## Common Pitfalls\n\n1. **Don't make field required immediately**: Always add as optional first\n2. **Don't migrate in a single transaction**: Batch large migrations\n3. **Don't forget to update queries**: Update all code using old field\n4. **Don't delete old field too soon**: Wait until all data migrated\n5. **Test thoroughly**: Verify migration on dev environment first\n\n## Example: Complete Migration Flow\n\n```typescript\n\u002F\u002F 1. Current schema\nexport default defineSchema({\n  users: defineTable({\n    name: v.string(),\n  }),\n})\n\n\u002F\u002F 2. Add optional field\nexport default defineSchema({\n  users: defineTable({\n    name: v.string(),\n    role: v.optional(v.union(v.literal('user'), v.literal('admin'))),\n  }),\n})\n\n\u002F\u002F 3. Migration function\nexport const addDefaultRoles = internalMutation({\n  handler: async (ctx) => {\n    const users = await ctx.db.query('users').collect()\n    for (const user of users) {\n      if (!user.role) {\n        await ctx.db.patch(user._id, { role: 'user' })\n      }\n    }\n  },\n})\n\n\u002F\u002F 4. Run migration: npx convex run migrations:addDefaultRoles\n\n\u002F\u002F 5. Verify: Check all users have role\n\n\u002F\u002F 6. Make required\nexport default defineSchema({\n  users: defineTable({\n    name: v.string(),\n    role: v.union(v.literal('user'), v.literal('admin')),\n  }),\n})\n```\n",{"name":5,"description":7},"main","83212e6d909b6a0fe9e93fd5a3ff1723300f5b5b",".claude\u002Fskills\u002Fmigration-helper","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN","https:\u002F\u002Fsafetytalent.org","https:\u002F\u002Fgithub.com\u002Fbaisharg","2026-11-15 03:33:22",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add baisharg\u002FASTN --skill migration-helper",{"tool":47,"command":48},"bunx","bunx skills add baisharg\u002FASTN --skill migration-helper",{"tool":50,"command":51},"pnpm","pnpm dlx skills add baisharg\u002FASTN --skill migration-helper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmigration-helper\u002FSKILL.md",true,[55,61,65,69],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"_meta.json","REFERENCE","参考文档",132,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Fpump-sdk-core\u002F_meta.json",{"path":62,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":63,"sourceHtmlUrl":64},"skill-card.md",1830,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Fpump-sdk-core\u002Fskill-card.md",{"path":66,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":67,"sourceHtmlUrl":68},"SOURCE.md",250,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Fpump-sdk-core\u002FSOURCE.md",{"path":70,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":71,"sourceHtmlUrl":72},"TRUST.auto.yaml",2217,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Fpump-sdk-core\u002FTRUST.auto.yaml",[74,101,121,135,152,164],{"skillNo":75,"name":76,"nameZh":77,"description":78,"descriptionZh":79,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":92,"publishedAt":29},"01M6CCE5DVER8DQWJDY51HAJF7","schema-builder","Convex 数据库模式设计","Design and generate Convex database schemas with proper validation, indexes, and relationships. Use when creating schema.ts or modifying table definitions.","设计并生成 Convex 数据库模式（schema），包含完善的验证、索引和关系。在创建 schema.ts 或修改表定义时使用。","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fschema-builder\u002FSKILL.md",[82,87],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},"01M8BS1P4QM1G70C9FKMTZ88VK","数据库管理","SCENARIO","使用场景",[93,27,94,95,26,96,21,97,98,99,100],"schema builder","builder","indexes","design","generate","validation","database","table",{"skillNo":102,"name":103,"nameZh":104,"description":105,"descriptionZh":106,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":113,"publishedAt":29},"01M6CCE36AA57CG36R4VHKFRXV","integration-tanstack-start","TanStack Start 集成 PostHog","PostHog integration for TanStack Start full-stack applications","为 TanStack Start 全栈应用集成 PostHog","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fposthog-integration-tanstack-start\u002FSKILL.md",[109,110],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},{"categoryNo":111,"categoryName":112,"taxonomyType":90,"taxonomyTypeDesc":91},"01M8BWDNFEHJCBZX47YY896K05","应用连接器集成",[114,115,116,117,118,119,120],"integration","start","tanstack","integration tanstack start","applications","posthog","stack",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":29},"01M6CCDY3644G8WXXP0BDNMZPR","gsd:sprint","Autonomous phase execution with Codex validation. Runs plan\u002Fexecute\u002Fverify cycles in a bash loop until done or halted.","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgsd-sprint\u002FSKILL.md",[],[123,128,129,24,130,131,25,132,133,98,115,134],"Bash","loop","autonomous","codex","resume","verify","execution",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":29},"01M6CCDVTZRTFWWGREMV6FF956","gsd:second-opinion","Get a second opinion from OpenAI Codex (GPT-5.2-codex) on code, architecture, or implementation decisions. Use when you want independent verification or an alternative perspective.","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgsd-second-opinion\u002FSKILL.md",[],[142,143,144,131,145,146,147,148,149,150,26,151],"gsd:second opinion","second opinion","architecture","code","verification","openai","gpt","decisions","question","implementation",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":29},"01M6CCDSDPYYNEDERHP01N30PT","gsd:milestone-sprint","Run entire milestone autonomously with Codex validation. Auto-detects current milestone, executes all phases, and runs audit.","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgsd-milestone-sprint\u002FSKILL.md",[],[159,131,160,98,161,162,163,132],"gsd:milestone sprint","run","audit","interactive","auto",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":29},"01M6CCDQPC27AN5P984R46TRF7","gsd:health-check","Verify GSD setup - checks Claude, Codex, skills, and MCP servers are working correctly.","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgsd-health-check\u002FSKILL.md",[],[171,172,173,174,131,175,176,133,177],"gsd:health check","health check","check","health","setup","mcp servers","MCP"]