[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2JWFT89XDFY3WJ7K08DHY":3,"skill-same:01M6C2JWFT89XDFY3WJ7K08DHY":66},{"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":23,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6C2JWFT89XDFY3WJ7K08DHY","dev-doctor",null,"Run a development-focused health check on the AIWG repository structure","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Faiwg-dev\u002Fskills\u002Fdev-doctor\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33],"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":39,"platforms":40,"description":7},"aiwg",[41],"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":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add jmagly\u002Faiwg --skill dev-doctor",{"tool":58,"command":59},"bunx","bunx skills add jmagly\u002Faiwg --skill dev-doctor",{"tool":61,"command":62},"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,[],[67,75,80,108,132,138],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":74},"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":76,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":74},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":87,"publishedAt":34},"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",[86],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":118,"publishedAt":34},"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",[114,117],{"categoryNo":115,"categoryName":116,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[119,120,121,122,123,124,93,125,99,106,101,126,89,127,103,128,129,107,130,131],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":133,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":137,"publishedAt":34},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[136],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[88,89,90,105,106,107,100,104,96,92,93,94,95,97,98,99,91,101,102,103],{"skillNo":139,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":144,"publishedAt":34},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[142,143],{"categoryNo":115,"categoryName":116,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[119,120,131,130,123,129,128,103,122,124,93,125,99,121,101,126,89,107,106,127]]