software-factory
MAmattpocock/skills336k近 7 天新增 4,217 个 star
Keep CLAUDE.md current and lean — capture this session's durable learnings into it (default), or `audit` it for stale commands, drift, and bloat. Enforces the line budget either way.
CLAUDE.md loads every turn for every developer; this skill is how it earns that. Two modes: default captures learnings from the current session; audit checks the whole file against reality.
Scan THIS conversation for durable, project-level learnings. A learning qualifies only if ALL of these hold:
prod_replica"./catchup handoff, not here..claude/rules/, or enforced by a hook.For each qualifying learning (usually 0-3 per session — finding none is a fine outcome):
Use \make test-fast` for iteration — `make test` spins up Docker (3 min).`Present all candidates with AskUserQuestion (multiSelect — let the user pick which to keep), then apply only the selected ones.
$ARGUMENTS contains audit)Check every line of CLAUDE.md against reality:
package.json scripts, Makefile targets, etc.) and match its description? Run --help/--dry-run variants where cheap..claude/rules/ content, hook-enforced behavior, or standard conventions Claude already knows — propose deletion.> REPLACE: template blocks — propose deletion.Report findings as a table (line → problem → proposed fix/deletion), confirm, apply.
CLAUDE.md non-blank lines at skill start: !grep -cvE '^[[:space:]]*$' CLAUDE.md 2>/dev/null || echo 0
Under 25 non-blank lines = healthy. 25-50 = list the longest sections, propose trims. Over 50 = the additions don't go in until something comes out — propose the trade explicitly ("add line X, delete lines Y-Z"). The number above is the pre-edit baseline; after applying changes, recount with grep -cvE '^[[:space:]]*$' CLAUDE.md 2>/dev/null || echo 0 to confirm the result still fits.
CLAUDE.local.md — that's the user's personal space.MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
DIDietrichGebert/ponytail202k近 7 天新增 4,226 个 star