Logo Skill Doc Generator

Skill Doc Generator

Cộng đồng
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.

Tổng quan

Nhà phát hànhSvenja-dev
Kho mãclaude-code-skills
Tên kỹ năngskill-doc-generator
Sao
38
Bản fork
5
Tệp đi kèm
7
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Svenja-dev công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Skill Doc Generator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/Svenja-dev/claude-code-skills/tree/main/skills/doc-generator/skill-doc-generator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Skill Doc Generator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Skill Doc Generator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Skill Doc Generator không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Skill Doc Generator làm được gì?

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.

Vì sao nên dùng Skill Doc Generator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Skill Doc Generator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Skill Doc Generator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Svenja-dev/claude-code-skills/tree/main/skills/doc-generator/skill-doc-generator. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Skill Doc Generator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Skill Doc Generator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Skill Doc Generator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Skill Doc Generator có miễn phí không?

Kỹ năng này được Svenja-dev phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