Paste unfamiliar or legacy code and get a plain-language walkthrough, with dead code and possible bugs flagged.
Walk through this {{language}} code line by line and explain what it does, in plain language. Flag anything that looks like dead code, a workaround, or a potential bug.
{{CLIPBOARD}}
Describe the flags and arguments your CLI needs and get ready-to-use parser boilerplate with help text.
Generate boilerplate for a {{language}} CLI tool using {{framework}} that accepts: {{focus}}. Include help text and basic input validation.
{{CLIPBOARD}}
Get a list of named code smells and anti-patterns in your code, each paired with a specific, actionable fix.
Scan this {{language}} code for code smells and anti-patterns (e.g. god objects, magic numbers, deep nesting). For each, name the smell and suggest a specific fix.
{{CLIPBOARD}}
Get a performance-focused review that pinpoints bottlenecks and suggests concrete, trade-off-aware optimizations.
Review this {{language}} code for performance issues, focusing on {{focus}}. Identify bottlenecks, their complexity impact, and suggest concrete optimizations with trade-offs.
{{CLIPBOARD}}
Get a focused security review flagging injection, auth, and secret-handling risks in a specific piece of code.
Perform a security review of this {{language}} code. Look for injection risks, auth/authorization gaps, unsafe deserialization, and secret handling issues. Framework: {{framework}}.
{{CLIPBOARD}}
Paste code and get the design pattern it implements explained in plain terms, plus whether it's actually justified.
Identify and explain the design pattern(s) used in this {{language}} code. Describe the problem it solves here, its trade-offs, and whether a simpler approach would work.
{{CLIPBOARD}}
Get a cleaner, simpler version of your code with an explanation of every change, without altering behavior.
Refactor the following {{language}} code to improve readability, reduce complexity, and follow {{framework}} best practices. Keep behavior identical and explain each change briefly.
{{CLIPBOARD}}
Port a function, class, or script from one language to another while keeping the original logic intact.
Convert the following {{language}} code to {{framework}}, preserving logic and behavior exactly. Note any language-specific idioms or libraries used in the conversion.
{{CLIPBOARD}}
Automatically document functions and classes with proper docstrings and helpful inline comments.
Add clear {{language}} docstrings and inline comments to the code below, following the {{framework}} documentation style. Explain purpose, parameters, return values, and any non-obvious logic.
{{CLIPBOARD}}
Describe what you need to match and get a working regex with a plain-English breakdown.
Write a regular expression that matches: {{focus}}. Target language/engine: {{language}}. Include a short explanation of each part of the pattern and one example string it matches and one it rejects.
{{CLIPBOARD}}