Maintenance in progress: we are indexing a large batch of new skills. Some pages may load slowly or briefly show no results. Nothing is lost, and everything is back to normal within the hour.

Optimizing Large Skills

Systematic methodology to reduce skill file size through externalization, consolidation, and progressive loading patterns. Triggers: large skill, skill optimization, skill size, 300 lines, inline code, skill refactoring, skill context reduction, skill modularization Use when: skills exceed 300 lines, multiple code blocks (10+) with similar functionality, heavy Python inline with markdown, functions >20 lines embedded DO NOT use when: skill is under 300 lines and well-organized. DO NOT use when: creating new skills - use modular-skills instead. Consult this skill when skills-eval shows "Large skill file" warnings.

majiayu000 1ec1d60 2 files · 6.6 KB Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/data/optimizing-large-skills commit 1ec1d6041e

Frequently asked questions

npx skillmds add majiayu000/optimizing-large-skills