[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CAQCEPE6Z2BVQN33FFQ8A7":3,"skill-same:01M6CAQCEPE6Z2BVQN33FFQ8A7":87},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":62,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M6CAQCEPE6Z2BVQN33FFQ8A7","generate-factory","测试数据工厂自动生成","Auto-generate test data factories from schemas, types, or models. Use when creating test data infrastructure, setting up fixtures, or reducing test setup boilerplate.","从 schema、类型或模型自动生成测试数据工厂。适用于创建测试数据基础设施、设置 fixture 或减少测试搭建的样板代码。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Ftesting-quality\u002Fskills\u002Fgenerate-factory\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"generate","factory","generate factory","auto","when","types","boilerplate","fixtures","test data","models","test setup","up","test","use","data","infrastructure","setup","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: generate-factory\ndescription: Auto-generate test data factories from schemas, types, or models. Use when creating test data infrastructure, setting up fixtures, or reducing test setup boilerplate.\nversion: 1.0.0\nplatforms: [all]\n\n---\n\n# Generate Factory Skill\n\n## Purpose\n\nAuto-generate test data factories from database schemas, TypeScript interfaces, or model definitions. Factories produce realistic test data using Faker.js patterns, reducing test setup time by 60%.\n\n## Research Foundation\n\n| Pattern | Source | Reference |\n|---------|--------|-----------|\n| Factory Pattern | ThoughtBot | [FactoryBot](https:\u002F\u002Fgithub.com\u002Fthoughtbot\u002Ffactory_bot) |\n| Faker.js | Open Source | [fakerjs.dev](https:\u002F\u002Ffakerjs.dev\u002F) |\n| Test Data Management | ISTQB | CT-TAS Test Automation Strategy |\n| Synthetic Data | Tonic.ai | [Faker Best Practices](https:\u002F\u002Fwww.tonic.ai\u002Fblog\u002Fhow-to-generate-simple-test-data-with-faker) |\n\n## When This Skill Applies\n\n- User needs to create test data factories\n- Setting up test infrastructure for new project\n- Existing tests use hard-coded data\n- Schema\u002Fmodel changes require test data updates\n- Need realistic but deterministic test data\n\n## Trigger Phrases\n\n| Natural Language | Action |\n|------------------|--------|\n| \"Generate factory for User model\" | Create user factory |\n| \"Create test data factories\" | Generate factories for all models |\n| \"Add faker to tests\" | Integrate faker with existing tests |\n| \"Make test data realistic\" | Convert hard-coded to factory |\n| \"Generate fixtures from schema\" | Schema-aware factory generation |\n\n## Factory Concepts\n\n### Factory vs Fixture vs Mock\n\n| Type | Purpose | When to Use |\n|------|---------|-------------|\n| **Factory** | Generate dynamic test data | When you need many variations |\n| **Fixture** | Static, predefined data | When exact values matter |\n| **Mock** | Fake external dependencies | When isolating units |\n\n### Factory Features\n\n```typescript\n\u002F\u002F Basic factory\nconst user = userFactory.build();\n\u002F\u002F { id: 'uuid-1', name: 'John Doe', email: 'john@example.com' }\n\n\u002F\u002F With overrides\nconst admin = userFactory.build({ role: 'admin' });\n\u002F\u002F { id: 'uuid-2', name: 'Jane Doe', email: 'jane@example.com', role: 'admin' }\n\n\u002F\u002F Build multiple\nconst users = userFactory.buildList(5);\n\u002F\u002F Array of 5 users\n\n\u002F\u002F With traits\nconst inactiveUser = userFactory.build({}, { trait: 'inactive' });\n\u002F\u002F { id: 'uuid-3', ..., status: 'inactive', deactivatedAt: Date }\n\n\u002F\u002F With relationships\nconst userWithOrders = userFactory.build({}, { with: ['orders'] });\n\u002F\u002F { id: 'uuid-4', ..., orders: [{ id: 'order-1', ... }] }\n```\n\n## Generation Process\n\n### 1. Analyze Source\n\nDetect schema\u002Ftype from:\n- TypeScript interfaces\n- Prisma schema\n- JSON Schema\n- Database migrations\n- OpenAPI specs\n\n```typescript\n\u002F\u002F Input: TypeScript interface\ninterface User {\n  id: string;\n  name: string;\n  email: string;\n  age: number;\n  role: 'admin' | 'user' | 'guest';\n  createdAt: Date;\n  preferences?: UserPreferences;\n}\n```\n\n### 2. Map Types to Faker\n\n```typescript\nconst TYPE_MAPPING = {\n  \u002F\u002F Primitives\n  'string': 'faker.string.alphanumeric(10)',\n  'number': 'faker.number.int({ min: 0, max: 100 })',\n  'boolean': 'faker.datatype.boolean()',\n  'Date': 'faker.date.past()',\n\n  \u002F\u002F Named fields (semantic mapping)\n  'id': 'faker.string.uuid()',\n  'name': 'faker.person.fullName()',\n  'email': 'faker.internet.email()',\n  'phone': 'faker.phone.number()',\n  'address': 'faker.location.streetAddress()',\n  'age': 'faker.number.int({ min: 18, max: 80 })',\n  'createdAt': 'faker.date.past()',\n  'updatedAt': 'faker.date.recent()',\n\n  \u002F\u002F Enums\n  'role': 'faker.helpers.arrayElement([\"admin\", \"user\", \"guest\"])',\n};\n```\n\n### 3. Generate Factory\n\n```typescript\n\u002F\u002F Generated: factories\u002Fuser.factory.ts\nimport { faker } from '@faker-js\u002Ffaker';\nimport type { User } from '..\u002Ftypes';\n\nexport const userFactory = {\n  \u002F**\n   * Build a single User with optional overrides\n   *\u002F\n  build: (overrides: Partial\u003CUser> = {}): User => ({\n    id: faker.string.uuid(),\n    name: faker.person.fullName(),\n    email: faker.internet.email(),\n    age: faker.number.int({ min: 18, max: 80 }),\n    role: faker.helpers.arrayElement(['admin', 'user', 'guest']),\n    createdAt: faker.date.past(),\n    ...overrides,\n  }),\n\n  \u002F**\n   * Build multiple Users\n   *\u002F\n  buildList: (count: number, overrides: Partial\u003CUser> = {}): User[] =>\n    Array.from({ length: count }, () => userFactory.build(overrides)),\n\n  \u002F**\n   * Traits for common variations\n   *\u002F\n  traits: {\n    admin: { role: 'admin' as const },\n    inactive: {\n      status: 'inactive',\n      deactivatedAt: faker.date.past(),\n    },\n    newUser: {\n      createdAt: faker.date.recent(),\n    },\n  },\n\n  \u002F**\n   * Build with trait\n   *\u002F\n  buildWithTrait: (trait: keyof typeof userFactory.traits, overrides: Partial\u003CUser> = {}): User =>\n    userFactory.build({ ...userFactory.traits[trait], ...overrides }),\n};\n```\n\n### 4. Generate Related Factories\n\nFor entities with relationships:\n\n```typescript\n\u002F\u002F factories\u002Forder.factory.ts\nimport { faker } from '@faker-js\u002Ffaker';\nimport { userFactory } from '.\u002Fuser.factory';\n\nexport const orderFactory = {\n  build: (overrides = {}) => ({\n    id: faker.string.uuid(),\n    userId: faker.string.uuid(),\n    items: [],\n    total: faker.number.float({ min: 10, max: 500, fractionDigits: 2 }),\n    status: faker.helpers.arrayElement(['pending', 'shipped', 'delivered']),\n    createdAt: faker.date.past(),\n    ...overrides,\n  }),\n\n  \u002F**\n   * Build with related user\n   *\u002F\n  buildWithUser: (overrides = {}) => {\n    const user = userFactory.build();\n    return {\n      ...orderFactory.build({ userId: user.id, ...overrides }),\n      user,\n    };\n  },\n};\n```\n\n## Output Format\n\n```markdown\n## Factory Generation Report\n\n**Source**: `src\u002Ftypes\u002Fuser.ts`\n**Output**: `test\u002Ffactories\u002Fuser.factory.ts`\n\n### Generated Factory\n\n```typescript\nimport { faker } from '@faker-js\u002Ffaker';\nimport type { User } from '..\u002F..\u002Fsrc\u002Ftypes';\n\nexport const userFactory = {\n  build: (overrides: Partial\u003CUser> = {}): User => ({\n    id: faker.string.uuid(),\n    name: faker.person.fullName(),\n    email: faker.internet.email(),\n    age: faker.number.int({ min: 18, max: 80 }),\n    role: faker.helpers.arrayElement(['admin', 'user', 'guest']),\n    createdAt: faker.date.past(),\n    preferences: null,\n    ...overrides,\n  }),\n\n  buildList: (count: number, overrides: Partial\u003CUser> = {}): User[] =>\n    Array.from({ length: count }, () => userFactory.build(overrides)),\n\n  traits: {\n    admin: { role: 'admin' as const },\n    inactive: { status: 'inactive' },\n  },\n};\n```\n\n### Field Mappings\n\n| Field | Type | Faker Method |\n|-------|------|--------------|\n| id | string | `faker.string.uuid()` |\n| name | string | `faker.person.fullName()` |\n| email | string | `faker.internet.email()` |\n| age | number | `faker.number.int({ min: 18, max: 80 })` |\n| role | enum | `faker.helpers.arrayElement([...])` |\n| createdAt | Date | `faker.date.past()` |\n\n### Usage Examples\n\n```typescript\n\u002F\u002F Basic usage\nconst user = userFactory.build();\n\n\u002F\u002F With override\nconst admin = userFactory.build({ role: 'admin' });\n\n\u002F\u002F Multiple users\nconst users = userFactory.buildList(10);\n\n\u002F\u002F With trait\nconst inactive = userFactory.build(userFactory.traits.inactive);\n```\n\n### Dependencies Added\n\n```json\n{\n  \"devDependencies\": {\n    \"@faker-js\u002Ffaker\": \"^8.0.0\"\n  }\n}\n```\n```\n\n## Deterministic Mode\n\nFor tests requiring reproducible data:\n\n```typescript\n\u002F\u002F Set seed for reproducible data\nimport { faker } from '@faker-js\u002Ffaker';\n\nbeforeEach(() => {\n  faker.seed(12345);  \u002F\u002F Same data every run\n});\n\n\u002F\u002F Or per-factory\nexport const userFactory = {\n  buildDeterministic: (seed: number, overrides = {}) => {\n    faker.seed(seed);\n    return userFactory.build(overrides);\n  },\n};\n```\n\n## Batch Generation\n\nGenerate factories for all models:\n\n```bash\n# From Prisma schema\nnpx generate-factory --source prisma\u002Fschema.prisma --output test\u002Ffactories\u002F\n\n# From TypeScript types\nnpx generate-factory --source src\u002Ftypes\u002F --output test\u002Ffactories\u002F\n```\n\n## Integration Points\n\n- Works with `tdd-enforce` for test data requirements\n- Used by Test Engineer for test creation\n- Feeds into integration test setup\n- Compatible with database seeders\n\n## Script Reference\n\n### factory_generator.py\nGenerate factory from schema:\n```bash\npython scripts\u002Ffactory_generator.py --source src\u002Ftypes\u002Fuser.ts\n```\n\n### batch_generate.py\nGenerate all factories:\n```bash\npython scripts\u002Fbatch_generate.py --source src\u002Ftypes\u002F --output test\u002Ffactories\u002F\n```\n\n## References\n\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — Testing quality addon overview\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC framework context for test infrastructure\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Research-first for schema and type analysis\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference\n","# Generate Factory Skill\n\n## Purpose\n\nAuto-generate test data factories from database schemas, TypeScript interfaces, or model definitions. Factories produce realistic test data using Faker.js patterns, reducing test setup time by 60%.\n\n## Research Foundation\n\n| Pattern | Source | Reference |\n|---------|--------|-----------|\n| Factory Pattern | ThoughtBot | [FactoryBot](https:\u002F\u002Fgithub.com\u002Fthoughtbot\u002Ffactory_bot) |\n| Faker.js | Open Source | [fakerjs.dev](https:\u002F\u002Ffakerjs.dev\u002F) |\n| Test Data Management | ISTQB | CT-TAS Test Automation Strategy |\n| Synthetic Data | Tonic.ai | [Faker Best Practices](https:\u002F\u002Fwww.tonic.ai\u002Fblog\u002Fhow-to-generate-simple-test-data-with-faker) |\n\n## When This Skill Applies\n\n- User needs to create test data factories\n- Setting up test infrastructure for new project\n- Existing tests use hard-coded data\n- Schema\u002Fmodel changes require test data updates\n- Need realistic but deterministic test data\n\n## Trigger Phrases\n\n| Natural Language | Action |\n|------------------|--------|\n| \"Generate factory for User model\" | Create user factory |\n| \"Create test data factories\" | Generate factories for all models |\n| \"Add faker to tests\" | Integrate faker with existing tests |\n| \"Make test data realistic\" | Convert hard-coded to factory |\n| \"Generate fixtures from schema\" | Schema-aware factory generation |\n\n## Factory Concepts\n\n### Factory vs Fixture vs Mock\n\n| Type | Purpose | When to Use |\n|------|---------|-------------|\n| **Factory** | Generate dynamic test data | When you need many variations |\n| **Fixture** | Static, predefined data | When exact values matter |\n| **Mock** | Fake external dependencies | When isolating units |\n\n### Factory Features\n\n```typescript\n\u002F\u002F Basic factory\nconst user = userFactory.build();\n\u002F\u002F { id: 'uuid-1', name: 'John Doe', email: 'john@example.com' }\n\n\u002F\u002F With overrides\nconst admin = userFactory.build({ role: 'admin' });\n\u002F\u002F { id: 'uuid-2', name: 'Jane Doe', email: 'jane@example.com', role: 'admin' }\n\n\u002F\u002F Build multiple\nconst users = userFactory.buildList(5);\n\u002F\u002F Array of 5 users\n\n\u002F\u002F With traits\nconst inactiveUser = userFactory.build({}, { trait: 'inactive' });\n\u002F\u002F { id: 'uuid-3', ..., status: 'inactive', deactivatedAt: Date }\n\n\u002F\u002F With relationships\nconst userWithOrders = userFactory.build({}, { with: ['orders'] });\n\u002F\u002F { id: 'uuid-4', ..., orders: [{ id: 'order-1', ... }] }\n```\n\n## Generation Process\n\n### 1. Analyze Source\n\nDetect schema\u002Ftype from:\n- TypeScript interfaces\n- Prisma schema\n- JSON Schema\n- Database migrations\n- OpenAPI specs\n\n```typescript\n\u002F\u002F Input: TypeScript interface\ninterface User {\n  id: string;\n  name: string;\n  email: string;\n  age: number;\n  role: 'admin' | 'user' | 'guest';\n  createdAt: Date;\n  preferences?: UserPreferences;\n}\n```\n\n### 2. Map Types to Faker\n\n```typescript\nconst TYPE_MAPPING = {\n  \u002F\u002F Primitives\n  'string': 'faker.string.alphanumeric(10)',\n  'number': 'faker.number.int({ min: 0, max: 100 })',\n  'boolean': 'faker.datatype.boolean()',\n  'Date': 'faker.date.past()',\n\n  \u002F\u002F Named fields (semantic mapping)\n  'id': 'faker.string.uuid()',\n  'name': 'faker.person.fullName()',\n  'email': 'faker.internet.email()',\n  'phone': 'faker.phone.number()',\n  'address': 'faker.location.streetAddress()',\n  'age': 'faker.number.int({ min: 18, max: 80 })',\n  'createdAt': 'faker.date.past()',\n  'updatedAt': 'faker.date.recent()',\n\n  \u002F\u002F Enums\n  'role': 'faker.helpers.arrayElement([\"admin\", \"user\", \"guest\"])',\n};\n```\n\n### 3. Generate Factory\n\n```typescript\n\u002F\u002F Generated: factories\u002Fuser.factory.ts\nimport { faker } from '@faker-js\u002Ffaker';\nimport type { User } from '..\u002Ftypes';\n\nexport const userFactory = {\n  \u002F**\n   * Build a single User with optional overrides\n   *\u002F\n  build: (overrides: Partial\u003CUser> = {}): User => ({\n    id: faker.string.uuid(),\n    name: faker.person.fullName(),\n    email: faker.internet.email(),\n    age: faker.number.int({ min: 18, max: 80 }),\n    role: faker.helpers.arrayElement(['admin', 'user', 'guest']),\n    createdAt: faker.date.past(),\n    ...overrides,\n  }),\n\n  \u002F**\n   * Build multiple Users\n   *\u002F\n  buildList: (count: number, overrides: Partial\u003CUser> = {}): User[] =>\n    Array.from({ length: count }, () => userFactory.build(overrides)),\n\n  \u002F**\n   * Traits for common variations\n   *\u002F\n  traits: {\n    admin: { role: 'admin' as const },\n    inactive: {\n      status: 'inactive',\n      deactivatedAt: faker.date.past(),\n    },\n    newUser: {\n      createdAt: faker.date.recent(),\n    },\n  },\n\n  \u002F**\n   * Build with trait\n   *\u002F\n  buildWithTrait: (trait: keyof typeof userFactory.traits, overrides: Partial\u003CUser> = {}): User =>\n    userFactory.build({ ...userFactory.traits[trait], ...overrides }),\n};\n```\n\n### 4. Generate Related Factories\n\nFor entities with relationships:\n\n```typescript\n\u002F\u002F factories\u002Forder.factory.ts\nimport { faker } from '@faker-js\u002Ffaker';\nimport { userFactory } from '.\u002Fuser.factory';\n\nexport const orderFactory = {\n  build: (overrides = {}) => ({\n    id: faker.string.uuid(),\n    userId: faker.string.uuid(),\n    items: [],\n    total: faker.number.float({ min: 10, max: 500, fractionDigits: 2 }),\n    status: faker.helpers.arrayElement(['pending', 'shipped', 'delivered']),\n    createdAt: faker.date.past(),\n    ...overrides,\n  }),\n\n  \u002F**\n   * Build with related user\n   *\u002F\n  buildWithUser: (overrides = {}) => {\n    const user = userFactory.build();\n    return {\n      ...orderFactory.build({ userId: user.id, ...overrides }),\n      user,\n    };\n  },\n};\n```\n\n## Output Format\n\n```markdown\n## Factory Generation Report\n\n**Source**: `src\u002Ftypes\u002Fuser.ts`\n**Output**: `test\u002Ffactories\u002Fuser.factory.ts`\n\n### Generated Factory\n\n```typescript\nimport { faker } from '@faker-js\u002Ffaker';\nimport type { User } from '..\u002F..\u002Fsrc\u002Ftypes';\n\nexport const userFactory = {\n  build: (overrides: Partial\u003CUser> = {}): User => ({\n    id: faker.string.uuid(),\n    name: faker.person.fullName(),\n    email: faker.internet.email(),\n    age: faker.number.int({ min: 18, max: 80 }),\n    role: faker.helpers.arrayElement(['admin', 'user', 'guest']),\n    createdAt: faker.date.past(),\n    preferences: null,\n    ...overrides,\n  }),\n\n  buildList: (count: number, overrides: Partial\u003CUser> = {}): User[] =>\n    Array.from({ length: count }, () => userFactory.build(overrides)),\n\n  traits: {\n    admin: { role: 'admin' as const },\n    inactive: { status: 'inactive' },\n  },\n};\n```\n\n### Field Mappings\n\n| Field | Type | Faker Method |\n|-------|------|--------------|\n| id | string | `faker.string.uuid()` |\n| name | string | `faker.person.fullName()` |\n| email | string | `faker.internet.email()` |\n| age | number | `faker.number.int({ min: 18, max: 80 })` |\n| role | enum | `faker.helpers.arrayElement([...])` |\n| createdAt | Date | `faker.date.past()` |\n\n### Usage Examples\n\n```typescript\n\u002F\u002F Basic usage\nconst user = userFactory.build();\n\n\u002F\u002F With override\nconst admin = userFactory.build({ role: 'admin' });\n\n\u002F\u002F Multiple users\nconst users = userFactory.buildList(10);\n\n\u002F\u002F With trait\nconst inactive = userFactory.build(userFactory.traits.inactive);\n```\n\n### Dependencies Added\n\n```json\n{\n  \"devDependencies\": {\n    \"@faker-js\u002Ffaker\": \"^8.0.0\"\n  }\n}\n```\n```\n\n## Deterministic Mode\n\nFor tests requiring reproducible data:\n\n```typescript\n\u002F\u002F Set seed for reproducible data\nimport { faker } from '@faker-js\u002Ffaker';\n\nbeforeEach(() => {\n  faker.seed(12345);  \u002F\u002F Same data every run\n});\n\n\u002F\u002F Or per-factory\nexport const userFactory = {\n  buildDeterministic: (seed: number, overrides = {}) => {\n    faker.seed(seed);\n    return userFactory.build(overrides);\n  },\n};\n```\n\n## Batch Generation\n\nGenerate factories for all models:\n\n```bash\n# From Prisma schema\nnpx generate-factory --source prisma\u002Fschema.prisma --output test\u002Ffactories\u002F\n\n# From TypeScript types\nnpx generate-factory --source src\u002Ftypes\u002F --output test\u002Ffactories\u002F\n```\n\n## Integration Points\n\n- Works with `tdd-enforce` for test data requirements\n- Used by Test Engineer for test creation\n- Feeds into integration test setup\n- Compatible with database seeders\n\n## Script Reference\n\n### factory_generator.py\nGenerate factory from schema:\n```bash\npython scripts\u002Ffactory_generator.py --source src\u002Ftypes\u002Fuser.ts\n```\n\n### batch_generate.py\nGenerate all factories:\n```bash\npython scripts\u002Fbatch_generate.py --source src\u002Ftypes\u002F --output test\u002Ffactories\u002F\n```\n\n## References\n\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — Testing quality addon overview\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC framework context for test infrastructure\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Research-first for schema and type analysis\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference\n",{"name":5,"version":53,"namespace":54,"platforms":55,"description":7},"1.0.0","aiwg",[56],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Ftesting-quality\u002Fskills\u002Fgenerate-factory",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add jmagly\u002Faiwg --skill generate-factory",{"tool":73,"command":74},"bunx","bunx skills add jmagly\u002Faiwg --skill generate-factory",{"tool":76,"command":77},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill generate-factory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Ftesting-quality\u002Fskills\u002Fgenerate-factory\u002FSKILL.md",true,[81],{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"agents\u002Fopenai.yaml","REFERENCE","参考文档",249,"https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fconfig_packs\u002Fai-workflow\u002Fshared\u002Fskills\u002Fagent-sort\u002Fagents\u002Fopenai.yaml",[88,96,101,128,148,153],{"skillNo":89,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":95},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":97,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":95},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":17,"description":104,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":48},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":129,"name":130,"nameZh":17,"description":131,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":48},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[135,136,137,138,139,140,113,141,119,126,121,142,109,143,123,144,145,127,146,147],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":149,"name":103,"nameZh":17,"description":104,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":48},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[108,109,110,125,126,127,120,124,116,112,113,114,115,117,118,119,111,121,122,123],{"skillNo":154,"name":130,"nameZh":17,"description":131,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":48},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[135,136,147,146,139,145,144,123,138,140,113,141,119,137,121,142,109,127,126,143]]