Stepthrough Start free

Kosuke: Let the AI Test Its Own Changes with Automated QA

Practice it step by step

Start the free practice

Take the free module: why it matters, practice and a quick check →

You do every step yourself in a practice copy of Kosuke. It checks your work as you go, and “Do it for me” finishes any step you get stuck on. Free, about 12 minutes, and nothing touches your real accounts. Open full screen

Free · Live nowAI Automation for Consulting & AgenciesKosuke~12 min23 stepsIntermediate

Updated . Setup screens checked in a real Kosuke account on 20 October 2026; the session and QA screens are Kosuke's own screenshots from docs.kosuke.ai. How we check this lesson

AI coding agents make changes fast, but someone still has to test them, and hand-testing is slow and easy to skip. Kosuke's /kosuke:automated-qa skill tests a change in a real browser from a written Testing Checklist, records a video per section, and reports each item as passed, failed or blocked. In this free business-case lesson you price what hand-testing costs a small online store, run Kosuke's QA on a new delivery-date column, read a failed and a blocked item, repair the bug with --fix, unblock the last item, and hand off a pull request labelled qa: passed.

At a glance

QuestionAnswer
What you buildA business case for small teams that use an AI coding agent: price what hand-testing every change costs, then let Kosuke's automated QA test the change in a real browser, record video, fix what failed and put a qa: passed label on the pull request.
ToolsKosuke
TimeAbout 12 minutes, 23 steps in 8 parts
LevelIntermediate
CostFree
Ways to learn itPractice it step by step, read the guide with screenshots

The 8 parts, in short

  1. What hand-testing really costs: Read the customer email, Put a price on hand-testing, Meet Kosuke automated QA.
  2. Before you start: GitHub and Claude: Open Settings, Connect GitHub, Open AI Providers, Connect Claude Code.
  3. Ask for the change: Describe the change, Start the session.
  4. Let Kosuke test it: Ask Kosuke to test it, Send it.
  5. Read the QA Report: Read the failed item, Read the blocked item, Open the Testing Checklist.
  6. Fix it and test again: Read the checklist, Let Kosuke repair it, Send it, Unblock the last item, and 1 more step.
  7. Hand it off with proof: Open the pull request, Review it on GitHub.
  8. What this saves you: What this saves you, Up next.

Start here first: Preview Every Website Change Before Your Client Sees It using Kosuke (module 1 of AI Automation for Consulting & Agencies)

Part of: AI for Consulting & Agencies (step 18 of 33)

Part of: AI for Operations Teams (step 31 of 37)

Part of: AI Apps Worth Knowing (step 35 of 77)

Kosuke: Let the AI Test Its Own Changes with Automated QA: step-by-step guide with screenshots

About the screenshots. They come from Stepthrough’s simulated practice environment (a practice copy of Kosuke), not the live tool, so no real account appears. The buttons and labels match the real screens the lesson was built against. Practice it yourself free at learn.ynteractive.com.

  • Tools: Kosuke
  • Time: about 12 minutes, 23 steps in 8 parts
  • Level: intermediate

Part 1: What hand-testing really costs

Step 1: Read the customer email

Sam runs operations at a small online store. An A I coding agent changes the store. Sam tests each change by hand. Last month the orders page showed the wrong delivery dates. Customers noticed first.

Kosuke in Stepthrough’s practice copy, step 1 of 23 (Read the customer email): the cursor is on “email”, highlighted.
Step 1 of 23. Sam Alvarez runs operations at Acme, a small online store (made up). An AI coding agent makes changes to the store, and Sam tests each one by hand. Last month a change to the orders page showed the wrong delivery dates for shipped orders, and customers noticed first. Click the email.

Step 2: Put a price on hand-testing

Each change takes about two hours of clicking and notes. Twelve changes a month. That is about thirteen hundred dollars a month. These are example numbers. Use your own.

