Communityコーディング&開発github.com

writing-user-docs

ユーザー向けドキュメントのハウススタイル — トーン、範囲、構成、そして省略すべき点を定義します。このスキルは、ユーザーがツールの使い方を学ぶために読むもの(ヘルプセンター記事、入門ガイド、チュートリアル、機能ドキュメント、READMEの使用方法セクション、アプリ内ヘルプ、リリースノート、FAQエントリなど)を執筆、編集、レビューする際に使用します。

writing-user-docs とは?

このスキルは、ユーザー向けドキュメント(ヘルプセンター、入門ガイド、チュートリアル、README、アプリ内ヘルプ、リリースノート、FAQ)を執筆、編集、レビューする際に適用されるハウススタイルを定義します。主な原則は「ツールを使う人のために書く」ことであり、内部実装の詳細は排除します。トーンは日常英語、二人称能動態現在形、マーケティング形容詞や「ただ」「簡単に」などのフィラーを削除します。構成はユーザーのゴール単位で整理し、見出しは機能名ではなく「〜する方法」とし、前提条件や制限は冒頭に配置します。また、エラーケースや機能が「しないこと」を明示する「アンハッピーパス」のドキュメント化が重要です。実例は現実的なデータを使用し、時間に依存する表現を避け、各手順を逐次検証することでドキュメントの陳腐化を防ぎます。公開前のチェックリストとして、読者がタスク完了に不要なもの、内部動作、口語的に言わない文章を削除し、エラー時の対処が記載されているかを確認します。このスキルは、Claude Code、Cursor、CodexなどのAIエージェントで、ドキュメント作成・レビューのプロンプトに対して自動的にトリガーされます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/callstackincubator/agent-skills/tree/main/skills/writing-user-docs

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ユーザー向けドキュメント

ツールを使う人のために書きましょう。作った人のために書いてはいけません。

「ユーザー」とは、そのツールを使う人すべてを指します。アプリであればエンドユーザー、ライブラリであればそれをインストールする開発者です。いずれにせよ、彼らは実装しているわけではなく、ドキュメントはそれを反映すべきです。

トーン

日常的な英語 — 隣の席の同僚に説明するような口調で。堅苦しさは権威を追加するのではなく、距離と文字数を増やすだけです。

  • 二人称、能動態、現在形。 「保存をタップします」ではなく「保存をタップしてください」、「ユーザーは保存できるようになります」ではなく「保存できます」。
  • 「ただ」「簡単に」「かんたん」「明らかに」は削除。 うまくいくときには何も追加せず、うまくいかないときには嘲笑として読まれます。
  • マーケティング形容詞は使わない。 「強力」「シームレス」「堅牢」「直感的」 — それは作者が製品を賞賛しているだけです。読者はタスクの最中で、そんなものに関心がありません。
  • 1つの概念には1つの用語、UIと正確に一致させる。 ボタンにワークスペースと表示されているなら、ドキュメントで「プロジェクト」や「チームスペース」と言ってはいけません。語彙を変えることは良い散文であり悪いドキュメントです — 同義語はすべて新しい概念として読まれます。

範囲:何を含めるか

読者がツールを使うために必要なものだけを含めます。デフォルトは除外することです。

実装の詳細は除外します。 データベース、キュー、フレームワーク、アルゴリズムの名前、内部サービス、出荷のために行ったリファクタリングは含めません。基準は「これは技術的か?」ではなく 「読者がそれを知らなければ驚いたり、間違った判断をしたりするだろうか?」 です。

観測可能な動作は、技術的に聞こえてもそのテストに合格し、ドキュメントに含めるべきです:レート制限、オフライン動作、何がいつ同期されるか、ファイルの保存場所、競合時に何が起こるか、再インストール後に何が残るか。その動作を生み出す仕組みは含めません。

簡潔とは、詰め物がないことであり、短いことではありません。 すべての文がその場所に値します。徹底的なトラブルシューティングセクションは、それがパディングでなければ簡潔です — そして、2行のページでも、1行が歓迎メッセージなら冗長です。前置き、見出しの言い換え、「この記事では学びます」は削除します。

構成

  • 機能や画面ではなく、ユーザーのゴールで整理する。 見出しは「チーム外の誰かとレポートを共有する」のように、人がやりたいこと — 「共有モジュール」のような名詞ではありません。
  • 結果を先に、手順を後にする。 人々はステップ1に進む前に、自分が正しいページにいることを知る必要があります。
  • 前提条件と制限は冒頭に置く。 必要なプラン、権限、プラットフォーム、ファイルサイズの上限。ステップ6でブロッカーを発見するのは最悪の瞬間です。
  • 1ページは1つの質問に答え、独立していること。 ほとんどの読者は検索やディープリンクから来て、ページ1から読むことはありません。前のページを誰も読んでいないと想定し、リンクで代替します。
  • 1つのパスを選ぶ。 3つの方法がある場合、推奨するものをドキュメント化します。代替案は最後に短いメモを残すか、何も書かない。

