jpskill.com
✍️ ライティング コミュニティ

human-docs-generator

開発者、品質保証、DevOps、ビジネス関係者向けに、大規模な機能追加や仕様変更、重要な設計判断があった際に、役割に応じた1000字以内のドキュメントを自動生成し、スムーズな情報共有と理解を促進するSkill。

📜 元の英語説明(参考)

Generates role-based human documentation (<1000 words per doc). Use when epics complete, breaking changes occur, or architecture decisions are made. Creates guides for developers, QA, DevOps, and business stakeholders.

🇯🇵 日本人クリエイター向け解説

一言でいうと

開発者、品質保証、DevOps、ビジネス関係者向けに、大規模な機能追加や仕様変更、重要な設計判断があった際に、役割に応じた1000字以内のドキュメントを自動生成し、スムーズな情報共有と理解を促進するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o human-docs-generator.zip https://jpskill.com/download/17599.zip && unzip -o human-docs-generator.zip && rm human-docs-generator.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17599.zip -OutFile "$d\human-docs-generator.zip"; Expand-Archive "$d\human-docs-generator.zip" -DestinationPath $d -Force; ri "$d\human-docs-generator.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して human-docs-generator.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → human-docs-generator フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Human Docs Generator Skill

役割

システムに重要な変更が発生した場合に、人間向けに役割固有のドキュメントを自動的に生成および維持します。

目的

複雑なAIの状態と技術的な実装を、人間が実際に理解して使用できる、役割固有のシンプルなガイドに変換します。

トリガー条件

自動トリガー

  • ✅ Epic 完了
  • 🔧 Public API 変更
  • 🎯 新しいユーザー機能のデプロイ
  • 💥 破壊的な変更の導入
  • 🐛 重大なバグの修正
  • 📊 5つ以上の関連タスクの完了

手動トリガー

{
  "event": "generate.human.docs",
  "scope": "all|specific-role",
  "reason": "manual request"
}

ドキュメント構造

維持されるファイル

ai-state/human-docs/
├── INDEX.md                 # 役割ディレクトリとクイックナビ
├── frontend-developer.md    # React、コンポーネント、ルート
├── backend-developer.md     # API、モデル、データベース
├── architect.md            # システム設計、パターン
├── devops.md              # デプロイ、監視、デバッグ
├── tester.md              # テストスイート、カバレッジ
├── product-manager.md     # 機能、メトリクス、ロードマップ
└── end-user-guide.md      # スクリーンショット、使用方法

生成プロセス

1. コンテキストの収集

sources:
  - ai-state/active/     # 現在の実装
  - ai-state/knowledge/  # パターンと決定
  - operations.log       # 最近の変更
  - test-results/        # 動作状況

2. 役割に関連する情報の抽出

フロントエンド開発者のニーズ

  • コンポーネントの場所と階層
  • 状態管理パターン
  • 再利用可能なコンポーネントのリスト
  • 最近のUIの変更

バックエンド開発者のニーズ

  • API エンドポイントのドキュメント
  • データベーススキーマの変更
  • 認証フロー
  • サービス依存関係

エンドユーザーのニーズ

  • 注釈付きのスクリーンショット
  • ステップバイステップガイド
  • 機能の場所
  • 一般的なワークフロー

3. 人間向けの形式への変換

Human Docs のルール

  1. ドキュメントあたり 最大1000語
  2. テキストよりも図 (Mermaid.js)
  3. 説明よりも例
  4. 現在の状態のみ (履歴なし)
  5. クイックスタートに重点

4. 図の生成

コンポーネントツリー (フロントエンド)

graph TD
    App --> Header
    App --> Routes
    Routes --> Login
    Routes --> Dashboard
    Dashboard --> Charts
    Dashboard --> Tables

API フロー (バックエンド)

sequenceDiagram
    User->>Frontend: Click Login
    Frontend->>API: POST /auth/login
    API->>Database: Validate credentials
    Database->>API: User data
    API->>Frontend: JWT token
    Frontend->>User: Dashboard

ユーザーフロー (エンドユーザー)

graph LR
    Start[Open App] --> Login[Enter Email/Pass]
    Login --> Dash[View Dashboard]
    Dash --> Upload[Upload Data]
    Upload --> Process[Wait for Processing]
    Process --> View[View Results]
    View --> Export[Download Report]

ドキュメントテンプレート

フロントエンド開発者向けテンプレート

# フロントエンド開発者ガイド

## クイックスタート
[3ステップのセットアッププロセス]

## コンポーネントマップ
[コンポーネントの Mermaid ダイアグラム]

## 新しいページを追加するには
1. `/src/pages/` にコンポーネントを作成します
2. `/src/routes.tsx` にルートを追加します
3. `/src/components/Nav.tsx` のナビゲーションを更新します

## 利用可能なコンポーネント
- `<Button>` - 主要なアクション
- `<Card>` - コンテンツコンテナ
- `<Table>` - データ表示
[再利用可能なコンポーネントのリスト]

## 状態管理
[現在の状態の形状図]

## 最近の変更
- ✅ パスワードリセットの追加
- ✅ ダッシュボードレイアウトの更新

エンドユーザー向けテンプレート

# [App Name] の使用方法

## はじめに
[矢印付きのログインページのスクリーンショット]

## 主な機能

### データのアップロード
1. 「アップロード」ボタン(右上)をクリックします
2. CSVファイルを選択します
3. 「処理」をクリックします
[番号付きのステップのスクリーンショット]

### レポートの表示
[レポートページのスクリーンショット]
- 黄色のボックス = 警告
- 緑色のボックス = 成功
- 赤色のボックス = エラー

## 一般的なタスク
**Q: パスワードをリセットするにはどうすればよいですか?**
A: ログインページの「パスワードを忘れた場合」をクリックします

**Q: 古いレポートはどこにありますか?**
A: サイドバーの「履歴」をクリックします

品質チェック

公開前

  • [ ] 1000語未満ですか?
  • [ ] 図/スクリーンショットはありますか?
  • [ ] クイックスタートは含まれていますか?
  • [ ] 例は提供されていますか?
  • [ ] 専門用語は使用されていませんか?
  • [ ] テストされた手順は機能しますか?

統合

入力イベント

{
  "event": "epic.completed",
  "epic_id": "epic-oauth",
  "tasks_completed": ["task-001", "task-002"],
  "changes": ["Added Google login"]
}

出力イベント

{
  "event": "human.docs.updated",
  "files": [
    "frontend-developer.md",
    "end-user-guide.md"
  ],
  "sections_changed": [
    "authentication",
    "login-methods"
  ]
}

避けるべきアンチパターン

❌ 変更履歴の作成 (現在の状態のみ) ❌ 技術的な深掘り (シンプルに保つ) ❌ テキストの壁 (箇条書き/図を使用) ❌ 知識を前提としない (すべてを説明する) ❌ バージョン履歴 (1つの生きたドキュメント)

成功の指標

  • 読了時間 < 5分
  • 図とテキストの比率 > 40%
  • クイックスタートの成功率 > 90%
  • 人間の混乱によるチケット < 5%
  • ドキュメントの更新頻度 = 機能の頻度
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Human Docs Generator Skill

Role

Automatically generates and maintains role-specific documentation for humans when significant changes occur in the system.

Purpose

Transform complex AI state and technical implementations into simple, role-specific guides that humans can actually understand and use.

Trigger Conditions

Automatic Triggers

  • ✅ Epic completed
  • 🔧 Public API modified
  • 🎯 New user feature deployed
  • 💥 Breaking change introduced
  • 🐛 Critical bug fixed
  • 📊 5+ related tasks completed

Manual Trigger

{
  "event": "generate.human.docs",
  "scope": "all|specific-role",
  "reason": "manual request"
}

Document Structure

Files Maintained

ai-state/human-docs/
├── INDEX.md                 # Role directory & quick nav
├── frontend-developer.md    # React, components, routes
├── backend-developer.md     # APIs, models, database
├── architect.md            # System design, patterns
├── devops.md              # Deploy, monitor, debug
├── tester.md              # Test suites, coverage
├── product-manager.md     # Features, metrics, roadmap
└── end-user-guide.md      # Screenshots, how-to-use

