← All tags

#code

47 community prompts tagged “code” for ChatGPT, Claude, Gemini, and other assistants. Debugging, refactors, reviews, and implementation prompts for software work. Copy any template or import it into Open Prompt Manager.

47 prompts

Sort by

Ranked findings from this diff

@admin · 2026-08-20 · 0 imports

Review this diff for #language#. Output ranked findings only: severity, file, what’s wrong, why it matters, and a concrete fix. Categories: correctness, edge cases, API shape, tes…

Name the tests this PR is missing

@admin · 2026-08-20 · 0 imports

From this diff, list the tests that should exist and do not. For each: name, setup, assert, and the failure it would catch. Skip tests that only restyle. Language: #language#. Dif…

Code review feedback

@opd-seed · 2026-05-27 · 2 imports

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…

Bug triage report

@opd-seed · 2026-05-27 · 0 imports

Triage this bug report. Bug: #notes# Output: 1. Likely severity and why 2. Expected behavior 3. Actual behavior 4. Reproduction steps 5. Suspected root causes 6. Logs or data stil…

Debug hypothesis generator

@opd-seed · 2026-05-27 · 0 imports

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…

API design review

@opd-seed · 2026-05-27 · 1 import

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…

Refactor plan

@opd-seed · 2026-05-27 · 2 imports

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…

Test case generator

@opd-seed · 2026-05-27 · 0 imports

Generate test cases for #feature#. Requirements: #notes# Output: 1. Happy-path cases 2. Edge cases 3. Error cases 4. Regression cases 5. Suggested test data Keep each test case sp…

Security review checklist

@opd-seed · 2026-05-27 · 0 imports

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…

Function documentation

@opd-seed · 2026-05-27 · 3 imports

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…

Regex builder

@opd-seed · 2026-05-27 · 1 import

Build a regular expression for this matching task. Task: #goal# Examples that should match: #notes# Examples that should not match: #constraints# Output: 1. Regex 2. Explanation 3…

SQL query review

@opd-seed · 2026-05-27 · 0 imports

Review this SQL query. Query: #code# Database context: #notes# Check correctness, performance, indexing assumptions, null handling, and security. Output: 1. Summary 2. Problems fo…

Error log explainer

@opd-seed · 2026-05-27 · 0 imports

Explain this error log. Log: #text# Context: #notes# Output: 1. Plain-English explanation 2. Most likely cause 3. What to check first 4. Possible fixes 5. When to escalate

Pull request description

@opd-seed · 2026-05-27 · 0 imports

Write a pull request description. Changes: #notes# Audience: reviewers. Output: 1. Summary 2. Motivation 3. Main changes 4. Testing performed 5. Risks or migration notes 6. Screen…

Incident postmortem

@opd-seed · 2026-05-27 · 1 import

Draft an incident postmortem from these notes. Incident notes: #notes# Output: 1. Summary 2. Impact 3. Timeline 4. Root cause 5. Detection 6. Resolution 7. What went well 8. What…

Architecture tradeoff analysis

@opd-seed · 2026-05-27 · 0 imports

Analyze architecture options for #system_or_feature#. Context: #notes# Options: #constraints# Output: 1. Evaluation criteria 2. Option comparison 3. Recommended option 4. Risks an…

Migration checklist

@opd-seed · 2026-05-27 · 1 import

Create a migration checklist for #migration#. Context: #notes# Constraints: #constraints# Output: 1. Preparation 2. Data or compatibility checks 3. Rollout steps 4. Monitoring 5.…

Changelog from commits

@opd-seed · 2026-05-27 · 2 imports

You are writing release-facing changelog notes. Convert the raw commit list into a clear changelog grouped by user impact. Input: Commit messages: #notes# Audience: #audience# Con…

Feature flag rollout plan

@opd-seed · 2026-05-27 · 3 imports

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…

TypeScript type design

@opd-seed · 2026-05-27 · 0 imports

You are a TypeScript architect. Review the described data shape and propose type definitions that are safe, readable, and maintainable. Input: Data shape or API response: #text# U…

API error contract review

@opd-seed · 2026-05-27 · 0 imports

You review API contracts. Evaluate the API error format for consistency, debuggability, user safety, and client ergonomics. Input: Error contract: #text# Client context: #notes# C…

Database index advisor

@opd-seed · 2026-05-27 · 0 imports

You are a database performance reviewer. Suggest indexes and query changes based on the schema and access patterns. Input: Schema: #schema# Queries: #queries# Constraints: - Do no…

Migration risk scan

@opd-seed · 2026-05-27 · 0 imports

You review production data migrations. Identify risks in the migration plan and suggest safer rollout steps. Input: Migration plan: #text# Data volume or constraints: #constraints…

CI failure triage

@opd-seed · 2026-05-27 · 0 imports

You are diagnosing a CI failure. Analyze the log and propose the most likely causes with next debugging steps. Input: CI log: #logs# Recent changes: #notes# Constraints: - Focus o…

E2E test scenario builder

@opd-seed · 2026-05-27 · 1 import

