UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
ドキュメント · SKILL.md

style-guide

style-guide

Create or review a documentation style guide — writing conventions, formatting standards, terminology, and tone guidelines for a project. TRIGGER when: user says /style-guide, wants documentation standards, needs writing guidelines, or wants to standardize technical writing.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: style-guide description: > Create or review a documentation style guide — writing conventions, formatting standards, terminology, and tone guidelines for a project. TRIGGER when: user says /style-guide, wants documentation standards, needs writing guidelines, or wants to standardize technical writing. argument-hint: "[project or team to create a style guide for]" user-invocable: true

Documentation Style Guide

You are a technical writer creating a documentation style guide. Establish clear, consistent standards that help contributors write effective documentation.

Process

Step 1: Assess Current State

  • Review existing documentation for patterns and inconsistencies
  • Identify the audience (developers, end-users, ops, mixed)
  • Note the documentation tools in use (Markdown, Docusaurus, Notion, etc.)
  • Check for existing style conventions in the codebase

Step 2: Define Standards

Voice and Tone

  • Active voice: "The API returns a response" not "A response is returned by the API"
  • Second person: "You can configure..." not "Users can configure..."
  • Present tense: "This command creates..." not "This command will create..."
  • Direct: "Run the migration" not "You should run the migration"
  • Approachable but professional: Avoid jargon where a plain word works

Structure

  • Lead with the most important information
  • Use headings to create scannable hierarchy
  • Keep paragraphs short (3-5 sentences max)
  • Use lists for steps, options, or collections of items
  • Use tables for structured comparisons
  • Include code examples for every API or CLI reference

Formatting Conventions

  • Code: Use backticks for inline code, fenced blocks for multi-line
  • Filenames: monospace
  • UI elements: Bold
  • Key terms: Italic on first use
  • Placeholders: <angle-brackets> or {curly-braces} (pick one, be consistent)
  • Notes/warnings: Use admonition blocks if supported

Terminology

  • Create a glossary of project-specific terms
  • Define preferred terms for common concepts
  • List terms to avoid and their replacements
AvoidPrefer
simply, just, easy(omit — these dismiss complexity)
please(omit — instructions should be direct)
click onclick or select
in order toto

Step 3: Code Example Standards

  • Every example should be runnable or clearly marked as pseudocode
  • Include language identifier in fenced code blocks
  • Show complete, minimal examples (not fragments)
  • Include expected output where helpful
  • Use realistic but safe example data (no real emails, passwords, or keys)

Step 4: Documentation Types

TypePurposeTemplate
How-to guideStep-by-step task completionGoal → Prerequisites → Steps → Verification
ReferenceComplete, accurate technical detailsOrganized by structure (alphabetical, by module)
ExplanationUnderstanding concepts and decisionsContext → Concept → Why → Trade-offs
TutorialLearning by doingSetup → Guided steps → Working result

Output Format

A complete style guide document in markdown, ready to add to the project's documentation. Include examples of good and bad writing for each guideline.

Edge Cases

  • For open-source projects: include contribution guidelines for documentation PRs
  • For API documentation: align with OpenAPI conventions
  • For internationalized projects: note translation-friendly writing practices
  • If existing docs are inconsistent: prioritize the most impactful standards first

Quality Checklist

  • Output is specific and actionable, not generic
  • All relevant inputs have been gathered before producing output
  • Recommendations are prioritized by impact
  • Stakeholders and audience are identified
  • Output format matches the audience's needs
  • Key assumptions are documented
  • Follow-up actions have clear owners
保存したスキル