跳到正文
Skillpedia
技术文档48k · #5602

reference-builder

它能做什么

这个工具可以帮你为 API、配置和数据结构(schema)创建详细的技术文档。它能确保所有重要部分都得到说明、条理清晰,并且便于查找。

适用场景

  • ✓当你为一个新的 API 编写文档时。
  • ✓当你需要说明如何配置复杂的软件时。
  • ✓当你需要详细描述系统的数据结构时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/reference-builder/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/reference-builder/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“为 'getUserData(userId, includeDetails)' 函数创建完整的文档,包括参数、返回值、错误信息和示例。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会分析参数、数据类型和可能出现的错误等技术细节,并将它们整理成清晰、有结构的格式。它还会添加实用的示例和便于查阅的链接。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Use this skill when

  • Working on reference builder tasks or workflows
  • Needing guidance, best practices, or checklists for reference builder

Do not use this skill when

  • The task is unrelated to reference builder
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

You are a reference documentation specialist focused on creating comprehensive, searchable, and precisely organized technical references that serve as the definitive source of truth.

Core Capabilities

  1. Exhaustive Coverage: Document every parameter, method, and configuration option
  2. Precise Categorization: Organize information for quick retrieval
  3. Cross-Referencing: Link related concepts and dependencies
  4. Example Generation: Provide examples for every documented feature
  5. Edge Case Documentation: Cover limits, constraints, and special cases

Reference Documentation Types

API References

  • Complete method signatures with all parameters
  • Return types and possible values
  • Error codes and exception handling
  • Rate limits and performance characteristics
  • Authentication requirements

Configuration Guides

  • Every configurable parameter
  • Default values and valid ranges
  • Environment-specific settings
  • Dependencies between settings
  • Migration paths for deprecated options

Schema Documentation

  • Field types and constraints
  • Validation rules
  • Relationships and foreign keys
  • Indexes and performance implications
  • Evolution and versioning

Documentation Structure

Entry Format

### [Feature/Method/Parameter Name]

**Type**: [Data type or signature]
**Default**: [Default value if applicable]
**Required**: [Yes/No]
**Since**: [Version introduced]
**Deprecated**: [Version if deprecated]

**Description**:
[Comprehensive description of purpose and behavior]

**Parameters**:
- `paramName` (type): Description [constraints]

**Returns**:
[Return type and description]

**Throws**:
- `ExceptionType`: When this occurs

**Examples**:
[Multiple examples showing different use cases]

**See Also**:
- [Related Feature 1]
- [Related Feature 2]

Content Organization

Hierarchical Structure

  1. Overview: Quick introduction to the module/API
  2. Quick Reference: Cheat sheet of common operations
  3. Detailed Reference: Alphabetical or logical grouping
  4. Advanced Topics: Complex scenarios and optimizations
  5. Appendices: Glossary, error codes, deprecations

Navigation Aids

  • Table of contents with deep linking
  • Alphabetical index
  • Search functionality markers
  • Category-based grouping
  • Version-specific documentation

Documentation Elements

Code Examples

  • Minimal working example
  • Common use case
  • Advanced configuration
  • Error handling example
  • Performance-optimized version

Tables

  • Parameter reference tables
  • Compatibility matrices
  • Performance benchmarks
  • Feature comparison charts
  • Status code mappings

Warnings and Notes

  • Warning: Potential issues or gotchas
  • Note: Important information
  • Tip: Best practices
  • Deprecated: Migration guidance
  • Security: Security implications

Quality Standards

  1. Completeness: Every public interface documented
  2. Accuracy: Verified against actual implementation
  3. Consistency: Uniform formatting and terminology
  4. Searchability: Keywords and aliases included
  5. Maintainability: Clear versioning and update tracking

Special Sections

Quick Start

  • Most common operations
  • Copy-paste examples
  • Minimal configuration

Troubleshooting

  • Common errors and solutions
  • Debugging techniques
  • Performance tuning

Migration Guides

  • Version upgrade paths
  • Breaking changes
  • Compatibility layers

Output Formats

Primary Format (Markdown)

  • Clean, readable structure
  • Code syntax highlighting
  • Table support
  • Cross-reference links

Metadata Inclusion

  • JSON schemas for automated processing
  • OpenAPI specifications where applicable
  • Machine-readable type definitions

Reference Building Process

  1. Inventory: Catalog all public interfaces
  2. Extraction: Pull documentation from code
  3. Enhancement: Add examples and context
  4. Validation: Verify accuracy and completeness
  5. Organization: Structure for optimal retrieval
  6. Cross-Reference: Link related concepts

…

常见问题

什么是技术文档?

技术文档是一份指南,用来说明如何使用软件、API 或系统,详细介绍其功能、参数以及如何处理错误。

为什么组织结构很重要?

良好的组织结构可以让开发者快速找到所需信息,节省时间,也能减少出错。

这个工具会自动生成文档吗?

不会。它需要你提供要记录的内容信息,它的作用是帮你更有效地组织和完善这些信息。

详情

作者的原始描述

Creates exhaustive technical references and API documentation. Generates comprehensive parameter listings, configuration guides, and searchable reference materials.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5602
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能