Volver al catálogo
Curado por modeloDesarrollo

Dosier de la skill

code-documenter

Declaración de origen

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.

Resumen de la investigación

Temas relacionados
Curado por modelo

Skill Atlas model curation · model-curated-1.0.0

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

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.

archivos
9
Archivos Markdown
9
scripts
0
referencias
8
Tamaño
50,1 KB
Complejidad estructural
Media

Inventario de archivos

RutaTipoBytes
skills/code-documenter/references/api-docs-fastapi-django.mdReferencia4,1 KB
skills/code-documenter/references/api-docs-nestjs-express.mdReferencia4,8 KB
skills/code-documenter/references/coverage-reports.mdReferencia3 KB
skills/code-documenter/references/documentation-systems.mdReferencia6 KB
skills/code-documenter/references/interactive-api-docs.mdReferencia10 KB
skills/code-documenter/references/python-docstrings.mdReferencia2,9 KB
skills/code-documenter/references/typescript-jsdoc.mdReferencia3 KB
skills/code-documenter/references/user-guides-tutorials.mdReferencia10,7 KB
skills/code-documenter/SKILL.mdInstrucción5,7 KB

Frontmatter de SKILL.md

{
  "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"
  }
}

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.

  1. 01
    Entrada

    Ask for preferences

    Ask for the format preference and exclusions before starting.

  2. 02
    Acción

    Analyze undocumented code

    Find undocumented code after detecting the language and framework.

  3. 03
    Decisión

    Fix failed validation

    If validation fails, fix the examples and re-validate before the Report step.

  4. 04
    Salida

    Deliver documentation

    Provide documented files with a coverage report, specs, doc-site config or guides depending on the task.

Posibles superficies de riesgo

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.

Media

Network access is mentioned

22 ocurrencias

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.

Alta

Credential or secret material is referenced

12 ocurrencias

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.

Nota de seguridad editorial

Check that documentation examples and generated specs do not leak real keys, internal URLs or private endpoint details.

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.

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

Ú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
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/code-documenter/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Install the skill into a personal or project-level Claude Code skills directory.
  4. 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.

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.

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.

Jeffallanclaude-skillsskills/code-documenter
Tipo de origen
Comunidad
Commit
67c1961b180dc92cf08983344627109e983e8f51
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.469
Base del contenido

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.