Agent skill
e2e-template
Template generator for E2E test definitions. Creates structured test files for use with test-e2e skill. Triggers on keywords: e2e template, test template, create test definition
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/e2e-template
SKILL.md
E2E Test: <Test Name>
User Story
As a I want to So that
Pre-Conditions
- Application is running at base URL
Test Steps
- Navigate to
<path> - Verify page title contains ""
- Screenshot "initial_state"
- Click ""
- Verify ""
- Type "" into ""
- Screenshot "after_action"
- Verify
Success Criteria
- Page loads without errors
- <specific criterion 1>
- <specific criterion 2>
- All screenshots captured successfully
Expected Output
{
"test_name": "<Test Name>",
"status": "passed",
"screenshots": [
"{PROJECT_ROOT}/outputs/e2e/<test-name>/01_initial_state.png",
"{PROJECT_ROOT}/outputs/e2e/<test-name>/02_after_action.png"
],
"error": null
}
Notes
- Video recording is explicit: use
playwright-cli video-startbefore andvideo-stopafter the test flow. Output saved to{PROJECT_ROOT}/outputs/e2e/ - Screenshots saved to
{PROJECT_ROOT}/outputs/e2e/<test-name>/ - Use descriptive screenshot names for clarity
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?