Use when skill-check reports body.max_lines and you need to modularize a long SKILL.md into maintainable references/*.md docs after running split-body.
Links under ## References resolve and match file names.
No critical instruction is lost during extraction.
Before/After pattern
Before:
one very long SKILL.md containing all operational details.
After:
concise SKILL.md with intent + constraints + ## References
multiple references/*.md files for detailed procedures.
1---2name: split-into-references3description: split-into-references4---5# split-into-references67## Use when89Use when `skill-check` reports `body.max_lines` and you need to modularize a long `SKILL.md` into maintainable `references/*.md` docs after running `split-body`.1011## Workflow12131. Run preview first:14 - `npx skill-check split-body <skill-dir-or-file>`152. Apply deterministic split:16 - `npx skill-check split-body <skill-dir-or-file> --write`173. Edit generated references docs to improve readability:18 - tighten headings so each file has one clear purpose19 - add a 1-3 line summary at the top of each references file20 - remove duplicated steps across references files214. Keep `SKILL.md` concise:22 - preserve "Use when", constraints, and expected outcomes23 - keep `## References` links current and descriptive245. Validate:25 - `npx skill-check check <skill-dir-or-file> --no-security-scan`2627## Quality checklist2829- The main `SKILL.md` stays short and scannable.30- Each references file is focused and linkable.31- Links under `## References` resolve and match file names.32- No critical instruction is lost during extraction.3334## Before/After pattern3536Before:37- one very long `SKILL.md` containing all operational details.3839After:40- concise `SKILL.md` with intent + constraints + `## References`41- multiple `references/*.md` files for detailed procedures.
Run npx skillmds@latest add thedaviddias/split-into-references in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
split-into-references It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
thedaviddias (@thedaviddias) published this skill. Their other Agent Skills are listed on their SkillMD profile.