30 Claude Prompts for QA Engineers
Paste in a feature spec or a stack trace and Claude returns a structured test plan, a full test case table, a reproducible bug report, or a working automation scaffold you can drop straight into your suite.
In short: This page contains 30 copy-paste ready prompts, organized into 6 categories with a description and pro tip for each. The first 5 prompts are free instantly, no signup needed. Hand-curated and tested by the AI Academy team.
Test Plans
5 promptsFeature test plan from a spec
1/30โจ What it does
Turns a raw feature spec into a full test plan organized by area with flagged assumptions.
You are a senior QA engineer who plans test coverage for new features before development finishes. <context> I have a feature specification and need a full test plan before the sprint starts so the team knows what will be verified and how. </context> <inputs> - Feature name: [FEATURE NAME] - Feature spec or ticket text: [PASTE SPEC OR TICKET TEXT] - Platforms in scope: [WEB, IOS, ANDROID, API] - Existing related features it touches: [LIST RELATED FEATURES] - Release deadline: [DATE] </inputs> <task> Produce a test plan that covers functional, edge case, negative, and cross platform scenarios for this feature. Group scenarios by area and flag anything the spec leaves ambiguous. </task> <constraints> Do not invent requirements that are not implied by the spec. Call out any assumption you make explicitly. Keep each scenario to one line so the plan stays scannable. Avoid vague items like verify it works. </constraints> <format> Return a markdown document with sections: Scope, Out of Scope, Assumptions and Open Questions, Test Scenarios by Area (numbered list per area), and Risk Areas requiring extra attention. </format>
Pro tip: Paste the raw ticket text including comments, not just the description, so Claude catches scope changes discussed in the thread.
Risk based test prioritization
2/30โจ What it does
Ranks features for testing time under a deadline and explains the reasoning behind each rank.
You are a QA lead who decides what gets tested first when time before release is limited. <context> I have a list of features or areas ready for testing but only a few days before release and cannot cover everything with the same depth. </context> <inputs> - Areas to prioritize: [LIST OF FEATURES OR MODULES] - Days available for testing: [NUMBER OF DAYS] - Known fragile areas from past incidents: [LIST PAST INCIDENT AREAS] - Business priority of each area: [HIGH, MEDIUM, LOW PER AREA] </inputs> <task> Rank the areas by testing priority and recommend how much time to allocate to each, based on business impact, blast radius if broken, and history of past bugs. </task> <constraints> Justify every ranking with one short reason tied to the inputs given, not generic best practice statements. If two areas tie, say so and explain the tiebreaker. Keep total allocated time within the [NUMBER OF DAYS] given. </constraints> <format> Return a table with columns: Area, Priority Rank, Time Allocated, Reason. Follow it with a short paragraph naming what gets cut if time runs out. </format>
Pro tip: Feed in your actual incident tracker history, not a guess, since the ranking quality depends entirely on how accurate the fragile areas list is.
Regression scope for a hotfix
3/30โจ What it does
Defines a minimum safe regression scope for a time boxed hotfix with explicit tradeoffs.
You are a QA engineer responsible for deciding regression scope before a hotfix ships. <context> A hotfix is going out for a specific bug and I need to know what else could be affected so we do not ship a fix that breaks something adjacent. </context> <inputs> - Bug being fixed: [BUG DESCRIPTION] - Code area or files changed: [FILES OR MODULES CHANGED] - System it interacts with: [DOWNSTREAM SYSTEMS OR SERVICES] - Time available before ship: [HOURS AVAILABLE] </inputs> <task> Identify the minimum regression scope needed to safely ship this hotfix, including which existing flows must be re-checked and which can be skipped given the time constraint. </task> <constraints> Be explicit about what you are choosing NOT to test and why, since this is a tradeoff decision under time pressure. Do not recommend a full regression pass, this is a targeted hotfix. Keep the list realistic for the stated hours available. </constraints> <format> Return two lists: Must Re-Test (with reason for each) and Deliberately Skipped (with reason for each), followed by one sentence stating the residual risk being accepted. </format>
Pro tip: Be honest about the hours available. A shorter window forces Claude to make sharper cuts instead of hedging with a full regression list.
Cross browser and device test matrix
4/30โจ What it does
Builds a usage weighted browser and device test matrix instead of testing every combination blindly.
You are a QA engineer who builds compatibility test matrices for web and mobile products. <context> I need to confirm a feature works correctly across the browsers and devices our users actually use, without wasting time on combinations nobody has. </context> <inputs> - Feature to test: [FEATURE NAME] - Analytics breakdown of browsers or devices used: [PASTE USAGE PERCENTAGES] - Known past compatibility issues: [LIST PAST ISSUES IF ANY] - Testing tools available: [BROWSERSTACK, REAL DEVICES, EMULATORS, ETC] </inputs> <task> Build a test matrix of browser and device combinations to cover, weighted toward the highest usage segments, and note which combinations are high risk based on past issues. </task> <constraints> Do not include a combination with less than one percent usage unless it has a documented history of bugs. Keep the matrix to a size that is actually testable within a normal QA cycle, not exhaustive. Flag any combination requiring a workaround for the available tools. </constraints> <format> Return a table with columns: Browser or Device, OS Version, Priority, Reason for Inclusion, Tool Used to Test. </format>
Pro tip: Pull real numbers from your analytics dashboard rather than assumptions, since the matrix is only as good as the usage data behind it.
Acceptance criteria gap check
5/30โจ What it does
Flags gaps and ambiguities in acceptance criteria before a test plan gets built on top of them.
You are a QA engineer who reviews acceptance criteria before development starts to catch gaps early. <context> A ticket has acceptance criteria written by a product manager and I need to check them for completeness before committing to a test plan. </context> <inputs> - Ticket title: [TICKET TITLE] - Acceptance criteria as written: [PASTE ACCEPTANCE CRITERIA] - User type affected: [USER TYPE OR PERSONA] - Related edge cases you already know about: [LIST KNOWN EDGE CASES] </inputs> <task> Review the acceptance criteria and identify gaps such as missing error states, missing permission checks, unclear success conditions, or untested edge cases that are not covered. </task> <constraints> Do not rewrite the criteria wholesale, only flag what is missing or ambiguous. Reference the specific line of the criteria you are questioning. Keep feedback constructive and specific enough that a product manager can act on it in one pass. </constraints> <format> Return a table with columns: Criteria Line Referenced, Gap or Ambiguity, Suggested Addition. End with a one line verdict on whether the criteria are ready for test planning. </format>
Pro tip: Run this before sprint planning, not after, so the product manager can patch the criteria before development starts building against them.
Test Case Writing
5 promptsFull test case set from a user flow
6/30โจ What it does
Converts a described user flow into individual, step by step executable test cases.
You are a QA engineer who writes detailed, executable test cases from a described user flow. <context> I have described a user flow in plain language and need it converted into individual test cases that another tester could execute without needing to ask me questions. </context> <inputs> - User flow description: [DESCRIBE THE FLOW STEP BY STEP] - Preconditions: [LOGIN STATE, ACCOUNT TYPE, DATA SETUP NEEDED] - Expected end state: [WHAT SUCCESS LOOKS LIKE] - Environment: [STAGING, PRODUCTION, LOCAL] </inputs> <task> Write individual test cases covering the happy path, at least two negative paths, and one boundary condition for this flow. Each test case must be executable by someone unfamiliar with the feature. </task> <constraints> Each step must be a single concrete action, not a compound instruction. Expected results must state exactly what the tester should see, not just pass or fail. Do not skip preconditions even if they seem obvious. </constraints> <format> Return each test case as: ID, Title, Preconditions, Steps (numbered), Expected Result, Priority (High, Medium, Low). </format>
Pro tip: Describe the flow the way a user actually experiences it, in the order they click through it, not the order the backend processes it.
Boundary value test cases
7/30โจ What it does
Produces a full boundary value test case set for a single field including edge and invalid inputs.
You are a QA engineer specializing in boundary value analysis for input validation. <context> A form or API field accepts a specific range or format of input and I need test cases that check the edges of that range, not just typical values. </context> <inputs> - Field name: [FIELD NAME] - Data type: [NUMBER, STRING, DATE, ENUM] - Valid range or format: [MIN AND MAX OR ALLOWED FORMAT] - Business rule tied to this field: [DESCRIBE ANY BUSINESS RULE] </inputs> <task> Generate boundary value test cases covering the minimum, maximum, just below minimum, just above maximum, empty, null, and any type mismatch relevant to this field. </task> <constraints> Cover every boundary listed even if some seem unlikely to break, since boundary bugs are exactly where they hide. State the expected system behavior for each case, not just accepted or rejected. Do not merge two boundary conditions into a single test case. </constraints> <format> Return a table with columns: Test Case ID, Input Value, Boundary Type, Expected Behavior. </format>
Pro tip: Use this on every numeric or date field in a form. Boundary bugs are one of the highest bug-per-test-case categories in most QA suites.
Negative test cases for an API endpoint
8/30โจ What it does
Generates negative test cases for an API endpoint including malformed input and auth failures.
You are a QA engineer who tests APIs for how they fail, not just how they succeed. <context> I have an API endpoint documented and need negative test cases covering what happens when clients send bad, missing, or malicious input. </context> <inputs> - Endpoint: [METHOD AND PATH, E.G. POST /api/orders] - Required fields: [LIST REQUIRED FIELDS AND TYPES] - Auth requirement: [AUTH METHOD REQUIRED] - Expected error format: [DESCRIBE ERROR RESPONSE SHAPE] </inputs> <task> Write negative test cases covering missing required fields, wrong data types, invalid auth tokens, oversized payloads, and at least one injection style input, with the expected HTTP status and error body for each. </task> <constraints> Every test case must specify an exact expected status code, not a range. Do not assume error messages leak internal details, flag it as a case to check if they do. Keep each test case isolated to one failure condition. </constraints> <format> Return a table with columns: Test Case ID, Request Modification, Expected Status Code, Expected Error Behavior. </format>
Pro tip: Add your actual error response schema so Claude checks for schema consistency across error cases, not just status codes.
Accessibility test cases for a UI component
9/30โจ What it does
Writes accessibility test cases tied to specific WCAG criteria for a given UI component.
You are a QA engineer focused on accessibility testing for web interfaces. <context> A UI component is going live and needs accessibility test cases so it works for keyboard only users and screen reader users, not just mouse users. </context> <inputs> - Component: [COMPONENT NAME, E.G. MODAL, DROPDOWN, FORM] - Interaction it supports: [DESCRIBE HOW A USER INTERACTS WITH IT] - Screen reader used for testing: [NVDA, VOICEOVER, JAWS] - WCAG level targeted: [A, AA, AAA] </inputs> <task> Write test cases covering keyboard navigation, focus order, focus trapping if applicable, screen reader announcements, and color contrast checks relevant to this component. </task> <constraints> Reference specific WCAG success criteria numbers where relevant, do not just say accessible or not accessible. Keep each test case tied to one specific interaction. Do not assume ARIA attributes are present, include a case to verify they exist. </constraints> <format> Return a table with columns: Test Case ID, Interaction Tested, WCAG Criterion Referenced, Expected Result. </format>
Pro tip: Run this alongside an automated accessibility scanner. Automated tools catch contrast and missing labels, this catches keyboard flow and announcement order that tools miss.
Test cases from a bug fix to prevent recurrence
10/30โจ What it does
Creates targeted regression test cases from a fixed bug's root cause, including one adjacent risk case.
You are a QA engineer who writes regression test cases specifically to prevent a fixed bug from coming back. <context> A bug was just fixed and I need permanent test cases added to the suite so this exact failure gets caught automatically if it ever regresses. </context> <inputs> - Original bug description: [DESCRIBE THE BUG] - Root cause found: [DESCRIBE ROOT CAUSE] - Fix applied: [DESCRIBE THE CODE OR CONFIG FIX] - Area of the app affected: [FEATURE OR MODULE NAME] </inputs> <task> Write test cases that directly reproduce the original bug conditions and confirm the fix holds, plus at least one adjacent test case covering a similar condition the root cause suggests could also be fragile. </task> <constraints> Tie every test case explicitly back to the root cause, not just the symptom that was originally reported. Do not write generic smoke test cases for the whole feature, stay targeted to this bug and its root cause. State clearly which test case is the adjacent one added as a precaution. </constraints> <format> Return a table with columns: Test Case ID, Linked To (Original Bug or Adjacent Risk), Steps, Expected Result. </format>
Pro tip: Always include the root cause, not just the symptom. A test case built only from the symptom often fails to catch the bug if it resurfaces through a different code path.
Bug Reports
5 promptsClean bug report from raw notes
11/30โจ What it does
Converts messy raw testing notes into a structured, reproducible bug report ready to file.
You are a QA engineer who writes clear, reproducible bug reports that developers can act on immediately. <context> I found a bug while testing and have messy notes about what happened. I need this turned into a proper bug report before filing it in the tracker. </context> <inputs> - Raw notes on what happened: [PASTE YOUR RAW NOTES] - Environment: [BROWSER, OS, APP VERSION, DEVICE] - Steps you remember taking: [LIST STEPS AS BEST YOU RECALL] - Severity impression: [BLOCKER, MAJOR, MINOR, COSMETIC] </inputs> <task> Turn the raw notes into a structured bug report with clear reproduction steps, expected versus actual behavior, and a severity justification. </task> <constraints> If the steps are incomplete or ambiguous, mark the report as needing verification rather than guessing at missing steps. Do not inflate severity beyond what the notes support. Keep the language factual, no speculation about root cause unless the notes state one. </constraints> <format> Return the report with sections: Title, Environment, Steps to Reproduce (numbered), Expected Result, Actual Result, Severity and Justification, Needs Verification (yes or no, with reason). </format>
Pro tip: Paste your notes exactly as written, typos and all. Claude organizing your actual observations beats you trying to remember details while formatting.
Bug report from a stack trace
12/30โจ What it does
Turns a raw stack trace and trigger action into a bug report readable by both engineers and stakeholders.
You are a QA engineer who translates technical error logs into a bug report a non-technical stakeholder can also understand. <context> An error occurred and I have a stack trace or console log but need this framed as a bug report that connects the technical error to the user facing impact. </context> <inputs> - Stack trace or console log: [PASTE STACK TRACE OR LOG] - User action that triggered it: [DESCRIBE WHAT THE USER WAS DOING] - Frequency observed: [ALWAYS, INTERMITTENT, ONE TIME] - Environment: [BROWSER, OS, APP VERSION] </inputs> <task> Write a bug report that explains the user facing symptom first, then includes the technical detail from the stack trace as supporting evidence, and notes what part of the trace looks most relevant to the failure. </task> <constraints> Do not claim a root cause with certainty from the stack trace alone, phrase it as a likely area to investigate. Keep the user facing summary understandable to someone with no engineering background. Preserve the stack trace exactly as given in a separate section, do not summarize it away. </constraints> <format> Return sections: User Facing Summary, Steps to Reproduce, Technical Detail (verbatim stack trace), Likely Area to Investigate, Frequency, Environment. </format>
Pro tip: Include the full stack trace, not a truncated version. Claude flags the specific frame most likely relevant, but only if it can see the whole thing.
Duplicate bug detection against existing reports
13/30โจ What it does
Checks a new bug against an existing backlog and flags likely duplicates with a confidence level.
You are a QA engineer who checks new bug reports against existing ones before filing duplicates. <context> I have a new bug and a list of existing open bug titles or summaries and want to know if this is likely a duplicate before I file it. </context> <inputs> - New bug description: [DESCRIBE THE NEW BUG] - Existing open bug titles and summaries: [PASTE LIST OF EXISTING BUGS] - Feature area: [FEATURE OR MODULE NAME] </inputs> <task> Compare the new bug against the existing list and identify any that are likely duplicates or closely related, explaining the specific overlap in symptoms or trigger conditions. </task> <constraints> Only flag a match if the symptom or trigger genuinely overlaps, not just because they touch the same feature area. State your confidence level for each potential match as high, medium, or low. If nothing matches, say so plainly instead of forcing a weak match. </constraints> <format> Return a table with columns: Existing Bug Referenced, Overlap Description, Confidence Level. End with a one line recommendation: file as new, link as duplicate, or link as related. </format>
Pro tip: Paste in a real export from your tracker rather than retyping titles from memory, since partial or reworded titles reduce match accuracy.
Severity and priority scoring for a bug
14/30โจ What it does
Applies a consistent severity and priority scale to a bug based on impact and workaround availability.
You are a QA engineer responsible for triaging incoming bugs into severity and priority levels consistently. <context> A bug has come in and I need a consistent severity and priority score so it gets handled at the right urgency instead of by gut feel. </context> <inputs> - Bug description: [DESCRIBE THE BUG] - Affected user percentage: [ESTIMATED PERCENT OF USERS AFFECTED] - Workaround available: [YES OR NO, DESCRIBE IF YES] - Business area affected: [CHECKOUT, LOGIN, REPORTING, ETC] </inputs> <task> Score this bug on severity, meaning technical impact, and priority, meaning urgency to fix, using a standard scale, and justify each score against the inputs given. </task> <constraints> Use a defined scale, Blocker, Critical, Major, Minor, Trivial for severity and P0 through P3 for priority, do not invent your own scale. Justify the score with the specific input that drove it, such as percentage affected or workaround availability. Do not default to Critical or P0 unless the inputs genuinely justify it. </constraints> <format> Return: Severity (with justification), Priority (with justification), Recommended Response Time. </format>
Pro tip: Standardize this prompt across your whole QA team so triage scores stay consistent between different people filing bugs.
Bug report quality review before filing
15/30โจ What it does
Audits a draft bug report against your team's required fields and flags specific gaps before filing.
You are a QA lead who reviews bug reports for completeness before they go into the tracker. <context> A junior tester or a colleague wrote a bug report and I want it checked for missing information before it gets assigned to a developer. </context> <inputs> - Bug report draft: [PASTE THE FULL DRAFT REPORT] - Required fields per team standard: [LIST REQUIRED FIELDS, E.G. ENVIRONMENT, SEVERITY, SCREENSHOT] - Tracker used: [JIRA, LINEAR, GITHUB ISSUES] </inputs> <task> Review the draft against the required fields and flag anything missing, vague, or unverifiable, such as reproduction steps that skip a step or an expected result that is not actually stated. </task> <constraints> Be specific about which field is missing or weak, do not give a general it needs more detail comment. Do not rewrite the whole report, only point out the gaps so the original author fixes them. Flag reproduction steps that a new tester could not follow exactly as written. </constraints> <format> Return a table with columns: Field, Status (Complete, Missing, Vague), Specific Issue. End with a verdict: ready to file or needs revision. </format>
Pro tip: Paste your actual team template as the required fields list so the review matches your tracker's real requirements, not a generic checklist.
These prompts give you the what. Tutorials give you the why.
Learn when to use extended thinking, how to build Claude Projects, and workflows that compound. 300+ tutorials and growing.
Regression Suites
5 promptsRegression suite from a changed file list
16/30โจ What it does
Builds a change scoped regression suite tied to specific modified files instead of the full suite.
You are a QA engineer who builds targeted regression suites based on what code actually changed. <context> A pull request touches several files and I need a regression suite that covers what could break, without re-running the entire test suite every time. </context> <inputs> - Files or modules changed: [LIST CHANGED FILES OR MODULES] - Summary of the change: [DESCRIBE WHAT THE CHANGE DOES] - Features that depend on these files: [LIST DEPENDENT FEATURES IF KNOWN] - Existing regression suite size: [NUMBER OF TESTS IN FULL SUITE] </inputs> <task> Build a targeted regression suite naming the specific existing test cases or new scenarios needed to cover the risk from this change, sized appropriately for a pull request check rather than a full release. </task> <constraints> Do not recommend running the full suite unless the change genuinely touches a shared core module. Tie every recommended test back to a specific changed file or dependency. Keep the suite runnable within a normal CI time budget, flag if it will not be. </constraints> <format> Return a table with columns: Test or Scenario, Linked Changed File, Reason for Inclusion, Estimated Run Time if known. </format>
Pro tip: List actual file paths from the diff, not feature names, since dependency reasoning works much better from real paths than vague descriptions.
Flaky test triage
17/30โจ What it does
Diagnoses a flaky test's likely cause from its code and failure pattern and recommends a specific action.
You are a QA engineer who investigates flaky automated tests to decide whether to fix, quarantine, or delete them. <context> A test in our automated suite fails intermittently and I need to decide what to do with it before it keeps eroding trust in the pipeline. </context> <inputs> - Test name: [TEST NAME] - Failure pattern observed: [DESCRIBE WHEN IT FAILS, E.G. ONLY ON CI, ONLY UNDER LOAD] - Test code or relevant snippet: [PASTE TEST CODE] - Failure rate: [PERCENTAGE OF RUNS THAT FAIL] </inputs> <task> Analyze the likely cause of flakiness such as timing issues, shared state, or environment dependency, and recommend whether to fix now, quarantine with a ticket, or delete the test. </task> <constraints> Base the recommendation on the failure pattern and code given, not a generic list of common flaky test causes. If the code suggests a specific fix such as an explicit wait replacing a fixed sleep, name it directly. Do not recommend deletion unless the test provides little unique coverage. </constraints> <format> Return: Likely Cause, Evidence From Code Supporting This, Recommendation (Fix Now, Quarantine, Delete), Suggested Fix if applicable. </format>
Pro tip: Paste the actual test code, not a description of it. Flakiness diagnosis depends heavily on seeing real waits, timeouts, and setup or teardown logic.
Regression suite pruning for redundancy
18/30โจ What it does
Audits an overgrown regression suite and recommends specific merges or removals with justification.
You are a QA engineer who audits regression suites to remove redundant coverage without losing real risk protection. <context> Our regression suite has grown large and slow and I suspect several test cases overlap in what they actually verify. </context> <inputs> - List of test case titles and brief descriptions: [PASTE LIST OF TEST CASES] - Feature area covered: [FEATURE OR MODULE NAME] - Current suite run time: [MINUTES OR HOURS] </inputs> <task> Identify test cases that overlap significantly in coverage and recommend which to merge or remove, while flagging any that look redundant on the surface but actually cover a distinct edge case worth keeping. </task> <constraints> Do not recommend removing a test case just because its title sounds similar to another, check the actual described coverage. Justify every removal recommendation with what other test case already covers that ground. Keep at least one test case per distinct edge case identified. </constraints> <format> Return a table with columns: Test Case, Recommendation (Keep, Merge, Remove), Overlaps With, Reason. </format>
Pro tip: Include brief descriptions, not just titles. Titles alone often look redundant even when the underlying assertions are completely different.
Release readiness regression checklist
19/30โจ What it does
Builds a risk ordered release regression checklist covering new changes and critical existing flows.
You are a QA lead who builds the final regression checklist before a release goes out. <context> A release is scheduled and I need a final checklist covering the areas that must be verified across the whole product before sign off, not just the new feature. </context> <inputs> - Release version: [VERSION NUMBER] - New features or changes in this release: [LIST CHANGES] - Critical user flows for the product: [LIST CORE FLOWS, E.G. LOGIN, CHECKOUT, SEARCH] - Known fragile areas: [LIST AREAS WITH HISTORY OF ISSUES] </inputs> <task> Build a release regression checklist that covers the new changes plus the critical core flows and known fragile areas, organized so a team can divide it and sign off area by area. </task> <constraints> Do not pad the checklist with low value items just to look thorough. Order items by risk, highest risk first. Make each checklist item something a specific person can check off as pass or fail, not an open ended statement. </constraints> <format> Return a table with columns: Area, Item to Verify, Risk Level, Owner (blank for assignment), Status (blank for sign off). </format>
Pro tip: Reuse this exact prompt every release with updated inputs so your checklist format stays consistent and comparable release over release.
Cross feature interaction test scenarios
20/30โจ What it does
Generates test scenarios targeting the interaction points between two features instead of retesting each alone.
You are a QA engineer who tests how features interact with each other, not just in isolation. <context> Two features that were built and tested separately now need to be checked together because users will use them in combination. </context> <inputs> - Feature A: [DESCRIBE FEATURE A] - Feature B: [DESCRIBE FEATURE B] - Shared data or state between them: [DESCRIBE ANY SHARED STATE, ACCOUNT DATA, OR SETTINGS] - User scenario combining both: [DESCRIBE A REALISTIC COMBINED USE CASE] </inputs> <task> Generate test scenarios specifically covering the interaction points between these two features, including cases where one feature's state could affect the other unexpectedly. </task> <constraints> Focus only on interaction points, do not repeat test cases that belong to each feature in isolation. Call out any shared state that could cause a race condition or stale data issue. Keep scenarios grounded in the realistic combined use case given, not hypothetical edge cases unrelated to it. </constraints> <format> Return a table with columns: Scenario, Interaction Point, Steps, Expected Result. </format>
Pro tip: Name the actual shared state, like a settings flag or account field, so Claude can reason about specific race conditions instead of generic ones.
Automation Scaffolds
5 promptsAutomated test scaffold from a manual test case
21/30โจ What it does
Converts a manual test case into a runnable automated test script in the given framework.
You are a QA automation engineer who converts manual test cases into working automated test scaffolds. <context> I have a manual test case that is stable and repetitive enough to automate and need a starting script in our test framework. </context> <inputs> - Manual test case steps: [PASTE THE MANUAL TEST CASE] - Testing framework: [PLAYWRIGHT, CYPRESS, SELENIUM, PYTEST, ETC] - Application type: [WEB, MOBILE, API] - Existing helper functions or page objects available: [LIST IF ANY] </inputs> <task> Write an automated test script that implements this manual test case in the specified framework, using the existing helpers if given, with clear assertions matching the expected results. </task> <constraints> Use realistic selectors as placeholders since you do not have the actual DOM, and mark them clearly as placeholders to replace. Include setup and teardown if the framework requires it. Do not use fixed sleep waits, use the framework's built in wait mechanisms. </constraints> <format> Return the full script in a code block, followed by a short list of placeholder values the user must replace with real selectors or endpoints. </format>
Pro tip: Tell it your real helper function names even if you cannot share the full file. Reusing existing helpers instead of reinventing them keeps the scaffold consistent with your codebase.
API test scaffold from an OpenAPI spec
22/30โจ What it does
Generates an API test automation scaffold with schema validation and auth handling from endpoint details.
You are a QA automation engineer who writes API test suites from API documentation. <context> I have an API endpoint documented and need an automated test suite scaffold to verify its contract, not just manual test cases. </context> <inputs> - Endpoint details: [METHOD, PATH, REQUEST BODY SCHEMA, RESPONSE SCHEMA] - Testing tool: [POSTMAN, PYTEST WITH REQUESTS, JEST WITH SUPERTEST] - Auth method: [AUTH TYPE AND HOW TO OBTAIN A TOKEN] - Base URL pattern: [BASE URL OR ENVIRONMENT VARIABLE NAME] </inputs> <task> Write an automated test suite scaffold verifying the success response schema, the required field validation, and the auth requirement, structured so new test cases can be added easily. </task> <constraints> Use environment variables for the base URL and any secrets, never hardcode a real token. Structure tests so each one tests a single assertion, not multiple unrelated checks in one test. Include schema validation, not just status code checks. </constraints> <format> Return the full test suite scaffold in a code block, followed by a short setup note listing what environment variables or config the user needs to define. </format>
Pro tip: Include the actual response schema, not just field names. Schema validation is only as strong as the schema you feed in.
Page object model scaffold for a new page
23/30โจ What it does
Scaffolds a page object model class for a new UI page with action methods and placeholder selectors.
You are a QA automation engineer who structures UI automation using the page object model pattern. <context> A new page has been added to the application and I need a page object class scaffold so future tests interact with it consistently instead of duplicating selectors. </context> <inputs> - Page name: [PAGE NAME] - Key elements on the page: [LIST ELEMENTS, E.G. EMAIL INPUT, SUBMIT BUTTON, ERROR MESSAGE] - Key actions a test would perform: [LIST ACTIONS, E.G. SUBMIT FORM, CHECK ERROR SHOWN] - Framework and language: [PLAYWRIGHT WITH TYPESCRIPT, SELENIUM WITH JAVA, ETC] </inputs> <task> Write a page object class with methods for each key action listed, using placeholder selectors clearly marked for replacement, following the conventions typical of the specified framework and language. </task> <constraints> Name methods after the user facing action, not the implementation detail, for example submitLoginForm not clickButton3. Keep selector definitions separate from action methods so they are easy to update later. Do not include test assertions inside the page object itself, only actions and getters. </constraints> <format> Return the full class in a code block, followed by a one paragraph note on how a test file would import and use it. </format>
Pro tip: Keep this pattern consistent across your whole suite by reusing the same naming convention prompt for every new page, not just this one.
CI pipeline test stage configuration
24/30โจ What it does
Writes a CI pipeline stage configuration to run an automated test suite with proper secret handling.
You are a QA automation engineer who wires automated test suites into CI pipelines. <context> I have an automated test suite ready and need it added as a stage in our CI pipeline configuration so it runs on every pull request. </context> <inputs> - CI system: [GITHUB ACTIONS, GITLAB CI, CIRCLECI, JENKINS] - Test command to run: [COMMAND, E.G. npm run test:e2e] - Trigger condition: [ON PULL REQUEST, ON MERGE TO MAIN, NIGHTLY] - Requirements before tests run: [DEPENDENCIES TO INSTALL, ENV VARS NEEDED] </inputs> <task> Write the CI configuration stage that installs dependencies, sets required environment variables, runs the test command, and fails the pipeline clearly if tests fail, including test result artifact upload if the CI system supports it. </task> <constraints> Use secrets references for any credential, never hardcode a real value. Keep the stage isolated so it does not block unrelated pipeline stages from running in parallel where possible. Match the exact syntax conventions of the specified CI system. </constraints> <format> Return the full CI configuration snippet in a code block, followed by a short note on what secrets need to be configured in the CI system's settings. </format>
Pro tip: Specify the exact CI system version or syntax quirks you know about, since GitHub Actions and GitLab CI YAML structures differ enough to matter.
Test data generator script
25/30โจ What it does
Generates a script that produces bulk, realistic synthetic test data in a specified format.
You are a QA automation engineer who builds test data generation scripts to support automated and manual testing. <context> I need realistic but fake test data generated in bulk to seed a test environment without using real user data. </context> <inputs> - Data entity: [ENTITY NAME, E.G. USER, ORDER, PRODUCT] - Fields required: [LIST FIELDS AND TYPES] - Volume needed: [NUMBER OF RECORDS] - Output format: [JSON, CSV, SQL INSERT STATEMENTS, DIRECT DATABASE SEED SCRIPT] - Language or tool: [PYTHON, NODE, FAKER LIBRARY, ETC] </inputs> <task> Write a script that generates the specified volume of realistic fake data for this entity, respecting the field types and any obvious constraints such as unique emails or valid date ranges, output in the specified format. </task> <constraints> Use a well known fake data library appropriate to the language rather than hand rolled random strings. Ensure any field that should be unique, such as an email or ID, is actually unique across the generated records. Do not generate data that could pass as real personal information, keep it clearly synthetic. </constraints> <format> Return the full script in a code block, followed by one example of a generated record shown inline. </format>
Pro tip: Specify uniqueness constraints explicitly, like unique email per record, since generic fake data scripts often produce collisions at higher volumes.
Most people use 10% of Claude. Tutorials unlock the rest.
AI Academy: 300+ hands-on tutorials on Claude, ChatGPT, Midjourney, and 50+ AI tools. New tutorials added every week.
Exploratory Testing and Reporting
5 promptsExploratory testing charter
26/30โจ What it does
Produces a focused exploratory testing charter with a mission and starting questions for a time boxed session.
You are a QA engineer who plans structured exploratory testing sessions using session based test management. <context> I want to run a time boxed exploratory testing session on a feature without a rigid script, but still need a charter to keep the session focused. </context> <inputs> - Feature or area to explore: [FEATURE OR AREA NAME] - Session length: [MINUTES, TYPICALLY 60 OR 90] - Known concerns going in: [LIST ANY SPECIFIC WORRIES OR RECENT CHANGES] - Tester experience level: [NEW TO THE FEATURE OR FAMILIAR] </inputs> <task> Write an exploratory testing charter stating the mission, areas to focus on, specific risks to probe based on the known concerns, and a few starting questions to guide the tester's investigation. </task> <constraints> Keep the charter open ended enough to allow discovery, do not turn it into a scripted test case list. Tie the focus areas directly to the known concerns given, not generic exploration. Fit the scope realistically within the stated session length. </constraints> <format> Return sections: Mission, Time Box, Areas to Focus, Starting Questions, Note Taking Reminder (what to capture during the session). </format>
Pro tip: List real known concerns, like a recent refactor or past bug in the area, so the charter's starting questions target actual risk instead of generic curiosity.
Exploratory session notes to structured findings
27/30โจ What it does
Turns raw exploratory testing notes into a categorized summary of bugs, open questions, and observations.
You are a QA engineer who converts raw exploratory testing notes into structured findings for the team. <context> I just finished an exploratory testing session and have raw, unstructured notes that need to become a shareable summary of what I found. </context> <inputs> - Raw session notes: [PASTE RAW NOTES, OBSERVATIONS, THOUGHTS] - Feature explored: [FEATURE NAME] - Session length: [MINUTES SPENT] </inputs> <task> Organize the raw notes into a structured summary separating confirmed bugs, areas needing further investigation, and general observations that are not bugs but worth noting. </task> <constraints> Do not upgrade a vague observation into a confirmed bug, keep the categorization honest to what the notes actually support. Preserve specific details from the notes rather than paraphrasing them into vague statements. Note if any area was not covered due to time running out. </constraints> <format> Return sections: Confirmed Bugs (list), Needs Further Investigation (list), General Observations (list), Coverage Gaps Due to Time. </format>
Pro tip: Write your notes during the session exactly as they occur to you, then paste them unedited. Cleanup by hand before this step loses detail Claude could have used.
Test summary report for stakeholders
28/30โจ What it does
Produces a stakeholder facing test summary report with a clear go or no go recommendation up front.
You are a QA lead who writes test summary reports for non-technical stakeholders before a release decision. <context> Testing for a release is complete or near complete and I need a summary that helps stakeholders decide whether to ship, without drowning them in test case detail. </context> <inputs> - Release name or version: [RELEASE NAME] - Test results overview: [NUMBER PASSED, FAILED, BLOCKED, SKIPPED] - Open bugs at time of report: [LIST OPEN BUGS WITH SEVERITY] - Testing coverage achieved: [DESCRIBE WHAT WAS COVERED VERSUS PLANNED] </inputs> <task> Write a test summary report that gives stakeholders a clear go or no go recommendation, explains the reasoning in plain language, and lists the open risks they are accepting if they ship now. </task> <constraints> Make the recommendation explicit, do not hedge with only more information is needed. Translate severity levels into business impact language a non-technical reader understands. Do not bury the recommendation at the end, state it near the top. </constraints> <format> Return sections: Recommendation (Go or No Go, stated plainly), Summary of Testing Done, Open Risks Being Accepted, Supporting Details (test counts and open bug list). </format>
Pro tip: State your actual gut recommendation as an input too if you have one, since Claude will weigh it against the data rather than just repeating it uncritically.
Usability issue log during exploratory testing
29/30โจ What it does
Logs usability friction found during testing separately from bugs, with realistic small improvement suggestions.
You are a QA engineer who tracks usability issues separately from functional bugs during exploratory testing. <context> While testing I noticed things that are not broken but are confusing or awkward for users, and I want these captured properly instead of getting lost or mixed in with real bugs. </context> <inputs> - Feature tested: [FEATURE NAME] - Usability observations: [LIST WHAT FELT CONFUSING, SLOW, OR UNCLEAR] - User type most affected: [NEW USER, POWER USER, ADMIN] </inputs> <task> Organize the usability observations into a log entry per issue, describing the friction point, why it matters for the affected user type, and a suggested improvement without redesigning the whole feature. </task> <constraints> Keep suggested improvements small and realistic, not full redesign proposals. Separate genuine usability friction from personal preference, flag anything that seems like the latter. Do not classify a usability issue as a bug, keep the two categories distinct. </constraints> <format> Return a table with columns: Issue, Affected User Type, Why It Matters, Suggested Small Improvement. </format>
Pro tip: Share this log with design or product, not engineering, since usability issues need a different owner than functional bugs.
Post release monitoring checklist
30/30โจ What it does
Defines a focused post release monitoring checklist tied to the actual release changes with a concrete rollback threshold.
You are a QA engineer who defines what to watch immediately after a release goes live, beyond pre-release testing. <context> A release just went out and pre-release testing is done, but I want a short checklist of what to actively monitor in production for the first hours after release. </context> <inputs> - Release changes: [LIST WHAT CHANGED IN THIS RELEASE] - Monitoring tools available: [LOGGING TOOL, ERROR TRACKER, ANALYTICS TOOL] - Critical metrics for the product: [LIST KEY METRICS, E.G. CHECKOUT COMPLETION RATE, LOGIN SUCCESS RATE] - Rollback trigger threshold: [DESCRIBE WHAT WOULD TRIGGER A ROLLBACK] </inputs> <task> Build a post release monitoring checklist naming the specific metrics and error signals to watch tied to what changed in this release, and state clearly what threshold would trigger a rollback decision. </task> <constraints> Tie every monitored item back to the specific release changes, not a generic monitoring checklist. State the rollback threshold as a concrete number or condition, not a vague significant increase. Keep the checklist short enough to actually follow during the first hours after release. </constraints> <format> Return a table with columns: Metric or Signal, Tool to Check, Normal Range, Rollback Threshold. End with a one line escalation contact placeholder. </format>
Pro tip: Set a real numeric rollback threshold before release, not after something looks wrong. Deciding the threshold under pressure tends to be too lenient.
Free tool
Prompt Optimizer
Turn a rough idea into a structured, professional AI prompt.
Frequently Asked Questions
Prompts are the starting line. Tutorials are the finish.
A growing library of 300+ hands-on tutorials on ChatGPT, Claude, Midjourney, and 50+ AI tools. New tutorials added every week.
7-day free trial. Cancel anytime.
Related guides