Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides. Use when adding docstrings to functions or classes, creating API documentation, building documentation sites, or writing tutorials and user guides. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, getting started guides.
La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.
Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides. Use when adding docstrings to functions or classes, creating API documentation, building documentation sites, or writing tutorials and user guides. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, getting started guides.
developmentreferences
El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.
Adds and validates technical documentation such as docstrings, JSDoc, OpenAPI specs and guides, asking for format preferences first and testing examples before reporting.
Alcance de la revisión
Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.
Capacidades observables
Asks for format preference and exclusions, then detects language and framework.
Finds undocumented code and applies a consistent documentation style.
Validates examples with doctest, tsc --noEmit or Redocly lint, and fixes failures before reporting.
Generates a documentation coverage summary.
Limitaciones y alcance
Validation tools such as pytest, tsc and Redocly must be installed and relevant to the project.
Passing doctest or compile checks does not prove the prose is accurate.
Doc site and tutorial guidance is in separate references and not detailed in the main file.
Relevante para
Developers documenting public APIs
Teams producing OpenAPI or JSDoc coverage
Maintainers writing getting-started guides
02 / STRUCTURE
Qué incluye la skill
El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.
{
"name": "code-documenter",
"description": "Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides. Use when adding docstrings to functions or classes, creating API documentation, building documentation sites, or writing tutorials and user guides. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, getting started guides.",
"license": "MIT",
"metadata": {
"author": "https://github.com/Jeffallan",
"company": "https://synergetic.solutions",
"version": "1.1.0",
"domain": "quality",
"triggers": "documentation, docstrings, OpenAPI, Swagger, JSDoc, comments, API docs, tutorials, user guides, doc site",
"role": "specialist",
"scope": "implementation",
"output-format": "code",
"related-skills": "spec-miner, fullstack-guardian, code-reviewer"
}
}
03 / WORKFLOW
Una lectura de la secuencia de funcionamiento
Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.
01
Entrada
Ask for preferences
Ask for the format preference and exclusions before starting.
Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.
Se recomienda atención
93 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.
Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Nota
File modification is described or implemented
59 ocurrencias
This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 59 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.
A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 22 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.
This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 12 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.
Check that documentation examples and generated specs do not leak real keys, internal URLs or private endpoint details.
05 / CONTEXT
Dónde puede consumirse el contexto
Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.
Recuento exacto de tokens no disponible
All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.
No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.
06 / EVALUATION
Evaluación controlada
Sin evaluación controlada
Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.
Sin probar
07 / USAGE
Úsala con el código fuente a la vista
Comando de instalación
git clone https://github.com/Jeffallan/claude-skills.git
cd claude-skills
# Copy this skill directory into one of:
# ~/.claude/skills/code-documenter
# .claude/skills/code-documenter
Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/code-documenter/SKILL.md.
Review the license, prerequisites and all bundled reference files.
Install the skill into a personal or project-level Claude Code skills directory.
Restart or refresh Claude Code so the skill can be discovered.
Verificar la instalación
Confirm code-documenter/SKILL.md exists at the destination, then ask Claude Code to use the code-documenter skill on a small test task.
Requisitos previos
Validation tools such as pytest, tsc and Redocly must be installed and relevant to the project.
Passing doctest or compile checks does not prove the prose is accurate.
Doc site and tutorial guidance is in separate references and not detailed in the main file.
Prompts de ejemplo
Representative task
Use the code-documenter skill to add Google-style docstrings to the public functions in src/users.py, ask me about format first, and validate the examples with doctest.
Inspect before use
Read the code-documenter skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/code-documenter/SKILL.md and its referenced files. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.
08 / VERDICT
Una decisión, con sus límites
Fortalezas
Requires asking for docstring format instead of assuming one.
Ties documentation to executable validation of examples.
Aspectos a considerar
Documenting all public functions can create large diffs.
Coverage reports measure presence of documentation, not its quality.
Conclusión de la investigación
A dependable documentation workflow that is strongest where examples can be compiled or linted.
09 / PROVENANCE
Trazable por construcción
El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.
Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.