[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2JWFT89XDFY3WJ7K08DHY":3,"skill-same:01M6C2JWFT89XDFY3WJ7K08DHY":73},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6C2JWFT89XDFY3WJ7K08DHY","dev-doctor","AIWG 仓库结构健康检查","Run a development-focused health check on the AIWG repository structure","对 AIWG 仓库结构运行面向开发的健康检查。","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\u002Fdev-doctor\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40],"doctor","dev","dev doctor","development","run","repository","health","check","health check","structure","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: dev-doctor\ndescription: Run a development-focused health check on the AIWG repository structure\nplatforms: [all]\n\n---\n\n# Dev Doctor\n\nYou run a comprehensive development-environment health check on the AIWG repository, checking structural integrity across all addons and frameworks, catching orphaned and misplaced components, and validating TypeScript compilation and test coverage gates. You produce a structured health report with pass\u002Ffail per check and actionable remediation steps for every failure.\n\n## Triggers\n\n- \"run dev doctor\" → full health check\n- \"check aiwg dev health\" → full health check\n- \"are there any placement violations\" → run placement check section only\n- \"find orphaned skills\" → run orphan check section only\n- \"is the repo in a good state\" → full health check\n- \"pre-commit health check\" → run dev-doctor before committing\n- \"dev health\" → full health check\n\n## Trigger Patterns Reference\n\n| Pattern | Example | Action |\n|---------|---------|--------|\n| Full check | \"run dev doctor\" | All sections |\n| Placement focus | \"placement violations?\" | Placement check only |\n| Orphan focus | \"find orphaned skills\" | Orphan detection only |\n| Pre-commit | \"pre-commit health check\" | Full check |\n| TypeScript | \"does TypeScript compile\" | Compilation check only |\n| Quick | \"dev health\" | Full check, condensed output |\n\n## Process\n\nRun the following checks in sequence. Collect all results before generating the report.\n\n### Section 1: `agentic\u002Fcode\u002F` Structure Integrity\n\n1. Read `agentic\u002Fcode\u002Faddons\u002F` — list all addon directories\n2. For each addon directory:\n   - `manifest.json` present and valid JSON\n   - `manifest.json` has `id`, `type`, `name`, `version`, `description`\n   - `README.md` present\n3. Read `agentic\u002Fcode\u002Fframeworks\u002F` — list all framework directories\n4. For each framework directory:\n   - `manifest.json` present and valid JSON\n   - Required fields present\n\n### Section 2: Manifest vs Filesystem Consistency (Orphan Detection)\n\nFor each addon and framework:\n\n**Orphaned skills** (SKILL.md exists but not in manifest):\n- List all `skills\u002F*\u002FSKILL.md` files under the addon\n- For each: verify the skill name appears in `manifest.json` `skills` array\n- Any SKILL.md without a manifest entry is an orphan\n\n**Missing skills** (in manifest but SKILL.md absent):\n- For each entry in `manifest.json` `skills` array: verify `skills\u002F\u003Cname>\u002FSKILL.md` exists\n- Any manifest entry without a corresponding SKILL.md is a missing skill\n\nRepeat the same orphan\u002Fmissing check for agents and rules.\n\n### Section 3: Placement Violations\n\nFor each provider directory that exists in the repository:\n- `.claude\u002Fskills\u002F`, `.claude\u002Fagents\u002F`, `.claude\u002Fcommands\u002F`, `.claude\u002Frules\u002F`\n- `.github\u002Fagents\u002F`, `.github\u002Fprompts\u002F`, `.github\u002Finstructions\u002F`\n- `.cursor\u002Fskills\u002F`, `.cursor\u002Fagents\u002F`, `.cursor\u002Fcommands\u002F`, `.cursor\u002Frules\u002F`\n\nFor each file found in a provider directory:\n- Attempt to locate the corresponding source in `agentic\u002Fcode\u002F`\n- If no source found: flag as a potential placement violation (note: some files like `CLAUDE.md`, `settings.json`, `.gitignore` are intentionally in provider directories and are not violations)\n- Skills, agents, commands, and rule files with no `agentic\u002Fcode\u002F` source are violations\n\n### Section 4: `@file` Reference Check (Full Classification)\n\nAll `@file` references in distributable skills and agents are checked against the full linking contract. Three categories of violations are reported:\n\n**Step 1**: Build the Tier 2 normalized allowlist from installed manifests:\n- Read all `manifest.json` files in `agentic\u002Fcode\u002F`\n- Collect all `memory.creates[*].path` values\n- Combine with Tier 1: `.aiwg\u002FAIWG.md`, `.aiwg\u002Fframeworks\u002F`\n\n**Step 2**: Scan for `.aiwg\u002F` violations (Section 4a):\n\n```bash\ngrep -rn \"@\\.aiwg\u002F\" agentic\u002Fcode\u002F --include=\"*.md\"\n```\n\nFor each ref found: check against allowlist.\n- Starts with a Tier 1\u002F2 prefix → PASS\n- Not in allowlist → FAIL (repo-local path)\n\n**Step 3**: Scan for bare AIWG-core refs (Section 4b — legacy migration):\n\nUse Grep tool to search for bare AIWG-core ref patterns — refs to `agentic\u002Fcode\u002F`, `src\u002F`, `docs\u002F`, `tools\u002F` that lack the `$AIWG_ROOT\u002F` token prefix — in `agentic\u002Fcode\u002F` markdown files. Each match → WARN: legacy bare ref, needs `$AIWG_ROOT\u002F` prefix.\n\n**Note**: No backtick or code-block escaping exists — any `@\u003Cpath>` pattern in deployed skills is processed as a file reference regardless of surrounding markup.\n\n**Step 4**: Scan for forbidden deployment-target refs (Section 4c):\n\nUse Grep tool to search for `@.claude\u002F` in `agentic\u002Fcode\u002F` markdown files. Each match → FAIL: deployment target ref, forbidden in distributable source.\n\n**Report format**:\n```\nSECTION 4 — @file Reference Check\n\n  4a — .aiwg\u002F References\n  PASS  sdlc-complete\u002Fagents\u002Frequirements-analyst.md  .aiwg\u002Frequirements\u002F (normalized)\n  FAIL  my-addon\u002Fskills\u002Fmy-skill.md  .aiwg\u002Fplanning\u002Fmy-design.md\n        → non-normalized path: only exists in AIWG dev repo\n\n  4b — Bare AIWG-core References (legacy)\n  WARN  research-complete\u002Fagents\u002Fworkflow-agent.md  agentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002F...\n        → add $AIWG_ROOT\u002F prefix\n\n  4c — Deployment-Target References (forbidden)\n  (none)\n```\n\n### Section 5: TypeScript Compilation\n\nRun TypeScript type checking:\n\n```bash\nnpx tsc --noEmit\n```\n\n- PASS: exit code 0, no errors\n- FAIL: exit code non-zero, report the error count and first 5 error lines\n\n### Section 6: Test Suite\n\nRun the test suite:\n\n```bash\nnpm test\n```\n\n- PASS: exit code 0\n- FAIL: exit code non-zero, report test failure summary\n\nDo not run UAT (`npm run uat`) here — that is a pre-release gate, not a daily development check. Mention that it should be run before tagging a release.\n\n### Section 7: Circular Skill Call Detection\n\nSearch all `SKILL.md` files in `agentic\u002Fcode\u002F` for potential circular calls:\n\nFor each `SKILL.md`:\n1. Check if the associated command in `definitions.ts` has `executedViaSkillRunner: true`\n2. If yes: search the SKILL.md for `aiwg \u003Ccommand-name>` in any bash block or instruction text\n3. Flag any matches as circular call violations\n\n### Report Format\n\n```\nAIWG Dev Doctor\nRun at: \u003Ctimestamp>\nRepo: \u003Cworking directory>\n\nSECTION 1 — Structure Integrity\n  PASS  agentic\u002Fcode\u002Faddons\u002F (8 addons, all have manifest.json + README.md)\n  PASS  agentic\u002Fcode\u002Fframeworks\u002F (5 frameworks, all have manifest.json)\n\nSECTION 2 — Orphan Detection\n  PASS  no orphaned skills\n  FAIL  aiwg-utils: soul-blend listed in manifest but skills\u002Fsoul-blend\u002FSKILL.md missing\n  PASS  no orphaned agents\n  PASS  no missing agents\n  PASS  no orphaned rules\n\nSECTION 3 — Placement Violations\n  PASS  no placement violations found\n\nSECTION 4 — @file References\n  4a .aiwg\u002F refs:   PASS (all normalized)\n  4b bare AIWG refs: WARN — 2 legacy refs (add $AIWG_ROOT\u002F prefix)\n  4c .claude\u002F refs: PASS (none found)\n  WARN  agentic\u002Fcode\u002Faddons\u002Fmy-addon\u002Fskills\u002Fmy-skill.md\n        agentic\u002Fcode\u002F... (bare ref) → add $AIWG_ROOT\u002F prefix\n\nSECTION 5 — TypeScript Compilation\n  PASS  tsc --noEmit: 0 errors\n\nSECTION 6 — Test Suite\n  PASS  npm test: 142 passing, 0 failing\n\nSECTION 7 — Circular Skill Calls\n  PASS  no circular skill calls detected\n\nOverall: FAIL — 2 issues found\n\nBlocking issues:\n  1. [Section 2] aiwg-utils\u002Fskills\u002Fsoul-blend\u002FSKILL.md missing\n     Action: Create the SKILL.md or remove soul-blend from manifest.json\n  2. [Section 4] non-normalized @.aiwg\u002F reference in my-addon\u002Fskills\u002Fmy-skill.md\n     Action: Either remove the reference, replace it with a normalized path,\n             or add the path to the framework's memory.creates in manifest.json\n\nNotes:\n  - UAT (`npm run uat`) not run — run before tagging a release\n  - 8 addons, 5 frameworks validated\n```\n\n## Examples\n\n### Example 1: Clean repo\n\n**User**: \"run dev doctor\"\n\n**Output**:\n```\nAIWG Dev Doctor — 2026-04-01\n\nStructure:        PASS (8 addons, 5 frameworks)\nOrphans:          PASS (no orphaned or missing components)\nPlacement:        PASS (no violations)\n.aiwg\u002F refs:      PASS\nTypeScript:       PASS (0 errors)\nTests:            PASS (142 passing)\nCircular calls:   PASS\n\nOverall: PASS — repo is in a good state\nNote: Run `npm run uat` before tagging a release.\n```\n\n### Example 2: Multiple issues\n\n**User**: \"is the repo in a good state before I make a PR?\"\n\n**Output**:\n```\nAIWG Dev Doctor — 2026-04-01\n\nStructure:        PASS\nOrphans:          FAIL — 1 missing skill, 1 orphaned rule\nPlacement:        FAIL — 1 violation in .claude\u002Fskills\u002F\n.aiwg\u002F refs:      PASS\nTypeScript:       PASS\nTests:            PASS\nCircular calls:   PASS\n\nOverall: FAIL — 3 issues found\n\n1. [Orphans] my-addon\u002Fskills\u002Fmy-skill\u002FSKILL.md missing (listed in manifest)\n   → Create the file or remove from manifest.json\n2. [Orphans] my-addon\u002Frules\u002Fold-rule.md exists but not in RULES-INDEX.md\n   → Add an entry to rules\u002FRULES-INDEX.md or delete old-rule.md\n3. [Placement] .claude\u002Fskills\u002Fscratch-skill\u002F has no source in agentic\u002Fcode\u002F\n   → Move to agentic\u002Fcode\u002Faddons\u002F\u003Caddon>\u002Fskills\u002Fscratch-skill\u002F or delete\n```\n\n### Example 3: Focused check\n\n**User**: \"just check for placement violations\"\n\n**Action**: Run Section 3 only.\n\n**Output**:\n```\nPlacement Violation Check\n\nChecked: .claude\u002Fskills\u002F, .claude\u002Fagents\u002F, .claude\u002Fcommands\u002F, .claude\u002Frules\u002F\n         .github\u002Fagents\u002F, .github\u002Fprompts\u002F, .github\u002Finstructions\u002F\n         .cursor\u002Fskills\u002F, .cursor\u002Fagents\u002F\n\nResult: PASS — no placement violations found\nAll deployed files have corresponding source in agentic\u002Fcode\u002F.\n```\n\n## References\n\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Frules\u002Fskill-placement.md — Placement violation definitions\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Frules\u002Fno-circular-skill-calls.md — Circular call detection\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Frules\u002Fcomponent-completeness.md — Completeness requirements\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Frules\u002Faddon-boundaries.md — Source vs project output boundary\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Frules\u002Faiwg-dir-reference-contract.md — Normalized .aiwg\u002F reference contract\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fvalidate-addon\u002FSKILL.md — Per-addon validation\n- @$AIWG_ROOT\u002Ftools\u002Fcli\u002Fdoctor.mjs — Runtime doctor (end-user installation health, not dev structure)\n","# Dev Doctor\n\nYou run a comprehensive development-environment health check on the AIWG repository, checking structural integrity across all addons and frameworks, catching orphaned and misplaced components, and validating TypeScript compilation and test coverage gates. You produce a structured health report with pass\u002Ffail per check and actionable remediation steps for every failure.\n\n## Triggers\n\n- \"run dev doctor\" → full health check\n- \"check aiwg dev health\" → full health check\n- \"are there any placement violations\" → run placement check section only\n- \"find orphaned skills\" → run orphan check section only\n- \"is the repo in a good state\" → full health check\n- \"pre-commit health check\" → run dev-doctor before committing\n- \"dev health\" → full health check\n\n## Trigger Patterns Reference\n\n| Pattern | Example | Action |\n|---------|---------|--------|\n| Full check | \"run dev doctor\" | All sections |\n| Placement focus | \"placement violations?\" | Placement check only |\n| Orphan focus | \"find orphaned skills\" | Orphan detection only |\n| Pre-commit | \"pre-commit health check\" | Full check |\n| TypeScript | \"does TypeScript compile\" | Compilation check only |\n| Quick | \"dev health\" | Full check, condensed output |\n\n## Process\n\nRun the following checks in sequence. Collect all results before generating the report.\n\n### Section 1: `agentic\u002Fcode\u002F` Structure Integrity\n\n1. Read `agentic\u002Fcode\u002Faddons\u002F` — list all addon directories\n2. For each addon directory:\n   - `manifest.json` present and valid JSON\n   - `manifest.json` has `id`, `type`, `name`, `version`, `description`\n   - `README.md` present\n3. Read `agentic\u002Fcode\u002Fframeworks\u002F` — list all framework directories\n4. For each framework directory:\n   - `manifest.json` present and valid JSON\n   - Required fields present\n\n### Section 2: Manifest vs Filesystem Consistency (Orphan Detection)\n\nFor each addon and framework:\n\n**Orphaned skills** (SKILL.md exists but not in manifest):\n- List all `skills\u002F*\u002FSKILL.md` files under the addon\n- For each: verify the skill name appears in `manifest.json` `skills` array\n- Any SKILL.md without a manifest entry is an orphan\n\n**Missing skills** (in manifest but SKILL.md absent):\n- For each entry in `manifest.json` `skills` array: verify `skills\u002F\u003Cname>\u002FSKILL.md` exists\n- Any manifest entry without a corresponding SKILL.md is a missing skill\n\nRepeat the same orphan\u002Fmissing check for agents and rules.\n\n### Section 3: Placement Violations\n\nFor each provider directory that exists in the repository:\n- `.claude\u002Fskills\u002F`, `.claude\u002Fagents\u002F`, `.claude\u002Fcommands\u002F`, `.claude\u002Frules\u002F`\n- `.github\u002Fagents\u002F`, `.github\u002Fprompts\u002F`, `.github\u002Finstructions\u002F`\n- `.cursor\u002Fskills\u002F`, `.cursor\u002Fagents\u002F`, `.cursor\u002Fcommands\u002F`, `.cursor\u002Frules\u002F`\n\nFor each file found in a provider directory:\n- Attempt to locate the corresponding source in `agentic\u002Fcode\u002F`\n- If no source found: flag as a potential placement violation (note: some files like `CLAUDE.md`, `settings.json`, `.gitignore` are intentionally in provider directories and are not violations)\n- Skills, agents, commands, and rule files with no `agentic\u002Fcode\u002F` source are violations\n\n### Section 4: `@file` Reference Check (Full Classification)\n\nAll `@file` references in distributable skills and agents are checked against the full linking contract. Three categories of violations are reported:\n\n**Step 1**: Build the Tier 2 normalized allowlist from installed manifests:\n- Read all `manifest.json` files in `agentic\u002Fcode\u002F`\n- Collect all `memory.creates[*].path` values\n- Combine with Tier 1: `.aiwg\u002FAIWG.md`, `.aiwg\u002Fframeworks\u002F`\n\n**Step 2**: Scan for `.aiwg\u002F` violations (Section 4a):\n\n```bash\ngrep -rn \"@\\.aiwg\u002F\" agentic\u002Fcode\u002F --include=\"*.md\"\n```\n\nFor each ref found: check against allowlist.\n- Starts with a Tier 1\u002F2 prefix → PASS\n- Not in allowlist → FAIL (repo-local path)\n\n**Step 3**: Scan for bare AIWG-core refs (Section 4b — legacy migration):\n\nUse Grep tool to search for bare AIWG-core ref patterns — refs to `agentic\u002Fcode\u002F`, `src\u002F`, `docs\u002F`, `tools\u002F` that lack the `$AIWG_ROOT\u002F` token prefix — in `agentic\u002Fcode\u002F` markdown files. Each match → WARN: legacy bare ref, needs `$AIWG_ROOT\u002F` prefix.\n\n**Note**: No backtick or code-block escaping exists — any `@\u003Cpath>` pattern in deployed skills is processed as a file reference regardless of surrounding markup.\n\n**Step 4**: Scan for forbidden deployment-target refs (Section 4c):\n\nUse Grep tool to search for `@.claude\u002F` in `agentic\u002Fcode\u002F` markdown files. Each match → FAIL: deployment target ref, forbidden in distributable source.\n\n**Report format**:\n```\nSECTION 4 — @file Reference Check\n\n  4a — .aiwg\u002F References\n  PASS  sdlc-complete\u002Fagents\u002Frequirements-analyst.md  .aiwg\u002Frequirements\u002F (normalized)\n  FAIL  my-addon\u002Fskills\u002Fmy-skill.md  .aiwg\u002Fplanning\u002Fmy-design.md\n        → non-normalized path: only exists in AIWG dev repo\n\n  4b — Bare AIWG-core References (legacy)\n  WARN  research-complete\u002Fagents\u002Fworkflow-agent.md  agentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002F...\n        → add $AIWG_ROOT\u002F prefix\n\n  4c — Deployment-Target References (forbidden)\n  (none)\n```\n\n### Section 5: TypeScript Compilation\n\nRun TypeScript type checking:\n\n```bash\nnpx tsc --noEmit\n```\n\n- PASS: exit code 0, no errors\n- FAIL: exit code non-zero, report the error count and first 5 error lines\n\n### Section 6: Test Suite\n\nRun the test suite:\n\n```bash\nnpm test\n```\n\n- PASS: exit code 0\n- FAIL: exit code non-zero, report test failure summary\n\nDo not run UAT (`npm run uat`) here — that is a pre-release gate, not a daily development check. Mention that it should be run before tagging a release.\n\n### Section 7: Circular Skill Call Detection\n\nSearch all `SKILL.md` files in `agentic\u002Fcode\u002F` for potential circular calls:\n\nFor each `SKILL.md`:\n1. Check if the associated command in `definitions.ts` has `executedViaSkillRunner: true`\n2. If yes: search the SKILL.md for `aiwg \u003Ccommand-name>` in any bash block or instruction text\n3. Flag any matches as circular call violations\n\n### Report Format\n\n```\nAIWG Dev Doctor\nRun at: \u003Ctimestamp>\nRepo: \u003Cworking directory>\n\nSECTION 1 — Structure Integrity\n  PASS  agentic\u002Fcode\u002Faddons\u002F (8 addons, all have manifest.json + README.md)\n  PASS  agentic\u002Fcode\u002Fframeworks\u002F (5 frameworks, all have manifest.json)\n\nSECTION 2 — Orphan Detection\n  PASS  no orphaned skills\n  FAIL  aiwg-utils: soul-blend listed in manifest but skills\u002Fsoul-blend\u002FSKILL.md missing\n  PASS  no orphaned agents\n  PASS  no missing agents\n  PASS  no orphaned rules\n\nSECTION 3 — Placement Violations\n  PASS  no placement violations found\n\nSECTION 4 — @file References\n  4a .aiwg\u002F refs:   PASS (all normalized)\n  4b bare AIWG refs: WARN — 2 legacy refs (add $AIWG_ROOT\u002F prefix)\n  4c .claude\u002F refs: PASS (none found)\n  WARN  agentic\u002Fcode\u002Faddons\u002Fmy-addon\u002Fskills\u002Fmy-skill.md\n        agentic\u002Fcode\u002F... (bare ref) → add $AIWG_ROOT\u002F prefix\n\nSECTION 5 — TypeScript Compilation\n  PASS  tsc --noEmit: 0 errors\n\nSECTION 6 — Test Suite\n  PASS  npm test: 142 passing, 0 failing\n\nSECTION 7 — Circular Skill Calls\n  PASS  no circular skill calls detected\n\nOverall: FAIL — 2 issues found\n\nBlocking issues:\n  1. [Section 2] aiwg-utils\u002Fskills\u002Fsoul-blend\u002FSKILL.md missing\n     Action: Create the SKILL.md or remove soul-blend from manifest.json\n  2. [Section 4] non-normalized @.aiwg\u002F reference in my-addon\u002Fskills\u002Fmy-skill.md\n     Action: Either remove the reference, replace it with a normalized path,\n             or add the path to the framework's memory.creates in manifest.json\n\nNotes:\n  - UAT (`npm run uat`) not run — run before tagging a release\n  - 8 addons, 5 frameworks validated\n```\n\n## Examples\n\n### Example 1: Clean repo\n\n**User**: \"run dev doctor\"\n\n**Output**:\n```\nAIWG Dev Doctor — 2026-04-01\n\nStructure:        PASS (8 addons, 5 frameworks)\nOrphans:          PASS (no orphaned or missing components)\nPlacement:        PASS (no violations)\n.aiwg\u002F refs:      PASS\nTypeScript:       PASS (0 errors)\nTests:            PASS (142 passing)\nCircular calls:   PASS\n\nOverall: PASS — repo is in a good state\nNote: Run `npm run uat` before tagging a release.\n```\n\n### Example 2: Multiple issues\n\n**User**: \"is the repo in a good state before I make a PR?\"\n\n**Output**:\n```\nAIWG Dev Doctor — 2026-04-01\n\nStructure:        PASS\nOrphans:          FAIL — 1 missing skill, 1 orphaned rule\nPlacement:        FAIL — 1 violation in .claude\u002Fskills\u002F\n.aiwg\u002F refs:      PASS\nTypeScript:       PASS\nTests:            PASS\nCircular calls:   PASS\n\nOverall: FAIL — 3 issues found\n\n1. [Orphans] my-addon\u002Fskills\u002Fmy-skill\u002FSKILL.md missing (listed in manifest)\n   → Create the file or remove from manifest.json\n2. [Orphans] my-addon\u002Frules\u002Fold-rule.md exists but not in RULES-INDEX.md\n   → Add an entry to rules\u002FRULES-INDEX.md or delete old-rule.md\n3. [Placement] .claude\u002Fskills\u002Fscratch-skill\u002F has no source in agentic\u002Fcode\u002F\n   → Move to agentic\u002Fcode\u002Faddons\u002F\u003Caddon>\u002Fskills\u002Fscratch-skill\u002F or delete\n```\n\n### Example 3: Focused check\n\n**User**: \"just check for placement violations\"\n\n**Action**: Run Section 3 only.\n\n**Output**:\n```\nPlacement Violation Check\n\nChecked: .claude\u002Fskills\u002F, .claude\u002Fagents\u002F, .claude\u002Fcommands\u002F, .claude\u002Frules\u002F\n         .github\u002Fagents\u002F, .github\u002Fprompts\u002F, .github\u002Finstructions\u002F\n         .cursor\u002Fskills\u002F, .cursor\u002Fagents\u002F\n\nResult: PASS — no placement violations found\nAll deployed files have corresponding source in agentic\u002Fcode\u002F.\n```\n\n## References\n\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Frules\u002Fskill-placement.md — Placement violation definitions\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Frules\u002Fno-circular-skill-calls.md — Circular call detection\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Frules\u002Fcomponent-completeness.md — Completeness requirements\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Frules\u002Faddon-boundaries.md — Source vs project output boundary\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Frules\u002Faiwg-dir-reference-contract.md — Normalized .aiwg\u002F reference contract\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fvalidate-addon\u002FSKILL.md — Per-addon validation\n- @$AIWG_ROOT\u002Ftools\u002Fcli\u002Fdoctor.mjs — Runtime doctor (end-user installation health, not dev structure)\n",{"name":5,"namespace":46,"platforms":47,"description":7},"aiwg",[48],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Faiwg-dev\u002Fskills\u002Fdev-doctor",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":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add jmagly\u002Faiwg --skill dev-doctor",{"tool":65,"command":66},"bunx","bunx skills add jmagly\u002Faiwg --skill dev-doctor",{"tool":68,"command":69},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill dev-doctor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Faiwg-dev\u002Fskills\u002Fdev-doctor\u002FSKILL.md",true,[],[74,82,87,114,134,139],{"skillNo":75,"name":76,"nameZh":17,"description":77,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"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":83,"name":76,"nameZh":17,"description":77,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":81},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":41},"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",[],[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":115,"name":116,"nameZh":17,"description":117,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":41},"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",[],[121,122,123,124,125,126,99,127,105,112,107,128,95,129,109,130,131,113,132,133],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":135,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":41},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[94,95,96,111,112,113,106,110,102,98,99,100,101,103,104,105,97,107,108,109],{"skillNo":140,"name":116,"nameZh":17,"description":117,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":41},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[121,122,133,132,125,131,130,109,124,126,99,127,105,123,107,128,95,113,112,129]]