[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CB2ND3RXP0G7M40PWR8S06":3,"skill-same:01M6CB2ND3RXP0G7M40PWR8S06":62},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6CB2ND3RXP0G7M40PWR8S06","workspace-health",null,"Assess workspace alignment and recommend cleanup or realignment actions at key lifecycle transition points","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\u002Futils\u002Fskills\u002Fworkspace-health\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"health","workspace","workspace health","cleanup","actions","lifecycle","alignment","assess","at","recommend","transition","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: workspace-health\nplatforms: [all]\ndescription: Assess workspace alignment and recommend cleanup or realignment actions at key lifecycle transition points\n---\n\n\u003C!-- AIWG-SKILL-CALLOUT -->\n> **Skill access pattern (post-kernel-pivot, 2026.5+)**\n>\n> Skill names referenced in this document are AIWG skills, **not slash commands**. Most are not kernel-listed and cannot be invoked as `\u002Fskill-name` by the platform. Reach them via:\n>\n> ```bash\n> aiwg discover \"\u003Ccapability>\"\n> aiwg show skill \u003Cname> --body\n> ```\n>\n> Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fskill-discovery.md).\n\n\n# Workspace Health Check Skill\n\nAssesses workspace alignment and suggests cleanup or realignment actions at key transition points.\n\n## Kernel Delegation\n\n> As of ADR-021, `workspace-health` delegates structural checks to the semantic memory kernel.\n\n**Delegation pattern**:\n1. `workspace-health` retains its consumer-neutral health-check UX\n2. Runs `memory-lint` for every installed framework in `.aiwg\u002Fframeworks\u002Fregistry.json`\n3. Aggregates results across all consumers into a unified report\n4. `aiwg doctor` continues to call this skill unchanged\n\n**Backward compatibility**: No UX changes. Output format unchanged.\n\n@agentic\u002Fcode\u002Faddons\u002Fsemantic-memory\u002Fskills\u002Fmemory-lint\u002FSKILL.md\n\n## Triggers\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"do I need to realign\" → workspace realignment check\n- \"is my workspace aligned\" → alignment status check\n- \"cleanup recommendations\" → workspace prune suggestions\n\nAuto-triggers:\n- After phase transition flow commands complete\n- After completing major features or intensive processes\n\n## Trigger Conditions Reference\n\nThis skill is commonly invoked:\n- At the end of phase transitions (flow commands)\n- After completing major features or intensive processes\n- When documentation appears out of sync\n- Manually via natural language phrases above\n\n## Assessment Checklist\n\n### 1. Working Directory Health\n\n```yaml\nchecks:\n  - name: working_directory_size\n    description: Check if .aiwg\u002Fworking\u002F has accumulated stale files\n    threshold: \">10 files or >1MB\"\n    action: Suggest \u002Fworkspace-prune-working\n\n  - name: orphan_drafts\n    description: Draft artifacts not linked to requirements\n    action: Suggest review or archival\n\n  - name: stale_locks\n    description: Lock files older than 24h\n    action: Suggest cleanup\n```\n\n### 2. Documentation Alignment\n\n```yaml\nchecks:\n  - name: phase_documentation\n    description: Current phase docs match project state\n    sources:\n      - .aiwg\u002Fplanning\u002Fphase-plan-*.md\n      - .aiwg\u002Freports\u002F*-completion-report.md\n    action: Suggest \u002Fworkspace-realign if mismatched\n\n  - name: requirement_coverage\n    description: All requirements have linked artifacts\n    action: Suggest \u002Fcheck-traceability\n\n  - name: architecture_drift\n    description: Code diverged from documented architecture\n    action: Suggest architecture review or ADR update\n```\n\n### 3. Artifact Freshness\n\n```yaml\nchecks:\n  - name: stale_artifacts\n    description: Key artifacts not updated in >30 days during active dev\n    artifacts:\n      - SAD (Software Architecture Document)\n      - Risk Register\n      - Test Strategy\n    action: Flag for review\n\n  - name: completion_markers\n    description: Artifacts marked complete but phase still active\n    action: Suggest status update\n```\n\n## Output Format\n\n```markdown\n## Workspace Health Report\n\n**Overall Status**: [Healthy | Needs Attention | Requires Realignment]\n\n### Quick Actions\n- [ ] Run `workspace-prune-working` - 15 stale files in working\u002F\n- [ ] Review 3 orphaned draft artifacts\n- [ ] Update risk register (last modified 45 days ago)\n\n### Detailed Findings\n\n#### Working Directory\n- Status: Needs cleanup\n- Files: 15 (threshold: 10)\n- Oldest: inception-notes-draft.md (created 2024-11-15)\n- Recommendation: Promote or archive before next phase\n\n#### Documentation Alignment\n- Phase: Construction\n- Last phase report: Elaboration completion (2024-12-01)\n- Missing: Construction kickoff documentation\n- Recommendation: Run `flow-elaboration-to-construction` completion steps\n\n#### Traceability\n- Requirements covered: 85%\n- Orphan code files: 3\n- Recommendation: Run `check-traceability` for details\n```\n\n## Integration Points\n\n### Flow Command Endings\n\nAdd to flow command templates:\n\n```markdown\n## Post-Completion\n\nAfter this flow completes, consider running a workspace health check:\n\n[workspace-health] Assessing workspace alignment...\n\nIf issues found, the skill will suggest appropriate cleanup commands.\n```\n\n### Proactive Invocation\n\nThe orchestrator should invoke this skill:\n1. When transitioning between SDLC phases\n2. After completing iteration cycles\n3. When user requests project status\n4. Before major deployments\n\n## Implementation Notes\n\nThis skill should:\n1. Read workspace state from `.aiwg\u002F` structure\n2. Compare against expected state for current phase\n3. Generate actionable recommendations\n4. NOT automatically execute cleanup (user confirms)\n\n## Related Commands\n\n- `workspace-prune-working` - Clean up working directory\n- `workspace-realign` - Reorganize documentation structure\n- `workspace-reset` - Full workspace reset (destructive)\n- `project-status` - Current project state\n- `check-traceability` - Verify requirement links\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002FREADME.md — aiwg-utils addon overview\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fhuman-authorization.md — Report findings and await user authorization before cleanup\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fvague-discretion.md — Concrete thresholds for health checks (file count, age)\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC phase structure that workspace health is measured against\n","\u003C!-- AIWG-SKILL-CALLOUT -->\n> **Skill access pattern (post-kernel-pivot, 2026.5+)**\n>\n> Skill names referenced in this document are AIWG skills, **not slash commands**. Most are not kernel-listed and cannot be invoked as `\u002Fskill-name` by the platform. Reach them via:\n>\n> ```bash\n> aiwg discover \"\u003Ccapability>\"\n> aiwg show skill \u003Cname> --body\n> ```\n>\n> Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fskill-discovery.md).\n\n\n# Workspace Health Check Skill\n\nAssesses workspace alignment and suggests cleanup or realignment actions at key transition points.\n\n## Kernel Delegation\n\n> As of ADR-021, `workspace-health` delegates structural checks to the semantic memory kernel.\n\n**Delegation pattern**:\n1. `workspace-health` retains its consumer-neutral health-check UX\n2. Runs `memory-lint` for every installed framework in `.aiwg\u002Fframeworks\u002Fregistry.json`\n3. Aggregates results across all consumers into a unified report\n4. `aiwg doctor` continues to call this skill unchanged\n\n**Backward compatibility**: No UX changes. Output format unchanged.\n\n@agentic\u002Fcode\u002Faddons\u002Fsemantic-memory\u002Fskills\u002Fmemory-lint\u002FSKILL.md\n\n## Triggers\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"do I need to realign\" → workspace realignment check\n- \"is my workspace aligned\" → alignment status check\n- \"cleanup recommendations\" → workspace prune suggestions\n\nAuto-triggers:\n- After phase transition flow commands complete\n- After completing major features or intensive processes\n\n## Trigger Conditions Reference\n\nThis skill is commonly invoked:\n- At the end of phase transitions (flow commands)\n- After completing major features or intensive processes\n- When documentation appears out of sync\n- Manually via natural language phrases above\n\n## Assessment Checklist\n\n### 1. Working Directory Health\n\n```yaml\nchecks:\n  - name: working_directory_size\n    description: Check if .aiwg\u002Fworking\u002F has accumulated stale files\n    threshold: \">10 files or >1MB\"\n    action: Suggest \u002Fworkspace-prune-working\n\n  - name: orphan_drafts\n    description: Draft artifacts not linked to requirements\n    action: Suggest review or archival\n\n  - name: stale_locks\n    description: Lock files older than 24h\n    action: Suggest cleanup\n```\n\n### 2. Documentation Alignment\n\n```yaml\nchecks:\n  - name: phase_documentation\n    description: Current phase docs match project state\n    sources:\n      - .aiwg\u002Fplanning\u002Fphase-plan-*.md\n      - .aiwg\u002Freports\u002F*-completion-report.md\n    action: Suggest \u002Fworkspace-realign if mismatched\n\n  - name: requirement_coverage\n    description: All requirements have linked artifacts\n    action: Suggest \u002Fcheck-traceability\n\n  - name: architecture_drift\n    description: Code diverged from documented architecture\n    action: Suggest architecture review or ADR update\n```\n\n### 3. Artifact Freshness\n\n```yaml\nchecks:\n  - name: stale_artifacts\n    description: Key artifacts not updated in >30 days during active dev\n    artifacts:\n      - SAD (Software Architecture Document)\n      - Risk Register\n      - Test Strategy\n    action: Flag for review\n\n  - name: completion_markers\n    description: Artifacts marked complete but phase still active\n    action: Suggest status update\n```\n\n## Output Format\n\n```markdown\n## Workspace Health Report\n\n**Overall Status**: [Healthy | Needs Attention | Requires Realignment]\n\n### Quick Actions\n- [ ] Run `workspace-prune-working` - 15 stale files in working\u002F\n- [ ] Review 3 orphaned draft artifacts\n- [ ] Update risk register (last modified 45 days ago)\n\n### Detailed Findings\n\n#### Working Directory\n- Status: Needs cleanup\n- Files: 15 (threshold: 10)\n- Oldest: inception-notes-draft.md (created 2024-11-15)\n- Recommendation: Promote or archive before next phase\n\n#### Documentation Alignment\n- Phase: Construction\n- Last phase report: Elaboration completion (2024-12-01)\n- Missing: Construction kickoff documentation\n- Recommendation: Run `flow-elaboration-to-construction` completion steps\n\n#### Traceability\n- Requirements covered: 85%\n- Orphan code files: 3\n- Recommendation: Run `check-traceability` for details\n```\n\n## Integration Points\n\n### Flow Command Endings\n\nAdd to flow command templates:\n\n```markdown\n## Post-Completion\n\nAfter this flow completes, consider running a workspace health check:\n\n[workspace-health] Assessing workspace alignment...\n\nIf issues found, the skill will suggest appropriate cleanup commands.\n```\n\n### Proactive Invocation\n\nThe orchestrator should invoke this skill:\n1. When transitioning between SDLC phases\n2. After completing iteration cycles\n3. When user requests project status\n4. Before major deployments\n\n## Implementation Notes\n\nThis skill should:\n1. Read workspace state from `.aiwg\u002F` structure\n2. Compare against expected state for current phase\n3. Generate actionable recommendations\n4. NOT automatically execute cleanup (user confirms)\n\n## Related Commands\n\n- `workspace-prune-working` - Clean up working directory\n- `workspace-realign` - Reorganize documentation structure\n- `workspace-reset` - Full workspace reset (destructive)\n- `project-status` - Current project state\n- `check-traceability` - Verify requirement links\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002FREADME.md — aiwg-utils addon overview\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fhuman-authorization.md — Report findings and await user authorization before cleanup\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fvague-discretion.md — Concrete thresholds for health checks (file count, age)\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC phase structure that workspace health is measured against\n",{"name":5,"namespace":35,"platforms":36,"description":7},"aiwg",[37],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fworkspace-health",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":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add jmagly\u002Faiwg --skill workspace-health",{"tool":54,"command":55},"bunx","bunx skills add jmagly\u002Faiwg --skill workspace-health",{"tool":57,"command":58},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill workspace-health","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fworkspace-health\u002FSKILL.md",true,[],[63,71,76,103,123,128],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":70},"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":72,"name":65,"nameZh":6,"description":66,"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":70},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\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":30},"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",[],[83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":30},"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",[],[110,111,112,113,114,115,88,116,94,101,96,117,84,118,98,119,120,102,121,122],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":124,"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":125,"categories":126,"keywords":127,"publishedAt":30},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[83,84,85,100,101,102,95,99,91,87,88,89,90,92,93,94,86,96,97,98],{"skillNo":129,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":30},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[110,111,122,121,114,120,119,98,113,115,88,116,94,112,96,117,84,102,101,118]]