[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2Q4A58C5BH2SXEMVGH07G":3,"skill-same:01M6C2Q4A58C5BH2SXEMVGH07G":96},{"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":54,"linkOnly":55,"markdownContent":56,"markdownBody":57,"frontMatter":58,"refName":66,"commitSha":67,"skillDirectory":68,"forksCount":69,"repositoryHtmlUrl":70,"repositoryHomepageUrl":71,"ownerHtmlUrl":72,"ownerBlogUrl":73,"ownerDescription":74,"updatedAt":75,"install":76,"resources":89},"01M6C2Q4A58C5BH2SXEMVGH07G","doc-sync","文档与代码同步","Synchronize documentation and code with bounded, scope-first drift checks","通过有界的、范围优先的漂移检查来同步文档与代码","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\u002Fcodex-sdlc\u002Fskills\u002Fdoc-sync\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TK1MPB82068236GSXDE","文档处理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],"sync","doc","doc sync","bounded","commit","path","direction","scope","dry","efficiency","drift","edit","write","read","grep","haiku","parallel","text","Bash","first","code","run","documentation","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: doc-sync\nplatforms: [all]\ndescription: Synchronize documentation and code with bounded, scope-first drift checks\ncommandHint:\n  argumentHint: \u003Cdirection> [--scope \"path\" --dry-run --parallel N --incremental --guidance \"text\" --no-commit]\n  allowedTools: Task, Read, Write, Bash, Glob, Grep, Edit\n  model: haiku\n  category: documentation\n  modelRole: efficiency\n  modelTier: economy\n---\n\n# Documentation-Code Sync\n\nDetect and resolve drift between code and documentation without front-loading a\nfull repository audit. Treat standard Sonnet context as the baseline.\n\n## Invocation\n\n`\u002Fdoc-sync \u003Cdirection> [options]`\n\nDirections:\n- `code-to-docs`: code is source of truth\n- `docs-to-code`: docs are source of truth\n- `full`: bidirectional reconciliation; conflicts require human review\n\nOptions:\n- `--scope \"path\"`: limit the run to a subtree or file group\n- `--incremental`: inspect changed files first\n- `--dry-run`: report only\n- `--parallel N`: cap concurrent auditors; default `2`, maximum `4`\n- `--guidance \"text\"`: use operator guidance for ambiguous cases\n- `--no-commit`: do not commit\n\n## Artifact root resolution\n\nTreat every `.aiwg\u002F...` path below as a logical artifact path. Before reading\nor writing sync state, working evidence, or reports, run `aiwg artifacts path`\nfrom the active workspace and use the returned absolute directory as\n`AIWG_ARTIFACT_ROOT`. Never write these payloads to a literal project-local\n`.aiwg\u002F` when `AIWG_ARTIFACTS_PATH` or `.aiwg-location` redirects the corpus.\n\n## Context Budget Rules\n\n- Start with `git status --short` and `git diff --name-only`; do not read broad\n  diffs before the changed-file set is known.\n- If neither `--scope` nor `--incremental` is supplied, derive a candidate scope\n  from changed files and ask before expanding to full repo.\n- Prefer shell inventories (`find`, `rg --files`, `git diff --name-only`) over\n  reading file bodies.\n- Dispatch subagents only after scope is known. Use at most `min(--parallel, 4)`\n  auditors, and prefer `2` for broad or release requests.\n- Each auditor must return at most 10 findings and 600 words. It should write\n  detailed evidence to `$AIWG_ARTIFACT_ROOT\u002Fworking\u002Fdoc-sync\u002F` and return only the path plus a\n  summary.\n- Do not preload other skills into subagents. If another capability is needed,\n  invoke it after this skill finishes or in an isolated follow-up.\n\n## Workflow\n\n1. Parse direction and options.\n2. Build a cheap scope inventory:\n   - `git status --short`\n   - `git diff --name-only`\n   - `git diff --cached --name-only`\n   - `rg --files docs README.md CHANGELOG.md package.json src agentic tools`\n     only when the changed-file set is insufficient.\n3. Choose audit lanes from the scoped files:\n   - CLI\u002FAPI docs\n   - provider\u002Fdeployment docs\n   - skill\u002Fagent catalogs\n   - README, changelog, release, or blog material\n   - config\u002Fschema docs\n4. Run bounded auditors for only the selected lanes. Each prompt must include:\n   - exact paths to inspect\n   - direction\n   - max 10 findings\n   - max 600-word return summary\n   - instruction to store detailed notes under `$AIWG_ARTIFACT_ROOT\u002Fworking\u002Fdoc-sync\u002F`\n5. Merge summaries into `$AIWG_ARTIFACT_ROOT\u002Freports\u002Fdoc-sync-audit-{date}.md` with:\n   - scope\n   - findings by severity\n   - auto-fixable vs human-required items\n   - files changed or proposed changes\n6. If not `--dry-run`, apply high-confidence fixes only.\n7. Validate modified files with targeted checks:\n   - markdown link\u002Fanchor checks where available\n   - `npm run lint:claude-context` if Claude-facing skills or agents changed\n   - project-specific build\u002Ftest checks only when source changed\n8. Record `$AIWG_ARTIFACT_ROOT\u002F.last-doc-sync`.\n9. Commit only when requested by the surrounding workflow and not blocked by\n   `--no-commit`; otherwise leave a concise final summary.\n\n## Release or Blog Coverage Requests\n\nFor combined requests such as \"docSync code2doc, ensure the monthly blog covers\nthe work, then commit-and-push\":\n\n1. Keep this skill to documentation drift detection and fixes.\n2. Treat blog\u002Frelease coverage as one selected audit lane with changed files plus\n   month-bounded git history, not a full repository read.\n3. Return a handoff summary for `commit-and-push` instead of invoking it inside\n   this skill.\n\n## Output Contract\n\nReturn:\n- audit report path\n- files changed\n- remaining human-review items\n- validation commands run\n- next recommended skill, if any\n","# Documentation-Code Sync\n\nDetect and resolve drift between code and documentation without front-loading a\nfull repository audit. Treat standard Sonnet context as the baseline.\n\n## Invocation\n\n`\u002Fdoc-sync \u003Cdirection> [options]`\n\nDirections:\n- `code-to-docs`: code is source of truth\n- `docs-to-code`: docs are source of truth\n- `full`: bidirectional reconciliation; conflicts require human review\n\nOptions:\n- `--scope \"path\"`: limit the run to a subtree or file group\n- `--incremental`: inspect changed files first\n- `--dry-run`: report only\n- `--parallel N`: cap concurrent auditors; default `2`, maximum `4`\n- `--guidance \"text\"`: use operator guidance for ambiguous cases\n- `--no-commit`: do not commit\n\n## Artifact root resolution\n\nTreat every `.aiwg\u002F...` path below as a logical artifact path. Before reading\nor writing sync state, working evidence, or reports, run `aiwg artifacts path`\nfrom the active workspace and use the returned absolute directory as\n`AIWG_ARTIFACT_ROOT`. Never write these payloads to a literal project-local\n`.aiwg\u002F` when `AIWG_ARTIFACTS_PATH` or `.aiwg-location` redirects the corpus.\n\n## Context Budget Rules\n\n- Start with `git status --short` and `git diff --name-only`; do not read broad\n  diffs before the changed-file set is known.\n- If neither `--scope` nor `--incremental` is supplied, derive a candidate scope\n  from changed files and ask before expanding to full repo.\n- Prefer shell inventories (`find`, `rg --files`, `git diff --name-only`) over\n  reading file bodies.\n- Dispatch subagents only after scope is known. Use at most `min(--parallel, 4)`\n  auditors, and prefer `2` for broad or release requests.\n- Each auditor must return at most 10 findings and 600 words. It should write\n  detailed evidence to `$AIWG_ARTIFACT_ROOT\u002Fworking\u002Fdoc-sync\u002F` and return only the path plus a\n  summary.\n- Do not preload other skills into subagents. If another capability is needed,\n  invoke it after this skill finishes or in an isolated follow-up.\n\n## Workflow\n\n1. Parse direction and options.\n2. Build a cheap scope inventory:\n   - `git status --short`\n   - `git diff --name-only`\n   - `git diff --cached --name-only`\n   - `rg --files docs README.md CHANGELOG.md package.json src agentic tools`\n     only when the changed-file set is insufficient.\n3. Choose audit lanes from the scoped files:\n   - CLI\u002FAPI docs\n   - provider\u002Fdeployment docs\n   - skill\u002Fagent catalogs\n   - README, changelog, release, or blog material\n   - config\u002Fschema docs\n4. Run bounded auditors for only the selected lanes. Each prompt must include:\n   - exact paths to inspect\n   - direction\n   - max 10 findings\n   - max 600-word return summary\n   - instruction to store detailed notes under `$AIWG_ARTIFACT_ROOT\u002Fworking\u002Fdoc-sync\u002F`\n5. Merge summaries into `$AIWG_ARTIFACT_ROOT\u002Freports\u002Fdoc-sync-audit-{date}.md` with:\n   - scope\n   - findings by severity\n   - auto-fixable vs human-required items\n   - files changed or proposed changes\n6. If not `--dry-run`, apply high-confidence fixes only.\n7. Validate modified files with targeted checks:\n   - markdown link\u002Fanchor checks where available\n   - `npm run lint:claude-context` if Claude-facing skills or agents changed\n   - project-specific build\u002Ftest checks only when source changed\n8. Record `$AIWG_ARTIFACT_ROOT\u002F.last-doc-sync`.\n9. Commit only when requested by the surrounding workflow and not blocked by\n   `--no-commit`; otherwise leave a concise final summary.\n\n## Release or Blog Coverage Requests\n\nFor combined requests such as \"docSync code2doc, ensure the monthly blog covers\nthe work, then commit-and-push\":\n\n1. Keep this skill to documentation drift detection and fixes.\n2. Treat blog\u002Frelease coverage as one selected audit lane with changed files plus\n   month-bounded git history, not a full repository read.\n3. Return a handoff summary for `commit-and-push` instead of invoking it inside\n   this skill.\n\n## Output Contract\n\nReturn:\n- audit report path\n- files changed\n- remaining human-review items\n- validation commands run\n- next recommended skill, if any\n",{"name":5,"namespace":59,"platforms":60,"commandHint":62,"description":7},"aiwg",[61],"all",{"model":46,"category":53,"modelRole":40,"modelTier":63,"allowedTools":64,"argumentHint":65},"economy","Task, Read, Write, Bash, Glob, Grep, Edit","\u003Cdirection> [--scope \"path\" --dry-run --parallel N --incremental --guidance \"text\" --no-commit]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fcodex-sdlc\u002Fskills\u002Fdoc-sync",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":77,"prompt":87,"zipAvailable":88},[78,81,84],{"tool":79,"command":80},"npx","npx skills add jmagly\u002Faiwg --skill doc-sync",{"tool":82,"command":83},"bunx","bunx skills add jmagly\u002Faiwg --skill doc-sync",{"tool":85,"command":86},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill doc-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fcodex-sdlc\u002Fskills\u002Fdoc-sync\u002FSKILL.md",true,[90],{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"NOTICE.md","REFERENCE","参考文档",1198,"https:\u002F\u002Fgithub.com\u002Fknacklabs\u002Fsymphony-forge\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fforge-v1.2.2\u002F.codex\u002Fskills\u002Ftest-audit\u002FNOTICE.md",[97,105,110,135,153,158],{"skillNo":98,"name":99,"nameZh":17,"description":100,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":104},"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":106,"name":99,"nameZh":17,"description":100,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":104},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":17,"description":113,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":54},"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",[],[117,118,119,120,121,44,122,123,124,125,126,127,128,49,129,130,131,132,133,134],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":136,"name":137,"nameZh":17,"description":138,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":54},"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",[],[142,143,144,145,146,43,44,147,127,133,49,148,118,149,130,150,38,134,151,152],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","ports","ufw",{"skillNo":154,"name":112,"nameZh":17,"description":113,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":54},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[117,118,119,132,133,134,128,131,124,121,44,122,123,125,126,127,120,49,129,130],{"skillNo":159,"name":137,"nameZh":17,"description":138,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":54},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[142,143,152,151,146,38,150,130,145,43,44,147,127,144,49,148,118,134,133,149]]