[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABD90R4ANYN5WFMWZP6S6H":3,"skill-same:01M7ABD90R4ANYN5WFMWZP6S6H":47},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7ABD90R4ANYN5WFMWZP6S6H","sac-reverse-engineer",null,"End-to-end reverse-engineer one or more git repositories into a SAC architecture knowledge graph (packages, services, IaC, CI\u002FCD, IAM, identity, topology). Plan breadth-first, then fan out area walkers. Primary entry skill for SAC.","SpillwaveSolutions\u002Fsystem-architecture-capture","SpillwaveSolutions","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F195786054?v=4","01M6C51PYYW6CJRKPESEEJVZW9","Spillwave Solutions","01M7ABB3QFAQQXVBSMJPRH2D33",1,"MIT","https:\u002F\u002Fgithub.com\u002FSpillwaveSolutions\u002Fsystem-architecture-capture\u002Fblob\u002Fmain\u002Fskills\u002Fsac-reverse-engineer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sac-reverse-engineer\ndescription: End-to-end reverse-engineer one or more git repositories into a SAC architecture knowledge graph (packages, services, IaC, CI\u002FCD, IAM, identity, topology). Plan breadth-first, then fan out area walkers. Primary entry skill for SAC.\n---\n\n# SAC Reverse Engineer\n\nPopulate **the second brain for system architecture information** on the given monorepo or multi-repo set: map the estate first, prioritize focus areas, walk code\u002FIaC with matching sub-agents, materialize concepts using the **standard OKF schema pack** (`schemas\u002Ftypes.json`), wire relationships, validate with `--schema`, and leave a queryable knowledge bundle.\n\nThis is **capture-time**. Do not conflate it with query-time `architecture-retriever` \u002F `sac-retrieve`. Walkers populate the graph. Retrievers stay separate.\n\n## Connectivity\n\nProvider login\u002FAPI details come from host **skills and MCPs** — not from SAC.\nFetch wiki\u002Ftickets\u002Flive cloud inventory via those tools first; SAC normalizes\npaths you pass in. In-repo scanners need only filesystem access to git roots.\n\n## Process\n\n1. Confirm repo roots (local paths or clones of URLs) and system name.\n2. Optional: wiki export dir, tickets JSON.\n3. **Init** the knowledge bundle if needed.\n4. **Plan (breadth-first)** — map layout, ecosystems, and which domains are present. Do not start with a full scan.\n\n```bash\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_orchestrate.py\" \\\n  --repo . \\\n  --system \"$SYSTEM_NAME\" \\\n  --scan-root \"$REPO_ROOT\" \\\n  --plan-only \\\n  --json\n```\n\nOr:\n\n```bash\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_plan.py\" \\\n  --repo . --system \"$SYSTEM_NAME\" --scan-root \"$REPO_ROOT\" --write --json\n```\n\nArtifacts (operational, not OKF concepts):\n\n- `knowledge\u002F.sac\u002Fre-plan.md` — repo map, ranked task list, unchecked deep-dive checklists\n- `knowledge\u002F.sac\u002Fre-plan.json` — same, machine-readable\n- `knowledge\u002F.sac\u002Fre-plan-progress.json` — checklist status\n\n5. **Review the plan**, then **spawn from the assignment tables**: one child per domain area **and** one child per listed language\u002FIaC specialist. Signal-gated — do not spawn Java (Gradle \u002F Maven) unless Gradle or Maven markers exist (both first-class; mixed repos cover both), or Terraform without `.tf`. Independent domains in parallel; specialists enrich after the deterministic scan for that ecosystem. Pass that area’s checklist and `scan_domains`.\n6. Each child runs a **domain-scoped** scanner + capture (scripts own writes) and marks checklist items:\n\n```bash\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_orchestrate.py\" \\\n  --repo . --system \"$SYSTEM_NAME\" --scan-root \"$REPO_ROOT\" \\\n  --from-plan knowledge\u002F.sac\u002Fre-plan.json --area packages --json\n\n# equivalent scoped pair\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_scan.py\" --root \"$REPO_ROOT\" --domains packages --json\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_capture.py\" \\\n  --repo . --root \"$REPO_ROOT\" --system \"$SYSTEM_NAME\" --domains packages\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_plan.py\" mark \\\n  --plan knowledge\u002F.sac\u002Fre-plan.json --area packages --item capture --status done\n```\n\nDo **not** re-run `full_scan` in every child if the plan already scoped domains. Language\u002FIaC specialists (`--area lang-java`, `iac-terraform`, …) are enrichment-only — they do not re-scan.\n\n7. After children return, **graph-builder** (or orchestrate without `--plan-only`) joins Package\u002FService ↔ Deployment ↔ LB ↔ Pipeline where evidence exists.\n8. Optional wiki\u002Fticket ingest. Blast radius on critical services.\n9. Validate + doctor + report checklist completion:\n\n```bash\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_validate.py\" --repo . --schema\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_doctor.py\" --repo .\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_plan.py\" show --plan knowledge\u002F.sac\u002Fre-plan.json\n```\n\nUnattended (plan + scoped capture of every detected domain + graph):\n\n```bash\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_orchestrate.py\" \\\n  --repo . \\\n  --system \"$SYSTEM_NAME\" \\\n  --scan-root \"$REPO_ROOT\" \\\n  --json\n```\n\nDefault scan domains include `diagrams` (Mermaid\u002FPlantUML) and `code` (Module\u002FClass\u002FMethod\u002FFunction) **when the plan detects them**.\n","# SAC Reverse Engineer\n\nPopulate **the second brain for system architecture information** on the given monorepo or multi-repo set: map the estate first, prioritize focus areas, walk code\u002FIaC with matching sub-agents, materialize concepts using the **standard OKF schema pack** (`schemas\u002Ftypes.json`), wire relationships, validate with `--schema`, and leave a queryable knowledge bundle.\n\nThis is **capture-time**. Do not conflate it with query-time `architecture-retriever` \u002F `sac-retrieve`. Walkers populate the graph. Retrievers stay separate.\n\n## Connectivity\n\nProvider login\u002FAPI details come from host **skills and MCPs** — not from SAC.\nFetch wiki\u002Ftickets\u002Flive cloud inventory via those tools first; SAC normalizes\npaths you pass in. In-repo scanners need only filesystem access to git roots.\n\n## Process\n\n1. Confirm repo roots (local paths or clones of URLs) and system name.\n2. Optional: wiki export dir, tickets JSON.\n3. **Init** the knowledge bundle if needed.\n4. **Plan (breadth-first)** — map layout, ecosystems, and which domains are present. Do not start with a full scan.\n\n```bash\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_orchestrate.py\" \\\n  --repo . \\\n  --system \"$SYSTEM_NAME\" \\\n  --scan-root \"$REPO_ROOT\" \\\n  --plan-only \\\n  --json\n```\n\nOr:\n\n```bash\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_plan.py\" \\\n  --repo . --system \"$SYSTEM_NAME\" --scan-root \"$REPO_ROOT\" --write --json\n```\n\nArtifacts (operational, not OKF concepts):\n\n- `knowledge\u002F.sac\u002Fre-plan.md` — repo map, ranked task list, unchecked deep-dive checklists\n- `knowledge\u002F.sac\u002Fre-plan.json` — same, machine-readable\n- `knowledge\u002F.sac\u002Fre-plan-progress.json` — checklist status\n\n5. **Review the plan**, then **spawn from the assignment tables**: one child per domain area **and** one child per listed language\u002FIaC specialist. Signal-gated — do not spawn Java (Gradle \u002F Maven) unless Gradle or Maven markers exist (both first-class; mixed repos cover both), or Terraform without `.tf`. Independent domains in parallel; specialists enrich after the deterministic scan for that ecosystem. Pass that area’s checklist and `scan_domains`.\n6. Each child runs a **domain-scoped** scanner + capture (scripts own writes) and marks checklist items:\n\n```bash\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_orchestrate.py\" \\\n  --repo . --system \"$SYSTEM_NAME\" --scan-root \"$REPO_ROOT\" \\\n  --from-plan knowledge\u002F.sac\u002Fre-plan.json --area packages --json\n\n# equivalent scoped pair\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_scan.py\" --root \"$REPO_ROOT\" --domains packages --json\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_capture.py\" \\\n  --repo . --root \"$REPO_ROOT\" --system \"$SYSTEM_NAME\" --domains packages\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_plan.py\" mark \\\n  --plan knowledge\u002F.sac\u002Fre-plan.json --area packages --item capture --status done\n```\n\nDo **not** re-run `full_scan` in every child if the plan already scoped domains. Language\u002FIaC specialists (`--area lang-java`, `iac-terraform`, …) are enrichment-only — they do not re-scan.\n\n7. After children return, **graph-builder** (or orchestrate without `--plan-only`) joins Package\u002FService ↔ Deployment ↔ LB ↔ Pipeline where evidence exists.\n8. Optional wiki\u002Fticket ingest. Blast radius on critical services.\n9. Validate + doctor + report checklist completion:\n\n```bash\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_validate.py\" --repo . --schema\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_doctor.py\" --repo .\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_plan.py\" show --plan knowledge\u002F.sac\u002Fre-plan.json\n```\n\nUnattended (plan + scoped capture of every detected domain + graph):\n\n```bash\npython3 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsac_orchestrate.py\" \\\n  --repo . \\\n  --system \"$SYSTEM_NAME\" \\\n  --scan-root \"$REPO_ROOT\" \\\n  --json\n```\n\nDefault scan domains include `diagrams` (Mermaid\u002FPlantUML) and `code` (Module\u002FClass\u002FMethod\u002FFunction) **when the plan detects them**.\n",{"name":5,"description":7},"main","1cd053bb1d8deed7484415fd26cef587f2b8b04f","skills\u002Fsac-reverse-engineer",2,"https:\u002F\u002Fgithub.com\u002FSpillwaveSolutions\u002Fsystem-architecture-capture","https:\u002F\u002Fgithub.com\u002FSpillwaveSolutions","https:\u002F\u002Fspillwave.com\u002F","Hardcore engineers engaged in prolific AI and Agentic activities","2026-09-20 06:15:02",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add SpillwaveSolutions\u002Fsystem-architecture-capture --skill sac-reverse-engineer",{"tool":39,"command":40},"bunx","bunx skills add SpillwaveSolutions\u002Fsystem-architecture-capture --skill sac-reverse-engineer",{"tool":42,"command":43},"pnpm","pnpm dlx skills add SpillwaveSolutions\u002Fsystem-architecture-capture --skill sac-reverse-engineer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSpillwaveSolutions\u002Fsystem-architecture-capture\u002Fblob\u002Fmain\u002Fskills\u002Fsac-reverse-engineer\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7ABDHJ5DKFHJ7PA44GDFN53","sac-session","Open or close an isolated second-brain write session (worktree + PR). Use before scanning or materializing architecture when multiple agents share one knowledge remote.","https:\u002F\u002Fgithub.com\u002FSpillwaveSolutions\u002Fsystem-architecture-capture\u002Fblob\u002Fmain\u002Fskills\u002Fsac-session\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7ABDF33KM730K7ZKX4R2CXG","sac-search","Full-text search over SAC architecture knowledge concepts.","https:\u002F\u002Fgithub.com\u002FSpillwaveSolutions\u002Fsystem-architecture-capture\u002Fblob\u002Fmain\u002Fskills\u002Fsac-search\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7ABDCTV172JZ6JGHAESMH6T","sac-scan","Run deterministic architecture scanners (packages, containers, IaC, K8s, CI\u002FCD, identity) against a code root without writing knowledge.","https:\u002F\u002Fgithub.com\u002FSpillwaveSolutions\u002Fsystem-architecture-capture\u002Fblob\u002Fmain\u002Fskills\u002Fsac-scan\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"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":19},"01M7ABD542R7NT1BHARCXVTFT1","sac-retrieve","Query-time retrieval of SAC architecture context without contaminating the parent. Spawn architecture-retriever for topology (Service, ApiContract, Package, Runtime, Pipeline, IdentityProvider, blast radius). Do not run sac_search or sac_pack in the parent. Consume only the retrieval card.","https:\u002F\u002Fgithub.com\u002FSpillwaveSolutions\u002Fsystem-architecture-capture\u002Fblob\u002Fmain\u002Fskills\u002Fsac-retrieve\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":19},"01M7ABD0FA21HE2WTPZPBG0Q4M","sac-plan","Breadth-first reverse-engineering plan — map monorepo\u002Fmulti-repo roots, rank focus areas, emit deep-dive checklists. Pause here before spawning area walkers. Not query-time retrieve.","https:\u002F\u002Fgithub.com\u002FSpillwaveSolutions\u002Fsystem-architecture-capture\u002Fblob\u002Fmain\u002Fskills\u002Fsac-plan\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7ABCWRH2HWVX7XSSG2KNH33","sac-pack","Build progressive disclosure context packs (default 2-hop) for precise LLM queries over architecture knowledge.","https:\u002F\u002Fgithub.com\u002FSpillwaveSolutions\u002Fsystem-architecture-capture\u002Fblob\u002Fmain\u002Fskills\u002Fsac-pack\u002FSKILL.md",[],[]]