You design end-to-end tests. Create realistic E2E test scenarios for the user flow. Input: User flow: #text# Risk areas: #risks# Constraints: - Cover happy path, edge cases, permi…

Observability plan

@opd-seed · 2026-05-27 · 1 import

You are designing observability for a service. Propose logs, metrics, traces, and alerts for the described system or feature. Input: System description: #text# Failure modes: #ris…

Log pattern extractor

@opd-seed · 2026-05-27 · 0 imports

You analyze operational logs. Extract repeated patterns, likely root causes, and next actions from the logs. Input: Logs: #logs# Constraints: - Cluster similar errors. - Quote onl…

Performance bottleneck hunt

@opd-seed · 2026-05-27 · 1 import

You are investigating performance problems. Analyze the code, logs, or description and identify likely bottlenecks. Input: Evidence: #text# Performance goal: #goal# Constraints: -…

Dependency upgrade plan

@opd-seed · 2026-05-27 · 1 import

You plan safe dependency upgrades. Create an upgrade plan for the dependency or framework change. Input: Dependency: #dependency# Current version context: #notes# Constraints: #co…

Feature flag cleanup plan

@opd-seed · 2026-05-27 · 3 imports

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…

Background job design review

@opd-seed · 2026-05-27 · 0 imports

You review asynchronous job design. Evaluate the background job design for reliability, retries, idempotency, and observability. Input: Job description: #text# Failure modes: #ris…

Authentication flow threat model

@opd-seed · 2026-05-27 · 0 imports

You are threat-modeling an authentication flow. Review the flow for security, privacy, abuse, and usability risks. Input: Flow description: #text# Assets to protect: #assets# Cons…

Data model normalization check

@opd-seed · 2026-05-27 · 0 imports

You review data models. Assess whether the model should be normalized, denormalized, or adjusted for the described use cases. Input: Data model: #schema# Access patterns: #queries…

Cloud cost investigation

@opd-seed · 2026-05-27 · 0 imports

You investigate cloud cost spikes. Analyze the usage notes and propose likely cost drivers plus a verification plan. Input: Usage notes: #notes# Billing symptoms: #text# Constrain…

Browser extension manifest review

@opd-seed · 2026-05-27 · 2 imports

You review browser extension manifests. Review the manifest for permission minimization, compatibility, and store-review risks. Input: Manifest or permission list: #code# Extensio…

Mobile privacy manifest audit

@opd-seed · 2026-05-27 · 2 imports

You audit mobile privacy declarations. Compare app behavior notes against the privacy manifest or disclosure draft. Input: App behavior: #notes# Manifest or disclosure: #text# Con…

SwiftUI state review

@opd-seed · 2026-05-27 · 0 imports

You review SwiftUI view state. Analyze the SwiftUI code for state ownership, redraw issues, data flow, and maintainability. Input: SwiftUI code: #code# Bug or concern: #notes# Con…

SQL schema migration plan

@opd-seed · 2026-05-27 · 1 import

You plan SQL schema changes. Create a safe schema migration plan from the current schema to the desired schema. Input: Current schema: #schema# Desired change: #goal# Constraints:…

Webhook reliability checklist

@opd-seed · 2026-05-27 · 3 imports

You design reliable webhook integrations. Review or create a checklist for receiving and processing webhooks safely. Input: Webhook context: #text# Failure modes: #risks# Constrai…

Rate limit handling design

@opd-seed · 2026-05-27 · 0 imports

You design resilient API clients. Propose a rate-limit handling strategy for the client or integration. Input: API usage: #notes# Observed errors: #logs# Constraints: - Include ba…

Cache invalidation plan

@opd-seed · 2026-05-27 · 1 import

You design caching behavior. Create a caching and invalidation plan for the feature or endpoint. Input: Feature or endpoint: #feature# Freshness needs: #constraints# Constraints:…

Incident alert tuning

@opd-seed · 2026-05-27 · 0 imports

You tune operational alerts. Review alert rules or incident history and suggest how to reduce noise while preserving real coverage. Input: Alert rules or incidents: #text# Service…

Codebase onboarding map

@opd-seed · 2026-05-27 · 3 imports

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…

CLI command explainer

@opd-seed · 2026-05-27 · 2 imports

You explain command-line commands safely. Explain what the command does, which parts are risky, and how to run it more safely. Input: Command: #code# Context: #notes# Constraints:…

API pagination design

@opd-seed · 2026-05-27 · 0 imports

You design API pagination. Recommend a pagination approach for the endpoint and client use case. Input: Endpoint use case: #goal# Data characteristics: #notes# Constraints: - Comp…

Error message UX review

@opd-seed · 2026-05-27 · 0 imports

You improve error message UX. Rewrite technical errors into useful user-facing messages and developer diagnostics. Input: Errors: #text# Audience: #audience# Constraints: - Do not…

Release rollback playbook

@opd-seed · 2026-05-27 · 2 imports

You prepare rollback playbooks. Create a rollback playbook for a risky release. Input: Release notes: #notes# Known risks: #risks# Constraints: - Include decision triggers. - Assi…