MCP HubMCP Hub
スキル一覧に戻る

documentation-guide

AsiaOstrich
更新日 Today
220 閲覧
34
4
34
GitHubで表示
メタworddesign

について

このスキルは、READMEファイル、docsフォルダ、CONTRIBUTINGやCHANGELOGなどの必須プロジェクトファイル向けのテンプレートとベストプラクティスを提供することで、開発者がプロジェクトドキュメントを構造化するのを支援します。新規プロジェクトのセットアップ時や既存のドキュメント改善時に使用し、明確さと完全性を確保できます。効果的でユーザーフレンドリーなドキュメント作成のためのチェックリストとガイダンスを提供します。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/AsiaOstrich/universal-dev-skills
Git クローン代替
git clone https://github.com/AsiaOstrich/universal-dev-skills.git ~/.claude/skills/documentation-guide

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Documentation Guide

This skill provides guidance on project documentation structure, README content, and documentation best practices.

Quick Reference

Essential Project Files

FileRequiredPurpose
README.mdProject overview, quick start
CONTRIBUTING.mdRecommendedContribution guidelines
CHANGELOG.mdRecommendedVersion history
LICENSE✅ (OSS)License information

Documentation Completeness Checklist

  • README.md exists with essential sections
  • Installation instructions are clear
  • Usage examples are provided
  • Contributing guidelines documented
  • License specified

Detailed Guidelines

For complete standards, see:

README.md Required Sections

Minimum Viable README

# Project Name

Brief one-liner description.

## Installation

```bash
npm install your-package

Usage

const lib = require('your-package');
lib.doSomething();

License

MIT


### Recommended README Sections

1. **Project Name & Description**
2. **Badges** (CI status, coverage, npm version)
3. **Features** (bullet list)
4. **Installation**
5. **Quick Start / Usage**
6. **Documentation** (link to docs/)
7. **Contributing** (link to CONTRIBUTING.md)
8. **License**

## docs/ Directory Structure

docs/ ├── index.md # Documentation index ├── getting-started.md # Quick start guide ├── architecture.md # System architecture ├── api-reference.md # API documentation ├── deployment.md # Deployment guide └── troubleshooting.md # Common issues


## File Naming Conventions

### Root Directory (UPPERCASE)

README.md # ✅ GitHub auto-displays CONTRIBUTING.md # ✅ GitHub auto-links in PR CHANGELOG.md # ✅ Keep a Changelog convention LICENSE # ✅ GitHub auto-detects


### docs/ Directory (lowercase-kebab-case)

docs/getting-started.md # ✅ URL-friendly docs/api-reference.md # ✅ URL-friendly docs/GettingStarted.md # ❌ Case issues docs/API_Reference.md # ❌ Inconsistent


## Examples

### Good README.md

```markdown
# MyProject

A fast, lightweight JSON parser for Node.js.

[![CI](https://github.com/org/repo/actions/workflows/ci.yml/badge.svg)](https://github.com/org/repo/actions)
[![npm version](https://badge.fury.io/js/myproject.svg)](https://www.npmjs.com/package/myproject)

## Features

- 10x faster than standard JSON.parse
- Streaming support
- Type-safe with TypeScript

## Installation

```bash
npm install myproject

Quick Start

const { parse } = require('myproject');

const data = parse('{"name": "test"}');
console.log(data.name); // "test"

Documentation

See docs/ for full documentation.

Contributing

See CONTRIBUTING.md for contribution guidelines.

License

MIT - see LICENSE


### Good CHANGELOG.md

```markdown
# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased]

### Added
- New feature X

## [1.2.0] - 2025-12-15

### Added
- OAuth2 authentication support
- New API endpoint `/users/profile`

### Changed
- Improved error messages

### Fixed
- Memory leak in session cache

## [1.1.0] - 2025-11-01

### Added
- Initial release

Configuration Detection

This skill supports project-specific documentation configuration.

Detection Order

  1. Check CONTRIBUTING.md for "Disabled Skills" section
    • If this skill is listed, it is disabled for this project
  2. Check CONTRIBUTING.md for "Documentation Language" section
  3. Check existing documentation structure
  4. If not found, default to English

Documentation Audit

When reviewing a project, check for:

ItemHow to Check
README existsFile present at root
README completeHas installation, usage, license sections
CONTRIBUTING existsFile present (for team projects)
CHANGELOG existsFile present (for versioned projects)
docs/ organizedHas index.md, logical structure
Links workingInternal links resolve correctly

First-Time Setup

If documentation is missing:

  1. Ask the user: "This project doesn't have complete documentation. Which language should I use? (English / 中文)"
  2. After user selection, suggest documenting in CONTRIBUTING.md:
## Documentation Language

This project uses **[chosen option]** for documentation.
<!-- Options: English | 中文 -->
  1. Start with README.md (essential)
  2. Add LICENSE (for open source)
  3. Add CONTRIBUTING.md (for team projects)
  4. Create docs/ structure (for complex projects)

Configuration Example

In project's CONTRIBUTING.md:

## Documentation Language

This project uses **English** for documentation.
<!-- Options: English | 中文 -->

License: CC BY 4.0 | Source: universal-doc-standards

GitHub リポジトリ

AsiaOstrich/universal-dev-skills
パス: skills/documentation-guide
ai-coding-assistantbest-practicesclaude-codeclaude-code-skillscode-reviewdeveloper-experience

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

creating-opencode-plugins

メタ

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

スキルを見る

polymarket

メタ

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

スキルを見る

cloudflare-turnstile

メタ

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

スキルを見る