Kosuke in Stepthrough’s practice copy, step 2 of 23 (Put a price on hand-testing): the cursor is on “total”, highlighted.
Step 2 of 23. Each change means about 2 hours of clicking through test orders and writing notes. At 12 changes a month and $55 an hour, that is $1,320 a month, or $15,840 a year. These are example numbers, so swap in your own. Click the total.

Step 3: Meet Kosuke automated QA

Kosuke runs your coding agent in the cloud. Its automated Q A tests the change in a real browser. It records video, and writes a report you can show anyone.

Kosuke in Stepthrough’s practice copy, step 3 of 23 (Meet Kosuke automated QA): the cursor is on “Kosuke”, highlighted.
Step 3 of 23. Kosuke runs your coding agent in a cloud sandbox. Its /kosuke:automated-qa skill tests the change in a real browser, item by item, records video, and writes a QA Report you can show anyone. Click the Kosuke card.

Part 2: Before you start: GitHub and Claude

Step 4: Open Settings

This is Kosuke's home screen. Q A needs two things connected first. GitHub, where the code lives. And your Claude account, which runs the agent.

Kosuke in Stepthrough’s practice copy, step 4 of 23 (Open Settings): the cursor is on “Settings”, highlighted.
Step 4 of 23. This is Kosuke's home screen, Sensei. QA needs two things connected first: GitHub, where the store's code lives, and your Claude account, which runs the agent. Click Settings at the bottom left, then Settings in the menu that opens. The practice copy jumps straight there.

Step 5: Connect GitHub

Under GitHub, it says not connected. In real life, GitHub opens. Give Kosuke only the one project you want tested. Then approve it.

Kosuke in Stepthrough’s practice copy, step 5 of 23 (Connect GitHub): the cursor is on “Connect”, highlighted.
Step 5 of 23. Settings opens on Account. Under GitHub it reads Not connected. Click Connect. In real life GitHub opens: give Kosuke access to only the repository you want tested, approve, and you come back here.

Step 6: Open AI Providers

Now the agent. Under You, click A I Providers.

Kosuke in Stepthrough’s practice copy, step 6 of 23 (Open AI Providers): the cursor is on “AI Providers”, highlighted.
Step 6 of 23. Now the agent. Under You, click AI Providers.

Step 7: Connect Claude Code

Claude Code is not configured yet. If you pay for Claude, use that login. You sign in to Claude, and paste a code back. Then import the store, and deploy it once.

Kosuke in Stepthrough’s practice copy, step 7 of 23 (Connect Claude Code): the cursor is on “Configure”, highlighted.
Step 7 of 23. Under Anthropic, Claude Code reads Not configured. If you already pay for Claude, use that login. Click Configure. In real life a Claude sign-in page opens; you approve it and paste the code back. Then import the store's repository and press Deploy once. The first Kosuke lesson walks through both.

Part 3: Ask for the change

Step 8: Describe the change

From here, the screens are Kosuke's own pictures, from its demo store. The New Session box is open. Describe the change in plain words.

Kosuke in Stepthrough’s practice copy, step 8 of 23 (Describe the change): the request is ready to paste, highlighted.
Step 8 of 23. From here the screens are Kosuke's own screenshots from its docs, from its demo store, Acme. The New Session box is open with Start now selected. Describe the change in plain words. Paste the request below.

Step 9: Start the session

The agent works on its own copy of the store. The live site is not touched.

Kosuke in Stepthrough’s practice copy, step 9 of 23 (Start the session): the cursor is on “Start session”, highlighted.
Step 9 of 23. The agent works on its own branch, in its own copy of the store, so the live site is not touched. Click Start session.

Part 4: Let Kosuke test it

Step 10: Ask Kosuke to test it

The agent is done. The orders table has a delivery column. Now, don't test it by hand. In the message box, type slash kosuke, automated Q A.

Kosuke in Stepthrough’s practice copy, step 10 of 23 (Ask Kosuke to test it): the type the command is ready to paste, highlighted.
Step 10 of 23. The agent is done: the orders table has a Delivery column. Sam also asked it to keep the lead days in one place. Do not test it by hand. In Type your message, type /kosuke:automated-qa.

