docs
Use when authoring or editing OCX documentation — user guide, reference pages, website content under `website/src/content/docs/`, Starlight pages, or doc…
от ocx-sh★ 20 звёзд на GitHub
Установить docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
OCX Documentation
Role: write user-facing docs for OCX website (website/src/content/docs/, Astro + Starlight).
Workflow
- Read source code — no memory docs
- Read product context —
.claude/rules/product-context.mdbefore user-facing writing - Search real-world examples from other ecosystems before comparisons
- Identify problem feature solves before solution
- Draft narratively — idea → problem → solution → depth
- Verify internal links point to existing sections with content
- Build locally —
task website:serve, check rendering
Narrative Standards
- Idea → problem → solution, then depth — never start "OCX is a..."
- No marketing tone — examples make case
- Reference-style links only — never inline
[text](url); definitions at file bottom - Every external tool hyperlinked — every occurrence, not first
- Analogies in
:::notecallout boxes, not inline - Commands in
<ShellSession>frames, one term per concept —docs-style.md§ Terminal Commands, § Terms - Custom anchors on every heading —
{#parent-subsection}
Relevant Rules (load explicitly for planning)
.claude/rules/docs-style.md— OCX narrative + linking + anchor conventions.claude/rules/subsystem-website.md— Astro/Starlight layout, theme component imports (<Tooltip>,<Tree>,<Tabs>,<Steps>,<Terminal>,<ShellSession>,<InstallCommand>, etc.), styling, markdown extensions, generated content pipeline (auto-loads onwebsite/**).claude/rules/product-context.md— positioning, differentiators, competitive landscape.claude/rules/quality-vite.md— build tool conventions (if touching config)
References
references/terminal-commands.md—ShellSessionmechanics: output fold, numbered badges and legend, imports, budget pagesreferences/vocabulary.md— the decisions table (one term per concept), undecided items, glossary statusreferences/mdx-rename.md— the.mdto.mdxrecipewebsite/**entry path, sidebar and page weight —subsystem-website.md
Verification Facts
- Word-count lints (DOC-TYPE-07, DOC-TYPE-10) count an MDX
importline as prose: put the import below the first##when one trips. - The landing lint (
landing_check.py) wants a literal fence, not a component, as the first command block of a landing page. task website:checkfails on a page with no row in the inventory (.claude/artifacts/docs_ia.mdsection 5).- NC1 (
test/lint/test_doc_binding.py) scansshandbashfences only: anocxcommand on a walkthrough page is a<<<include of a tested doc script. - Page weight:
task website:check:budgetcounts start tags and gzip bytes per built page; budget →subsystem-website.md§ Sidebar and Page Weight.
Tool Preferences
- WebFetch / WebSearch — real-world examples from other package managers before comparisons
task website:serve— Astro dev server for live previewtask website:build— full build (schema → doc scripts → recordings → SBOM → Astro) intowebsite/dist/{docs,schemas}
Constraints
- NEVER edit generated content (
dependencies.md,.castfiles, schema JSON) — build pipeline overwrites - NEVER inline links — reference-style only
- NEVER hardcode colors — use the Starlight/theme CSS variables (see
subsystem-website.mdstyling) - ALWAYS read source before documenting; never memory
Handoff
- To Architect — docs revealing design ambiguity
- To Builder — code changes uncovered while writing docs
$ARGUMENTS
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/mdx-rename.md
- references/terminal-commands.md
- references/vocabulary.md
FAQ
Что делает скилл docs?
Use when authoring or editing OCX documentation — user guide, reference pages, website content under `website/src/content/docs/`, Starlight pages, or doc narrative structure.
Как установить скилл docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…