Torna al catalogo
Curato dal modelloSviluppo

Dossier della skill

code-documenter

Dichiarazione di fonte

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 descrizione originale dell'autore, conservata in inglese. Descrive l'intento, non prestazioni verificate.

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

I contenuti di ricerca di questo sito sono pubblicati in inglese e cinese e qui sono mostrati in inglese.

Sintesi della ricerca

Temi correlati
Curato dal modello

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.

Ambito della revisione

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.

Capacità osservabili

  • 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.

Limiti e ambito

  • 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.

Utile per

  • Developers documenting public APIs
  • Teams producing OpenAPI or JSDoc coverage
  • Maintainers writing getting-started guides

Cosa contiene la skill

L'inventario dei file proviene dal sorgente raccolto al commit registrato. Percorsi e dimensioni sono osservazioni strutturali, non una misura di qualità.

file
9
File Markdown
9
script
0
riferimenti
8
Dimensione
50,1 KB
Complessità strutturale
Media

Inventario dei file

PercorsoTipoByte
skills/code-documenter/references/api-docs-fastapi-django.mdRiferimento4,1 KB
skills/code-documenter/references/api-docs-nestjs-express.mdRiferimento4,8 KB
skills/code-documenter/references/coverage-reports.mdRiferimento3 KB
skills/code-documenter/references/documentation-systems.mdRiferimento6 KB
skills/code-documenter/references/interactive-api-docs.mdRiferimento10 KB
skills/code-documenter/references/python-docstrings.mdRiferimento2,9 KB
skills/code-documenter/references/typescript-jsdoc.mdRiferimento3 KB
skills/code-documenter/references/user-guides-tutorials.mdRiferimento10,7 KB
skills/code-documenter/SKILL.mdIstruzione5,7 KB

Frontmatter di 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 lettura della sequenza operativa

Questo workflow ricostruisce la sequenza apparente a partire dal materiale sorgente. A meno che sia registrata esplicitamente una valutazione controllata, è provvisorio e non una traccia osservata.

  1. 01
    Input

    Ask for preferences

    Ask for the format preference and exclusions before starting.

  2. 02
    Azione

    Analyze undocumented code

    Find undocumented code after detecting the language and framework.

  3. 03
    Decisione

    Fix failed validation

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

  4. 04
    Output

    Deliver documentation

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

Possibili superfici di rischio

I rilievi statici indicano i punti da esaminare prima dell'installazione. Non stabiliscono che una skill sia sicura, dannosa o efficace.

Attenzione consigliata

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.

Accesso alla reteOsservato
Scritture su fileOsservato
Uso di credenzialiOsservato
Nota

File modification is described or implemented

59 occorrenze

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.

Medio

Network access is mentioned

22 occorrenze

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.

Alto

Credential or secret material is referenced

12 occorrenze

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 di sicurezza editoriale

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

Dove può essere consumato il contesto

I livelli di individuazione, attivazione e risorse hanno significati diversi. I valori esatti compaiono solo quando il metodo ufficiale di conteggio è stato eseguito con un modello indicato.

Conteggio esatto dei token non disponibile

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

Non è stata registrata alcuna misura dei token con il metodo ufficiale richiesto. Questo dossier non la sostituisce con conteggi di caratteri, dimensioni dei file o stime.

Valutazione controllata

Nessuna valutazione controllata

Questa skill dispone solo delle evidenze indicate sopra. Non si afferma alcun tasso di successo, efficienza in token, latenza o vantaggio di qualità.

Non testato

Usare tenendo il sorgente in vista

Comando di installazione
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.
Verifica dell'installazione

Confirm code-documenter/SKILL.md exists at the destination, then ask Claude Code to use the code-documenter skill on a small test task.

Prerequisiti

  • 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.

Prompt di esempio

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.

Un giudizio, con i suoi limiti

Punti di forza

  • Requires asking for docstring format instead of assuming one.
  • Ties documentation to executable validation of examples.

Aspetti da valutare

  • Documenting all public functions can create large diffs.
  • Coverage reports measure presence of documentation, not its quality.
Conclusione della ricerca

A dependable documentation workflow that is strongest where examples can be compiled or linted.

Tracciabile per costruzione

Il dossier è una lettura circoscritta nel tempo di un artefatto pubblico, non un'approvazione. Usa il link al sorgente per esaminare il materiale upstream esatto.

Jeffallanclaude-skillsskills/code-documenter
Tipo di fonte
Community
Commit
67c1961b180dc92cf08983344627109e983e8f51
Raccolta
20 nov 2026
Ultimo controllo
20 nov 2026
Licenza upstream
MIT
Stelle del repository
12.469
Base dei contenuti

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.