Step 11: Send it

It shows the options. Restart. Fix. Or a section to test. With nothing added, it tests everything new.

Kosuke in Stepthrough’s practice copy, step 11 of 23 (Send it): the cursor is on “arrow”, highlighted.
Step 11 of 23. Kosuke shows the options: --restart, --fix, --sync, or what to test, such as "section 2". With nothing added, it tests every item not tested yet. Click the arrow to send.

Part 5: Read the QA Report

Step 12: Read the failed item

The Q A report is in. One failed. One blocked. Three passed. The failed one is the same bug customers found last month. The date is counted from the order, not from shipping.

Kosuke in Stepthrough’s practice copy, step 12 of 23 (Read the failed item): the cursor is on “QA Report v1”, highlighted.
Step 12 of 23. The QA Report v1 opens in the Artifacts tab: Failed, with 1 failed, 1 blocked and 3 passed. Failed and blocked items come first. The top item is the same bug customers found last month: a shipped order's window is counted from the order date, not the ship date. Click it.

Step 13: Read the blocked item

Blocked is not the same as failed. The tester could not set up the test. There was no processing order to move to shipped.

Kosuke in Stepthrough’s practice copy, step 13 of 23 (Read the blocked item): the cursor is on “The window moves when an order ships”, highlighted.
Step 13 of 23. Blocked is different from failed: the tester could not reach the state it needed. Here the preview's database holds no processing order to move to Shipped. Click The window moves when an order ships.

Step 14: Open the Testing Checklist

Every result comes from a testing checklist the agent wrote. One action, and what should happen.

Kosuke in Stepthrough’s practice copy, step 14 of 23 (Open the Testing Checklist): the cursor is on “Testing Checklist”, highlighted.
Step 14 of 23. Every result comes from the Testing Checklist the agent wrote: one action and its expected result per item. Click Testing Checklist in the Artifacts list.

Part 6: Fix it and test again

Step 15: Read the checklist

Each item has a severity, and one line to test. Only Q A ticks them. To change one, ask the agent.

Kosuke in Stepthrough’s practice copy, step 15 of 23 (Read the checklist): the cursor is on “checklist”, highlighted.
Step 15 of 23. Each item has a severity (critical, major or minor), an ID, and one line to test. Only QA ticks items or marks them FAILED or BLOCKED. To add or change an item, ask the agent. Click the checklist to go back to the session.

Step 16: Let Kosuke repair it

Add dash dash fix. Kosuke repairs what failed, and tests it again.

Kosuke in Stepthrough’s practice copy, step 16 of 23 (Let Kosuke repair it): the type the command is ready to paste, highlighted.
Step 16 of 23. Add --fix: QA repairs the failed items once testing ends, commits the fix, and tests them again. In Type your message, type /kosuke:automated-qa --fix.

Step 17: Send it

Kosuke in Stepthrough’s practice copy, step 17 of 23 (Send it): the cursor is on “arrow”, highlighted.
Step 17 of 23. Click the arrow to send.

Step 18: Unblock the last item

Version two. The fix passed. The blocked item is still waiting. Ask the agent for a test order, then test it again.

Kosuke in Stepthrough’s practice copy, step 18 of 23 (Unblock the last item): the cursor is on “Ask for a test order”, highlighted.
Step 18 of 23. QA Report v2: the fixed item passed. The blocked item waits until you name it, so the label is qa: blocked. Ask the agent for a test order in the preview's sample data, then run QA on that item. Click Ask for a test order.

Step 19: The Project QA Guide

All five passed. The first time, Q A also writes a guide to your project. How to open it, sign in, and check the data. Keep passwords out of it.

Kosuke in Stepthrough’s practice copy, step 19 of 23 (The Project QA Guide): the cursor is on “guide”, highlighted.
Step 19 of 23. All 5 passed: qa: passed. The first time QA tests a project it writes a Project QA Guide: how to open the app, sign in and check its data. It saves it to the project's settings, under Advanced, so the next run is faster. Keep secrets out of it. Click the guide card.

