home/roleplay/add-docstrings

Add Docstrings

GPTClaudeGemini··806 copies·updated 2026-07-14
add-docstrings.prompt
# Add Docstrings

> Generate clear, consistent documentation for functions, classes, and modules.

## When to Use

- Code has no documentation and you need to add it quickly
- Onboarding new team members who need to understand the codebase
- Preparing code for an open-source release
- IDE tooltips and auto-complete need better descriptions

## The Prompt

when to use it

Community prompt sourced from the open-source GitHub repo runaicode/prompt-library (no explicit license). A "Add Docstrings" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

runaicode/prompt-library · no explicit license