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 description originale de l'auteur, conservée en anglais. Elle décrit l'intention, pas des performances vérifiées.
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
Le contenu de recherche de ce site est publié en anglais et en chinois ; il est affiché ici en anglais.
Adds and validates technical documentation such as docstrings, JSDoc, OpenAPI specs and guides, asking for format preferences first and testing examples before reporting.
Portée de l'examen
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és 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.
Limites et portée
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.
Pertinent pour
Developers documenting public APIs
Teams producing OpenAPI or JSDoc coverage
Maintainers writing getting-started guides
02 / STRUCTURE
Ce que contient le skill
L'inventaire des fichiers provient de la source collectée au commit consigné. Les chemins et les tailles sont des observations structurelles, pas une mesure de qualité.
{
"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
Une lecture de la séquence de fonctionnement
Ce workflow reconstitue la séquence apparente à partir du matériel source. Sauf si une évaluation contrôlée est explicitement consignée, il est provisoire et non une trace observée.
01
Entrée
Ask for preferences
Ask for the format preference and exclusions before starting.
Les constats statiques signalent les points à examiner avant l'installation. Ils n'établissent pas qu'un skill est sûr, malveillant ou efficace.
Attention recommandée
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.
Accès réseauObservé
Écritures de fichiersObservé
Utilisation d'identifiantsObservé
Note
File modification is described or implemented
59 occurrences
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
Où le contexte peut être consommé
Les couches de découverte, d'activation et de ressources n'ont pas la même signification. Les valeurs exactes n'apparaissent que si la méthode officielle de comptage a été exécutée avec un modèle nommé.
Comptage exact des tokens indisponible
All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.
Aucune mesure de tokens n'a été consignée selon la méthode officielle requise. Ce dossier ne la remplace ni par un nombre de caractères, ni par une taille de fichier, ni par une estimation.
06 / EVALUATION
Évaluation contrôlée
Aucune évaluation contrôlée
Ce skill ne dispose que des preuves identifiées ci-dessus. Aucun taux de réussite, gain d'efficience en tokens, latence ou avantage de qualité n'est affirmé.
Non testé
07 / USAGE
Utiliser en gardant la source en vue
Commande d'installation
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.
Vérifier l'installation
Confirm code-documenter/SKILL.md exists at the destination, then ask Claude Code to use the code-documenter skill on a small test task.
Prérequis
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.
Exemples de prompts
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
Une conclusion, avec ses limites
Points forts
Requires asking for docstring format instead of assuming one.
Ties documentation to executable validation of examples.
Points d'attention
Documenting all public functions can create large diffs.
Coverage reports measure presence of documentation, not its quality.
Conclusion de recherche
A dependable documentation workflow that is strongest where examples can be compiled or linted.
09 / PROVENANCE
Traçable par construction
Le dossier est une lecture datée d'un artefact public, pas une approbation. Utilisez le lien source pour examiner le contenu amont exact.
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.