docs-router — скилл для Claude Code: что делает и как установить
Скилл docs-router для Claude Code маршрутизирует задачи по работе с файлами между инструментами пакета Daymade. Определяет нужный обработчик по форматам исходника и результата.
MIT 138 установок ★ 1 540 обновлён 2026-10-25
npx skills add daymade/claude-code-skills --skill docs-router -a claude-codeЧто делает docs-router
Маршрутизатор выбирает специализированный дочерний скилл под конкретную операцию с документами. Он сопоставляет входные и выходные форматы: направляет Markdown в PDF через pdf-creator, вытаскивает текст и изображения в doc-to-markdown, запускает разбор правок DOCX или открывает таблицы в excel-automation.
Перед выполнением скилл находит канонический путь к собственному файлу docs-router/SKILL.md и вычисляет корень набора. Оттуда он напрямую читает инструкции соседнего файла, поэтому все дочерние модули Daymade должны находиться в том же каталоге. Если путь невозможно определить однозначно, работа останавливается без попыток угадать копию.
Для создания новых слайдов требуется отдельно установленный deck-creator. Обычное чтение PDF и базовый анализ таблиц остаются за рамками этого маршрутизатора.
Какие задачи решает
- конвертировать DOCX, PDF или HTML в Markdown с сохранением изображений
- собрать печатный PDF из Markdown или документов Word
- извлечь правки и комментарии рецензентов из файлов DOCX
- подготовить копии документов с имитацией сканирования и подписи
- проверить влияние изменений в коде на документацию через docs-cleaner
Примеры запросов агенту
- Переведи руководство из
manual.pdfв автономную страницу HTML с сохранением схем - Сравни две версии
agreement.docxи выведи все правки с комментариями - Собери печатный PDF из
spec.md
Как установить docs-router
1Через Skills CLI (Vercel)
npx skills add daymade/claude-code-skills --skill docs-router -a claude-code2Вручную: положить файлы
~/.claude/skills/docs-router/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/docs-router/
1Через Skills CLI (Vercel)
npx skills add daymade/claude-code-skills --skill docs-router -a codex2Вручную: положить файлы
.agents/skills/docs-router/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add daymade/claude-code-skills --skill docs-router -a cursor2Вручную: положить файлы
.cursor/skills/docs-router/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install daymade/claude-code-skills daymade-docs/docs-router/SKILL.md2Вручную: положить файлы
.github/skills/docs-router/SKILL.md1Через Skills CLI (Vercel)
npx skills add daymade/claude-code-skills --skill docs-router -a gemini-cli2Командой платформы
gemini skills install https://github.com/daymade/claude-code-skills --path daymade-docs/docs-routerВручную: положить файлы
.devin/skills/docs-router/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add daymade/claude-code-skills --skill docs-router -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о docs-router
Как установить docs-router в Claude Code?
Выполните команду npx skills add daymade/claude-code-skills --skill docs-router -a claude-code.
Что делает docs-router?
Скилл сопоставляет входной и требуемый выходной форматы документа, после чего загружает и выполняет инструкции подходящего инструмента из набора Daymade.
Что нужно для работы docs-router?
Требуется наличие соседних файлов набора Daymade в общей директории. Если путь к собственному файлу маршрутизатора невозможно определить однозначно, выполнение прерывается.
Исходный текст
SKILL.md · MIT
---
name: docs-router
description: >-
Word/PDF/PPTX/HTML→MD;MD/Word→PDF;new Word;PDF HTML/translate;Excel/xlsm/Mac;photo/signed scan;Mermaid;DOCX review;doc cleanup
Reads one bundled Daymade specialist. New slide decks use
deck-creator when installed; generic PDF reading/editing and spreadsheet
analysis stay with their own Skills. Retired ppt-creator stays manual-only.
---
# Daymade document router
Choose the one specialist that owns the requested result. First find the path
of **this loaded** `docs-router/SKILL.md` in the active skill catalog or the
invocation that opened it. Resolve that path to its canonical location (follow
symlinks), verify that it exists under a `docs-router` directory, and take that
directory's parent as the suite root. The paths in the table are relative to
this router's directory; resolve the selected path and verify that it points
to a direct sibling `SKILL.md` inside that suite root. Never anchor resolution
to the task's working directory or an old installed copy. Claude Code may
expand `${CLAUDE_PLUGIN_ROOT}` as a shortcut, but the router must work when
that variable is absent, as in Codex. If this router's own active path cannot
be identified unambiguously, stop instead of guessing a copy.
Read the selected child `SKILL.md` **in full** before acting; if a read is
truncated, continue from the omitted part. Then load every reference that the
child requires for this branch of work. The leaf skills are intentionally
absent from automatic discovery, so open their files directly rather than
invoking them through the Skill tool. A user can still invoke any leaf's
original `/daymade-docs:<leaf>` command manually.
| Requested result | Read this exact file |
|---|---|
| Convert a DOCX, PDF, PPTX, or saved HTML/HTM to Markdown; parse Word or extract document text and images into Markdown | `../doc-to-markdown/SKILL.md` |
| Turn Markdown into a printable PDF; adapt a manufacturer PDF manual into a concise Chinese illustrated recipient guide | `../pdf-creator/SKILL.md` |
| Create or format a Word `.docx`; export or repair an **existing Word/WPS manuscript** as PDF | `../docx-creator/SKILL.md` |
| Turn a PDF into a self-contained, image-faithful HTML reading page, optionally translating it while keeping figures and charts | `../pdf-to-html/SKILL.md` |
| Extract Mermaid diagrams from Markdown or render Mermaid as PNG | `../mermaid-tools/SKILL.md` |
| Create a professionally formatted Excel workbook, parse a complex investment-bank `.xlsm` model, or control Excel on macOS | `../excel-automation/SKILL.md` |
| Prepare printable ID/passport copies from existing photos, turn paper photos into a scanned PDF, replace scan pages, or make an unsigned digital document look hand-signed and scanned | `../photo-to-scanned-pdf/SKILL.md` |
| Extract Word/WPS DOCX comments or tracked changes; compare explicitly selected DOCX versions, using the verified sent baseline for counterpart feedback, including files with no review traces | `../read-docx-review/SKILL.md` |
| Check documentation impact after an authorized code, script, config, environment, path, deployment, auth, test, or procedure change; or consolidate redundant docs | `../docs-cleaner/SKILL.md` |
Decide by the **input and requested output**, not a shared word such as “PDF”
or “document.” For example, Markdown → PDF selects `pdf-creator`; an existing
Word manuscript → PDF selects `docx-creator`; PDF → Markdown selects
`doc-to-markdown`; PDF → HTML selects `pdf-to-html`. If the request spans two
results, read each relevant child before its stage.
For a manufacturer manual → Chinese illustrated guide (图文操作指南), select
`pdf-creator` and load its conditional illustrated-manual reference before
drafting. Use the sibling resolution above for any source-text or image
extraction stage; keep ordinary PDF reading/editing with its existing owner.
For website → Markdown, acquire the authorized pages through the owning web
workflow first, then select `doc-to-markdown` for the saved HTML. That conversion
branch does not crawl a site or certify presentation in a recipient's reader.
Do not select a Daymade child for a new slide deck or generic PPT work. Use
`deck-creator` for new presentation creation only when it is installed. If it
is unavailable, this suite has no automatic current PPT builder; external
users may explicitly invoke the retired `/daymade-docs:ppt-creator` for
its compatibility notice only, not PPT generation. General PDF reading/editing,
ordinary spreadsheet analysis, and other tasks without a matching row remain
with their owning skills or normal workflow. If the result is unclear, inspect
the actual file/task or ask for the missing input or output; do not guess a
Daymade child from an extension alone.
After an authorized code, script, config, environment, path, deployment, auth,
test, or procedure change, select `docs-cleaner` for a scoped documentation
impact check even if the user did not mention docs. Read its full instructions
at that stage; do not replace the primary task's specialist or scan unrelated
documentation. Explicit documentation impact and cleanup requests also route
there. A read-only investigation does not acquire write authorization through
this router.
© daymade · MIT · daymade/claude-code-skills