Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Checks & cleans foam memory layout: banned docs/superpowers paths, misplaced PRDs/plans, broken plan links, optional closed-plan archiving.
14% 91%+77 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 3 of 22 without it.
3 of 3 safety checks passed
Not used yet
Machine + agent guardrails for project memory layout (not runtime doc/ sync —
use cda-docs for that).
Canonical rules: foam/product/documentation-layout.md, skill cda-foam.
SKILL=~/.cursor/skills/cda-doc-hygiene
bash "$SKILL/scripts/doc-hygiene.sh" --check # CI / verify (exit 1 on FAIL)
bash "$SKILL/scripts/doc-hygiene.sh" --report # markdown report for chat
bash "$SKILL/scripts/doc-hygiene.sh" --check --gh # + warn closed issues still in plans/
bash "$SKILL/scripts/doc-hygiene.sh" --archive-done --dry-run
bash "$SKILL/scripts/doc-hygiene.sh" --archive-done # git mv closed plans → foam/archive/plans/
From ai-dev-kit tree:
bash skills/core/cda-doc-hygiene/scripts/doc-hygiene.sh --check
DOC_HYGIENE_STRICT=1 — treat warnings as exit 1.
--report; cite each FAIL/WARN.docs/superpowers/ or PRDs outside prd/.cda-foam → import-kanban.sh if feature indexes are stale.--archive-done --dry-run, then --archive-done;
update PRD/AGENTS.md links from plans/ to foam/archive/plans/.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.