sac-init
Scaffold a System Architecture Capture knowledge bundle with SAC + PKC catalogs for reverse-engineering systems into OKF. Use when starting architecture capture in a repo.
- License 许可
- MIT
- 最近更新
- 2026-09-20
- Stars
- ★ 1
- Forks
- 2
01 前言 Front Matter
- name
- sac-init
- description
- Scaffold a System Architecture Capture knowledge bundle with SAC + PKC catalogs for reverse-engineering systems into OKF. Use when starting architecture capture in a repo.
03 SKILL.md 正文
SAC Init
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sac_common.py" init-bundle \
--repo . --bundle knowledge --title "System Architecture Knowledge"
Optionally copy .sac/config.example.yml → .sac/config.yml.
Requires companions: project-knowledge-capture (PKC) and okf-plugin (OKF) for full graph tooling.
04 同仓库更多 Skills
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.
sac-search
Full-text search over SAC architecture knowledge concepts.
sac-scan
Run deterministic architecture scanners (packages, containers, IaC, K8s, CI/CD, identity) against a code root without writing knowledge.
sac-reverse-engineer
End-to-end reverse-engineer one or more git repositories into a SAC architecture knowledge graph (packages, services, IaC, CI/CD, IAM, identity, topology). Plan breadth-first, then fan out area walkers. Primary entry skill for SAC.
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.
sac-plan
Breadth-first reverse-engineering plan — map monorepo/multi-repo roots, rank focus areas, emit deep-dive checklists. Pause here before spawning area walkers. Not query-time retrieve.