文档 代码
- 作者仓库星标 0
- 作者仓库 skills-registry
Documentation from Code Skill
When to Use
When you need to create or update documentation from existing code. Generates README files, API documentation, architecture overviews, and inline documentation improvements.
Procedure
- Read the codebase structure using
filesystem.list - Identify entry points, public APIs, and key modules
- Read source files to understand functionality
- Extract docstrings, type hints, and comments
- Generate documentation in appropriate format (Markdown, JSDoc, etc.)
- Write documentation files using
filesystem.write - Verify generated docs are accurate and complete
Examples
Example 1: Generate README
Input: "Generate a README for this project" Walkthrough:
- List project root files to understand structure
- Read package.json, Cargo.toml, or similar for metadata
- Read main source files to understand functionality
- Identify installation steps, usage examples, and API overview
- Generate README with sections: Install, Usage, API, Contributing, License
- Write README.md to project root
Example 2: API documentation
Input: "Document the REST API endpoints" Walkthrough:
- Find route definitions in the codebase
- Extract HTTP methods, paths, parameters, and response types
- Read validation schemas for request/response shapes
- Generate OpenAPI/Swagger-style documentation
- Include example requests and responses
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: daniel-silva-perez/zeus — distributed by TomeVault.
- 流狐分类
- 文档
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 When you need to create or update documentation from existing code. Generates README files, API documentation, architecture overviews, and inline documentation improvements.
Read the codebase structure using filesystem.list Identify entry points, public APIs, and key modules Read source files to understand functionality
Examples
Input: "Generate a README for this project" Walkthrough: List project root files to understand structure
Input: "Document the REST API endpoints" Walkthrough: Find route definitions in the codebase
# Documentation from Code Skill
## When to Use
When you need to create or update documentation from existing code. Generates README files,
API documentation, architecture overviews, and inline documentation improvements.
## Procedure
1. Read the codebase structure using `filesystem.list`
2. Identify entry points, public APIs, and key modules
3. Read source files to understand functionality
4. Extract docstrings, type hints, and comments
5. Generate documentation in appropriate format (Markdown, JSDoc, etc.)
6. Write documentation files using `filesystem.write`
7. Verify generated docs are accurate and complete
## Examples
### Example 1: Generate README
Input: "Generate a README for this project"
Walkthrough:
1. List project root files to understand structure
2. Read package.json, Cargo.toml, or similar for metadata
3. Read main source files to understand functionality
4. Identify installation steps, usage examples, and API overview
5. Generate README with sections: Install, Usage, API, Contributing, License
6. Write README.md to project root
### Example 2: API documentation
Input: "Document the REST API endpoints"
Walkthrough:
1. Find route definitions in the codebase
2. Extract HTTP methods, paths, parameters, and response types
3. Read validation schemas for request/response shapes
4. Generate OpenAPI/Swagger-style documentation
5. Include example requests and responses
---
> Source: [daniel-silva-perez/zeus](https://github.com/daniel-silva-perez/zeus) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 --> 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> When to Use → Procedure → Examples → Example 1: Generate README → Example 2: API documentation
要点 -> --- > Source: [daniel-silva-perez/zeus](https://github.com/daniel-silva-perez/zeus) — distributed by [TomeVault](https://tomevault.io).
文件/命令 -> filesystem.list · filesystem.write · package.js · README.md · request/response · OpenAPI/Swagger-style · daniel-silva-perez/zeus · github.com/daniel-silva-perez/zeus
内容 SHA-256 -> b39b3a698946
原文结构
适用与边界
原文中的明确线索
filesystem.list、filesystem.write、package.js、README.md、request/response、OpenAPI/Swagger-style、daniel-silva-perez/zeus、github.com/daniel-silva-perez/zeus