agentsclimarketplace

E2e validate

Skill krzemienski/validationforge/skills/e2e-validate

Start HERE when validating any project. Auto-detects your platform (iOS, React Native, Flutter, web, API, CLI, Django, fullstack) and runs the full pipeline: map user journeys, write PASS criteria, build the real system, capture evidence through real interfaces, diagnose failures, emit a verdict. Use whenever the user says 'validate', 'end-to-end test', 'does this actually work', or is unsure which validation skill to reach for.From its SKILL.md

Install
npx -y skills add krzemienski/validationforge --skill e2e-validate

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

11.9 KB, as published. Nobody here has run it

ValidationForge: End-to-End Validation Orchestrator

When to use this skill

Reach for e2e-validate when you need to run validation end-to-end and aren't sure where to start. It figures out the platform, chains the right platform-specific skill at each phase, and ties everything together with a single verdict.

Use a platform-specific skill instead (e.g., flutter-validation, api-validation, ios-validation) when you already know your platform and just need the validation protocol for it. e2e-validate will call those same skills under the hood during execution — they're the detailed playbooks, this skill is the conductor.

Scope

Handles: platform detection, journey mapping, PASS criteria definition, evidence capture and review, PASS/FAIL verdict writing, fix loops, and CI/CD report generation.

Does NOT handle: individual gate evidence examination (gate-validation-discipline), mock pattern detection (no-mocking-validation-gates), isolated plan generation (create-validation-plan).

Iron Rule

IF the real system doesn't work, FIX THE REAL SYSTEM. NEVER create mocks, stubs, test doubles, or test files. ALWAYS validate through the same interfaces real users experience. ALWAYS capture evidence. ALWAYS review evidence. ALWAYS write verdicts. Evidence you don't READ is evidence you don't HAVE.

See no-mocking-validation-gates for mock pattern detection and blocking rules.

Platform Detection

Scan project root. First match wins — priorities are ordered so mobile > CLI > server > browser, because the more specialized the runtime, the narrower the validation approach.

PrioritySignalsPlatformPrimary Tool
1.xcodeproj, .xcworkspace, Package.swiftiosxcrun simctl, Xcode MCP
2package.json with react-native dep, metro.config.js, app.jsonreact-nativeExpo CLI, Metro bundler, device/simulator
3pubspec.yaml, lib/main.dart, .dart filesflutterflutter run, flutter test, device/simulator
4Cargo.toml [[bin]], go.mod + main.go, package.json "bin"cliTerminal, exit codes
5Backend routes WITHOUT frontend templatesapicurl, httpie
6Frontend framework WITHOUT backend routeswebPlaywright, Chrome DevTools
7requirements.txt + (manage.py OR wsgi.py OR flask import)djangopython manage.py, pytest, curl
8Frontend AND backend in same projectfullstackAll tools, bottom-up
9None of the abovegenericAdaptive

When signals conflict

  • Next.js with API routes: both frontend and backend signals match. Treat as fullstack — the web UI and API tests both run, but from one codebase.
  • Django + React SPA: Django's manage.py matches priority 7, React matches priority 6. Django wins. Use django and validate the React frontend as part of the Django flow.
  • iOS app with a Node.js companion server in the same repo: iOS wins by priority. Spin up a separate validation run for the server with --platform api --scope ./server.
  • Next.js SPA, no backend: no API routes → web, not fullstack.
  • Monorepo with both a mobile app and a web app: run two separate validations, one per subpath, with --scope set accordingly.

If the auto-detected platform is wrong, override with --platform <type> and re-run.

Automated detection: bash scripts/detect-platform.sh --project-dir=. --json prints the resolved platform + signals in JSON. Use this when you want deterministic platform-gating in CI.

Auto-detection script: scripts/detect-platform.sh (in the plugin root).

