Best OpenClaw Prompts
Technical prompts for code review, debugging, architecture, testing, and DevOps workflows.
30 prompts available — all free
Topics:Coding (7)Documentation (4)Tooling (3)Debugging (3)Testing (2)Security (2)Performance (2)Data (2)Architecture (2)Open Source (1)Backend (1)Automation (1)
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.
Stack Trace Interpreter
Interpret this stack trace, identify the most likely failing layer, and suggest the fastest path to isolate the bug.
Log Analyzer
Analyze these logs for anomalies, repeated failures, likely root causes, and the most useful next checks.
Bug Reproducer
Turn this bug report into a precise reproduction plan, including assumptions, environment setup, and edge conditions to test.
Test Case Generator
Generate unit, integration, and edge-case tests for this behavior. Focus on regressions and failure modes.
Unit Test Writer
Write unit tests for this file using the existing test style. Cover happy path, invalid input, and boundary cases.
Refactor Planner
Create a refactor plan for this code. Minimize risk, preserve behavior, and suggest checkpoints after each step.
Architecture Reviewer
Review this architecture for coupling, scaling risks, single points of failure, and better alternatives.
Dependency Risk Review
Assess these dependencies for maintenance risk, security concerns, and upgrade priority.
Migration Planner
Create a migration plan from the current stack to the target stack, with phases, blockers, rollback points, and validation steps.
API Contract Reviewer
Review this API contract for naming consistency, edge cases, backward compatibility, and client-side friction.
Schema Designer
Design a schema for this product requirement, including entities, relationships, indexes, and future-proofing notes.
SQL Query Helper
Write the SQL for this analysis request, explain the joins and filters, and note any assumptions.
Regex Builder
Write a regex for this pattern, explain each part, and include examples that should and should not match.
CLI Designer
Design a CLI for this tool, including commands, flags, help text, and examples of common workflows.
Shell Command Planner
Convert this task into shell commands with brief explanations, safety notes, and a suggested execution order.
Dev Environment Doctor
Help diagnose this dev environment issue. List the most likely causes, checks to run, and the cleanest fix path.
Performance Profiler
Review this code or trace for likely performance bottlenecks, how to measure them, and the highest-impact fixes.
Memory Leak Hunter
Analyze this service for possible memory leaks, retention paths, and the best validation strategy.
Security Review Assistant
Review this code for auth flaws, injection risks, secret handling issues, and unsafe assumptions.
Prompt To Script
Turn this manual workflow into a script. Pick a simple approach, state dependencies, and return a ready-to-run version.
Docs Writer
Write documentation for this module with purpose, setup, usage examples, and common pitfalls.
Readme Generator
Generate a README for this project with overview, install steps, quickstart, configuration, and troubleshooting.
Changelog Summarizer
Summarize these changes into a changelog grouped by features, fixes, and breaking changes.
Onboarding Guide Builder
Write a contributor onboarding guide for this repo with setup, workflows, conventions, and first tasks.
Open Source Maintainer Assistant
Draft maintainer responses, issue labels, contribution guidelines, and a lightweight triage workflow for this project.