[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ERKXTGCFSGMNGJE9F0G80P":3,"skill-same:01M7ERKXTGCFSGMNGJE9F0G80P":48},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7ERKXTGCFSGMNGJE9F0G80P","ddd-validate",null,"Validate domain boundaries -- detect cross-context import violations and aggregate invariant issues. Use when auditing a DDD codebase for leaks between bounded contexts, before merging cross-cutting changes, or as a CI gate to catch boundary erosion early.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fruflo\u002Fplugins\u002Fruflo-ddd\u002Fskills\u002Fddd-validate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ddd-validate\ndescription: Validate domain boundaries -- detect cross-context import violations and aggregate invariant issues. Use when auditing a DDD codebase for leaks between bounded contexts, before merging cross-cutting changes, or as a CI gate to catch boundary erosion early.\nargument-hint: \"\"\nallowed-tools: Bash Read Grep Glob mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search mcp__plugin_ruflo-core_ruflo__hooks_pre-task mcp__plugin_ruflo-core_ruflo__hooks_post-task\n---\nValidate domain boundary integrity across all bounded contexts.\n\n## Steps\n\n1. **Discover contexts**: Scan `src\u002F*\u002Fdomain\u002F` to find all bounded contexts.\n\n2. **Check cross-boundary violations**:\n   - For each context, scan all `.ts` files for import statements\n   - Flag any import that reaches into another context's `domain\u002F` directory directly\n   - Allowed: importing from another context's public `index.ts` (application layer)\n   - Violation: importing from `src\u002F\u003Cother-context>\u002Fdomain\u002Fentities\u002F...` directly\n\n   ```bash\n   # Find cross-boundary imports\n   for ctx in $(find src -maxdepth 2 -name \"domain\" -type d | sed 's|src\u002F||;s|\u002Fdomain||'); do\n     grep -rn \"from ['\\\"].*src\u002F\" \"src\u002F$ctx\u002F\" --include=\"*.ts\" | grep -v \"src\u002F$ctx\u002F\" || true\n   done\n   ```\n\n3. **Check aggregate invariant enforcement**:\n   - Scan aggregate root entities for public setters that bypass validation\n   - Flag mutable public properties without invariant checks\n   - Verify that child entities are not directly accessible (must go through aggregate root)\n\n4. **Check event naming conventions**:\n   - Domain events should be past-tense named (e.g., `OrderCreated`, not `CreateOrder`)\n   - Events should be immutable (no public setters)\n   - Events should carry the aggregate ID\n\n5. **Check repository patterns**:\n   - Repository interfaces should exist in `domain\u002Frepositories\u002F`, not `infrastructure\u002F`\n   - Repository implementations should exist in `infrastructure\u002F`, not `domain\u002F`\n   - Each aggregate root should have exactly one repository\n\n6. **Report findings**:\n   - Output a table of violations with file path, line number, violation type, and suggestion\n   - Categorize as: `BOUNDARY`, `INVARIANT`, `EVENT`, `REPOSITORY`\n   - Exit with summary: total violations, by category, severity\n\n7. **Store results**:\n   ```bash\n   npx @claude-flow\u002Fcli@latest memory store --key \"ddd-validation-TIMESTAMP\" --value \"RESULTS_SUMMARY\" --namespace tasks\n   npx @claude-flow\u002Fcli@latest hooks post-task --task-id \"ddd-validate\" --success true --store-results true\n   ```\n","Validate domain boundary integrity across all bounded contexts.\n\n## Steps\n\n1. **Discover contexts**: Scan `src\u002F*\u002Fdomain\u002F` to find all bounded contexts.\n\n2. **Check cross-boundary violations**:\n   - For each context, scan all `.ts` files for import statements\n   - Flag any import that reaches into another context's `domain\u002F` directory directly\n   - Allowed: importing from another context's public `index.ts` (application layer)\n   - Violation: importing from `src\u002F\u003Cother-context>\u002Fdomain\u002Fentities\u002F...` directly\n\n   ```bash\n   # Find cross-boundary imports\n   for ctx in $(find src -maxdepth 2 -name \"domain\" -type d | sed 's|src\u002F||;s|\u002Fdomain||'); do\n     grep -rn \"from ['\\\"].*src\u002F\" \"src\u002F$ctx\u002F\" --include=\"*.ts\" | grep -v \"src\u002F$ctx\u002F\" || true\n   done\n   ```\n\n3. **Check aggregate invariant enforcement**:\n   - Scan aggregate root entities for public setters that bypass validation\n   - Flag mutable public properties without invariant checks\n   - Verify that child entities are not directly accessible (must go through aggregate root)\n\n4. **Check event naming conventions**:\n   - Domain events should be past-tense named (e.g., `OrderCreated`, not `CreateOrder`)\n   - Events should be immutable (no public setters)\n   - Events should carry the aggregate ID\n\n5. **Check repository patterns**:\n   - Repository interfaces should exist in `domain\u002Frepositories\u002F`, not `infrastructure\u002F`\n   - Repository implementations should exist in `infrastructure\u002F`, not `domain\u002F`\n   - Each aggregate root should have exactly one repository\n\n6. **Report findings**:\n   - Output a table of violations with file path, line number, violation type, and suggestion\n   - Categorize as: `BOUNDARY`, `INVARIANT`, `EVENT`, `REPOSITORY`\n   - Exit with summary: total violations, by category, severity\n\n7. **Store results**:\n   ```bash\n   npx @claude-flow\u002Fcli@latest memory store --key \"ddd-validation-TIMESTAMP\" --value \"RESULTS_SUMMARY\" --namespace tasks\n   npx @claude-flow\u002Fcli@latest hooks post-task --task-id \"ddd-validate\" --success true --store-results true\n   ```\n",{"name":5,"description":7,"allowed-tools":24,"argument-hint":25},"Bash Read Grep Glob mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search mcp__plugin_ruflo-core_ruflo__hooks_pre-task mcp__plugin_ruflo-core_ruflo__hooks_post-task","","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fruflo\u002Fplugins\u002Fruflo-ddd\u002Fskills\u002Fddd-validate",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill ddd-validate",{"tool":40,"command":41},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill ddd-validate",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill ddd-validate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fruflo\u002Fplugins\u002Fruflo-ddd\u002Fskills\u002Fddd-validate\u002FSKILL.md",true,[],[49,57,62,69,76,83],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":58,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":56},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":56},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":56},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":56},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":56},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]