write-cpk-docs
БесплатноБез исполняемых скриптовНе проверенUse only when writing, editing, or reorganizing CopilotKit documentation pages (showcase/shell-docs). Do not use for planning or implementing features, code…
от CopilotKit★ 39 079 звёзд на GitHubОб этом скилле
write-cpk-docs
Write docs a real person wants to read. Short, plain, built around someone trying to do a real thing.
"Document feature X" is not the job. "Help someone do Y with X" is the job.
Work in two phases. First plan the story: who reads this, what they want, and how many pages it should be. Then write.
The plan is not private. The user must see the readers and must choose the tone before any page is written.
Find docs
→ read neighbors
→ Phase 1: readers + pages
→ PERSONA GATE (write the reader list in the chat, then stop)
→ TONE GATE (write the tone in the chat, then stop) [when writing pages]
→ load simple-english + i-have-adhd [when writing pages]
→ Phase 2: write
When to run
Run this skill only when someone asks for docs, or when you are about to write or edit a docs page. Do not run it while planning or implementing a feature. Docs work starts when pages are written.
Required skills for the final pages
simple-english and i-have-adhd are prerequisites. They apply to the documentation pages, not to this planning chat.
Load both immediately before writing page content. Use the Skill tool if this harness has one. If it does not, Read each skill's SKILL.md from the local skills directory. Do not write pages from memory of those skills.
If either skill is missing, stop and tell the user. Do not write the pages without them.
How they compose:
- This skill owns who the page is for, the page split, problem-then-fix, show-don't-tell, no history leak, forbidden glyphs, and neighbor structure.
simple-englishowns the sentences. Use pragmatic mode. Run its self-check before you call a page done.i-have-adhdowns the shape of the page: next action first, numbered steps, lists capped at 5 (split must vs later, or split the page), no preamble, a visible win at the end.
When i-have-adhd is loaded from this skill, apply it to the pages only. Do not switch the rest of the session into ADHD mode. The persistence section of i-have-adhd does not apply here.
Find the docs first
Before writing anything, find where docs live.
- Look for a docs folder. Check
docs/first, thendocumentation/,content/docs/,site/,website/docs/. - Found nothing? Ask the user where docs should go. Do not guess and do not create a folder on a hunch.
- Open 2 or 3 existing pages near where the new content belongs. Read them for copy, structure, frontmatter fields, and components. Note the apparent tone as a candidate for the tone gate. Do not adopt it yet.
- Note which components the site already uses (steps, tabs, callouts, cards, accordions, code groups, and so on). Different sites have different ones.
- Reuse those components to tell the story. If the site has a steps component, use it for walkthroughs. If it has tabs, use them for framework variations. If the site has none, use plain markdown. Never invent a component the site does not have.
If there is no page like the one you are about to write, read the closest one you can find and match it.
What "match the neighbors" covers, and what it does not
Matching neighbors is about copy, structure, frontmatter, and components: whether headings are sentence case, how much setup a section gets, which components carry the walkthrough, how code samples are introduced, what the frontmatter fields are.
It is not a substitute for the tone gate. Neighbors can suggest a default. They cannot answer for the user.
It is not permission to copy a neighbor's bad habits. Everything in Forbidden and every rule in this skill still applies to the content you write, no matter what the surrounding pages do. An existing page full of em dashes does not license one more.
So: never reason "the other pages do it, so I will too" about a rule this skill states. If existing pages break a rule and you think the whole set should be brought in line, that is a separate cleanup to raise with the user, not something to settle by quietly matching the violation.
Phase 1: plan the story
Do this before you write a word of content.
- List who reads this and what each one wants. A person building on a React SPA, a person on a server-rendered app, someone who just wants a quick demo, someone extending the internals. Do not stop at the first reader.
- Write one user story per reader: "As a X, I want to Y, so I can Z."
- Turn stories into pages. One journey is one page. Different journeys are different pages. A feature with three real journeys is three pages plus maybe a short overview, not one giant page.
- Check every reader has a path. A reader with no page is a hole in the plan. Add a page or a route for them.
The page split comes out of this step. Do not skip it.
Gate: show the personas
Question tools (AskQuestion, ask_user_question, and s
Установить write-cpk-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл write-cpk-docs?
Use only when writing, editing, or reorganizing CopilotKit documentation pages (showcase/shell-docs). Do not use for planning or implementing features, code changes, or other writing such as PR descriptions or chat answers. Triggers on "write docs for X", "document this feature", "add a guide", "update the docs", "reorganize the docs", or /write-cpk-docs.
Как установить скилл write-cpk-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл write-cpk-docs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic