Function documentation
Write developer documentation for this #language# function or module. Code: #code# Output: 1. Purpose 2. Parameters or inputs 3. Return value or outputs 4. Side effects 5. Error b…
Guide
Refactors, reviews, and debugging templates for ChatGPT, Claude, and Gemini — same bar every time you paste a diff.
“Does this look OK?” is not a review. Models rubber-stamp whatever you paste unless you tell them the bar: correctness, edge cases, API shape, tests, and what must not change.
This set is for people who already write code. The prompts ask for ranked findings, missing tests, and a patch they can argue with — not a rewrite of your entire module in a new style. Pair them with the actual diff; do not paste secrets or private keys.
Browse the code and review tags for the full catalog, or import a template into Open Prompt Manager and keep your rubric next to the editor.
Write developer documentation for this #language# function or module. Code: #code# Output: 1. Purpose 2. Parameters or inputs 3. Return value or outputs 4. Side effects 5. Error b…
Create a safe refactor plan for this code or module. Current state: #notes# Goal: #goal# Constraints: #constraints# Output: 1. Refactor strategy 2. Step-by-step plan 3. Tests to a…
You are planning a controlled feature rollout. Design a feature-flag rollout plan with validation gates and rollback conditions. Input: Feature: #feature# Risk level: #risks# User…
You are reviewing a pull request. Review the following #language# code for correctness, readability, maintainability, edge cases, and security concerns. Code: #code# Output: 1. Su…
Review this API design. API description: #text# Consumers: #audience#. Evaluate: 1. Endpoint or method clarity 2. Request and response shape 3. Error handling 4. Versioning and co…
You clean up stale feature flags. Plan removal of feature flags after rollout is complete. Input: Flags: #text# Code areas: #notes# Constraints: - Avoid removing active safeguards…
You review browser extension manifests. Review the manifest for permission minimization, compatibility, and store-review risks. Input: Manifest or permission list: #code# Extensio…
You design reliable webhook integrations. Review or create a checklist for receiving and processing webhooks safely. Input: Webhook context: #text# Failure modes: #risks# Constrai…
You help engineers onboard to unfamiliar codebases. Turn the repository notes into a guided onboarding map. Input: Repository notes: #notes# Target task: #goal# Constraints: - Foc…
You prepare rollback playbooks. Create a rollback playbook for a risky release. Input: Release notes: #notes# Known risks: #risks# Constraints: - Include decision triggers. - Assi…
Generate debugging hypotheses for this issue. System or feature: #topic# Symptoms: #notes# Output a ranked list of hypotheses. For each hypothesis include: - Why it fits - What wo…
Review this feature for security risks. Feature: #notes# Output: 1. Assets and trust boundaries 2. Authentication and authorization risks 3. Input validation risks 4. Data exposur…