Skip to content

docs: move menus.js and specialty-helper reference into on-demand skills - #3

Open
johnrees wants to merge 1 commit into
KilledByAPixel:mainfrom
johnrees:claude
Open

docs: move menus.js and specialty-helper reference into on-demand skills#3
johnrees wants to merge 1 commit into
KilledByAPixel:mainfrom
johnrees:claude

Conversation

@johnrees

@johnrees johnrees commented Jul 11, 2026

Copy link
Copy Markdown

I ran /doctor with fable and it suggested moving some of the CLAUDE.md stuff into skills to save tokens.

Important

The issue is that .claude/skills was 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...

  • Moves the menus.js API reference and the bloom/cards/gameAI/words helper docs out of CLAUDE.md and into on-demand Claude Code skills, so they only load when a prototype actually needs them (cuts the always-resident CLAUDE.md from ~34.9k to ~16.3k chars).
  • Skills are tracked in the repo under .claude/skills/littlejs-menu-ui-helpers and .claude/skills/littlejs-specialty-game-helpers, namespaced with a littlejs- prefix so they don't collide with any skills a user already has locally under .claude/skills/.
  • .gitignore updated so only .claude/skills/ is tracked; the rest of .claude/ (local settings, etc.) stays ignored.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant