documentation-guide
关于
This skill helps developers structure project documentation by providing templates and best practices for README files, docs folders, and essential project files like CONTRIBUTING and CHANGELOG. Use it when setting up a new project or improving existing documentation to ensure clarity and completeness. It offers checklists and guidance for creating effective, user-friendly documentation.
快速安装
Claude Code
推荐/plugin add https://github.com/AsiaOstrich/universal-dev-skillsgit 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
| File | Required | Purpose |
|---|---|---|
README.md | ✅ | Project overview, quick start |
CONTRIBUTING.md | Recommended | Contribution guidelines |
CHANGELOG.md | Recommended | Version 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.
[](https://github.com/org/repo/actions)
[](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
- Check
CONTRIBUTING.mdfor "Disabled Skills" section- If this skill is listed, it is disabled for this project
- Check
CONTRIBUTING.mdfor "Documentation Language" section - Check existing documentation structure
- If not found, default to English
Documentation Audit
When reviewing a project, check for:
| Item | How to Check |
|---|---|
| README exists | File present at root |
| README complete | Has installation, usage, license sections |
| CONTRIBUTING exists | File present (for team projects) |
| CHANGELOG exists | File present (for versioned projects) |
| docs/ organized | Has index.md, logical structure |
| Links working | Internal links resolve correctly |
First-Time Setup
If documentation is missing:
- Ask the user: "This project doesn't have complete documentation. Which language should I use? (English / 中文)"
- After user selection, suggest documenting in
CONTRIBUTING.md:
## Documentation Language
This project uses **[chosen option]** for documentation.
<!-- Options: English | 中文 -->
- Start with README.md (essential)
- Add LICENSE (for open source)
- Add CONTRIBUTING.md (for team projects)
- 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 仓库
相关推荐技能
content-collections
元Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。
creating-opencode-plugins
元该Skill为开发者创建OpenCode插件提供指导,涵盖命令、文件、LSP等25+种事件类型。它详细说明了插件结构、事件API规范及JavaScript/TypeScript实现模式,帮助开发者构建事件驱动的模块。适用于需要拦截操作、扩展功能或自定义AI助手行为的插件开发场景。
langchain
元LangChain是一个用于构建LLM应用程序的框架,支持智能体、链和RAG应用开发。它提供多模型提供商支持、500+工具集成、记忆管理和向量检索等核心功能。开发者可用它快速构建聊天机器人、问答系统和自主代理,适用于从原型验证到生产部署的全流程。
Algorithmic Art Generation
元这个Claude Skill帮助开发者使用p5.js创建算法艺术,特别适用于生成式艺术和交互式可视化项目。它支持种子随机性、流场和粒子系统等关键技术,确保艺术作品的重复性和独特性。当讨论生成艺术、算法艺术或计算美学时,该技能会自动激活,指导开发者完成从概念设计到技术实现的全过程。
