documentation-templates by claudiodearaujo/izacenter
npx skills add https://github.com/claudiodearaujo/izacenter --skill documentation-templates常见文档类型的模板与结构指南。
| 章节 | 目的 |
|---|---|
| 标题 + 一句话简介 | 这是什么? |
| 快速开始 | 5 分钟内运行起来 |
| 功能特性 | 我能用它做什么? |
| 配置 | 如何自定义 |
| API 参考 | 指向详细文档的链接 |
| 贡献指南 | 如何提供帮助 |
| 许可证 | 法律信息 |
# 项目名称
简短的一行描述。
## 快速开始
[运行所需的最少步骤]
## 功能特性
- 功能 1
- 功能 2
## 配置
| 变量 | 描述 | 默认值 |
|----------|-------------|---------|
| PORT | 服务器端口 | 3000 |
## 文档
- [API 参考](./docs/api.md)
- [架构说明](./docs/architecture.md)
## 许可证
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 索引:
| 原则 | 原因 |
|---|---|
| 可快速浏览 | 标题、列表、表格 |
| 示例优先 | 展示,而非仅仅讲述 |
| 渐进式细节 | 从简单到复杂 |
| 保持最新 | 过时的文档会误导 |
请记住: 模板是起点。请根据你的项目需求进行调整。
每周安装数
1
代码仓库
GitHub 星标数
1
首次出现
今天
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
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](./docs/api.md)
- [Architecture](./docs/architecture.md)
## 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.
Weekly Installs
1
Repository
GitHub Stars
1
First Seen
Today
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
论文复现上下文解析器 - 解决AI论文复现中的关键信息缺口与冲突检测
4,200 周安装