documentation-builder
When to use this skill
Use this skill whenever the user wants to:
- Generate a project README with installation, usage, and contributing sections
- Create API documentation from code or OpenAPI specs
- Write developer onboarding or setup guides
- Build user manuals or quick-start tutorials
- Structure documentation for a new or existing project
- Generate a CHANGELOG from commit history or release notes
How to use this skill
Workflow
- Identify the doc type - README, API reference, user guide, developer guide, or changelog
- Gather context - Read the codebase, existing docs, and project structure
- Generate documentation - Use the templates and patterns below
- Validate - Ensure all code examples run, links resolve, and sections are complete
README Template
# Project Name
Brief description of what the project does and why it exists.
## Quick Start
\`\`\`bash
npm install my-package
\`\`\`
\`\`\`typescript
import { MyClient } from 'my-package';
const client = new MyClient({ apiKey: process.env.API_KEY });
const result = await client.query('hello');
\`\`\`
## Features
- Feature one with brief explanation
- Feature two with brief explanation
## Installation
Detailed installation steps for different environments.
## Usage
Detailed usage examples with code snippets.
## API Reference
Link to full API docs or inline reference.
## Contributing
How to contribute, run tests, and submit PRs.
## License
License type and link.
API Documentation Pattern (OpenAPI)
paths:
/users/{id}:
get:
summary: Get user by ID
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: User found
content:
application/json:
schema:
$ref: '#/components/schemas/User'
'404':
description: User not found
Best Practices
- Start with a quick-start - Let readers get running in under 2 minutes
- Include runnable code examples - Every API endpoint or function should have a copy-paste example
- Keep docs next to code - Co-locate documentation with the source it describes
- Use consistent structure - Follow the same heading hierarchy across all doc pages
- Version your docs - Tag documentation alongside code releases
Keywords
文档编写, documentation, README, API docs, OpenAPI, Swagger, user guide, 用户手册, developer guide, 开发指南, changelog, 技术文档
More from partme-ai/full-stack-skills
vite
Guidance for Vite using the official Guide, Config Reference, and Plugins pages. Use when the user needs Vite setup, configuration, or plugin selection details.
68element-plus-vue3
Provides comprehensive guidance for Element Plus Vue 3 component library including installation, components, themes, internationalization, and API reference. Use when the user asks about Element Plus for Vue 3, needs to build Vue 3 applications with Element Plus, or customize component styles.
63vue3
Guidance for Vue 3 using the official guide and API reference. Use when the user needs Vue 3 concepts, patterns, or API details to build components, apps, and tooling.
54electron
Build cross-platform desktop applications with Electron, covering main/renderer process architecture, IPC communication, BrowserWindow management, menus, tray icons, packaging, and security best practices. Use when the user asks about Electron, needs to create desktop applications, implement Electron features, or build cross-platform desktop apps.
52uniapp-project
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
40ascii-cli-logo-banner
Entry point for ASCII CLI banners that routes to the Python built-in font skill or figlet.js/FIGfont skill. Use when the user wants a startup banner, ASCII logo, terminal welcome screen, or CLI branding for a service.
38