Part 7: Hand it off with proof

Step 20: Open the pull request

The pull request goes to GitHub, with the Q A label, and a link to the proof.

Kosuke in Stepthrough’s practice copy, step 20 of 23 (Open the pull request): the cursor is on “Open PR”, highlighted.
Step 20 of 23. Back in the session, click Open PR under the message box. The agent opens a pull request on GitHub. The qa: passed label and a comment with the report, the checklist and the videos go with it.

Step 21: Review it on GitHub

Ready for review. You or your developer read the Q A comment, and merge it on GitHub, as usual.

Kosuke in Stepthrough’s practice copy, step 21 of 23 (Review it on GitHub): the cursor is on “#474”, highlighted.
Step 21 of 23. A Ready for review banner shows pull request #474. You or your developer read the QA comment, watch a video if needed, and merge on GitHub as usual. Click #474.

Part 8: What this saves you

Step 22: What this saves you

Here is what it saves.

Kosuke in Stepthrough’s practice copy, step 22 of 23 (What this saves you): the cursor is on “What this saves you”, highlighted.
Step 22 of 23. Click What this saves you.

Step 23: Up next

Next up, previews your client can click.

Kosuke in Stepthrough’s practice copy, step 23 of 23 (Up next): the cursor is on “Up next”, highlighted.
Step 23 of 23. Click Up next.

Part of these free courses: AI Apps Worth Knowing, Kosuke Tutorial: Kosuke Jump Start

Now do it yourself, free

Reading the steps is a start. Doing them is how it sticks. The interactive lesson puts you in a practice copy of Kosuke: you do every step yourself, it checks your work, and “Do it for me” finishes any step you get stuck on. Nothing touches your real accounts.

Practice “Kosuke: Let the AI Test Its Own Changes with Automated QA” step by step
Kosuke Sensei home with Robert's Organization, Import repository and Settings in the sidebar
Kosuke Sensei home with Robert's Organization, Import repository and Settings in the sidebar

The business case: what hand-testing every AI change costs

Picture Sam Alvarez, who runs operations at Acme, a made-up small online store. An AI coding agent makes changes to the store, so the code part is quick. The slow part is testing: Sam opens test orders in every status, clicks through each change, writes notes and takes screenshots. Last month a change to the orders page showed shipped orders the wrong delivery window, and 38 customers emailed to ask where their order was before anyone at Acme noticed.

Here is the arithmetic, using example numbers you should replace with your own. Testing takes about 2 hours per change, and Acme ships 12 changes a month. That is 24 hours, or about $1,320 a month at $55 an hour, and $15,840 a year. Hand-testing also gets skipped in a busy week, and nothing records what was checked.

Who this is for, and what you need

Operations people, agency owners and small business owners who use an AI coding agent such as Claude Code or Codex on a website or an internal tool, and who need changes tested without reading code. It follows on from Kosuke: Preview Website Changes Before Your Client Does, which covers connecting Claude, importing a repository and deploying it once.

To use it for real you need a Kosuke workspace, a GitHub repository connected to Kosuke (use a test repository with made-up data while you learn), your Anthropic or OpenAI account for the agent, and the project deployed once in Kosuke. The practice copy in this lesson needs none of them.

How the Testing Checklist works

The agent keeps a Testing Checklist for the branch as it works. It is grouped in numbered sections, and each section is one flow tested from one starting point. Each item has a checkbox, a severity, a stable ID, a label, and one line with the action and its expected result.

Severity tells you how much a failure matters: critical breaks a core function, loses data or opens a security hole; major stops an important feature from working as expected; minor is cosmetic or a rare edge case. The agent favours edge cases, errors and recovery over the obvious path. Only QA ticks items or marks them FAILED or BLOCKED. To add, change or drop an item, ask the agent in a message.

Passed, FAILED and BLOCKED: what each one means

Passed means a tester watched the expected result happen. FAILED means a tester watched it not happen, and the item carries the reason. BLOCKED means the tester could not reach the state the item needs, such as a missing test user or test order.

