スキル一覧に戻る
place-to-stand

docs

by place-to-stand

0🍴 0📅 2026年1月19日
GitHubで見るManusで実行

SKILL.md


name: docs description: Generate API documentation, component docs, schema docs, and changelogs. Use when documenting new endpoints, creating component documentation, updating READMEs, or writing release notes.

Documentation Generator

Generate or update documentation for code, APIs, and features.

Documentation Types

1. API Documentation

For routes in app/api/:

## Endpoint Name

**Method:** GET|POST|PUT|DELETE
**Path:** `/api/v1/resource`
**Auth:** Required|Optional (role requirements)

### Request
- Headers
- Query parameters
- Body schema (with Zod validation)

### Response
- Success response shape
- Error response shape
- Status codes

### Examples
curl or fetch examples

2. Component Documentation

For React components:

## ComponentName

Brief description of purpose

### Props
| Prop | Type | Required | Default | Description |
|------|------|----------|---------|-------------|

### Usage
Code example

### Variants
Different configurations

### Accessibility
ARIA roles, keyboard interactions

3. Database Schema Documentation

For tables in lib/db/schema.ts:

## Table: table_name

Purpose and relationships

### Columns
| Column | Type | Nullable | Default | Description |
|--------|------|----------|---------|-------------|

### Relationships
- Foreign keys
- Related tables

### Indexes
- Index definitions and purpose

### RLS/Permissions
- Access control notes (RLS disabled, app-level guards)

4. Feature Documentation

For new features:

## Feature Name

### Overview
What it does and why

### User Stories
- As a [role], I can...

### Architecture
- Components involved
- Data flow
- State management

### Configuration
- Environment variables
- Feature flags

### Usage Guide
Step-by-step for users

5. Changelog Entry

Per AGENTS.md guidelines:

## [Version] - YYYY-MM-DD

### Added
- New features

### Changed
- Modifications to existing functionality

### Fixed
- Bug fixes

### Deprecated
- Soon-to-be removed features

### Removed
- Removed features

### Security
- Security-related changes

Output Locations

Per AGENTS.md:

  • API references: docs/apis/
  • PRD updates: docs/prds/
  • Inline comments: sparingly, for non-obvious logic
  • README snippets: feature-specific READMEs

Actions

  1. Analyze the code/feature to document
  2. Identify the appropriate documentation type
  3. Generate documentation following templates
  4. Suggest file location
  5. Check for existing docs to update vs. create

Principles

  • Keep docs close to code when possible
  • Update docs when behavior changes
  • Include examples for complex features
  • Document "why" not just "what"
  • Per AGENTS.md: record noteworthy updates in changelog

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です