feat(PROJ-000): add skill hardening loop - #4
Merged
Conversation
Migrate skills to folder/SKILL.md format with colocated resources (scaffold-module templates), add the improve-skill meta-skill and a seeded Lessons changelog, shrink CLAUDE.md and the docs to the minimal always-loaded context, and document the strategy in README.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adopts a "small always-loaded context, self-hardening skills" strategy: skills move to the
current folder format, failures now become permanent skill fixes via a new
improve-skillmeta-skill, and the always-on context (CLAUDE.md, docs) shrinks to only what a model can't
infer. Net −13 lines while adding a skill.
Changes
<name>/SKILL.mdfolders (git mv, history preserved);scaffold-modulegains colocatedtemplates/for the types/implementation/test trioimprove-skill: the hardening loop — name the failure, find the owning skill/doc, add the smallest preventing rule, log it in a## Lessonschangelogscaffold-module's Lessons with the three real failures fromdocs/CASE_STUDY.md(fake-timer rejection race, non-enumerableError.causeintoMatchObject, ESLint scoping for harness scripts)CLAUDE.md~150 → ~80 words; drop listings that skill discovery andAGENTS.mdalready provideREACT_GUIDELINES.md(−45%) andDEVELOPMENT.md; both now state they hold project conventions onlyTesting
pre-commit(lint-staged) andcommit-msghooks passed on the commit itself.templatefiles only —pnpm testunaffected; CI runs the full four checksRelated
PROJ-000
Checklist
pnpm lint:fix && pnpm typecheck && pnpm testpass locally{username}/{TICKET}-{description}