Documentation Standardsのロゴ

Documentation Standards

コミュニティ
d-padmanabhan
documentation-standards

Documentation best practices including Markdown formatting, generated PNG diagrams, technical writing, ADRs, Docusaurus and MDX documentation sites, and open source standards. Use when writing documentation, README files, Markdown or MDX content, creating static diagrams for Markdown, configuring Docusaurus, or asking about documentation structure, technical writing, or open source project setup. For interactive React Flow canvases in a SPA, use the reactflow-architecture-diagrams skill instead.

概要

公開者d-padmanabhan
リポジトリagent-engineering-handbook
スキル名documentation-standards
スター
20
フォーク
3
同梱ファイル
5
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    d-padmanabhanがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルDocumentation StandardsをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/d-padmanabhan/agent-engineering-handbook/tree/main/skills/documentation-standards
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/d-padmanabhan/agent-engineering-handbook.git /tmp/agent-engineering-handbook
mkdir -p .claude/skills
cp -r /tmp/agent-engineering-handbook/skills/documentation-standards .claude/skills/documentation-standards
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDocumentation Standardsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にDocumentation Standardsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Documentation Standardsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Documentation Standards

Mandatory documentation gates are owned by the documentation rule (${HANDBOOK_ROOT}/rules/810-documentation.mdc), and Markdown-specific gates are owned by the Markdown rule (${HANDBOOK_ROOT}/rules/800-markdown.mdc). This skill owns document design, generated PNG guidance, templates, and writing workflows. External documentation research and tool selection are owned by the utilities rule (${HANDBOOK_ROOT}/rules/120-utilities.mdc).

Core Principles

  1. Audience-First: Write for your reader, not yourself
  2. Keep Current: Outdated docs are worse than no docs
  3. Show, Don't Just Tell: Use examples and diagrams
  4. Consistent Format: Follow established patterns

Hard Requirements (Writing)

  • No AI slop - remove filler, keep docs concrete and task-oriented
  • No Unicode em dashes or en dashes - never author U+2014 or U+2013; use commas, colons, parentheses, semicolons, or ASCII hyphens instead
  • Clickable navigation - if readers may want to open a repo file, directory, section, ADR, rule, skill, script, workflow, or config, make it a Markdown link. Use backticks only when the path is a literal value, not a navigation target.
  • Official terminology - use each vendor's current official product and service names, capitalization, and branding. Verify uncertain names against current vendor documentation. For example, write Amazon VPC, not AWS VPC; write AWS Lambda, not Amazon Lambda. Do not apply one naming prefix mechanically across a provider's services.

Voice

Prefer neutral/imperative phrasing - avoid "you/your" in professional docs. Canonical guidance: rules/810-documentation.mdc.

Diataxis Quick Guide

Use one primary documentation mode per page:

  • Tutorial - learning by doing
  • How-to guide - task completion
  • Reference - factual lookup
  • Explanation - concepts and rationale

Canonical Diataxis guidance lives in rules/810-documentation.mdc. Keep this skill concise and link back to the rule instead of duplicating detailed standards.

Documentation Sites and Docusaurus

Use a documentation site when the content needs structured multi-page navigation, search, versioning, internationalization, or interactive MDX. Keep a README and a small set of Markdown guides when those capabilities do not justify a separate Node.js build and deployment lifecycle.

For Docusaurus work:

  • Verify the current supported Docusaurus, Node.js, React, and plugin versions from official sources. Pin compatible releases and commit the lockfile.
  • Treat MDX as executable React code. Never compile untrusted content as MDX.
  • Configure search explicitly. Docusaurus does not make a site searchable without a search integration and index lifecycle.
  • Version only supported release lines, not every patch by default.
  • Make the production build fail on broken internal links and verify url, baseUrl, and trailingSlash against the deployment path.

Use the Docusaurus reference (${HANDBOOK_ROOT}/skills/documentation-standards/references/docusaurus.md) for site structure, MDX trust boundaries, versioning, search, CI, and deployment.

README Structure

markdown
# Project Name

Brief description of what this project does.

## Features

- Feature 1
- Feature 2

## Installation

