[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2KJBW09QBAAWCDZHD88Q0":3,"skill-same:01M6C2KJBW09QBAAWCDZHD88Q0":70},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6C2KJBW09QBAAWCDZHD88Q0","devkit-test","开发套件测试","Auto-fix discoverable issues","自动修复可发现的问题","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\u002Faiwg-dev\u002Fskills\u002Fdevkit-test\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],"test","devkit test","devkit","issues","fix","auto","auto-fix","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: devkit-test\nplatforms: [all]\ndescription: Auto-fix discoverable issues\n---\n\n# Test AIWG Package\n\nRun comprehensive tests on an AIWG package to verify structure, functionality, and deployment readiness.\n\n## Process\n\n### 1. Locate and Identify Package\n\nResolve the package path from `$ARGUMENTS`:\n- If relative path, resolve from current directory\n- If package name, look in addons\u002F and frameworks\u002F\n\nIdentify package type from manifest.json:\n- `\"type\": \"addon\"` → Addon tests\n- `\"type\": \"framework\"` → Framework tests\n- `\"type\": \"extension\"` → Extension tests\n\n### 2. Run Structure Tests\n\n**Manifest Validation**:\n- [ ] manifest.json exists and is valid JSON\n- [ ] Required fields present: id, type, name, version, description\n- [ ] Entry paths exist and match actual directories\n- [ ] Component arrays match actual files\n\n**Directory Structure**:\n- [ ] Expected directories exist (agents\u002F, commands\u002F, etc.)\n- [ ] No orphaned files outside expected structure\n- [ ] README.md exists and is non-empty\n\n**Component Files**:\n- [ ] All agents listed in manifest exist as .md files\n- [ ] All commands listed in manifest exist as .md files\n- [ ] All skills listed in manifest have SKILL.md\n- [ ] All templates listed in manifest exist\n\n### 3. Run Content Tests\n\n**Agent Validation**:\nFor each agent file:\n- [ ] Valid YAML frontmatter with name, description, model, tools\n- [ ] Model is valid (sonnet, opus, haiku)\n- [ ] Tools list contains valid tool names\n- [ ] Content sections present (Domain Expertise, Responsibilities, etc.)\n\n**Command Validation**:\nFor each command file:\n- [ ] Valid YAML frontmatter with name, description\n- [ ] Args defined with name and description\n- [ ] Process section present\n- [ ] No broken internal references\n\n**Skill Validation**:\nFor each skill:\n- [ ] SKILL.md has valid frontmatter\n- [ ] Trigger phrases defined\n- [ ] Execution process documented\n- [ ] References directory exists (if referenced)\n\n### 4. Run Type-Specific Tests\n\n**Addon Tests**:\n- [ ] No `requires` field (addons are standalone)\n- [ ] Can be deployed independently\n\n**Extension Tests**:\n- [ ] `requires` field present and valid\n- [ ] Parent framework exists\n- [ ] Located in correct extensions\u002F subdirectory\n\n**Framework Tests**:\n- [ ] Phases defined in manifest\n- [ ] Flow documents exist for each phase\n- [ ] actors-and-templates.md exists\n- [ ] config\u002Fmodels.json exists\n- [ ] metrics\u002Ftracking-catalog.md exists\n\n### 5. Run Deployment Test\n\nSimulate deployment to temporary directory:\n```bash\n# Create temp test directory\nmkdir -p \u002Ftmp\u002Faiwg-test-$$\n\n# Attempt deployment\naiwg -deploy-agents --source \u003Cpackage-path> --target \u002Ftmp\u002Faiwg-test-$$ --dry-run\n\n# Check expected output structure\n```\n\n### 6. Auto-Fix (if --fix)\n\nWhen `--fix` is specified, attempt to repair:\n\n**Fixable Issues**:\n- Missing directories → Create them\n- Manifest component arrays out of sync → Update from files\n- Missing README.md → Generate from manifest\n- Invalid JSON formatting → Reformat\n\n**Non-Fixable Issues** (report only):\n- Missing required fields in manifest\n- Invalid agent\u002Fcommand content\n- Missing parent framework (extensions)\n\n### 7. Generate Report\n\n**Summary Format**:\n```\nPackage Test: \u003Cpackage-id>\nType: \u003Caddon|extension|framework>\n─────────────────────────────────\n\nStructure Tests: \u003Cpass\u002Ffail count>\nContent Tests: \u003Cpass\u002Ffail count>\nType Tests: \u003Cpass\u002Ffail count>\nDeployment Test: \u003Cpass\u002Ffail>\n\nOverall: \u003CPASS|FAIL>\n```\n\n**Detailed Format (--verbose)**:\n```\nPackage Test: \u003Cpackage-id>\n─────────────────────────────────\n\n[Structure Tests]\n  ✓ manifest.json exists\n  ✓ manifest.json is valid JSON\n  ✓ Required fields present\n  ✓ agents\u002F directory exists\n  ✗ commands\u002F directory missing\n  ...\n\n[Content Tests]\n  ✓ agent-one.md: valid frontmatter\n  ✓ agent-one.md: valid model (sonnet)\n  ✗ agent-two.md: missing tools field\n  ...\n\n[Type Tests]\n  ✓ No requires field (addon)\n  ...\n\n[Deployment Test]\n  ✓ Dry-run deployment successful\n\n[Issues Found]\n  ERROR: commands\u002F directory missing\n  WARNING: agent-two.md missing tools field\n\n[Auto-Fixed] (if --fix)\n  ✓ Created commands\u002F directory\n```\n\n## Exit Codes\n\n- 0: All tests passed\n- 1: Tests failed (fixable issues remain)\n- 2: Tests failed (non-fixable issues)\n\n## Examples\n\n```bash\n# Test addon\n\u002Fdevkit-test aiwg-utils\n\n# Test with verbose output\n\u002Fdevkit-test sdlc-complete --verbose\n\n# Test and auto-fix\n\u002Fdevkit-test my-addon --fix --verbose\n\n# Test extension\n\u002Fdevkit-test sdlc-complete\u002Fextensions\u002Fhipaa\n```\n\n## References\n\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — aiwg-dev addon overview\n- @$AIWG_ROOT\u002Fdocs\u002Fextensions\u002Foverview.md — Extension system architecture and package types\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference including validate-metadata command\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Verification-before-action pattern\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC framework as example test target\n","# Test AIWG Package\n\nRun comprehensive tests on an AIWG package to verify structure, functionality, and deployment readiness.\n\n## Process\n\n### 1. Locate and Identify Package\n\nResolve the package path from `$ARGUMENTS`:\n- If relative path, resolve from current directory\n- If package name, look in addons\u002F and frameworks\u002F\n\nIdentify package type from manifest.json:\n- `\"type\": \"addon\"` → Addon tests\n- `\"type\": \"framework\"` → Framework tests\n- `\"type\": \"extension\"` → Extension tests\n\n### 2. Run Structure Tests\n\n**Manifest Validation**:\n- [ ] manifest.json exists and is valid JSON\n- [ ] Required fields present: id, type, name, version, description\n- [ ] Entry paths exist and match actual directories\n- [ ] Component arrays match actual files\n\n**Directory Structure**:\n- [ ] Expected directories exist (agents\u002F, commands\u002F, etc.)\n- [ ] No orphaned files outside expected structure\n- [ ] README.md exists and is non-empty\n\n**Component Files**:\n- [ ] All agents listed in manifest exist as .md files\n- [ ] All commands listed in manifest exist as .md files\n- [ ] All skills listed in manifest have SKILL.md\n- [ ] All templates listed in manifest exist\n\n### 3. Run Content Tests\n\n**Agent Validation**:\nFor each agent file:\n- [ ] Valid YAML frontmatter with name, description, model, tools\n- [ ] Model is valid (sonnet, opus, haiku)\n- [ ] Tools list contains valid tool names\n- [ ] Content sections present (Domain Expertise, Responsibilities, etc.)\n\n**Command Validation**:\nFor each command file:\n- [ ] Valid YAML frontmatter with name, description\n- [ ] Args defined with name and description\n- [ ] Process section present\n- [ ] No broken internal references\n\n**Skill Validation**:\nFor each skill:\n- [ ] SKILL.md has valid frontmatter\n- [ ] Trigger phrases defined\n- [ ] Execution process documented\n- [ ] References directory exists (if referenced)\n\n### 4. Run Type-Specific Tests\n\n**Addon Tests**:\n- [ ] No `requires` field (addons are standalone)\n- [ ] Can be deployed independently\n\n**Extension Tests**:\n- [ ] `requires` field present and valid\n- [ ] Parent framework exists\n- [ ] Located in correct extensions\u002F subdirectory\n\n**Framework Tests**:\n- [ ] Phases defined in manifest\n- [ ] Flow documents exist for each phase\n- [ ] actors-and-templates.md exists\n- [ ] config\u002Fmodels.json exists\n- [ ] metrics\u002Ftracking-catalog.md exists\n\n### 5. Run Deployment Test\n\nSimulate deployment to temporary directory:\n```bash\n# Create temp test directory\nmkdir -p \u002Ftmp\u002Faiwg-test-$$\n\n# Attempt deployment\naiwg -deploy-agents --source \u003Cpackage-path> --target \u002Ftmp\u002Faiwg-test-$$ --dry-run\n\n# Check expected output structure\n```\n\n### 6. Auto-Fix (if --fix)\n\nWhen `--fix` is specified, attempt to repair:\n\n**Fixable Issues**:\n- Missing directories → Create them\n- Manifest component arrays out of sync → Update from files\n- Missing README.md → Generate from manifest\n- Invalid JSON formatting → Reformat\n\n**Non-Fixable Issues** (report only):\n- Missing required fields in manifest\n- Invalid agent\u002Fcommand content\n- Missing parent framework (extensions)\n\n### 7. Generate Report\n\n**Summary Format**:\n```\nPackage Test: \u003Cpackage-id>\nType: \u003Caddon|extension|framework>\n─────────────────────────────────\n\nStructure Tests: \u003Cpass\u002Ffail count>\nContent Tests: \u003Cpass\u002Ffail count>\nType Tests: \u003Cpass\u002Ffail count>\nDeployment Test: \u003Cpass\u002Ffail>\n\nOverall: \u003CPASS|FAIL>\n```\n\n**Detailed Format (--verbose)**:\n```\nPackage Test: \u003Cpackage-id>\n─────────────────────────────────\n\n[Structure Tests]\n  ✓ manifest.json exists\n  ✓ manifest.json is valid JSON\n  ✓ Required fields present\n  ✓ agents\u002F directory exists\n  ✗ commands\u002F directory missing\n  ...\n\n[Content Tests]\n  ✓ agent-one.md: valid frontmatter\n  ✓ agent-one.md: valid model (sonnet)\n  ✗ agent-two.md: missing tools field\n  ...\n\n[Type Tests]\n  ✓ No requires field (addon)\n  ...\n\n[Deployment Test]\n  ✓ Dry-run deployment successful\n\n[Issues Found]\n  ERROR: commands\u002F directory missing\n  WARNING: agent-two.md missing tools field\n\n[Auto-Fixed] (if --fix)\n  ✓ Created commands\u002F directory\n```\n\n## Exit Codes\n\n- 0: All tests passed\n- 1: Tests failed (fixable issues remain)\n- 2: Tests failed (non-fixable issues)\n\n## Examples\n\n```bash\n# Test addon\n\u002Fdevkit-test aiwg-utils\n\n# Test with verbose output\n\u002Fdevkit-test sdlc-complete --verbose\n\n# Test and auto-fix\n\u002Fdevkit-test my-addon --fix --verbose\n\n# Test extension\n\u002Fdevkit-test sdlc-complete\u002Fextensions\u002Fhipaa\n```\n\n## References\n\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — aiwg-dev addon overview\n- @$AIWG_ROOT\u002Fdocs\u002Fextensions\u002Foverview.md — Extension system architecture and package types\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference including validate-metadata command\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Verification-before-action pattern\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC framework as example test target\n",{"name":5,"namespace":43,"platforms":44,"description":7},"aiwg",[45],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Faiwg-dev\u002Fskills\u002Fdevkit-test",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":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add jmagly\u002Faiwg --skill devkit-test",{"tool":62,"command":63},"bunx","bunx skills add jmagly\u002Faiwg --skill devkit-test",{"tool":65,"command":66},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill devkit-test","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Faiwg-dev\u002Fskills\u002Fdevkit-test\u002FSKILL.md",true,[],[71,79,84,111,131,136],{"skillNo":72,"name":73,"nameZh":17,"description":74,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":78},"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":80,"name":73,"nameZh":17,"description":74,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":78},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":17,"description":87,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":38},"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",[],[91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":112,"name":113,"nameZh":17,"description":114,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":38},"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",[],[118,119,120,121,122,123,96,124,102,109,104,125,92,126,106,127,128,110,129,130],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":132,"name":86,"nameZh":17,"description":87,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":38},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[91,92,93,108,109,110,103,107,99,95,96,97,98,100,101,102,94,104,105,106],{"skillNo":137,"name":113,"nameZh":17,"description":114,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":38},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[118,119,130,129,122,128,127,106,121,123,96,124,102,120,104,125,92,110,109,126]]