plugins/coordinator.bak/skills/lessons-trim/SKILL.md
Periodic maintenance of lessons files — trims stale entries, merges duplicates, and deletes exhausted feature-scoped files. Implements the 'Periodic trim' rule from CLAUDE.md's Self-Improvement Loop. This skill should be used when lessons.md is getting long, when a feature is complete and its lessons file should be cleaned up, or when periodic housekeeping is needed. Invoked by /update-docs (Phase 6) or standalone.
npx skillsauth add oduffy-delphi/coordinator-claude lessons-trimInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review tasks/lessons.md (global) and any tasks/<feature>/lessons.md files. This is the periodic safety net described in the Self-Improvement Loop guidelines in CLAUDE.md.
Discovery: Find feature-scoped lessons files via tasks/*/lessons.md (glob). Each match is a feature-scoped file. Global lessons live at tasks/lessons.md (no subdirectory).
Skip if no lessons files exist.
For each lessons file:
lessons.md, find it a home rather than discarding it:
docs/guides/*.md and add it there under a ## Gotchas or ## Key Patterns section. These are battle stories — losing the ability to grep for them is a real cost.lessons.md for fast session-start accesstasks/<feature>/lessons.md) relates to completed work and all entries are either migrated or preserved in the global file, delete itMigration mechanics: When migrating an entry to a wiki guide, use the existing docs/guides/ structure. If no guide exists for the relevant system, create one or add a ## Gotchas section to the closest existing guide. Update docs/guides/DIRECTORY_GUIDE.md if you create a new guide.
Judgment call: When in doubt, migrate rather than discard — the cost of a slightly long wiki page is lower than losing a hard-won implementation insight. But be honest: pure task-state entries with no pattern content should be discarded, not padded into artificial wiki prose.
tools
PM-GATED. Hold this repo's PM comms channel: gate what reaches the PM, reserve the push channel, carry rulings back as records.
tools
Census/launch/teardown lifecycle for a repo's declared app under coordinator.local.md's app_session config -- complementary to the platform's built-in run skill, not competing with it.
testing
Reconcile a self-description draft against the ratified one; never auto-commits.
development
Bounded spike — fuse web research with local study to a verdict.