AI Test Generation
petrkindlmann/qa-skills
Use AI to write NEW test code from specs, PRDs, user stories, code diffs, bug reports, or OpenAPI specs.
A skill your agent uses when converting a spec, requirements document, or goal statement into a Definition of Done with acceptance criteria and integration test scenarios
$ npx skills add danshapiro/kilroy --skill build-dod -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install danshapiro/kilroy build-dod --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/danshapiro/kilroy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/build-dod .claude/skills/build-dod && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "build-dod" agent skill from https://github.com/danshapiro/kilroy/tree/main/skills/build-dod into .claude/skills/build-dod/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dod", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/danshapiro/kilroy/tree/main/skills/build-dodType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add danshapiro/kilroy --skill build-dod -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install danshapiro/kilroy build-dod --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/danshapiro/kilroy.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/build-dod .agents/skills/build-dod && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "build-dod" agent skill from https://github.com/danshapiro/kilroy/tree/main/skills/build-dod into .agents/skills/build-dod/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dod", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add danshapiro/kilroy --skill build-dod -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install danshapiro/kilroy build-dod --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/danshapiro/kilroy.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/build-dod .cursor/skills/build-dod && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "build-dod" agent skill from https://github.com/danshapiro/kilroy/tree/main/skills/build-dod into .cursor/skills/build-dod/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dod", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/danshapiro/kilroy.git --path skills/build-dod--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add danshapiro/kilroy --skill build-dod -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install danshapiro/kilroy build-dod --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/danshapiro/kilroy.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/build-dod .gemini/skills/build-dod && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "build-dod" agent skill from https://github.com/danshapiro/kilroy/tree/main/skills/build-dod into .gemini/skills/build-dod/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dod", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install danshapiro/kilroy build-dodInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add danshapiro/kilroy --skill build-dod -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/danshapiro/kilroy.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/build-dod .github/skills/build-dod && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "build-dod" agent skill from https://github.com/danshapiro/kilroy/tree/main/skills/build-dod into .github/skills/build-dod/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dod", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add danshapiro/kilroy --skill build-dod -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install danshapiro/kilroy build-dod --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/danshapiro/kilroy.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/build-dod .opencode/skills/build-dod && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "build-dod" agent skill from https://github.com/danshapiro/kilroy/tree/main/skills/build-dod into .opencode/skills/build-dod/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dod", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
build-dodA skill your agent uses when converting a spec, requirements document, or goal statement into a Definition of Done with acceptance criteria and integration test scenarios
Build Dod is an agent skill from danshapiro/kilroy. Use when converting a spec, requirements document, or goal statement into a Definition of Done with acceptance criteria and integration test scenarios
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Integration testing, User stories and PRD writing. The licence is MIT.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b55fb0f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Build Dod loads about 2.5k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 1,114 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from danshapiro/kilroy at commit b55fb0f, republished under its MIT licence (© danshapiro). 1,114 words, ~2,497 tokens.
.claude/skills/build-dod/SKILL.md (or your agent's skills folder).A DoD converts a spec into pass/fail gates. Its power is in integration tests — scenarios that prove the deliverable works by exercising it the way a user would.
Tests aren't there to be passed. They're there to prove results. Verify the deliverable through integration scenarios that exercise it end-to-end, not through unit tests that verify internals.
When this skill is used inside an Attractor run, scratch outputs should be written under .ai/runs/$KILROY_RUN_ID/.... Root .ai is not implicitly ingested.
Use the graph in two passes:
Each AC is a single, testable assertion using observable language: "exists", "returns", "displays", "produces", "exits 0".
Group by concern (e.g. Build, Output, Behavior, Integration). Number hierarchically: AC-1.1, AC-1.2, AC-2.1.
ACs describe what must be true. They are proven by integration test scenarios, not by individual unit tests.
Integration tests are the primary verification mechanism. Each scenario exercises the delivered artifact directly, proving multiple acceptance criteria simultaneously.
When a digraph exists, write scenarios around high-level intent coverage, not exhaustive graph traversal. Prefer:
Test the delivered artifact in its delivery form. At least one scenario must exercise the full delivery path:
If the deliverable is a browser app and no scenario loads it in a browser, the DoD is incomplete.
Validate every user-facing message. Help text, error messages, status displays, feedback strings, prompts, and warnings are promises to the user. Inventory all of them from the spec, then ensure each one is triggered and validated in at least one scenario:
This means all messages, not a sample. If the spec describes 20 distinct message surfaces, 20 must be tested.
When one artifact references another, verify both. A source file that references an output is evidence of intent; confirm the output itself is present and valid.
For each primary way the deliverable is used, write a scenario with:
Scenarios should cross multiple AC groups. A browser app scenario might cover loading, display, input, and state persistence in one flow.
Each scenario is self-contained — it sets up its own preconditions within the test rather than depending on externally pre-computed inputs or manual preparation.
Each scenario becomes a named automated test in the DoD, with test exits 0 as its verification.
For checks that require judgment, write a concrete semantic verification with:
Every DoD must define deterministic, reviewable test artifacts for each integration scenario.
.ai/runs/$KILROY_RUN_ID/test-evidence/latest/.ai/runs/$KILROY_RUN_ID/test-evidence/latest/IT-<id>/.ai/runs/$KILROY_RUN_ID/test-evidence/latest/manifest.jsonManifest entries must map each scenario ID to:
pass/fail)Example manifest shape:
{
"version": 1,
"scenarios": [
{
"id": "IT-1",
"status": "pass",
"artifacts": [
{ "type": "log", "path": ".ai/runs/$KILROY_RUN_ID/test-evidence/latest/IT-1/test.log" }
],
"notes": []
}
]
}Artifact requirements:
IT-* scenario must produce at least one artifact.surface=ui: visually rendered user interface is exercised.surface=non_ui: no visually rendered user interface is exercised.surface=mixed: both visual UI and non-UI interfaces are exercised.surface=ui or surface=mixed) must include screenshot artifacts (.png or .jpg) proving key states.surface=non_ui) must include text or structured evidence artifacts (for example logs, stdout captures, JSON reports).Framework policy:
Before finalizing each scenario, confirm:
.ai/runs/$KILROY_RUN_ID/test-evidence/latest/IT-<id>/After writing all ACs and integration scenarios, review:
Per scenario:
Per AC: 5. Confirm at least one scenario proves this AC 6. If no scenario covers an AC, add coverage or justify the gap
Overall:
7. Confirm at least one scenario tests the deliverable in its delivery form
8. Confirm every user-facing message from the inventory is triggered and validated by at least one scenario
9. Confirm the scenarios collectively cover every AC group
10. Confirm .ai/runs/$KILROY_RUN_ID/test-evidence/latest/manifest.json covers every scenario ID with at least one artifact path
11. If a digraph exists, confirm no required intent path is missing or unreachable
# [Project] — Definition of Done
## Scope
### In Scope
[What the deliverable covers]
### Out of Scope
[Explicit exclusions]
### Assumptions
[Prerequisites and environment]
## Deliverables
| Artifact | Location | Description |
|----------|----------|-------------|
| ... | ... | ... |
## Acceptance Criteria
### [Concern Area]
| ID | Criterion | Covered by |
|----|-----------|------------|
| AC-N.M | [Observable assertion] | IT-X, IT-Y |
## User-Facing Message Inventory
| ID | Message surface | Trigger condition | Covered by |
|----|----------------|-------------------|------------|
| MSG-N | [What the user sees] | [What causes it] | IT-X |
## Test Evidence Contract
| Item | Requirement |
|------|-------------|
| Evidence root | `.ai/runs/$KILROY_RUN_ID/test-evidence/latest/` |
| Scenario folder pattern | `.ai/runs/$KILROY_RUN_ID/test-evidence/latest/IT-<id>/` |
| Manifest | `.ai/runs/$KILROY_RUN_ID/test-evidence/latest/manifest.json` |
| UI scenarios (`surface=ui` or `surface=mixed`) | Include screenshot evidence proving key states |
| Non-UI scenarios (`surface=non_ui`) | Include text/structured evidence (log/stdout/json) |
| Failure behavior | Emit best-effort artifacts and manifest entry; record missing artifacts explicitly |
## Integration Test Scenarios
| ID | Scenario | Steps | Verification | Evidence Artifacts |
|----|----------|-------|--------------|--------------------|
| IT-N | [User journey name] | 1. [action] → [expected] 2. [action] → [expected] ... | `test command` exits 0 | `surface=<ui|non_ui|mixed>`; `[type:path, ...]` |© danshapiro, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/build-dod of danshapiro/kilroy.
Open the folder on GitHubat commit b55fb0f
Build Dod next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Build Dod this skilldanshapiro/kilroy | 221 | — | ~2.5k | Automated safety check: Pass | MIT | |
| AI Test Generationpetrkindlmann/qa-skills | 163 | — | ~4.8k | Automated safety check: Pass | MIT | |
| Prd V07 Test Planningmattgierhart/PRD-driven-context-engineering | 179 | — | ~3.5k | Automated safety check: Notes | MIT | |
| Req To TestArabelaTso/Skills-4-SE | 253 | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| Build Scenario Teststamdogood/builder-essential-skills | 218 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Feature ForgeJeffallan/claude-skills | 12k | — | ~1.1k | Automated safety check: Pass | MIT |
petrkindlmann/qa-skills
Use AI to write NEW test code from specs, PRDs, user stories, code diffs, bug reports, or OpenAPI specs.
mattgierhart/PRD-driven-context-engineering
Define test cases BEFORE implementation, ensuring every API, business rule, and user journey has verifiable acceptance criteria during PRD v0.7 Build Execution.
ArabelaTso/Skills-4-SE
Generates comprehensive test scenarios from requirements including BDD/Gherkin scenarios, unit tests, integration tests, and end-to-end test cases.
tamdogood/builder-essential-skills
Inspect an unfamiliar repository, turn a focused Markdown behavior scenario into a deterministic test in the repository's native test stack, run it, and preserve traceability between intent and code.
Jeffallan/claude-skills
Runs a structured requirements interview to produce a feature specification with EARS requirements, acceptance criteria and an implementation checklist.
ai-driven-dev/framework
Validate a reviewed candidate's observable behavior against its acceptance criteria and record short named videos as reviewer evidence.
danshapiro/kilroy
A skill your agent uses when authoring or repairing Kilroy run config YAML/JSON files, including DOT-to-provider backend alignment and runtime policy defaults.
danshapiro/kilroy
A skill your agent uses when preparing a Kilroy release — writing release notes, tagging, and publishing via goreleaser on GitHub.
danshapiro/kilroy
A skill your agent uses when authoring or repairing Kilroy Attractor DOT graphs from requirements, with template-first topology, routing guardrails, and validator-clean output.
danshapiro/kilroy
To diagnose active, stuck, or failed Kilroy Attractor runs, inspect run artifacts (manifest.json, live.json, checkpoint.json, final.json, progress.ndjson), resolve run IDs/log roots, identify…
danshapiro/kilroy
A skill your agent uses when bootstrapping a new project repository for Kilroy Attractor from a clean directory using existing spec, DoD, graph, and run config artifacts.
danshapiro/kilroy
Operate Kilroy Attractor pipelines end-to-end: ingest English requirements into DOT graphs, validate graph semantics, run and resume pipelines with run config files, configure provider backends…
Categories
A skill your agent uses when converting a spec, requirements document, or goal statement into a Definition of Done with acceptance criteria and integration test scenarios. Build Dod is an agent skill from danshapiro/kilroy.
Build Dod fits situations like: converting a spec; requirements document; goal statement into a Definition of Done with acceptance criteria and integration test scenarios.
Run `npx skills add danshapiro/kilroy --skill build-dod -a claude-code`. Or copy the skill folder (skills/build-dod in danshapiro/kilroy) into .claude/skills/build-dod in your project. Claude Code loads it when a task matches its description.
Run `npx skills add danshapiro/kilroy --skill build-dod -a codex`. Or copy the skill folder (skills/build-dod in danshapiro/kilroy) into .agents/skills/build-dod in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add danshapiro/kilroy --skill build-dod -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/build-dod, .gemini/skills/build-dod, .github/skills/build-dod and .opencode/skills/build-dod in your project.
SKILL.md names no scripts, command-line tools or credentials: Build Dod is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Build Dod is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Build Dod: AI Test Generation (petrkindlmann/qa-skills, 163 stars), Prd V07 Test Planning (mattgierhart/PRD-driven-context-engineering, 179 stars), Req To Test (ArabelaTso/Skills-4-SE, 253 stars) and Build Scenario Tests (tamdogood/builder-essential-skills, 218 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
danshapiro (a GitHub user) maintains it in danshapiro/kilroy, which has 221 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on April 27, 2026.
Source: danshapiro/kilroy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.