アンハッピーパスをカバーする

これは最も省略されがちでありながら、人々が実際に検索するセクションです。

  • 失敗ケースをドキュメント化する: エラーが何と言っているか、原因は何か、次に何をすべきか。
  • 機能が「しないこと」を、ユーザーが当然そうすると予想する場合に明示する。 サポートチケットよりも安上がりです。
  • 破壊的な操作の前に警告し、決して後ではしない。 警告はそれが適用されるステップの上に置きます。

陳腐化を防ぐ

  • 現実的なデータを使った実際の例。 foo、test123、lorem ipsumは使わない。例はコピーペースト可能で、示された結果を生み出すべきです。
  • 時間に依存する表現は使わない。 「新しい」「最近」「現在」「近日公開」 — すべて静かに陳腐化します。ロードマップの約束も同様です。
  • すべての手順を文字通り実行する。 誰かが逐語的に従っても完了できない場合、ドキュメントが間違っています — 読者が間違っているのではありません。

公開前に

次の点だけに注目してドラフトを一度読み直します:

  1. 読者がタスクを完了するために必要ないもの → 削除します。
  2. 内部でどのように動作するかについてのもの → 動作がそれに依存しない限り削除します。
  3. 声に出して言わないような文 → 書き直します。
  4. これがうまくいかないときはどうなるか → それが答えられていますか?

Individual skills in this repo

This repo contains 15 individual skills — each has its own dedicated page.

agent-device

Automates interactions for Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing, scrolling, or extracting UI info across mobile, TV, and desktop targets.

assess-react-native-migration

Assesses whether and how an existing mobile product should migrate to React Native. Use when auditing one or more product repositories for migration readiness, including products whose iOS, Android, and other clients live in separate directories or repositories; choosing brownfield, greenfield, or a checkpoint-based path; defining a representative trial; or preparing a baseline and ROI decision before implementation. When product scope or material evidence is unavailable, grills the stakeholder with exactly one question per turn instead of sending a questionnaire.

callstackincubator/github

GitHub patterns using gh CLI for pull requests, stacked PRs, code review, branching strategies, and repository automation. Use when working with GitHub PRs, merging strategies, or repository management tasks.

callstackincubator/validate-skills

Validates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.

create-react-native-library

Scaffolds React Native libraries with create-react-native-library for standalone libraries or local native modules and views. Use when creating or working on React Native libraries or adding native functionality in an existing app.

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", or "test this app" on mobile. Produces a structured report with reproducible evidence: screenshots, optional repro videos, and detailed steps for every issue.

github-actions

GitHub Actions workflow patterns for React Native iOS simulator and Android emulator cloud builds with downloadable artifacts. Use when setting up CI build pipelines or downloading GitHub Actions artifacts via gh CLI and GitHub API.

react-native-best-practices

Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations. Applies to tasks involving Hermes optimization, JS thread blocking, bridge overhead, FlashList, native modules, or debugging jank and frame drops.

react-native-brownfield-migration

Implements an accepted incremental brownfield migration from native iOS or Android to React Native or Expo using @callstack/react-native-brownfield. Use after the brownfield path has been selected, when setting up the integration, packaging XCFramework or AAR artifacts, or adding React Native surfaces to native hosts.

react-native-testing

Write tests using React Native Testing Library (RNTL) v13 and v14 (`@testing-library/react-native`). Use when writing, reviewing, or fixing React Native component tests. Covers: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns. Supports v13 (React 18, sync render) and v14 (React 19+, async render). Triggers on: test files for React Native components, RNTL imports, mentions of "testing library", "write tests", "component tests", or "RNTL".

react-native-tv-best-practices

Reviews React Native TV apps for focus/D-pad navigation, 10-foot UI layout, TV playback/DRM integration, low-memory TV performance, and TV accessibility. Use when building, debugging, or reviewing react-native-tvos, Expo TV, Amazon Vega/Kepler, or React Native web TV targets where the issue depends on remote input, TV focus, TV packaging, TV hardware, or TV playback constraints.

react-navigation

Provides React Navigation UI patterns for stacks, tabs, drawers etc. Use when building navigation UIs with React Navigation, configuring headers, bottom sheets or handling safe areas and insets.

upgrading-react-native

Upgrades React Native apps to newer versions by applying rn-diff-purge template diffs, updating package.json dependencies, migrating native iOS and Android configuration, resolving CocoaPods and Gradle changes, and handling breaking API updates. Use when upgrading React Native, bumping RN version, updating from RN 0.x to 0.y, or migrating Expo SDK alongside a React Native upgrade.

validate-skills

Validates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

関連スキル