plugins/documentation/skills/docs-writing-style/SKILL.md
Two-mode writing guide — exports a paste-ready style prompt for coding agents (handoff mode) or reviews a draft against the documentation quality rubric (review mode).
npx skillsauth add saif-shines/devex-kit docs-writing-styleInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Two modes. Choose one per session.
| Mode | When to use | What you get | |---|---|---| | Handoff | Before writing — you want your coding agent (Claude/Cursor/Copilot) to match the existing voice | A self-contained prompt block to paste into your coding agent's system instructions | | Review | After drafting — you want to check your draft's tone, structure, and style before submitting | A rubric-based diagnosis: what passes, what needs fixing, in priority order |
State your mode at the start: "handoff" or "review."
Documentation voice is a contract with the reader. Inconsistent tone makes docs feel untrustworthy. Consistent tone — even across many contributors — makes readers confident the information is accurate.
Load
references/style-principles.mdfor the full principles list. Loadreferences/scalekit-style-prompt-block.md(or<docs-repo>/.devex-kit/style-prompt-block.mdif the consumer has one) for the site-specific prompt block.
In handoff mode:
.cursorrules / .github/copilot-instructions.md.The prompt block is self-contained. The contributor does not need to explain the docs site to their coding agent — the prompt does it for them.
Load
references/style-principles.mdfor the full principles list. Loadreferences/llms-judge-rubric.mdfor the quality rubric.
In review mode:
PASS <criterion> — <brief note if anything to mention>
FAIL <criterion> — <specific problem> → fix: <what to do>
WARN <criterion> — <borderline issue worth watching>
Do not flag style issues in code blocks. Code is reviewed separately.
These apply regardless of mode. Violations in review mode are always FAIL.
Structure
<Steps> must be H3 (###) or smaller — never H2. H2 inside Steps creates oversized step titles that break visual hierarchy.Language
Code
<Tabs syncKey="tech-stack"> for 90% of SDK examples.scalekit (Node.js), scalekit_client (Python), scalekitClient (Go/Java).Asides and callouts
<Aside> is for incidental context only — cautions, tips, notes.<Aside>.type="caution", type="tip", or type="note" with a title attribute.Links
At the end of every session, ask: "Did this solve what you were trying to do?"
This skill is site-agnostic. The Scalekit-specific prompt block is in references/scalekit-style-prompt-block.md. To adapt:
references/_template-style-prompt-block.md → <your-docs-repo>/.devex-kit/style-prompt-block.md.<docs-repo>/.devex-kit/style-prompt-block.md first; falls back to the Scalekit sample with a note that it is an example.tools
Route tasks and route the user to the correct devex-kit skill before any work begins. Use when starting conversations or tasks that may involve documentation contributions, writing style, cookbook quality, sidebar navigation, SDK design/build/ship, CLI or API tooling, MCP server craft, agent plugin or skill development, devrel storytelling, DX first-success and content taxonomy, or when the user says "using devex-kit", "which devex-kit skill should I use", "help me pick the right skill from the kit", "route this to the right devex skill", or is unsure which /docs-* /sdk-* /mcp-* /devrel-* skill applies. Activates at the start of relevant sessions just like using-superpowers.
tools
Design, build, document, and ship SDKs that developers love. Covers the full SDK lifecycle — from API surface design and type safety through implementation, bundling, documentation, versioning, and publishing. Use this skill whenever someone is creating a new SDK, extracting shared code into a client library, improving SDK developer experience, planning a breaking change or migration guide, or reviewing an SDK for quality. Also activates for questions about error message design, client library patterns, type-safe API design, SDK packaging (ESM/CJS), or npm publishing.
tools
Build MCP servers that AI agents actually want to use. Covers the full lifecycle — tool design (naming, schemas, descriptions), resource design (URIs, templates, subscriptions), project structure, transport selection (stdio vs Streamable HTTP), security, error handling, and testing. Use this skill when building a new MCP server, adding tools or resources to an existing one, reviewing an MCP server for quality, choosing between stdio and HTTP transport, designing tool schemas for LLM consumption, or hardening an MCP server for production. Also activates for questions about tool naming conventions, Pydantic Field descriptions, Zod validation for MCP, resource URI schemes, or MCP server security patterns.
tools
Build CLI tools and API utilities that developers on your platform actually use. Covers CLI design (command hierarchy, flags, completions, cross-platform UX) and API collection generation (Postman/OpenAPI from Express, Next.js, Fastify, Hono routes). Use this skill when building a developer-facing CLI tool, adding subcommands or flags, implementing shell completions, designing interactive prompts, generating Postman collections from code, creating API testing artifacts, or building any developer utility. Also activates for questions about argument parsing (commander, click, typer, cobra), progress indicators, terminal UX, or Postman collection format.