AGENT SKILL

api-docs

Document a library or service API with clear usage examples.

License 许可
MIT
所属仓库
Zwin-ux/kit
最近更新
2026-11-02
Stars
★ 0
Forks
2

01 前言 Front Matter

name
api-docs
version
0.1.0
description
Document a library or service API with clear usage examples.
compatibility
[ "claude-code", "grok-build", "codex" ]

03 SKILL.md 正文

Instructions

  1. Find the public surface: exports, routes, or CLI commands.
  2. Document each public item with:
    • Purpose
    • Inputs
    • Outputs or side effects
    • One short example
  3. Prefer real examples from the codebase.
  4. Mark unstable or experimental APIs clearly.
  5. Keep docs next to the code or in the project’s established docs path.
  6. Do not document private helpers as public API.

04 同仓库更多 Skills