gui-testbook-authoring
Skill2 starsChanged 4 months agoMITView on GitHub
Converts approved GUI requirements and redacted test context into a reviewable Playwright testbook with preconditions, deterministic assertions, and explicit safety gates.
In this repository67 other files it gives its agents.
- acceptance-criteria-testabilitySkill
- api-test-validationSkill
- architecture-decision-recordSkill
- architecture-drift-detectionSkill
- architecture-guard-detectorSkill
- architecture-riskSkill
- business-continuity-checkSkill
- changed-files-risk-classifierSkill
- change-impact-previewSkill
- concurrency-riskSkill
- contributor-pattern-analysisSkill
- cross-service-contractSkill
- database-driftSkill
- database-read-verificationSkill
- delivery-risk-radarSkill
- dependency-security-evidenceSkill
- developer-decision-reviewSkill
- developer-handoffSkill
- developer-readiness-checkSkill
- development-summarySkill
- epic-goal-extractionSkill
- epic-implementation-graphSkill
- epic-story-partitioningSkill
- epic-structure-analysisSkill
- flaky-failure-classificationSkill
- green-border-planSkill
- gui-testbook-learningSkill
- gui-test-context-discoverySkill
- gui-test-executionSkill
- incident-risk-forecastSkill
- java-performance-smellSkill
- java-targeted-build-verificationSkill
- jira-acceptance-criteria-normalizerSkill
- jira-release-state-evidenceSkill
- knowledge-transfer-briefSkill
- known-pitfalls-extractionSkill
- legacy-characterizationSkill
- liquibase-production-riskSkill
- liquibase-syntaxSkill
- mana-governance-regression-verificationSkill
- mana-usage-helpSkill
- non-functional-requirements-reviewSkill
- null-safety-riskSkill
- post-merge-incident-learningSkill
- pre-review-defectSkill
- production-premortemSkill
- profile-selectorSkill
- regression-selectionSkill
- release-impact-summarySkill
- review-load-balancingSkill
- rollback-safetySkill
- rule-update-suggestionSkill
- service-boundary-fitSkill
- service-knowledge-captureSkill
- shell-syntax-verificationSkill
- sonar-change-riskSkill
- sonar-evidence-triageSkill
- source-impact-mapSkill
- story-effort-estimationSkill
- story-qualitySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Create a reviewable catalog and implementation plan for deterministic browser tests.
- Distinctive: line 42
Use after GUI context discovery and before an owner approves executable Playwright scenarios.
- Distinctive: line 46
Use the redacted context inventory and acceptance criteria.
- Distinctive: line 56
Do not place URLs, secrets, PANs, tokens, or customer data in the catalog.
- Distinctive: line 58
Do not author tests that can use production, create irreversible external data, or charge a real payment instrument.
- Very specific: line 63
Use templates/gui-testbook.template.yaml.
- Very specific: line 72
Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output Standard).
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GUI Testbook Authoring
Purpose
Create a reviewable catalog and implementation plan for deterministic browser tests. The testbook specifies what may run; Playwright code specifies how.
When To Use It
Use after GUI context discovery and before an owner approves executable Playwright scenarios.
Workflow
- Use the redacted context inventory and acceptance criteria.
- Define one scenario per catalog entry: role, preconditions, test-data references, ordered actions, deterministic assertions, cleanup, and expected artifacts.
- Map the scenario to a Playwright spec and config with trace, screenshot, and video enabled. Use locators and semantic assertions, not LLM visual guesses.
- Set every proposed entry to
approved: falseandneeds_environmentuntil its environment, data reset, and owner approval are verified.
Rules
- Do not place URLs, secrets, PANs, tokens, or customer data in the catalog.
- Reference secrets only through an environment variable name or vault key.
- Do not author tests that can use production, create irreversible external data, or charge a real payment instrument.
- Testbook learning may propose a diff; it never self-approves an entry.
Outputs
Use templates/gui-testbook.template.yaml. Emit an implementation plan and
the approval questions separately from the executable catalog.
Decision Rules
blocked: target isolation, test-only data, or required reset evidence is absent.warning: an assertion is visual-only, unstable, or lacks a deterministic locator.info: a proposed entry is complete but remains unapproved.
Output Standard
Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output
Standard). Use compact caveman mode and a context budget: retain scenarios,
references, approval gates, and gaps, not documentation transcripts or secrets.
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.

