apply documentation-layout to agentic-os itself - flatten skills, fix size violations, wire the hook #81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Now that
documentation-layouthas two new rules (#80: generalizedexamples/carve-out, mandatory flat skill folders) and the existing skill conventions inagentic-osuse<skill>/references/<file>.mdand<skill>/templates/<file>.md,agentic-ositself fails its own hook. Same applies to size caps: ~20 Markdown files in this repo exceed 80 lines / 4000 chars.Symptom
.venv/bin/check-documentation-layoutagainst the repo produces (representative):Plus the hook is not currently invoked by this repo's
.pre-commit-config.yaml(onlycatalog-block-present,closes-issue,warp-go-vetrun), so this drift has been invisible.Scope of work (expected to span multiple sessions)
This is not a single-commit cleanup. The sweep is broad and touches every skill in the repo. Plan to break it into many small commits, each closing this issue with
relates to(then a final commit withcloses), or split into per-skill child issues.<skill>/references/<file>.mdand<skill>/templates/<file>.mdup to<skill>/<file>.md. Update every internal link, SKILL.md frontmatter, and any cross-repo references that pointed at the old paths.docs/skill-discipline/. It has subdirectories (examples/,templates/). Either move into the skill that owns the convention, or flatten intodocs/*.mdwith filename prefixes.documentation-layout(andcatalog-doc-size) entries. Run the hook against the now-clean tree; assert zero violations.apply-agentic-os-hooks.pyso downstream consumers (agentic-os-kai etc.) also getdocumentation-layoutrolled out automatically. See agentic-os-kai#370.CHANGELOG.mdis not on the root allowlist. Either add it to the allowlist with rationale, or move todocs/CHANGELOG.md.Why this can take time
[link](references/foo.md)inside the skill body and any sibling skill that cross-references it. Easy to miss.agentic-os-kai/setup.shwalks this dir and symlinks each skill into~/.claude/skills/).sed.Track partial progress in commit messages. This issue stays open until step 4 (zero violations) lands.
Acceptance
.venv/bin/check-documentation-layoutagainstcoilysiren/agentic-osHEAD exits 0..pre-commit-config.yamlincludesdocumentation-layoutandcatalog-doc-size.apply-agentic-os-hooks.pypropagates the change to consumers.