documentation-templates by sickn33/antigravity-awesome-skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill documentation-templates常见文档类型的模板和结构指南。
| 部分 | 目的 |
|---|---|
| 标题 + 一句话简介 | 这是什么? |
| 快速开始 | 5 分钟内运行起来 |
| 功能特性 | 我能用它做什么? |
| 配置 | 如何自定义 |
| API 参考 | 指向详细文档的链接 |
| 贡献指南 | 如何提供帮助 |
| 许可证 | 法律信息 |
# 项目名称
简短的一行描述。
## 快速开始
[运行所需的最少步骤]
## 功能特性
- 功能 1
- 功能 2
## 配置
| 变量 | 描述 | 默认值 |
|----------|-------------|---------|
| PORT | 服务器端口 | 3000 |
## 文档
- API 参考
- 架构说明
## 许可证
MIT
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
## GET /users/:id
根据 ID 获取用户。
**参数:**
| 名称 | 类型 | 必填 | 描述 |
|------|------|----------|-------------|
| id | string | 是 | 用户 ID |
**响应:**
- 200: 用户对象
- 404: 用户未找到
**示例:**
[请求和响应示例]
/**
* 函数功能的简要描述。
*
* @param paramName - 参数描述
* @returns 返回值描述
* @throws ErrorType - 何时会抛出此错误
*
* @example
* const result = functionName(input);
*/
| ✅ 需要注释 | ❌ 无需注释 |
|---|---|
| 为什么(业务逻辑) | 是什么(显而易见的) |
| 复杂算法 | 每一行代码 |
| 非显而易见的行为 | 自解释的代码 |
| API 契约 | 实现细节 |
# 更新日志
## [未发布]
### 新增
- 新功能
## [1.0.0] - 2025-01-01
### 新增
- 初始版本
### 变更
- 更新了依赖项
### 修复
- 错误修复
# ADR-001: [标题]
## 状态
已采纳 / 已弃用 / 已被取代
## 背景
我们为何做出此决定?
## 决策
我们决定了什么?
## 后果
权衡利弊是什么?
供 AI 爬虫和智能体使用:
# 项目名称
> 一句话目标。
## 核心文件
- [src/index.ts]: 主入口文件
- [src/api/]: API 路由
- [docs/]: 文档
## 关键概念
- 概念 1: 简要解释
- 概念 2: 简要解释
用于 RAG 索引:
| 原则 | 原因 |
|---|---|
| 可快速浏览 | 使用标题、列表、表格 |
| 示例优先 | 展示,而非仅仅讲述 |
| 渐进式细节 | 从简单到复杂 |
| 保持最新 | 过时的文档会误导人 |
请记住: 模板只是起点。请根据你的项目需求进行调整。
此技能适用于执行概述中描述的工作流程或操作。
每周安装次数
798
代码仓库
GitHub 星标数
27.4K
首次出现
2026 年 1 月 20 日
安全审计
安装于
opencode661
gemini-cli639
codex582
claude-code556
cursor532
github-copilot522
Templates and structure guidelines for common documentation types.
| Section | Purpose |
|---|---|
| Title + One-liner | What is this? |
| Quick Start | Running in <5 min |
| Features | What can I do? |
| Configuration | How to customize |
| API Reference | Link to detailed docs |
| Contributing | How to help |
| License | Legal |
# Project Name
Brief one-line description.
## Quick Start
[Minimum steps to run]
## Features
- Feature 1
- Feature 2
## Configuration
| Variable | Description | Default |
|----------|-------------|---------|
| PORT | Server port | 3000 |
## Documentation
- API Reference
- Architecture
## License
MIT
## GET /users/:id
Get a user by ID.
**Parameters:**
| Name | Type | Required | Description |
|------|------|----------|-------------|
| id | string | Yes | User ID |
**Response:**
- 200: User object
- 404: User not found
**Example:**
[Request and response example]
/**
* Brief description of what the function does.
*
* @param paramName - Description of parameter
* @returns Description of return value
* @throws ErrorType - When this error occurs
*
* @example
* const result = functionName(input);
*/
| ✅ Comment | ❌ Don't Comment |
|---|---|
| Why (business logic) | What (obvious) |
| Complex algorithms | Every line |
| Non-obvious behavior | Self-explanatory code |
| API contracts | Implementation details |
# Changelog
## [Unreleased]
### Added
- New feature
## [1.0.0] - 2025-01-01
### Added
- Initial release
### Changed
- Updated dependency
### Fixed
- Bug fix
# ADR-001: [Title]
## Status
Accepted / Deprecated / Superseded
## Context
Why are we making this decision?
## Decision
What did we decide?
## Consequences
What are the trade-offs?
For AI crawlers and agents:
# Project Name
> One-line objective.
## Core Files
- [src/index.ts]: Main entry
- [src/api/]: API routes
- [docs/]: Documentation
## Key Concepts
- Concept 1: Brief explanation
- Concept 2: Brief explanation
For RAG indexing:
| Principle | Why |
|---|---|
| Scannable | Headers, lists, tables |
| Examples first | Show, don't just tell |
| Progressive detail | Simple → Complex |
| Up to date | Outdated = misleading |
Remember: Templates are starting points. Adapt to your project's needs.
This skill is applicable to execute the workflow or actions described in the overview.
Weekly Installs
798
Repository
GitHub Stars
27.4K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode661
gemini-cli639
codex582
claude-code556
cursor532
github-copilot522
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
103,800 周安装
飞书/Lark消息推送技能:自定义机器人Webhook与API集成指南
733 周安装
Trigger.dev 实时功能:从前端/后端实时订阅任务运行,流式传输数据
734 周安装
PPTX 文件处理全攻略:Python 脚本创建、编辑、分析 .pptx 文件内容与结构
735 周安装
Dokie AI PPT:AI驱动的专业演示文稿设计工具,支持HTML创意动效
737 周安装
PRD生成器:AI驱动产品需求文档工具,快速创建清晰可执行PRD
737 周安装
Devcontainer 设置技能:一键创建预配置开发容器,集成 Claude Code 和语言工具
739 周安装