progressive-disclosure — скилл для Claude Code: установка
Скилл делит большой файл инструкций на короткий входной файл и ветки, которые открываются по условию. Пригодится для skills, CLAUDE.md и спецификаций.
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a claude-codeЧто делает progressive-disclosure
progressive-disclosure разбирает большой скилл, CLAUDE.md или спецификацию на общий входной файл и отдельные файлы для веток. Он помогает оставить в основном файле правила, нужные всегда, а инструкции для проверки, миграций или глоссария подключать только при соответствующем условии.
Скилл проходит артефакт целиком, выделяет ветки, переносит каждую в соседний файл с понятным именем и добавляет указатель с условием и путём. Затем он проверяет каждую ветку от начала до конца и сообщает, что осталось, что переместилось и каким стал размер входного файла.
Разделение не должно превращаться в удаление: мёртвый материал удаляют отдельно, а всегда связанные файлы не разделяют. Установщик должен переносить соседние файлы рядом с SKILL.md, иначе указатель сломается. В Claude Code скилл не вызывается моделью автоматически, потому что в его настройках включён disable-model-invocation: true.
Какие задачи решает
- разделить большой
CLAUDE.mdна общий файл и ветки - вынести инструкции для проверок в отдельный файл
- добавить условные указатели на миграции или глоссарий
- проверить, что каждая ветка сохранила нужные шаги
Примеры запросов агенту
- Запусти скилл
progressive-disclosureдляCLAUDE.mdи вынеси инструкции, нужные только при миграциях. - Примени
progressive-disclosureк этому скиллу: оставь общий порядок действий во входном файле, а проверку вынеси в отдельный файл. - Используй скилл
progressive-disclosureдля спецификации и проверь все ветки после разделения.
Как установить progressive-disclosure
1Через Skills CLI (Vercel)
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a claude-code2Вручную: положить файлы
~/.claude/skills/progressive-disclosure/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/progressive-disclosure/
1Через Skills CLI (Vercel)
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a codex2Вручную: положить файлы
.agents/skills/progressive-disclosure/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a cursor2Вручную: положить файлы
.cursor/skills/progressive-disclosure/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Neeeophytee/finding-unknowns-skills progressive-disclosure2Вручную: положить файлы
.github/skills/progressive-disclosure/SKILL.md1Через Skills CLI (Vercel)
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a gemini-cli2Командой платформы
gemini skills install https://github.com/Neeeophytee/finding-unknowns-skills --path skills/progressive-disclosureВручную: положить файлы
.devin/skills/progressive-disclosure/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о progressive-disclosure
Как установить progressive-disclosure в Claude Code?
Выполните npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a claude-code, затем откройте ~/.claude/skills/progressive-disclosure/SKILL.md.
Что делает progressive-disclosure?
Скилл выделяет общий для всех сценариев набор инструкций, переносит условные ветки в соседние файлы и связывает их указателями с условиями открытия.
Почему после разделения нужны соседние файлы рядом с SKILL.md?
Указатели ссылаются на эти файлы. Если установщик не переносит их вместе со скиллом, нужная ветка не откроется.
Исходный текст
SKILL.md · MIT
--- name: progressive-disclosure description: Split an oversized skill, CLAUDE.md, or spec into an entry file plus files that load only when they're needed. disable-model-invocation: true --- # Progressive disclosure A long instruction file is paid for on every single turn, including the turns that need none of it. The fix is not deletion — the material is real — but placement: keep what every run needs in the entry file, and move what only some runs need behind a pointer that fires when it's relevant. This skill restructures one artifact. To find out which artifacts need it, audit first. ## Steps 1. Read the whole artifact and identify its **branches** — the genuinely different ways a run can go through it. A verification section reached only when the user asks to verify is a branch; a rule that applies every time is not. 2. Sort every section into two piles: needed on every branch, and needed on one. The split is the entire decision, and it is usually less even than it looks — most files are a short universal core wrapped in branch-specific detail. 3. Keep the universal core in the entry file, ordered so the file still reads coherently on its own. An entry file that no longer makes sense without its children has been cut in the wrong place. 4. Move each branch into a sibling file named for what it holds, not for where it came from — `verification.md`, `glossary.md` — so the name alone tells the reader when to open it. 5. Write the pointer with care, because the pointer's wording is what decides whether the material is ever reached. Name the condition and the file together: "when the change touches migrations, read `migrations.md` before planning." A bare link at the bottom of a file is not a pointer. 6. Walk each branch end to end and confirm it still has everything it needs. Then report what moved, what stayed, and the new size of the entry file. ## Guardrails - Splitting is not deleting. If a section is genuinely dead, say so and remove it outright rather than hiding it in a file nobody opens. - Never split material that every branch needs. Two files that are always read together are one file with extra steps. - A pointer that never fires has made the material invisible, which is worse than leaving it inline. When the triggering condition can't be stated crisply, that section stays put. - Verify that the target harness actually ships sibling files alongside `SKILL.md` before relying on them; installers differ, and a pointer to a file that didn't travel is a broken skill. - Stop when the entry file is legible. Splitting past that point trades one kind of unreadability for another.
© Neeeophytee · MIT · Neeeophytee/finding-unknowns-skills