test-runner
Skill100 starsChanged 7 months agoMITView on GitHub
Execute the appropriate test suite (unit, Gherkin, e2e, smoke) and return structured results. Use during Phase 3 (e2e test verification), Phase 4 (red baseline verification), Phase 5 (contract type compilation), Phase 6 (API/Web/integration slices), Phase 7 (smoke tests against deployment), and on resume (re-validate test state). Trigger when running tests, checking test status, or verifying test baselines.
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Use aspire describe --format Json (or the Aspire MCP list_resources tool) to check resource status
- Very specific: line 24
If resources are not healthy, run aspire start + aspire wait api --status healthy + aspire wait web --status healthy
- Very specific: line 25
If resources show errors, use aspire logs <resource> (or list_console_logs) to diagnose
- Distinctive: line 52
When tests fail against the Aspire environment:
- Distinctive: line 64
Test runner itself fails (not assertions) → report as infrastructure failure
- Distinctive: line 67
Always capture both stdout and stderr
- Distinctive: line 79
BLOCKING: If the test runner itself fails (infrastructure failure, timeout, partial execution), this must be reported as "run incomplete" — …
“Common” is measured: kept by at least 6 in 10 of the 17 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
Test Runner
Execute tests and return structured results for the orchestrator.
Test Commands
| Type | Command |
| Unit (TypeScript) | cd src/api && npm test |
| Gherkin | npx cucumber-js |
| E2E | npx playwright test --config=e2e/playwright.config.ts |
| Smoke | npx playwright test --grep @smoke |
| All | npm run test:all |
Steps
- Verify Aspire environment (for Gherkin/e2e/smoke/all) — Before running integration tests, ensure the Aspire environment is running:
- Use
aspire describe --format Json(or the Aspire MCPlist_resourcestool) to check resource status - If resources are not healthy, run
aspire start+aspire wait api --status healthy+aspire wait web --status healthy - If resources show errors, use
aspire logs <resource>(orlist_console_logs) to diagnose
- Use
- Determine test type — Select the test suite based on current phase and task
- Run tests — Execute the command, capture stdout and stderr
- Parse results — Extract pass/fail counts, failure details, and test names
- Detect flaky tests — If a test failed, re-run it once; if it passes on retry, flag as flaky
- Diagnose failures with Aspire MCP — On test failure, use Aspire observability:
list_console_logsfor resource stdout/stderr around failure timelist_structured_logsfor OpenTelemetry log entrieslist_tracesto find the failing request's distributed tracelist_trace_structured_logswith the trace ID for full request lifecycle
- Structure output — Format results for the orchestrator
Output Format
Type: unit | gherkin | e2e | smoke | all
Pass: <count>
Fail: <count>
Flaky: <count>
Verdict: GREEN | RED | FLAKY
Failed tests:
- <test name>: <error message>Aspire MCP Debugging Workflow
When tests fail against the Aspire environment:
1. list_resources → Are all resources Running + Healthy?
2. list_console_logs(resource) → Any errors in stdout/stderr?
3. list_traces(resource) → Find the trace for the failing request
4. list_trace_structured_logs → Full trace lifecycle with all spans
5. execute_resource_command → Restart a resource if stuckEdge Cases
- Test runner itself fails (not assertions) → report as infrastructure failure
- Aspire resources unhealthy → restart via
aspire start(auto-stops previous) - Tests exceed 5 minutes → check for hung processes
- Always capture both stdout and stderr
Mandatory Completion Checklist
The orchestrator MUST verify ALL of the following before marking test-runner as complete:
- All test suites were executed (unit, integration, e2e, Cucumber) — none skipped
- Results include: total tests, passed, failed, skipped counts per suite
- Any failures include file path, test name, and error message
- Aspire environment was healthy during test execution (resources Running + Healthy)
- If any tests failed, the failure is reported as a blocking issue — not silently ignored
BLOCKING: If the test runner itself fails (infrastructure failure, timeout, partial execution), this must be reported as "run incomplete" — not as "all tests passed".
Other versions19 projects use a version of this.
Word for word · 1
- crgarcia12/Liliput★ 4100% same
Edited · 0
None found.
Wrote their own version · 18
- openreview/openreview-py★ 273same name
- claude-world/director-mode-lite★ 80same name
- Kanevry/session-orchestrator★ 53same name
- amanning3390/hermeshub★ 48same name
- zircote/subcog★ 28same name
- Azure/sap-automation-qa★ 14same name
- leszekgruchala/buddy★ 6same name
- AskExe/exe-build-skills★ 4same name
- d-o-hub/github-template-ai-agents★ 2same name
- DonTizi/CodeGeass★ 2same name
8 more not listed
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.
Used alongsideProjects with it also use code-reviewer, security-audit and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkillcode-reviewer
Also in 3 projects that use this
CloudflareSkillsecurity-audit
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- adrSkill
- api-extractorSkill
- architecture-mapperSkill
- aspireSkill
- audit-logSkill
- azure-deploymentSkill
- bug-fixSkill
- build-checkSkill
- cloud-native-assessmentSkill
- cloud-native-plannerSkill
- codebase-scannerSkill
- commit-protocolSkill
- contract-generationSkill
- data-model-extractorSkill
- ddd-modelingSkill
- dependency-inventorySkill
- deploy-diagnosticsSkill
- e2e-generationSkill
- error-handlingSkill
- extension-plannerSkill
- find-skillsSkill
- frd-generatorSkill
- gherkin-generationSkill
- human-gateSkill
- implementationSkill
- modernization-assessmentSkill
- modernization-plannerSkill
- performance-assessmentSkill
- playwright-cliSkill
- prd-generatorSkill
- research-best-practicesSkill
- resumeSkill
- rewrite-assessmentSkill
- rewrite-plannerSkill
- security-assessmentSkill
- security-plannerSkill
- skill-creatorSkill
- skill-discoverySkill
- spec-refinementSkill
- spec-validatorSkill
- state-managementSkill
- tech-stack-resolutionSkill
- test-discoverySkill
- test-generationSkill
- ui-ux-designSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