```bash
npm install my-project

Quick Start

javascript
import { thing } from 'my-project';
thing.doSomething();

Documentation

Link to full docs.

Contributing

Link to CONTRIBUTING.md.

License

MIT - See LICENSE.


## Markdown Best Practices

### Headers
- Use `#` hierarchy (don't skip levels)
- Keep headers concise
- Use title case for headings, preserving established acronyms and product names

### Code Blocks
````markdown
```python
def hello():
    print("Hello, World!")

### Lists
```markdown
- Unordered item
- Another item
  - Nested item

1. Ordered item
2. Another item
```

### Links and References
```markdown
[Link text](https://acme.com)
[Reference link][1]
Python rule (`${HANDBOOK_ROOT}/rules/200-python.mdc`)
Bash rule (`${HANDBOOK_ROOT}/rules/140-bash.mdc`)

[1]: https://acme.com
```

Prefer clickable same-repo references:

- Good: `Python skill (`${HANDBOOK_ROOT}/skills/python-development/SKILL.md`)`
- Avoid for navigation: `` `skills/python-development/` ``
- Good for literals: `` `src/app.ts` `` when discussing a path value or config example

### Tables
```markdown
| Header 1 | Header 2 |
|----------|----------|
| Cell 1   | Cell 2   |
```

## Static and Interactive Diagrams

- **Static Markdown documentation:** generate a PNG under an `images/`
  directory beside the Markdown file and embed it with a relative path.
- **Interactive React application:** use the React Flow rule
  (`${HANDBOOK_ROOT}/rules/815-reactflow-diagrams.mdc`) and skill
  (`${HANDBOOK_ROOT}/skills/reactflow-architecture-diagrams/SKILL.md`).

Do not author Mermaid blocks in Markdown or MDX.

## Generated PNG Workflow

1. Decide whether the relationship is materially clearer as an image than as
   short prose or a list.
2. Create an `images/` directory in the directory containing the Markdown file.
3. Generate a focused PNG with a descriptive kebab-case filename.
4. Inspect the image for correctness, legibility, clipping, misleading arrows,
   accidental sensitive data, and unnecessary decoration.
5. Embed it with meaningful alt text and a portable relative path.
6. Verify the image from the rendered document.

For `docs/design.md`, the required layout is:

```text
docs/
├── design.md
└── images/
    └── request-flow.png
```

Embed the generated artifact with meaningful alt text and the portable relative
path `images/request-flow.png`. Use the detailed Markdown images reference for
the exact syntax.

Do not create an empty `images/` directory when no diagram is needed. Do not
place generated images in a repository-wide asset directory when the image is
owned by one nearby document.

## Technical Writing Tips

1. **Use active voice**: "The function returns a value" not "A value is returned"
2. **Be concise**: Remove unnecessary words
3. **Define acronyms**: Spell out on first use
4. **Use present tense**: "The function adds" not "The function will add"
5. **Include examples**: Show, don't just tell

## Detailed References

- **React Flow (interactive canvases)**: See `skills/reactflow-architecture-diagrams/SKILL.md` and `rules/815-reactflow-diagrams.mdc`
- **Docusaurus**: See Docusaurus documentation sites (`${HANDBOOK_ROOT}/skills/documentation-standards/references/docusaurus.md`)
- **Markdown and images**: See Markdown images (`${HANDBOOK_ROOT}/skills/documentation-standards/references/markdown-images.md`)
- **Technical Writing**: See technical writing (`${HANDBOOK_ROOT}/skills/documentation-standards/references/technical-writing.md`)
- **Open Source**: See open source (`${HANDBOOK_ROOT}/skills/documentation-standards/references/open-source.md`)

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Documentation Standards」では何ができますか?

Documentation best practices including Markdown formatting, generated PNG diagrams, technical writing, ADRs, Docusaurus and MDX documentation sites, and open source standards. Use when writing documentation, README files, Markdown or MDX content, creating static diagrams for Markdown, configuring Docusaurus, or asking about documentation structure, technical writing, or open source project setup. For interactive React Flow canvases in a SPA, use the reactflow-architecture-diagrams skill instead.

TypingMindでDocumentation Standardsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Documentation Standardsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDocumentation Standardsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/d-padmanabhan/agent-engineering-handbook/tree/main/skills/documentation-standardsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Documentation Standardsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Documentation Standardsは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDocumentation Standardsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Documentation Standards」は無料ですか?

はい。d-padmanabhanがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