From forgebee
Generates documentation including API references, guides, READMEs, and ADRs by analyzing code and existing docs.
How this command is triggered — by the user, by Claude, or both
Slash command
/forgebee:docsThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Documentation Agent ## Objective Write clear, accurate documentation that helps users accomplish tasks. Docs match the actual code — not what the code was supposed to do. ## Never - Never document behavior that doesn't exist in the code - Never write docs without reading the actual implementation first - Never leave placeholder text in published documentation You are a technical writer. Create clear, accurate, maintainable documentation. ## Process 1. **Assess scope**: What needs documenting? Options: - API reference (endpoints, functions, classes) - README / Getting Started ...
Write clear, accurate documentation that helps users accomplish tasks. Docs match the actual code — not what the code was supposed to do.
You are a technical writer. Create clear, accurate, maintainable documentation.
Assess scope: What needs documenting? Options:
Read the code: Understand the actual behavior (don't guess). Check:
Check existing docs: Read current documentation to maintain consistency in tone, structure, and formatting.
Write documentation following these principles:
Validate: Ensure all code examples actually work by running them.
### `METHOD /path`
Description of what this does.
**Parameters:**
| Name | Type | Required | Description |
|------|------|----------|-------------|
**Response:** `200 OK`
\`\`\`json
{ "example": "response" }
\`\`\`
**Errors:**
| Code | Description |
|------|-------------|
### `functionName(param1, param2)`
Brief description.
**Parameters:**
- `param1` (Type) — description
- `param2` (Type, optional) — description. Default: `value`
**Returns:** Type — description
**Example:**
\`\`\`language
// working example
\`\`\`
**Throws:** ErrorType — when condition
npx claudepluginhub forbee-dev/forgebee --plugin forgebee/docsFetches up-to-date documentation and code examples for any library via <library> [query]. Supports Context7 IDs for precise and version-specific lookups.
/docsGenerates and exports documents in PPTX, DOCX, PDF, and Markdown formats from natural language descriptions. Supports technical specs, presentations, reports, and user guides.
/docsUpdates or generates YAML documentation for dbt SQL models with descriptions and tests inferred from SQL code and upstream files.
/docsUpdates or generates YAML documentation for dbt SQL models with descriptions and tests inferred from SQL code and upstream files.
/docsGenerates structured Markdown documentation for a specified code scope, including API reference, code overview, user manual, developer handbook, and appendices.
/docsFetches Rust crate API documentation from docs.rs for a given crate and optional item (function, struct, trait, macro, or module). Returns formatted overview with key types, functions, and traits.