Preflight Gate (MANDATORY — Iron Rule #4)

Before any workflow below executes, the preflight skill MUST run and its verdict MUST be CLEAR (or WARN with documented acceptance). This is not optional — CLAUDE.md Iron Rule #4 states: "NEVER skip preflight — if it fails, STOP."

  • --execute, --fix, --audit → invoke preflight first; abort on BLOCKED; continue on CLEAR/WARN.
  • --analyze, --plan, --report → these are read-only against source files; preflight is still recommended but non-blocking (the skill will emit a soft warning if prerequisites are missing so downstream phases can plan around them).
  • --ci → preflight runs as Step 1 of workflows/ci-mode.md; a BLOCKED verdict exits with code 2 (pipeline error).

The preflight step writes its report to e2e-evidence/preflight-report.md. Subsequent workflow phases must read that report before starting.

Command Routing

Start with no flag (full pipeline). Use the others when you need a specific phase in isolation.

FlagWhen to useEffectWorkflow
(none)Default — you want the whole thingFull pipeline: preflight → analyze → plan → approve → execute → reportworkflows/full-run.md
--preflightYou just want the gate (prereq check)Run preflight gate only; emit CLEAR/WARN/BLOCKED verdictpreflight skill
--analyzeJust want to know what platform/journeys existDiscovery only, no planning or executionworkflows/analyze.md
--planYou want to write/review PASS criteria before running anythingPlan only, no executionworkflows/plan.md
--executePlan already exists, run itPreflight gate + execute the planworkflows/execute.md
--fixPrevious run FAILED, want auto-recoveryPreflight gate + 3-strike failure recovery + re-validateworkflows/fix-and-revalidate.md
--auditPre-release review, don't change codePreflight gate + read-only severity classificationworkflows/audit.md
--reportNeed a saved report for stakeholdersGenerate/export report from last runworkflows/report.md
--ciRunning in CI/CD, no humans aroundNon-interactive, preflight-gated, no approval gates, exit codesworkflows/ci-mode.md

Modifiers: --platform <type> (override detection), --scope <path> (limit scope), --parallel (sub-agents), --verbose (inline evidence), --skip-preflight (emergency override; logs a warning — only when preflight itself is broken, never to bypass a legitimate BLOCKED verdict).

Validation Order

Always validate bottom-up: Data Layer → Backend API → Frontend Logic → UI/CLI.

Why bottom-up? Higher layers depend on lower ones. A broken database makes every API call fail; broken API endpoints make every UI flow fail. If you test the UI first, every failure looks like a UI bug even when the real cause is three layers down. Starting at the bottom isolates root cause cheaply — each layer is independently verifiable, and once a layer is green you trust it for the next one up.

What bottom-up looks like per platform:

  • fullstack: DB migrations → API endpoints (curl) → UI flows (Playwright)
  • mobile: deep-link routing → data fetching / storage → UI screens → user journeys
  • API: DB connectivity → health endpoint → auth → CRUD
  • CLI: argument parsing → core operation → output format → exit codes

Bottom-up doesn't always apply: a pure CLI with no persistence is basically one layer. Use judgment — the point is to find causes before symptoms, not to follow the order dogmatically.

Platform References

PlatformReferenceKey Commands
iosreferences/ios-validation.mdxcodebuild, simctl, idb, deep links
react-nativereferences/react-native-validation.mdExpo CLI, Metro bundler, device/simulator
flutterreferences/flutter-validation.mdflutter run, flutter test, widget inspector
webreferences/web-validation.mdPlaywright, Chrome DevTools, responsive
apireferences/api-validation.mdcurl, auth flows, error cases
clireferences/cli-validation.mdBuild, execute, exit codes
djangoreferences/django-validation.mdpython manage.py, pytest, curl
fullstackreferences/fullstack-validation.mdBottom-up: DB → API → Frontend
genericreferences/generic-validation.mdAdaptive entry point discovery

Workflow Files

WorkflowPhasePurpose
workflows/research.mdResearch (Phase 0)Standards gathering, validation criteria
workflows/analyze.mdDiscoveryPlatform detection, journey mapping
workflows/plan.mdPlanningPASS criteria, approval gate
workflows/execute.mdExecutionEvidence capture, review, verdicts
workflows/fix-and-revalidate.mdRepair3-strike protocol, re-validation
workflows/audit.mdAssessmentRead-only severity classification
workflows/report.mdReportingReport generation, export
workflows/full-run.mdFull PipelineEnd-to-end with approval gate
workflows/ci-mode.mdCI/CDNon-interactive, exit codes
workflows/ship.mdShip (Phase 6)Production readiness audit, deploy decision

Success Criteria

Validation is complete only when all applicable criteria are true. The first seven apply to every platform. The last two depend on what kind of evidence the platform produces.

#CriterionApplies to
1Platform detected and all user journeys identifiedall
2PASS criteria defined for every journey BEFORE executionall
3Real system built AND running (not just "no errors")all
4Every journey exercised through real interfacesall
5Evidence captured AND read (content described, not just "exists")all
6Evidence matched to criteria with PASS/FAIL verdicts writtenall
7Failures diagnosed with root cause analysisall (if any FAIL)
8Report saved to e2e-evidence/report.mdall
9Zero unreviewed evidence files in e2e-evidence/platforms that produce files (web, ios, mobile, fullstack); skip for pure CLI where stdout/exit code is the evidence

Rules

  1. Never skip platform detection — wrong platform = wrong validation approach
  2. Never execute without a plan — PASS criteria must exist before evidence capture
  3. Never claim PASS without cited evidence — see gate-validation-discipline
  4. Always validate bottom-up for fullstack projects

Security Policy

Evidence directories may contain screenshots of authenticated screens or API responses with tokens. Store in e2e-evidence/ (gitignored). Never commit evidence containing credentials or PII to public repositories.

Related Skills

Core skills used on every run (already loaded as critical priority):

  • functional-validation — the core protocol each workflow calls into
  • create-validation-plan — invoked during --plan
  • gate-validation-discipline — evidence verification during verdict writing
  • no-mocking-validation-gates — catches mock patterns during analysis
  • preflight — environment checks before execution
  • error-recovery — 3-strike recovery during --fix
  • verification-before-completion — pre-completion checklist

Loaded on demand when the workflow reaches their phase:

  • full-functional-audit — when --audit is set
  • baseline-quality-assessment — during analysis
  • condition-based-waiting — during execution, for flaky waits

Platform-specific skills are loaded at execute time based on detection. See the Platform References table above.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.