mcpField
R
readme-standards

readme-standards

github.com/laurigates開発5960 回インストール1 日前に更新
リポジトリ

readme-standards について

プロジェクトの README を作成・改善する開発者向けに、テンプレートと記述基準を提供するスキルです。プロジェクトの種類や詳しさに応じた構成に加え、バッジ、技術スタック、チェック項目も扱います。

主な機能

  1. 01簡潔・標準・詳細テンプレート
  2. 02プロジェクト種別ごとのテンプレート
  3. 03バッジとロゴのガイドライン
  4. 04README の適合チェック項目

活用シーン

  1. 01新規プロジェクトの README 構成選び
  2. 02既存 README の不足項目の確認

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/laurigates/claude-plugins --skill readme-standards

インストール後、Claude Code で/readme-standardsを入力して読み込まれたか確認します。

詳細

README の標準(v2025.1)

このスキルでは、プロジェクト向けの README.md テンプレートと標準を提供します。

概要

適切に構成された README は、プロジェクトの入口です。次の点を満たす必要があります。

  • プロジェクトの機能をすぐに伝える
  • 適切なブランディングでプロフェッショナルな印象を与える
  • わかりやすい導入手順を提供する
  • 視覚的な階層構造が整っていて、内容を把握しやすい

テンプレートのスタイル

ミニマルスタイル

最適な用途:ライブラリ、小規模なユーティリティ、社内ツール

# project-name

