preen-enhancements
SKILL.md
Misc Preen Enhancements
Use this skill when you need to evolve the preen ecosystem itself, not just run a preen pass.
Goals
- Keep Claude/Codex preen docs semantically aligned
- Prevent command-prefix drift (
/commandvs$command) - Manage categories from one machine-readable source
- Ensure guardrails enforce parity in pre-push and CI
Canonical Files
scripts/preen/registry.json- Source of truth for preen categoriesscripts/preen/generatePreenDocs.sh- Generates top-level preen docsscripts/checkPreenEcosystem.sh- Semantic parity + lint checks.claude/commands/preen.md- Generated target.codex/skills/preen/SKILL.md- Generated target
Workflow
- Update
scripts/preen/registry.jsonfor category additions/removals/ordering. - Regenerate top-level docs:
./scripts/preen/generatePreenDocs.sh
- Run strict ecosystem checks:
./scripts/checkPreenEcosystem.sh --strict
- Resolve any parity, command-style, or generation drift findings.
- Run impacted quality/tests for touched code paths.
- Commit with a focused message and proceed through the normal PR + merge queue flow.
Adding a New Preen Category
When adding a category (for example preen-foo):
- Add registry entry in
scripts/preen/registry.json. - Create paired docs:
.claude/commands/preen-foo.md.codex/skills/preen-foo/SKILL.md
- Ensure Codex uses
/commit-and-pushand/enter-merge-queue. - Regenerate docs and rerun strict checks.
Guardrails
- Never hand-edit generated top-level preen docs without rerunning the generator.
- Keep category scope focused: one meaningful fix per run by default.
- Prefer
rg-based discovery commands for speed and consistency. - Avoid introducing behavior changes when the intent is hygiene hardening.
Weekly Installs
1
Repository
a2f0/tearleadsFirst Seen
10 days ago
Security Audits
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1