Skill Doc Generatorのロゴ

Skill Doc Generator

コミュニティ
Svenja-dev
skill-doc-generator

Auto-generates standardized README documentation from SKILL.md files, validates consistency (frontmatter, descriptions, terminology), and creates usage examples. Use when documenting individual skills, generating docs for multiple skills in a directory, or validating skill quality standards.

概要

公開者Svenja-dev
リポジトリclaude-code-skills
スキル名skill-doc-generator
スター
38
フォーク
5
同梱ファイル
7
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 7個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Svenja-dev/claude-code-skills.git /tmp/claude-code-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-skills/skills/doc-generator/skill-doc-generator .claude/skills/skill-doc-generator
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Skill Documentation Generator

Auto-generate high-quality README documentation for skills with built-in consistency validation and example generation.

Overview

This skill automates the creation of standardized README files for skills by analyzing SKILL.md files, extracting structure and examples, validating quality standards, and generating comprehensive documentation. It ensures consistency across skill documentation while providing actionable validation feedback.

Workflow

Single Skill Documentation

Generate documentation for one skill:

  1. Analyze the skill:

    bash
    python scripts/analyze_skill.py <skill_directory>

    Extracts metadata, sections, code blocks, and resources.

  2. Validate consistency:

    bash
    python scripts/validate_consistency.py <skill_directory> --verbose

    Checks frontmatter, description quality, and terminology.

  3. Generate README:

    bash
    python scripts/generate_readme.py <skill_directory> [output_path]

    Creates README.md with validation results.

Batch Documentation

Document multiple skills at once:

bash
python scripts/document_directory.py <directory> [options]

Options:

  • --output <dir>: Specify output directory
  • --no-recursive: Don't search subdirectories
  • --no-index: Skip index file generation
  • --no-validate: Skip validation checks

Example:

bash
# Document all user skills with validation
python scripts/document_directory.py /mnt/skills/user --output ./docs

# Quick pass without validation
python scripts/document_directory.py ./my-skills --no-validate

Script Reference

analyze_skill.py

Parses SKILL.md and extracts structured information.

Usage: python scripts/analyze_skill.py <skill_directory>

Returns:

  • Metadata (name, description)
  • Sections and structure
  • Code blocks with language tags
  • Referenced resources (scripts, references, assets)
  • Statistics (line count, section count)

validate_consistency.py

Validates skill quality against standards defined in references/consistency-rules.md.

Usage: python scripts/validate_consistency.py <skill_directory> [--verbose]

Checks:

  • Frontmatter completeness and format
  • Description quality (length, clarity, triggers)
  • Structure appropriateness
  • Terminology consistency
  • Resource references
  • Code example quality

Severity Levels:

  • ERROR: Breaks functionality (missing required fields)
  • WARNING: Quality issues (naming, unreferenced resources)
  • INFO: Suggestions (style, optional improvements)

generate_readme.py

Creates README.md from skill analysis.

Usage: python scripts/generate_readme.py <skill_directory> [output_path]

Generates:

  • Title and description
  • Overview from SKILL.md
  • Trigger scenarios
  • Structure statistics
  • Bundled resource lists with links
  • Key sections overview
  • Usage examples (up to 3)
  • Validation results (optional)

Template: See references/readme-template.md for structure.

document_directory.py

Batch processes multiple skills in a directory.

Usage: python scripts/document_directory.py <directory> [options]

Features:

  • Recursive skill discovery
  • Parallel validation and documentation
  • Index generation with categorization
  • Summary statistics
  • Error handling per skill

Quality Standards

Validation enforces these standards:

Frontmatter

  • name: Lowercase with hyphens (e.g., skill-name)
  • description: 50-500 chars, clear triggers
  • Must start with capital letter
  • Include "when" or "use" phrases

Structure

  • Body: 100+ chars minimum, <500 lines recommended
  • Sections: Overview/workflow recommended
  • Resources: All files referenced in SKILL.md

Terminology

  • Use imperative form: "Use" not "You should use"
  • Capitalize "Claude" consistently
  • Avoid vague terms: "various", "multiple"
  • Active voice preferred

See references/consistency-rules.md and references/terminology-standards.md for complete standards.

Reference Files

readme-template.md

Standard README structure and best practices. Defines:

  • Required sections
  • Optional sections
  • Formatting guidelines
  • Link conventions

consistency-rules.md

Detailed validation criteria. Covers:

  • Frontmatter requirements
  • Description quality metrics
  • Structure guidelines
  • Resource validation
  • Error severity definitions

terminology-standards.md

Standard vocabulary and style guide. Includes:

  • Writing style (imperative form)
  • Common terms and their usage
  • Phrases to avoid
  • Formatting conventions
  • Consistency checklist

Examples

Example 1: Document a Single Skill

bash
# Analyze
python scripts/analyze_skill.py ./my-skill

# Validate
python scripts/validate_consistency.py ./my-skill --verbose

# Generate README
python scripts/generate_readme.py ./my-skill

Example 2: Batch Process with Index

bash
# Document all skills in a directory
python scripts/document_directory.py /mnt/skills/user \
  --output ./documentation \
  --recursive

Example 3: Quick Validation Pass

bash
# Just validate without generating docs
python scripts/validate_consistency.py ./my-skill

Common Use Cases

New skill creation: Generate documentation as part of skill development Quality audits: Validate existing skills against standards Documentation updates: Regenerate READMEs after SKILL.md changes Batch operations: Document entire skill libraries CI/CD integration: Automated validation in deployment pipelines

Tips

  • Run validation before generating documentation to catch issues early
  • Use --verbose flag to see INFO-level suggestions
  • Reference files provide the "why" behind validation rules
  • Generated READMEs include validation results for transparency
  • Index files help navigate large skill collections

同梱ファイル

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

よくある質問

AIスキル「Skill Doc Generator」では何ができますか?

Auto-generates standardized README documentation from SKILL.md files, validates consistency (frontmatter, descriptions, terminology), and creates usage examples. Use when documenting individual skills, generating docs for multiple skills in a directory, or validating skill quality standards.

TypingMindでSkill Doc Generatorを使うメリットは何ですか?

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

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

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

Skill Doc Generatorを使えるAIモデルはどれですか?

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

Skill Doc Generatorは何個のAIモデルで使えますか?

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

AIスキル「Skill Doc Generator」は無料ですか?

Svenja-devがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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