documentationby aiskillstore
Python Documentation Generator
aiskillstore/doc-generator
Generate markdown documentation from Python codebases by analyzing source files, extracting docstrings, type hints, and code structure.
What it changes
Passed 18 of 22 test cases with the skill, and 12 of 22 without it.
Without skill55%
With skill82%
Checks it passed that the model alone missed
- Specify return type in a bullet point line
- Order Classes section before Functions section
- Format code examples under header Usage Examples
and 5 more in the full report
6 fixed12 passed either way4 still failing0 broke
- Pass-rate lift
- +27 pp
- Tokens
- +24%
- Agent turns
- 0%
- Response time
- +7%
Model gemini-3.6-flashMeasured 9/3/2026v118 of 22 cases passed with skill
See it in action
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
PromptGenerate API reference for function calculate_tax(amount: float) -> float returning total tax calculated.
What was checked, without and with the skill| Checked | Without skill | With skill |
|---|
| Format return details under a bold Returns header | Missed | Passed |
|---|
| Specify return type in a bullet point line | Missed | Passed |
|---|
What's inside
The instructions your model reads when the skill loads.
SKILL.md91 linessingle file
Python Documentation Generator
Generate comprehensive markdown documentation from Python source code.
When to Use This Skill
- User asks to "document this code" or "generate docs"
- Creating API documentation from Python modules
- Generating README files with usage examples
- Extracting docstrings and type signatures into readable format
- User mentions "documentation", "docstrings", or "API reference"
Input
Accept either:
- Single Python file path
- Directory path (recursively process .py files)
- List of specific files
Output Format
Generate standard markdown with:
# Module Name
Brief description from module docstring.
## Classes
### ClassName
Description from class docstring.
**Methods:**
- `method_name(param: type) -> return_type`: Brief description
## Functions
### function_name(param: type) -> return_type
Track record
Benchmark
18 / 22
test cases passed, vs 12 / 22 without
Adoption
- Users
- 3
- Times used
- 92
Safety and source details
SkillSafety
✓ 3 of 3 passed✓Code scan15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/10/2026
View 15 scanner checks
live_secretremote_code_executionreverse_shelldata_exfiltrationssrf_metadataagent_snoopinganti_refusaldestructive_commandsobfuscated_unicodeunicode_homoglyphopaque_blobsuspicious_urltool_overreachtrigger_abuseprompt_injection_phrasing
✓IntentSafe
LLM judge · does the skill do what it claims
✓ContentClean
LLM judge · policy & harmful-content review
Source
Importedaiskillstore / marketplace
skills/bossjones/doc-generator/SKILL.md
View on GitHub ↗Imported 8/10/2026Version v1