Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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-english owns the sentences. Use pragmatic mode. Run its self-check before you call a page done.
  • i-have-adhd owns 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.

  1. Look for a docs folder. Check docs/ first, then documentation/, content/docs/, site/, website/docs/.
  2. Found nothing? Ask the user where docs should go. Do not guess and do not create a folder on a hunch.
  3. 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.
  4. Note which components the site already uses (steps, tabs, callouts, cards, accordions, code groups, and so on). Different sites have different ones.
  5. 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.

  1. 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.
  2. Write one user story per reader: "As a X, I want to Y, so I can Z."
  3. 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.
  4. 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

The user must see the list in the chat. Listing readers in a thought, a todo, a buried plan, or only inside a question tool is not this gate.

Question tools (AskQuestion, ask_user_question, and s

Полный SKILL.md на GitHub

Установить write-cpk-docs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить write-cpk-docs с