Command Palette

Search for a command to run...

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

authoring-docs

БесплатноБез исполняемых скриптовНе проверен

Use when writing, editing, rewriting, or shortening any page on the docs site (docs/**/*.mdx), including cleanup passes on legacy pages, requests to make a…

e2e-incот e2e-inc★ 14 545 звёзд на GitHub

Об этом скилле

Authoring docs

Readers skim. They read the headings, the first sentence of each section, the code blocks, and the tables, then leave. Write for that reader. Show the fast path first and fold everything else.

Model pages: docs/explore.mdx and docs/quickstart.mdx. When in doubt, copy their shape.

IMPORTANT: shorten every page

Run this pass on every page you write, edit, or rewrite, before you commit. Don't skip it for a new page or a small edit. A first draft is always too long, and an edit that adds one paragraph often repeats a fact the page already has.

On a reference page (docs/reference/) the pass is narrower: merge a fact said twice and keep each summary table to its minimum (Summary tables), but cut no fact. A reference page is a lookup, so it stays complete.

When the PR is about something other than docs, such as a flag rename that updates three pages, apply the cuts to the sections the change touches. List the cuts for the rest of each page as a follow-up. A whole-page restructure is its own PR, one page per PR.

A page is too long when it says a fact twice, or when it is much longer than its sidebar neighbors for no reason. Measure first. Count source lines and prose words, and compare the page with its siblings:

wc -l docs/integrations/*.mdx
awk '/^```/{c=!c;next} !c' docs/integrations/smol.mdx | wc -w   # prose, roughly

The word count is approximate. It misses indented fences and counts frontmatter and JSX, so compare counts only between versions of one page.

List every section with its rough line count. Then sort each cut into one of three kinds, and work them in this order.

  1. Cut what the reader doesn't act on.

    • How the code works inside, such as the order a provider boots machines. Keep the behavior a user sees, as one sentence where it matters.
    • An agent prompt that Copy agent prompt says to skip.
    • Next cards the reader doesn't need next, down to the skeleton's minimum of two.

    Keep a guarantee the reader would otherwise doubt, even when it reads like "works as it does locally". Check whether another page says it can fail. reference/web.mdx says a provider without downloads fails, so a provider page keeps the line that downloads work.

  2. Merge what's said twice. Each fact has one place.

    • A lede paragraph that previews a section becomes a link to it.
    • A "Before you start" whose items fit in two short sentences becomes a Note in the first task. Keep the section when its items need bullets, as in docs/explore.mdx.
    • A section that explains one option moves under the config that sets it.
    • A list and a table that describe the same fields become one table, with the details in its cells.
    • An options table row for an option with its own section links there. It doesn't describe the option again.
    • A list of limits or caveats copied from another page becomes a link to the page that owns it.
  3. Fold what only some readers need. An optional path with its own install and example goes into an Accordion. The visible text keeps the rule every reader must follow.

Write the target outline before you edit: the headings, and what each one holds. List moves that change other pages separately from the cuts on this page, and say if you recommend them.

When the user asks how to shorten a page, show the plan before you edit. Group the items by kind. Give each item its rough savings in lines and one sentence of reason. End with the target outline and your recommendation. If an earlier pass of yours added the length, say so.

Shortening adds claims. Check each new sentence:

  • A caveat moves with its claim. Cut "external state stays shared" from the lede, and "every retry starts from the same state" becomes a promise the code doesn't keep.
  • A sentence that replaces three is a new claim. Check it against src/. "workers sets how many machines run" was wrong: in 'attempt' scope each worker slot runs a warm machine and a branch.
  • A leftover fact gets a heading or gets cut. Don't park it under the nearest heading, such as cleanup under "Options". The heading list must still lead to it.
  • Every cut fact is cut on purpose. Name each one, with its reason, in the PR body.
  • Estimates run high. Measure after the edit, with the same commands. Report the real line and word counts, before and after.

Scope

  • Guides: every docs/**/*.mdx page except docs/reference/. That includes docs/ci/, docs/integrations/, and docs/migrate/.
  • Reference pages (docs/reference/) have their own shape: follow Reference pages, not the guide skeleton. The tone rules apply to both.
  • Not skills/e2e/. Agents read it start to finish, and the interactive components don't render there.
  • unslop still applies to every sentence. This skill adds structure and the gui
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

Что делает скилл authoring-docs?

Use when writing, editing, rewriting, or shortening any page on the docs site (docs/**/*.mdx), including cleanup passes on legacy pages, requests to make a page shorter, a page or entry under docs/reference/ (which has its own Next.js-style shape), and the docs page of a new integration, CI service, or migration guide (which needs the vendor's logo).

Как установить скилл authoring-docs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл authoring-docs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить authoring-docs с