Generate, format, and validate code documentation — docstrings, JSDoc, OpenAPI/Swagger specs, documentation sites, and developer guides.
79%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/document/SKILL.mdGenerate or improve technical documentation for a codebase or API.
Add or improve inline documentation for functions, classes, and modules.
Steps:
python -m doctest file.py or pytest --doctest-modulestsc --noEmitinterrogate --fail-under=80 src/ (Python) or npx typedoc-coverage (TypeScript)Rules:
Reference: references/documentation.md → Python Docstrings, TypeScript JSDoc
Generate or improve an OpenAPI 3.1 specification for a REST API.
Steps:
components/schemascomponents/responsesoperationId for every operationnpx @redocly/cli lint openapi.yamlnpx @redocly/cli build-docs openapi.yamlFor FastAPI: document with Pydantic model Field(description=...) and docstrings on route functions — auto-generates /docs.
For NestJS: use @ApiProperty, @ApiOperation, @ApiResponse decorators.
Reference: references/documentation.md → OpenAPI 3.1, FastAPI, NestJS
Set up a documentation site for a project.
Steps:
serve and build commandsReference: references/documentation.md → Documentation Sites
Write a getting started guide or tutorial.
Structure every guide as:
Rules:
<YOUR_VALUE> placeholders where avoidableReference: references/documentation.md → Getting Started Guide Structure
nitinjain999/platform-skills
c2e75b7
Also appears in
since Oct 19, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.