Coding Prompts
14 free coding prompts for AI tools — copy, paste, and use instantly
Also:General (17)Education (7)Research (6)Content (4)Documentation (4)Writing (4)Data (3)Debugging (3)
Regex Builder
Write a regex pattern that matches the described pattern. Explain each component, provide test cases that should match and not match, and note any edge cases or limitations.
Code Explainer
Explain this code in plain language. Cover: what it does, how it works step by step, any edge cases or bugs, performance characteristics, and suggestions for improvement.
Code Reviewer
Review this code change. Check for: bugs, security issues, performance problems, edge cases, missing error handling, test coverage gaps, and style inconsistencies. Prioritize findings by severity.
Unit Test Generator
Generate unit tests for this code. Include: happy path tests, edge cases, error conditions, and boundary values. Use [testing framework]. Provide both the test cases list and the actual test code.
Bug Triage Assistant
Triage this bug report. Provide: likely root causes ranked by probability, steps to reproduce, affected components, severity assessment, suggested debugging steps, and a proposed fix approach.
API Documentation Writer
Write API documentation for this endpoint. Include: description, method, URL, headers, request parameters with types, request body schema, response schema, example request/response, error codes, and rate limits.
Commit Message Writer
Write a commit message for this change. Follow conventional commits format (type: subject). Include a concise subject line under 72 chars and a body explaining what changed and why.
Repo Explainer
Explain this repository to a new engineer. Summarize the purpose, core modules, main entry points, and where I should look first.
Issue Triage Assistant
Triage this issue. Extract the problem, likely root causes, missing details, repro steps, and the best next debugging actions.
Pull Request Reviewer
Review this PR like a senior engineer. Prioritize bugs, behavioral regressions, edge cases, and missing test coverage.
Commit Message Writer
Write 5 concise commit message options for this change, including one conventional-commit style version.
Release Notes Writer
Turn these commits into user-facing release notes with highlights, fixes, breaking changes, and upgrade notes.
Refactor Planner
Create a refactor plan for this code. Minimize risk, preserve behavior, and suggest checkpoints after each step.
Regex Builder
Write a regex for this pattern, explain each part, and include examples that should and should not match.