Don’t trust the test summary. Watch the footage.
Ask Kiro to test your app and KiroShadow runs the tests in a headless browser (form fills, user flows, page loads, splash screens, before/after looks) and leaves you a video, step screenshots, pixel diffs and a visual report so you can see how the test ran and why it passed or failed.
Everything lands in .kiro/test-assets/<run>/:
01-valid-filled.png 01-valid-result.png
02-invalid-filled.png 02-invalid-result.png 02-diff-vs-valid.png
03-edge-filled.png 03-edge-result.png 03-diff-vs-valid.png
video.webm report.html report.md results.json
report.html has the video with clickable steps (jump to the moment a field was filled or the form submitted), plain-language reasons for each verdict, and side-by-side screenshots.
npm install
npm run build
The workspace already contains .kiro/settings/mcp.json. Open Kiro in this folder, start your app, and say:
Test the sign-up form at http://localhost:5173/signup
Requires Google Chrome, or run npx playwright install chromium.
The extension/ folder adds a ghost icon named KiroShadow to the Activity Bar with two views, Test Screenshots and Test Videos. Each lists the test runs (one folder per run, with a pass/fail summary) and the images or videos inside. Click an image to open it, click a video to play it, or use the run’s preview button to open report.html. The Open Live View button streams the headless browser while a test runs, and it opens by itself when a test starts.
cd extension && npx @vscode/vsce package --no-dependencies --skip-license -o ../kiroshadow.vsix
kiro --install-extension kiroshadow.vsix
Then reload the window. Test assets are git-ignored (.kiro/test-assets/); the rest of .kiro/ is tracked.
The extension works in every folder you open. The MCP server must be registered once for all projects, because the workspace config in this repo only applies here. Add this to your user-level MCP config (~/.kiro/settings/mcp.json) with the absolute path to this repo:
{ "mcpServers": { "kiroshadow": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/this-repo/dist/server.js"] } } }
Copy .kiro/steering/kiroshadow.md to ~/.kiro/steering/ so the agent knows when to use it. The agent passes projectDir, so each project’s recordings are saved in its own .kiro/test-assets/ and appear in the KiroShadow panel.
test_form: fill a form with valid, invalid and edge-case data.test_page: run scripted steps (click, type, expect text…) such as the tests Kiro writes.load_check: page load timing, splash screen and blank-page detection.visual_check: before/after look against a baseline on desktop, tablet and mobile.list_runs: list saved runs.compare_runs: compare two runs and show which cases were fixed or regressed.npm test runs property-based tests (fast-check) for the data generators. npm run e2e drives every tool through the MCP protocol against the demo app.
npm run demo-app # terminal 1: sample sign-up page with a planted bug
npm run demo # terminal 2: runs KiroShadow against it
The “edge” case (a name with emoji and non-ASCII letters) fails because of the planted bug, and the report shows the video, the screenshot and the JavaScript error.
kiroshadow server exposes test_form and list_runs..kiro/steering/kiroshadow.md tells the agent when to test and how to explain results to non-testers..kiro/hooks/retest-on-ui-change.json re-runs the form and visual checks when a UI file is saved..kiro/specs/kiroshadow/ holds requirements, design and tasks.License: MIT