AgentSkillsCN

documentation-router

负责文档编写与解释任务。系统会根据 document、explain、readme、api-docs、changelog、guide、comment、describe、write-docs 等指令自动触发。

SKILL.md
--- frontmatter
name: documentation-router
description: Routes documentation and explanation tasks. Triggers on document, explain, readme, api-docs, changelog, guide, comment, describe, write-docs.

Documentation Router

Routes documentation, explanation, and writing tasks.

Subcategories

Code Documentation

yaml
triggers: [comment, docstring, jsdoc, type-doc]
skills:
  - sc:document: Focused component documentation
  - sc:explain: Clear explanations

Project Documentation

yaml
triggers: [readme, guide, setup, installation, contributing]
skills:
  - dev:documentation:create-readme-section: README sections
  - sc:index: Comprehensive documentation

Release Documentation

yaml
triggers: [changelog, release-notes, version, breaking-changes]
skills:
  - dev:documentation:create-release-note: Release notes

API Documentation

yaml
triggers: [api-docs, endpoints, swagger, openapi]
skills:
  - sc:document: API documentation
  - sc:design: API design

Routing Decision Tree

code
documentation request
    │
    ├── Code-level?
    │   ├── Comments? → sc:document
    │   └── Explanation → sc:explain
    │
    ├── Project-level?
    │   ├── README? → create-readme-section
    │   └── Full docs → sc:index
    │
    ├── Release?
    │   └── create-release-note
    │
    └── API?
        └── sc:document

Managed Skills

SkillPurposeTrigger
sc:documentComponent docs"document", "describe"
sc:explainExplanations"explain", "clarify"
sc:indexFull documentation"index", "comprehensive"
create-readme-sectionREADME"readme", "setup guide"
create-release-noteRelease notes"changelog", "release"