dev-testing
Skill1 starsChanged 4 months agoMITView on GitHub
Run a full-stack feature against the real running app during development — start the service, send one request or drive one browser task, then read the HTTP response, the server log, and the database delta together as a single verdict. Use after implementing a vertical slice (endpoint, form, flow), when reproducing a reported bug, or whenever a layer is about to be declared working without the app having actually run.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- google/capsemtheir own version, first seen Sep 18, 2026
- codeaholicguy/ai-devkittheir own version, first seen Sep 14, 2026
- spec2ship/spec2shiptheir own version, first seen Jan 13, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- codeaholicguy/ai-devkit★ 1.6ksame name
- google/capsem★ 79same name
- spec2ship/spec2ship★ 32same 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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- agent-flowSkill
- dry-and-corSkill
- electronSkill
- firebaseSkill
- flutterSkill
- google-authSkill
- html-cssSkill
- mysqlSkill
- nodejsSkill
- postgresSkill
- reactSkill
- sqliteSkill
- stack-briefingSkill
- supabaseSkill
- tailwindSkill
- tursoSkill
- typescriptSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 12 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Run this after each vertical slice, not once at the end.
- Distinctive: line 29
Snapshot the database: before the request: the row count, or the specific rows the endpoint should touch.
- Distinctive: line 59
Stop on either outcome: the task completed, or an uncaught console error appeared.
- Distinctive: line 73
If no browser automation is available in this environment, say so and probe the endpoints the flow calls instead — then report frontend …
- Distinctive: line 92
Always tear the service down, including after a failed probe.
- Distinctive: line 96
If startup itself fails, that is the finding.
- Distinctive: line 114
Don't infer a pass from the diff.
- Distinctive: line 116
Don't report a 2xx as a pass without having looked at the log and the stored state.
- Distinctive: line 118
Don't batch many requests into one probe — a mixed log and a mixed delta can't be attributed to any single call.
- Distinctive: line 120
Don't wait for startup with a fixed sleep when the log announces readiness.
- Distinctive: line 122
Don't leave a dev server or database container running after the probe.
- Distinctive: line 123
Don't quietly downgrade a browser task to an endpoint check and still call the flow verified — name the substitution.
“Common” is measured: kept by at least 6 in 10 of the 3 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
Development-oriented testing
Testing as a step inside development, not a phase after it. The failure
this exists to catch: a change that looks correct in the diff, returns
200 OK, renders without visible complaint — and silently persisted
nothing, or logged an unhandled rejection the browser swallowed.
A single signal is not a verdict. Response, log, and stored state are read together, because the interesting full-stack bugs live precisely in the gap between them.
Run this after each vertical slice, not once at the end. A slice tested while it's the only thing that changed localizes its own failure; five slices tested together do not.
Backend probe — one request, three signals
Per endpoint touched:
- Clear the ports. Kill whatever is still listening on the ports the service needs. A stale process from an earlier run answering the probe is the single most misleading result available — you test the old build and conclude the new one works.
- Snapshot the database before the request: the row count, or the specific rows the endpoint should touch.
- Start the service with output captured to a log file, and wait for
readiness by polling the log for its actual ready line — not a fixed
sleep, which is either flaky or slow and usually both. - Send exactly one request — method, URL, headers, body — so the log lines and the database delta belong unambiguously to it.
- Read all three signals, then tear the service down.
Verdict rules:
- A 2xx with no corresponding row change, on an endpoint whose job is to write, is a FAIL — report it as such rather than as a pass.
- A clean response with a stack trace, unhandled rejection, or ORM warning in the log is a FAIL; the error was caught and swallowed somewhere, which is a bug even when this request happened to survive it.
- A 4xx/5xx is only a pass when the probe was deliberately testing the rejection path — say which it was.
- Cover the failure paths too: missing required field, unauthenticated, wrong-owner. An endpoint probed only on its happy path is half-probed.
Frontend probe — a user task, not a URL fetch
- Clear the ports, snapshot the database, start the dev server, wait for its ready line.
- Drive a browser-level task stated the way a user would describe it — "register a new account, then sign in with it and open the dashboard" — navigating from the landing page rather than deep-linking straight to the route under test. Deep-linking skips exactly the navigation, guard, and auth-state wiring that most often breaks.
- Stop on either outcome: the task completed, or an uncaught console error appeared.
- Collect: what the page actually showed at the end, every console error and failed network request, and the database delta.
Verdict rules:
- An uncaught console error is a FAIL even when the page looks correct — the render that succeeded here is the render that breaks on the next state change.
- A completed UI flow with no matching database write is a FAIL — the form submitted into a void.
- A 4xx/5xx in the network panel is a FAIL even when the UI hides it behind a spinner or an empty state.
- If no browser automation is available in this environment, say so and probe the endpoints the flow calls instead — then report frontend coverage as unverified rather than implying the flow was exercised.
Database delta
Snapshot before, compare after. What to check, in order of how often it catches something real:
- Row count changed by exactly the expected amount — catches both the silent no-op and the accidental duplicate insert.
- The written row's values are what was sent — catches truncation, timezone shifts, and silent type coercion.
- Related tables: the join row, the foreign key, the audit entry.
- Nothing was written that shouldn't have been — a partial write left behind by a failed request that should have rolled back.
Environment hygiene
- Always tear the service down, including after a failed probe. A probe that leaves a listener behind poisons the next one.
- Probe against a development or test database, never a shared or production one — these probes write.
- If startup itself fails, that is the finding. Report the startup log; do not retry with a different command until something happens to boot.
Report format
PROBE: <endpoint + method | browser task, in one line>
SETUP: <start command, ports, database probed against>
REQUEST/ACTIONS: <the single request, or the user-level steps driven>
HTTP RESPONSE: <status + body, or "n/a — frontend probe">
CONSOLE/SERVER LOG: <errors and warnings, or "clean">
DATABASE DELTA: <rows added/changed/removed vs. the before-snapshot, or "none — and whether that's expected">
VERDICT: PASS | FAIL — <which signal decided it>
NOT COVERED: <paths this probe didn't exercise, stated plainly — or "none">What not to do
- Don't infer a pass from the diff. Nothing here is satisfied by reading code; the app runs or the probe didn't happen.
- Don't report a 2xx as a pass without having looked at the log and the stored state.
- Don't batch many requests into one probe — a mixed log and a mixed delta can't be attributed to any single call.
- Don't wait for startup with a fixed sleep when the log announces readiness.
- Don't leave a dev server or database container running after the probe.
- Don't quietly downgrade a browser task to an endpoint check and still call the flow verified — name the substitution.
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.

