Claude-skill-registry e2e-validator
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/e2e-validator" ~/.claude/skills/majiayu000-claude-skill-registry-e2e-validator && rm -rf "$T"
manifest:
skills/data/e2e-validator/SKILL.mdsource content
E2E Validator Skill
Activation Method
This skill activates when the hook system injects the codeword:
[ACTIVATE:E2E_VALIDATOR_V1]
This occurs when:
- Phase 9 integration tests pass
- Task #25 (E2E testing) is active
- Preparing for production validation
Worktree Isolation Requirements
CRITICAL: This skill MUST operate in a dedicated worktree
phase-10-task-1:
# Before skill activation: ./lib/worktree-manager.sh create 5 1 cd ./worktrees/phase-10-task-1 # Validate isolation: ./hooks/worktree-enforcer.sh enforce # E2E validation with isolation
E2E Testing Isolation
- Clean E2E environment: E2E tests run in completely isolated workspace
- Workflow isolation: Each user journey tested without interference
- Production readiness assessment: Scoring done in isolation from other activities
- Browser test isolation: Cross-browser validation isolated per environment
- Decision isolation: Go/No-Go decision based on isolated test results
What This Skill Does
Automates Phase 5: End-to-end & production validation in isolated worktree
- E2E workflow testing (Task 25) in isolated environment
- Production readiness scoring (Task 26) with clean assessment
- Cross-browser validation without test contamination
- Mobile viewport testing in dedicated workspace
- Go/No-Go decision based on isolated validation results
- NEW: Worktree isolation ensures clean E2E testing environment
- NEW: Production validation free from development artifacts
Execution Flow
Stage 1: E2E Workflow Analysis - Extract user journeys from PRD - Analyze existing E2E tests - Calculate coverage gaps Stage 2: Create Missing E2E Tests - Happy paths - Error scenarios - Cross-browser - Mobile viewports Stage 3: Production Readiness Scoring - Testing (30%) - Security (25%) - Ops (20%) - Docs (15%) - Stakeholders (10%) Stage 4: Go/No-Go Decision - Score ≥90% → GO - Score <90% → NO-GO + remediation plan Stage 5: Generate Report & Signal
E2E Test Coverage
Per workflow:
- ✅ Happy path
- ✅ Error scenarios
- ✅ Edge cases
- ✅ Chrome, Firefox, Safari
- ✅ iOS & Android viewports
Production Readiness Gates
| Category | Weight | Gates |
|---|---|---|
| Testing | 30% | Unit, integration, E2E, regression |
| Security | 25% | Scans, vulnerabilities, review |
| Operations | 20% | Monitoring, alerts, rollback |
| Documentation | 15% | API docs, runbook, architecture |
| Stakeholders | 10% | QA, Product, Security, Ops |
Threshold: ≥90% required for GO
Time Estimates
| Workflows | Time |
|---|---|
| 1-3 | 2-3 hours |
| 4-6 | 4-6 hours |
| 7-10 | 7-10 hours |
Completion Signal
{ "phase": 5, "status": "success", "summary": { "e2e_workflows": N, "e2e_coverage": 100, "production_score": 92, "decision": "GO" }, "next_phase": 6, "trigger_next": true }
Output Files
tests/e2e/ ├── [workflow].e2e.test.js └── ... .taskmaster/ ├── PHASE5_COMPLETION_REPORT.md └── .signals/phase10-complete.json
CRITICAL: Automatic Phase Transition
DO NOT ASK THE USER FOR PERMISSION TO PROCEED TO PHASE 6.
When Phase 10 is complete (E2E tests passing, production readiness score ≥90%), you MUST:
-
Output the completion signal:
✅ PHASE 5 COMPLETE [SIGNAL:PHASE10_COMPLETE] -
IMMEDIATELY proceed to Phase 11 by outputting:
[ACTIVATE:DEPLOYMENT_ORCHESTRATOR_V1] -
Begin deployment orchestration without waiting for user input.
The pipeline is fully autonomous. Do not ask "Would you like to proceed?" - just proceed.
See Also
- Pipeline Orchestrator (triggers this)
- Integration Validator (Phase 4, provides input)
- Deployment Orchestrator (Phase 11, triggered by signal)