Generation Process

1. Gather Context

sources:
  - ai-state/active/     # Current implementations
  - ai-state/knowledge/  # Patterns and decisions
  - operations.log       # Recent changes
  - test-results/        # What's working

2. Extract Role-Relevant Info

Frontend Developer Needs

  • Component locations & hierarchy
  • State management patterns
  • Reusable components list
  • Recent UI changes

Backend Developer Needs

  • API endpoint documentation
  • Database schema changes
  • Authentication flow
  • Service dependencies

End User Needs

  • Screenshots with annotations
  • Step-by-step guides
  • Feature locations
  • Common workflows

3. Transform to Human Format

Rules for Human Docs

  1. Max 1000 words per document
  2. Diagrams over text (Mermaid.js)
  3. Examples over explanations
  4. Current state only (no history)
  5. Quickstart focused

4. Generate Diagrams

Component Tree (Frontend)

graph TD
    App --> Header
    App --> Routes
    Routes --> Login
    Routes --> Dashboard
    Dashboard --> Charts
    Dashboard --> Tables

API Flow (Backend)

sequenceDiagram
    User->>Frontend: Click Login
    Frontend->>API: POST /auth/login
    API->>Database: Validate credentials
    Database->>API: User data
    API->>Frontend: JWT token
    Frontend->>User: Dashboard

User Flow (End User)

graph LR
    Start[Open App] --> Login[Enter Email/Pass]
    Login --> Dash[View Dashboard]
    Dash --> Upload[Upload Data]
    Upload --> Process[Wait for Processing]
    Process --> View[View Results]
    View --> Export[Download Report]

Document Templates

Frontend Developer Template

# Frontend Developer Guide

## Quick Start
[3-step setup process]

## Component Map
[Mermaid diagram of components]

## To Add a New Page
1. Create component in `/src/pages/`
2. Add route in `/src/routes.tsx`
3. Update navigation in `/src/components/Nav.tsx`

## Available Components
- `<Button>` - Primary actions
- `<Card>` - Content containers
- `<Table>` - Data display
[List reusable components]

## State Management
[Current state shape diagram]

## Recent Changes
- ✅ Added password reset
- ✅ Updated dashboard layout

End User Template

# How to Use [App Name]

## Getting Started
[Screenshot of login page with arrows]

## Main Features

### Upload Data
1. Click "Upload" button (top-right)
2. Select your CSV file
3. Click "Process"
[Screenshot with numbered steps]

### View Reports
[Screenshot of reports page]
- Yellow box = Warnings
- Green box = Success
- Red box = Errors

## Common Tasks
**Q: How do I reset my password?**
A: Click "Forgot Password" on login page

**Q: Where are my old reports?**
A: Click "History" in sidebar

Quality Checks

Before Publishing

  • [ ] Under 1000 words?
  • [ ] Has diagrams/screenshots?
  • [ ] Includes quickstart?
  • [ ] Examples provided?
  • [ ] No technical jargon?
  • [ ] Tested instructions work?

Integration

Input Events

{
  "event": "epic.completed",
  "epic_id": "epic-oauth",
  "tasks_completed": ["task-001", "task-002"],
  "changes": ["Added Google login"]
}

Output Events

{
  "event": "human.docs.updated",
  "files": [
    "frontend-developer.md",
    "end-user-guide.md"
  ],
  "sections_changed": [
    "authentication",
    "login-methods"
  ]
}

Anti-Patterns to Avoid

❌ Writing changelogs (just current state) ❌ Technical deep-dives (keep it simple) ❌ Walls of text (use bullets/diagrams) ❌ Assuming knowledge (explain everything) ❌ Version history (one living document)

Success Metrics

  • Reading time < 5 minutes
  • Diagram-to-text ratio > 40%
  • Quickstart success rate > 90%
  • Human confusion tickets < 5%
  • Doc update frequency = feature frequency