Generates and self-verifies documentation for the Strata project family from a list of sources, producing a linked, agent-queryable knowledge base.
sources.mdlists each source (id,type,repo,ref, optionalsubpaths): the SDK, the Rails app template, SDK-consuming apps like OSCER, thetemplate-infrainfrastructure template, and theplatform-cli(nava-platform) tool.- The
generate-strata-docsskill documents each source (one agent per source) using the type's profile inskills/generate-strata-docs/references/profiles/. Thesdk,infra-template, andplatform-clidocumenters distill each source's owndocs/(verifying against code); each doc is tagged with canonicalfeature_keys/demonstratesfromreferences/feature-keys.mdandcomponent_keys/manages/integrates_withfromreferences/platform-components.md. scripts/build_graph.pybuildsdocs/INDEX.mdanddocs/graph.jsonfrom doc frontmatter, linking each example to the SDK feature itdemonstrates(example-of), and the CLI/templates to the components theymanage/integrate with(manages/integrates-with).- An adjudicated verify→fix loop checks each doc against its source; unresolved docs are
marked
verified: needs-reviewwith findings indocs/.verification/. - A curator reviews the run's distillation logs into
docs/.curation/improvements.md.
- Locally: open this repo in Claude Code and invoke the
generate-strata-docsskill (uses your own Claude auth; needs git access to the source repos and Python 3.13). - In CI: the
Generate Strata DocsAction (manual, weekly, or onsources.mdchange) runs the skill and opens a PR. Requires theANTHROPIC_API_KEYandSOURCES_READ_TOKENsecrets.
pip install -r scripts/requirements.txt pytest
python -m pytest -v
python -m scripts.lint_manifest
python -m scripts.lint_docsOpening the repo in Claude Code loads local PreToolUse reminder hooks (scripts/hooks/, registered
in .claude/settings.json) that nudge gh pr create / gh issue create toward the create-pr /
create-issue skills and list the staged set before git commit. They only remind, never block; see
rules/architecture.md.
See docs/superpowers/specs/2026-06-18-strata-documentation-engine-design.md for the design.
See CONTRIBUTING.md for the contribution workflow, branch naming, commit
conventions, and the issue and PR templates. AGENTS.md is the canonical guide for both human
contributors and AI agents.