← ClaudeAtlas

lfe-hygienelisted

Conduct a structural audit of the repository to detect "Documentation Drift" or "Spaghetti Files." Use in Phase 5 (Hygiene sub-pipeline, Step 1).
StChiotis/Claude-LFE · ★ 2 · Data & Documents · score 68
Install: claude install-skill StChiotis/Claude-LFE
# LFE Hygiene Audit ## Position in Pipeline - **Phase**: 5 (Hygiene sub-pipeline, Step 1) - **Persona**: Archivist - **Trigger**: Scheduled every 5 sessions (tracked in `pipeline_status.md`) or manually by human - **Next Step**: `/lfe-improve-architecture` (Step 2) ## Mission Ensure the repository remains LFE-compliant. Detect drift between the Library and the physical filesystem, and verify the coordination layer is clean. ## Workflow ### 1. Floor Map Audit - Read `.docs/README.md`. - Scan the filesystem. - **Identify "Illegal" Files**: Files that exist but are not registered in the Floor Map. - **Identify "Ghost" Files**: Files listed in the Floor Map that no longer exist. ### 2. Coordination Layer Audit The cleanup tiers in `lfe-archivist/SKILL.md` Step 5a/5b are the source of truth for which files should be present at each lifecycle moment. This audit checks for drift from those rules. - **Mission complete** (`Mission State == [MISSION COMPLETE]` or `[BLANK CANVAS]`): no execution OR planning files should remain. If any of `01_grill_summary.md`, `02_prd.md`, `03_slices.md`, `plan_critique.md`, `active_plan.md`, `builder_done.md`, `tdd_report.md`, `critique.md`, `inspection_report.md`, `diagnosis_report.md` still exist, or if `.plans/checks/` contains any files → flag as "Stale Coordination Files". - **Between slices** (`Mission State == [IN-FLIGHT: <phase>]` and Active Persona is Architect): planning files (`01_grill_summary.md`, `02_prd.md`, `03_slices.md`) MAY exi