generate-tests SKILL.md skillA
generate-tests from buildbetter-app/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add buildbetter-app/skills/generate-tests@git:20260604.6094087Pins git:20260604.6094087 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- buildbetter-app/skills
- Path
skills/testing/generate-tests/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260604.6094087, committed Jun 4, 2026
- First version recorded
- Apr 3, 2026
- Size
- 8,575 bytes
- Repository stars
- 24
- License
- a license file GitHub does not identify
Use when you want to generate reusable Playwright .spec.ts test files from the app-navigator's app map and playbooks.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Generate Tests
Generate reusable Playwright `.spec.ts` test files from your app-navigator map and playbooks.
**Core principle:** Mapped knowledge should produce executable tests. This skill reads what app-navigator discovered and writes a test suite that lives in your repo and runs with `npx playwright test`.
## When to Use
- After running `/app-navigator setup` and you want persistent, rerunnable tests
- When you need a baseline test suite for CI
- When trust-but-verify reveals gaps that should be codified as assertions
- When recommended by app-navigator or trust-but-verify
**Not for:** Backend/API tests, replacing hand-written integration tests, or one-shot verification (use trust-but-verify for that).
## Invocation
- `/generate-tests` — generates smoke-depth tests (default)
- `/generate-tests --depth functional` — smoke + interaction tests
- `/generate-tests --depth full` — functional + edge cases + responsive
## Process
```dot
digraph generate_tests {
"Phase 1:\nPrerequisites" [shape=box];
"Phase 2:\nGenerate Auth" [shape=box];
"Phase 3:\nGenerate Page Tests" [shape=box];
"Phase 4:\nValidate (optional)" [shape=box];
"Done" [shape=doublecircle];
…Read the whole file at its exact version.
How to install
mdr add buildbetter-app/skills/generate-tests@sha256:ff2bee537ee2203eThe line at the top of this page pins the label git:20260604.6094087, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_c5qg4eo6pbtxogwk)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Apr 3, 2026 and Jun 4, 2026, about one every 63 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260604.6094087 latest | 2026-06-04 | 6094087 | 8,575 B | A | view · diff |
| git:20260403.7a022e8 | 2026-04-03 | 7a022e8 | 7,990 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8575 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
buildbetter-app/skills · 24 stars · license a license file GitHub does not identify · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_c5qg4eo6pbtxogwk GET https://markdownregistry.com/api/v1/resolve?ref=buildbetter-app/skills/generate-tests GET https://markdownregistry.com/api/v1/blob/ff2bee537ee2203e46777174670ddad49b66c06c7aa02777ddc36cd06c7489ae
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from buildbetter-app/skills
Every file in buildbetter-app/skills