#+TITLE: SKILL: Autonomous Groomer Agent (Universal Literate Note) #+ID: skill-groomer #+STARTUP: content #+FILETAGS: :refactoring:optimization:debt:psf: #+DEPENDS_ON: skill-atomic-notes skill-tdd-runner * Overview The *Groomer Agent* is the system's "Immune System" for code and notes. It autonomously audits the PSF ecosystem for technical debt, duplication, and architectural drift, proposing surgical refactors to maintain the "Minimalist Core" mandate. * Phase A: Demand (PRD) :PROPERTIES: :STATUS: DRAFT :END: ** 1. Purpose Enforce zero-bloat and high-maintainability standards across the PSF. ** 2. User Needs - *Debt Detection:* Identify duplicate Lisp logic or redundant Org headlines. - *Autonomous Refactoring:* Propose surgical code changes to simplify implementation. - *Verification:* Ensure refactors do not break functionality (via TDD Runner). - *Note Grooming:* Consolidate fragmented atomic notes into coherent structures.