They need different fixes. A failed item is a bug: run /kosuke:automated-qa --fix, and QA repairs it, commits one fix per section and has a new tester check it. A blocked item is a missing setup: give the tester what it needs (in the lesson, a processing test order in the preview's sample data), then name the item in the next run. Blocked items wait until you name them.

The QA Report, the label and the pull request

Each run publishes over one QA Report per branch, in the session's Artifacts tab, with a version number: v1, then v2, then v3. Failed and blocked sections come first, and selecting an item plays its video and shows what the tester did and saw.

The label follows the run: qa: passed (green) when every tested item passed, qa: blocked (yellow) when nothing failed but something could not run, and qa: failed (red) when anything failed. Before a pull request exists, the label sits on the chat session and moves to the pull request when you press Open PR. QA also posts a comment on the pull request with the counts and links to the report, the checklist and the videos.

The Project QA Guide

The first time QA tests a project, it works out how to open the app, sign in and check its data, and writes that down as the Project QA Guide. It is saved to the project's settings, under Advanced, and later runs read it, so they start faster. You can read and edit it there. Keep secrets out of it: name the environment variable that holds a password, never the password itself.

What this saves you

  • Most of the 2 hours per change: you read a report and watch a video instead of clicking through test orders yourself. In the example that is about 20 minutes per change, roughly $1,100 a month at 12 changes. These are estimates from example numbers, not a promise.
  • The bug a customer finds first: in the lesson, QA caught the same delivery-date bug that reached customers last month.
  • Proof on every pull request: what was tested, what the tester saw, and a video.
  • What it does not do: decide what your customers need, or merge for you. A passed report is evidence, not a guarantee.

What we checked in a real Kosuke account

On 20 October 2026 we opened a real Kosuke workspace (Enterprise plan) and checked the Sensei home screen, Settings > Account with GitHub Not connected and its Connect button, Settings > AI Providers with Claude Code Not configured and its Configure button, and Skills. We did not connect GitHub or a Claude account, so the New Session box, the session, the /kosuke:automated-qa command, QA Report v1 and the Ready for review banner are Kosuke's own screenshots from docs.kosuke.ai, from its demo workspace Acme, and the --fix and unblock results follow Kosuke's documentation. Kosuke's screens change over time, so yours may differ slightly.

Links

Try it yourself, free

Reading the steps is a start. Doing them is how it sticks. The interactive module walks you through every click in a practice copy of Kosuke, checks each step, and never touches your real accounts.

Start “Kosuke: Let the AI Test Its Own Changes with Automated QA”

Screenshots

Frequently asked questions

What does /kosuke:automated-qa do?
It tests your branch's Testing Checklist in a headless browser against the running app. One tester takes each section, several run at once, and each records a video. You get a QA Report in the Artifacts tab, and the pull request gets a qa: passed, qa: blocked or qa: failed label with a comment.
What is the difference between FAILED and BLOCKED in Kosuke QA?
FAILED means a tester watched the expected result not happen: a real bug. BLOCKED means the tester could not reach the state the item needs, such as a missing test user or test order. Fix failed items with --fix; fix blocked items by adding what the tester needs, then name them in the next run.
What does --fix do?
With --fix, QA repairs the FAILED items once testing ends, commits one fix per section, and has a new tester check the fixed items again. Each run with --fix makes one repair round.
Do I need to write the test checklist myself?
No. The agent writes and updates the Testing Checklist as it works, favouring edge cases and errors. You can ask it to add, change or drop an item in a message.
Has this lesson been tested in the real Kosuke app?
Partly. We checked the setup screens (Sensei home, Account with the GitHub Connect button, AI Providers with Claude Code) in a real Kosuke account. The session and QA screens are Kosuke's own screenshots from its documentation, because our test account had no GitHub repository connected yet.

Start this module free

From the blog

All blog posts

Plain-English definitions, each with an example from a free lesson.

The full AI glossary

Browse related tutorials