[![License](https://img.shields.io/github/license/OWNER/REPO)](LICENSE)

Brief description of what this project does.

## Installation

```bash
npm install package-name

使用方法

import { feature } from 'package-name';
feature();

ライセンス

MIT


### Standard Style (Recommended)

Best for: Most projects, applications, services

```markdown
<div align="center">

<img src="assets/logo.png" alt="Project Logo" width="128">

# Project Name

**A compelling tagline that explains the project's purpose**

[![License](https://img.shields.io/github/license/OWNER/REPO)](LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/OWNER/REPO)](https://github.com/OWNER/REPO/stargazers)
[![CI](https://img.shields.io/github/actions/workflow/status/OWNER/REPO/ci.yml?branch=main)](https://github.com/OWNER/REPO/actions)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue)]()

</div>

## Features

- **Feature One** - Description of the first key capability
- **Feature Two** - Description of the second key capability
- **Feature Three** - Description of the third key capability
- **Feature Four** - Description of the fourth key capability

## Tech Stack

| Category | Technology |
|----------|------------|
| Runtime | Bun 1.x |
| Framework | Fastify |
| Frontend | React 18, Vite |
| Database | SQLite (Drizzle ORM) |
| Testing | Vitest, Playwright |

## Getting Started

### Prerequisites

- [Bun](https://bun.sh) >= 1.0
- [Node.js](https://nodejs.org) >= 20 (optional)

### Installation

```bash
# Clone the repository
git clone https://github.com/OWNER/REPO.git
cd REPO

# Install dependencies
bun install

# Start development server
bun run dev
開発コマンド
bun run dev      # Start development server
bun run build    # Build for production
bun run test     # Run tests
bun run lint     # Run linter

プロジェクト構成

project-name/
├── src/
│   ├── client/          # Frontend React application
│   │   ├── components/  # UI components
│   │   └── stores/      # State management
│   ├── server/          # Backend Fastify server
│   │   ├── routes/      # API endpoints
│   │   └── services/    # Business logic
│   └── shared/          # Shared types and utilities
├── tests/               # Test files
├── docs/                # Documentation
└── README.md

コントリビューション

コントリビューションを歓迎します。お気軽にプルリクエストを送信してください。

ライセンス

このプロジェクトは、MIT License のもとでライセンスされています。


### Detailed Style

Best for: Open source projects, documentation-heavy projects, developer tools

Includes everything from Standard plus:
- Architecture diagrams (Mermaid)
- API reference section
- Detailed configuration options
- Changelog link
- Security policy
- Code of conduct reference

## Badge Reference

### Repository Status Badges

```markdown

[![License](https://img.shields.io/github/license/OWNER/REPO)](LICENSE)


[![Stars](https://img.shields.io/github/stars/OWNER/REPO)](https://github.com/OWNER/REPO/stargazers)


[![Forks](https://img.shields.io/github/forks/OWNER/REPO)](https://github.com/OWNER/REPO/network/members)


[![Issues](https://img.shields.io/github/issues/OWNER/REPO)](https://github.com/OWNER/REPO/issues)


[![Last Commit](https://img.shields.io/github/last-commit/OWNER/REPO)](https://github.com/OWNER/REPO/commits)
CI/CD ステータスバッジ

[![CI](https://img.shields.io/github/actions/workflow/status/OWNER/REPO/ci.yml?branch=main&label=CI)](https://github.com/OWNER/REPO/actions)


[![Build](https://img.shields.io/github/actions/workflow/status/OWNER/REPO/build.yml?branch=main&label=build)](https://github.com/OWNER/REPO/actions/workflows/build.yml)


[![codecov](https://codecov.io/gh/OWNER/REPO/branch/main/graph/badge.svg)](https://codecov.io/gh/OWNER/REPO)
パッケージレジストリのバッジ

[![npm](https://img.shields.io/npm/v/PACKAGE)](https://www.npmjs.com/package/PACKAGE)
[![npm downloads](https://img.shields.io/npm/dm/PACKAGE)](https://www.npmjs.com/package/PACKAGE)


[![PyPI](https://img.shields.io/pypi/v/PACKAGE)](https://pypi.org/project/PACKAGE/)
[![Python Version](https://img.shields.io/pypi/pyversions/PACKAGE)](https://pypi.org/project/PACKAGE/)


[![Crates.io](https://img.shields.io/crates/v/PACKAGE)](https://crates.io/crates/PACKAGE)
[![docs.rs](https://docs.rs/PACKAGE/badge.svg)](https://docs.rs/PACKAGE)


[![Go Reference](https://pkg.go.dev/badge/github.com/OWNER/REPO.svg)](https://pkg.go.dev/github.com/OWNER/REPO)
テクノロジーバッジ

[![TypeScript](https://img.shields.io/badge/TypeScript-5.x-3178C6?logo=typescript&logoColor=white)]()
[![Python](https://img.shields.io/badge/Python-3.12-3776AB?logo=python&logoColor=white)]()
[![Rust](https://img.shields.io/badge/Rust-1.75+-DEA584?logo=rust&logoColor=white)]()
[![Go](https://img.shields.io/badge/Go-1.22-00ADD8?logo=go&logoColor=white)]()


[![Bun](https://img.shields.io/badge/Bun-1.x-f9f1e1?logo=bun&logoColor=black)]()
[![Node.js](https://img.shields.io/badge/Node.js-20+-339933?logo=node.js&logoColor=white)]()
[![Deno](https://img.shields.io/badge/Deno-1.x-000000?logo=deno&logoColor=white)]()


[![React](https://img.shields.io/badge/React-18-61DAFB?logo=react&logoColor=black)]()
[![Vue](https://img.shields.io/badge/Vue-3-4FC08D?logo=vue.js&logoColor=white)]()
[![Fastify](https://img.shields.io/badge/Fastify-4-000000?logo=fastify&logoColor=white)]()
[![FastAPI](https://img.shields.io/badge/FastAPI-0.100+-009688?logo=fastapi&logoColor=white)]()

ロゴのガイドライン

推奨仕様
  • 形式:PNG(透過あり)または SVG
  • サイズ:128x128px から 512x512px
  • 場所:assets/logo.png または assets/icon.svg
ロゴの中央揃え
<div align="center">
<img src="assets/logo.png" alt="Project Name" width="128">
</div>
プレースホルダーとして絵文字を使用する

ロゴがない場合:

<div align="center">

# 🚀 Project Name

</div>

プロジェクトの種類によく使われる絵文字:

  • 🚀 - 汎用/デプロイツール
  • 🛠️ - 開発者ツール
  • 📊 - データ/分析
  • 🔒 - セキュリティ
  • 🌐 - Web アプリケーション
  • 📱 - モバイルアプリ
  • 🤖 - AI/ML プロジェクト
  • 📦 - パッケージ/ライブラリ

セクションのガイドライン

機能セクション

機能は、単なる能力ではなく、ユーザーにとってのメリットとして記述します。

良い例:

- **Automatic Scanner Detection** - Discovers eSCL-compatible scanners via mDNS without manual configuration
- **Smart Photo Separation** - Intelligently detects and crops multiple photos from a single scan using edge analysis

比較 — 実装重視(効果が低い):

- Uses mDNS for scanner discovery
- Has edge detection algorithm
技術スタックのセクション

わかりやすいよう、表を使用します。

| Category | Technology |
|----------|------------|
| Runtime | Bun 1.x |
| Server | Fastify 4 |
| Frontend | React 18, Tailwind CSS |
| Database | SQLite (Drizzle ORM) |
はじめにのセクション

必ず次の内容を含めます。

  1. バージョン要件を含む前提条件
  2. クローン手順
  3. 依存関係のインストールコマンド
  4. 実行コマンド
  5. (任意)環境設定
プロジェクト構成のセクション
  • 階層は 2~3 レベルに抑える
  • 意味のあるディレクトリのみを表示する
  • 一見してわかりにくいフォルダーには簡単なコメントを付ける
project/
├── src/           # Source code
├── tests/         # Test files
├── docs/          # Documentation
└── scripts/       # Build/dev scripts

プロジェクトの種類別テンプレート

CLI ツール
## Installation

```bash
# With npm
npm install -g tool-name

# With Bun
bun install -g tool-name

# Or run directly
npx tool-name

使用方法

tool-name <command> [options]

Commands:
  init     Initialize a new project
  build    Build the project
  deploy   Deploy to production

Options:
  -h, --help     Show help
  -v, --version  Show version

### Library/Package

```markdown
## Installation

```bash
npm install package-name
# or
bun add package-name

使用方法

import { feature } from 'package-name';

const result = feature({
  option: 'value'
});

API

feature(options)

関数の説明。

パラメーター:

  • options.key(string)- 説明

戻り値: ReturnType - 説明


### Web Application

```markdown
## Demo

🌐 [Live Demo](https://demo.example.com)

## Screenshots

<div align="center">
<img src="docs/screenshots/dashboard.png" alt="Dashboard" width="600">
</div>

## Environment Variables

Create a `.env` file:

```env
DATABASE_URL=postgresql://...
API_KEY=your-api-key

## Compliance Checklist

### Minimal Style
- [ ] Title (h1)
- [ ] Description (1-2 sentences)
- [ ] License badge
- [ ] Installation instructions
- [ ] Basic usage example
- [ ] License section

### Standard Style (all of minimal plus)
- [ ] Logo or emoji header
- [ ] 3+ badges (license, stars, CI)
- [ ] Features section (4+ items)
- [ ] Tech stack table
- [ ] Prerequisites
- [ ] Development commands
- [ ] Project structure
- [ ] Contributing mention

### Detailed Style (all of standard plus)
- [ ] Architecture diagram
- [ ] API reference or link
- [ ] Configuration options
- [ ] Changelog link
- [ ] Security policy mention
- [ ] Code of conduct mention

## Cookiecutter Integration

For creating entire new projects from templates, consider using [cookiecutter](https://cookiecutter.readthedocs.io/):

```bash
# Install cookiecutter
pip install cookiecutter
# or
uv tool install cookiecutter

# Create project from template
cookiecutter https://github.com/your-org/project-template

Cookiecutter は次の用途に最適です。

  • 一貫した構成のプロジェクトを複数作成する
  • 組織全体で使用するプロジェクトテンプレートを作成する
  • README だけでなく、プロジェクト全体のひな形を含める

/configure:readme コマンドは次の用途に適しています。

  • 既存のプロジェクトを更新する
  • すでにコードがあるプロジェクトの README を生成する
  • 既存の README の準拠状況を確認する

コメント