docs: move menus.js and specialty-helper reference into on-demand skills - #3
Open
johnrees wants to merge 1 commit into
Open
docs: move menus.js and specialty-helper reference into on-demand skills#3johnrees wants to merge 1 commit into
johnrees wants to merge 1 commit into
Conversation
The menus.js API reference and the bloom/cards/gameAI/words helper docs loaded into every session regardless of whether the current prototype touched them. Moved that content into on-demand skills (.claude/skills/littlejs-menu-ui-helpers, .claude/skills/littlejs-specialty-game-helpers) so it loads only when relevant, cutting the always-resident file from ~34.9k to ~16.3k chars. The skills are namespaced with a littlejs- prefix and tracked in the repo (rest of .claude/ stays gitignored/local) so they ship with the project instead of depending on each user's local skill setup.
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.
I ran
/doctorwith fable and it suggested moving some of the CLAUDE.md stuff into skills to save tokens.Important
The issue is that
.claude/skillswas in.gitignore, so if you'd rather keep it that way then feel free to dismiss this PR and I'll just use it locally.I prefixed the skill names with littlejs to make them easy to find and less likely to collide with skills you might already have, but I'm not sure if this is idiomatic usage or not.
Thanks!
From Claude...
.claude/skills/littlejs-menu-ui-helpersand.claude/skills/littlejs-specialty-game-helpers, namespaced with alittlejs-prefix so they don't collide with any skills a user already has locally under.claude/skills/..gitignoreupdated so only.claude/skills/is tracked; the rest of.claude/(local settings, etc.) stays ignored.