regression-testing
Skill10 starsChanged 2 months agoApache-2.0View on GitHub
Record, replay, sequence and export deterministic command workflows, then verify the platform itself with the vitest unit suite and the real-stdio operational acceptance suite and its capability matrix.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- upex-galaxy/agentic-qa-boilerplatetheir own version, first seen Nov 7, 2026
- proffesor-for-testing/agentic-qetheir own version, first seen Oct 25, 2026
- fishzjp/qa-skillstheir own version, first seen Oct 21, 2026
- mejbaurbahar/software-tester-skillstheir own version, first seen Oct 13, 2026
- SoftBlack42/StarPietheir own version, first seen Oct 9, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- SoftBlack42/StarPie★ 1.3ksame name
- proffesor-for-testing/agentic-qe★ 524same name
- fishzjp/qa-skills★ 62same name
- nahid-sparktales/agent-dispatcher★ 59same name
- upex-galaxy/agentic-qa-boilerplate★ 26same name
- mejbaurbahar/fagun★ 1same name
- mejbaurbahar/software-tester-skills★ 1same name
- Victoriakaey/build-reliable-agents★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- browser-forensicsSkill
- browser-interactionSkill
- browser-state-recoverySkill
- dom-inspectionSkill
- dom-mutationSkill
- dom-targetingSkill
- extension-troubleshootingSkill
- human-like-interactionSkill
- mcp-troubleshootingSkill
- page-annotationSkill
- project-captureSkill
- project-reconstructionSkill
- selector-recoverySkill
- tab-managementSkill
- viewport-testingSkill
- visual-dom-comparisonSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
After changing platform code or adding a tool, before calling the build done.
- Very specific: line 33
Read the capability matrix (operational-tests/_inventory/tool-matrix.json, _reports/capability-matrix.md): per tool — category, execution …
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Regression Testing
PURPOSE
Catch regressions at two levels: (1) against a page — record real workflows once, replay them deterministically, and detect drift; (2) against the platform — run the project's unit tests and the operational stdio suite that certifies every tool over real JSON-RPC.
WHEN TO USE
- Reproducing an intermittent page bug by replaying the exact command sequence.
- Verifying a fix didn't break the flow that used to work (record before, replay after).
- Handing a reproduction to another agent/session (export → import → replay).
- After changing platform code or adding a tool, before calling the build done.
PREREQUISITES
- MCP server running; target page reachable (extension) or Node simulation — replays in simulation are marked
simulated: trueand exercise dispatch, not the real page. - For platform suites:
npm installandnpm run builddone;npm run test:unitneeds vitest,npm run test:operationalrunsscripts/run-operational-suite.js.
WORKFLOW
record_commands_start {name, description?, tags?}— recording mode ON for every subsequent tool call (arguments and outcomes captured with the flow).- Drive the workflow exactly as a user would (browser-interaction + dom-inspection skills). Recording adds the capture, not extra steps.
record_commands_stop {}— persists the CommandRecording to storage (.mcpdom_recordings); also saved into a project'scommands/when a project is bound.- Inspect before replaying — replays execute the recorded side effects:
list_command_recordings {}→get_command_recording {recordingId}shows every command with args and recorded outcomes. replay_command_recording {recordingId, stopOnError?}— re-executes each recorded tool call in order with deterministic arguments. DefaultstopOnError: truehalts at the first failure.- For ad-hoc sequences use
execute_command_sequence {steps, stopOnError?}— steps are{commandId?, tool, args?, stopOnError?, continueOnError?, condition: {previousStepSucceeded}}. Conditional steps that don't meet their condition are recorded as SKIPPED with the reason; steps after a stop-on-error are SKIPPED ("sequence stopped on error"). - Portability:
export_command_recording {recordingId, outputPath?}emits portable JSON with a schema version;import_command_recording {recordingJson}restores it on another machine;delete_command_recordingcleans up (irreversible). - Platform verification:
npm run test:unit— vitest suite (core engines: mutation, picker, diff, targeting, session model, MCP server…).npm run test:operational— the operational acceptance suite: real stdio JSON-RPC againstbin/mcp-server.js, dynamic tool discovery, per-tool request/response fixtures underoperational-tests/tools/, scenario runs, and reports written tooperational-tests/_reports/(baseline-report.json, operational-test-report.{json,md}, capability-matrix.md, certification.md).- Read the capability matrix (
operational-tests/_inventory/tool-matrix.json,_reports/capability-matrix.md): per tool — category, execution mode, requiresBrowser, requiresRecording, requiresSelection, requiresSession, visualEvidenceExpected — so you know which tools can be regression-tested in which context.
- Judge replay results: same statuses/durations as recorded (modulo timing) = no regression; a first-failure at step N localizes the regression precisely.
TOOLS
record_commands_start, record_commands_stop, list_command_recordings, get_command_recording, replay_command_recording, execute_command_sequence, export_command_recording, import_command_recording, delete_command_recording, get_operation_trace
EXAMPLES
tools/call record_commands_start { "name": "checkout-flow", "tags": ["smoke", "checkout"] }
tools/call record_commands_stop {}
tools/call replay_command_recording { "recordingId": "rec_abc123", "stopOnError": true }
tools/call execute_command_sequence { "steps": [ { "tool": "wait_for_condition", "args": { "kind": "dom_stable" } }, { "tool": "click_element", "args": { "selector": "#buy" }, "condition": { "previousStepSucceeded": true } } ] }
tools/call export_command_recording { "recordingId": "rec_abc123", "outputPath": "./checkout-flow.json" }FAILURE MODES
- Replay fails at an interaction step — the page drifted since recording (selectors stale). Run the browser-state-recovery workflow, re-record, or make the recording more resilient (targets instead of bare selectors, waits between steps).
- stopOnError halted mid-replay — intended behavior: the CommandSequenceResult shows the failing step and SKIPPED remainder; fix or re-record from that point.
- Recorded side effects re-applied dangerously — replays are not dry-runs: destructive tools (mutate_dom, close_tab, delete_*) replay for real. Review
get_command_recordingfirst, and replay on disposable state. - Operational suite red after your changes — check the per-tool fixtures (
operational-tests/tools/<tool>/) for the exact request/response contract that broke; the report names the failing tool. - Unit tests pass but live tools misbehave — unit suites run in JSDOM simulation; run the operational suite and/or a live extension session for end-to-end truth.
VALIDATION
- A healthy recording has a command per intended action with SUCCESS outcomes; gaps mean calls bypassed the recorder.
replay_command_recordingreturns a per-command record (status, durationMs, resultSummary, error) — compare against the recorded outcomes.npm run test:unitexits 0;npm run test:operationalwrites fresh_reports/with an updated capability matrix and certification status.
RECOVERY
- Flaky replay: insert
wait_for_conditionsteps (recordings capture them like any tool) and re-record. - Corrupt/foreign recording JSON: import validation fails before execution — nothing runs; re-export from the source session.
- Capability mismatch (tool needs a browser you don't have): consult the capability matrix and test that tool via the operational fixtures or the Node simulation path instead of forcing a live replay.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

