home / skills / zpankz / mcp-skillset / documentation-router
This skill routes documentation tasks by category, generating code, project, release, or API docs with clear explanations.
npx playbooks add skill zpankz/mcp-skillset --skill documentation-routerReview the files below or copy the command above to add this skill to your agents.
---
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
```
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
| Skill | Purpose | Trigger |
|-------|---------|---------|
| sc:document | Component docs | "document", "describe" |
| sc:explain | Explanations | "explain", "clarify" |
| sc:index | Full documentation | "index", "comprehensive" |
| create-readme-section | README | "readme", "setup guide" |
| create-release-note | Release notes | "changelog", "release" |
This skill routes documentation, explanation, and writing requests to the most appropriate documentation helper. It detects intent from triggers like document, explain, readme, api-docs, changelog, guide, comment, describe, and write-docs. The router maps requests to focused sub-skills for code comments, project READMEs, API docs, and release notes. It speeds work by sending each task to the skill best suited to produce accurate, targeted documentation.
The router inspects the task type and trigger words to classify the request into code-level, project-level, release, or API documentation. Based on the classification it forwards the request to a managed skill such as component documentation, explanations, README section creation, full docs indexing, or release-note authoring. A simple decision tree determines the destination: comments and docstrings go to component docs or explainers, README and guides go to README/ index skills, API triggers route to API documentation skills, and changelog triggers route to release-note creation. This keeps responses focused and consistent by leveraging specialized generators.
What happens if a request matches multiple triggers?
The router applies the decision tree priority: code-level and explanation triggers are checked first, then project-level, release, and API routes; it selects the most specific match.
Can I override the routing decision?
Yes. Specify the desired target skill or add explicit context (e.g., 'create-readme-section' or 'sc:document') to force the route.