Code Documentation Generator
Generate comprehensive documentation for codebases
Content
Generate documentation for this code: Language: {{language}} Code: {{code}} Documentation Style: {{style}} Include: 1. Overview/Purpose 2. Function/class descriptions 3. Parameter explanations 4. Return value descriptions 5. Usage examples 6. Edge cases handled 7. Dependencies 8. Related functions 9. Version history if applicable
Related Prompts
Technical Debt Audit & Refactoring Plan
Analyzes a codebase description or code sample to identify technical debt, prioritize refactoring opportunities, and produce an actionable cleanup plan with effort estimates.
AI Debugging Chain-of-Thought Assistant
Apply systematic chain-of-thought reasoning to diagnose and fix complex bugs, with step-by-step analysis, hypothesis testing, and a clear fix with explanation.
Code Performance Optimizer
Analyze code and provide optimization recommendations for better performance and efficiency
Security Threat Model Generator
Generates a structured security threat model for an application or system using the STRIDE framework, identifying attack surfaces, threats, and mitigations.