con un clic
sh-document
Targeted documentation for components, functions, and APIs
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Targeted documentation for components, functions, and APIs
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Multi-expert AI/ML specification review with scoring gate — model architecture, evaluation rigor, safety/alignment, and production readiness for AI systems and LLM apps
Multi-expert architecture review — boundaries, integration patterns, failure modes, evolvability
Multi-expert business analysis with advisory recommendations (no scoring gate)
Multi-expert intelligence pipeline review — discovery quality, ingestion resilience, scoring validity, platform compliance, taxonomy coherence, cost efficiency
Multi-expert mobile/native app specification review with scoring gate — Android, iOS, Swift, SwiftUI
Multi-expert personal-development review with scoring gate — learnability, adoption, human-centeredness, and capability impact for talent/learning/AI-augmentation designs
| name | sh-document |
| description | Targeted documentation for components, functions, and APIs |
Generate focused documentation for specific components, functions, or APIs. Not full project docs -- surgical, useful documentation for the thing you point at.
| Type | When | Output |
|---|---|---|
| inline | Functions/classes | Docstrings, JSDoc, type annotations |
| api | HTTP endpoints | Method, path, params, request/response, errors |
| component | Modules/services | Purpose, interface, usage examples, dependencies |
| guide | How-to for a feature | Step-by-step with code examples |
Follow language/project conventions for doc format. Include:
Inline (Python):
def process_batch(items: list[Item], limit: int = 500) -> BatchResult:
"""Process a batch of items with size validation.
Args:
items: Items to process. Must not be empty.
limit: Maximum batch size. Exceeding raises BatchLimitError.
Returns:
BatchResult with processed count and any failures.
Raises:
BatchLimitError: If len(items) > limit.
ValueError: If items is empty.
"""
API endpoint:
## POST /api/v1/items/batch
Process items in batch.
| Param | Type | Required | Description |
|-------|------|----------|-------------|
| items | Item[] | yes | Items to process (max 500) |
| dry_run | bool | no | Validate without persisting |
**Success (200)**: `{ "processed": 42, "failures": [] }`
**Error (422)**: `{ "detail": "Batch exceeds 500 limit" }`
Will: Generate documentation for specific targets, follow project conventions. Will not: Create full project documentation, READMEs, or architecture docs unprompted.
Review generated docs for accuracy. Integrate into codebase.