Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/rinkucool007-e2e
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/e2e
What's inside
- Skill name
e2e- Description
- Main orchestrator for end-to-end Playwright test creation. Runs the full reasoning lifecycle (UNDERSTAND → PLAN → EXPLORE → GENERATE → EXECUTE → HEAL → REVIEW → REPORT) by delegating to the pw-planner, pw-explorer, pw-generator, pw-executor, pw-healer and pw-reviewer subagents. Use this whenever the user wants Playwright tests written, automated, or "end to end" coverage for a URL, feature, user story, requirement doc or Jira-style ticket — even if they don't say "orchestrator" or "lifecycle".
- License
- MIT
- Instructions
- 86 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Playwright Autopilot — Orchestrator
You are the **main agent**. You own the lifecycle, the state, and every decision to move forward or loop back. Subagents do focused work and return JSON handoffs; you validate those handoffs before advancing. Subagents cannot spawn other subagents, so all delegation happens from here.
Goal from the user: **$ARGUMENTS**
## Phase map
| Phase | Owner | Exit gate |
|---|---|---|
| UNDERSTAND | you | goal, target URL/env, auth needs, and scope are known |
| PLAN | `pw-planner` | `plan.md` exists with ≥1 P0 scenario, no blocking questions |
| EXPLORE | `pw-explorer` (parallel per page) | every element needed by P0 scenarios is `verified:true` |
| GENERATE | `pw-generator` | `playwright test --list` succeeds, traceability complete |
| EXECUTE | `pw-executor` | results classified |
| HEAL | `pw-healer` | fixes verified, or budget exhausted, or only APP_BUG/ENVIRONMENT left |
| REVIEW | `pw-reviewer` | verdict `approved` |
| REPORT | you | summary delivered |
Legal loops: `EXPLORE→PLAN`, `EXECUTE→HEAL→EXECUTE`, `HEAL→EXPLORE` (stale locators), `REVIEW→GENERATE` (max 2 times). `pw-state` enforces transitions and the heal budget (default 3, env `PW_AUTOPILOT_MAX_HEAL`).
## Reasoning record (required at every phase exit)
Before each `pw-state advance`, log what you concluded:
```bash
pw-state reason <PHASE> '{"observation":"...","hypothesis":"...","decision":"...","confidence":0.8,"evidence":"..."}'
```
Keep entries short and factual. This log (`.pw-autopilot/runs/<id>/reasoning.md`) is the audit trail users read afterwards.
## Procedure
### 0. Bootstrap
```bash
pw-detect
RUN=$(pw-state init "$ARGUMENTS") && pw-state dir
```
If `playwrightInstalled` is false, follow the **setup** skill first (ask before installing packages in an existing repo).
### 1. UNDERSTAND (you)
Resolve, in this order, from the goal, repo, and `pw-detect`: target URL / baseURL, environment, auth method and which env vars hold credentials, scope (feature vs. full journey), browsers. Ask the user **one** concise question only if something blocking is missing; otherwise state assumptions and continue. Then `pw-state advance PLAN`.
### 2. PLAN → `pw-planner`
Delegate with: goal, requirement text/paths, runDir, pw-detect output. Validate handoff: `status:"ok"`, `p0 ≥ 1`. If `needs_input`, ask the user, then re-delegate. Show the user the scenario table briefly for large plans (>10 scenarios) and proceed unless they object.
Advance to `EXPLORE` if there is a reachable app; otherwise `GENERATE` (spec-only mode — generator will flag every locator as unverified).
### 3. EXPLORE → `pw-explorer` (fan out)
Split `pagesToExplore` into independent groups and launch **multiple pw-explorer subagents in parallel** (one per page or flow, max 4). Give each: URLs, the scenarios touching them, env var names for credentials, runDir. Merge results. If exploration reveals the plan is wrong (feature missing, different flow) → `pw-state advance PLAN` and re-plan with the new facts.
### 4. GENERATE → `pw-generator`
Delegate with plan path, pagemap dir, pw-detect output, runDir. Validate: `testsListed > 0`, every P0 ID in `traceability`. For big suites you may split by feature across parallel generators, but give each a disjoint file set and have one of them own `fixtures.ts` / shared page objects.
### 5. EXECUTE → `pw-executor`
Delegate with the generated files. Branch:
- `green` → REVIEW
- `red` → HEAL
- `env_error` → stop, report the environment issue to the user (don't burn heal budget).
### 6. HEAL → `pw-healer`
```bash
pw-state heal-attempt || echo "BUDGET_EXHAUSTED"
```
If budget is exhausted, go to REVIEW with remaining failures recorded. Otherwise delegate failures. Branch on handoff:
- `needsExplore` non-empty → `pw-state advance EXPLORE`, re-explore only those elements, then GENERATE/EXECUTE again.
- `healed`/`partial` → `pw-state advance EXECUTE`.
- only `appBugs` left → mark them `test.fail()` **only if the user agrees**, otherwise leave failing, and advance to REVIEW.
### 7. REVIEW → `pw-reviewer`
`approved` → REPORT. `changes_requested` → `pw-state advance GENERATE` and send the `requiredChanges` list to `pw-generator` (max 2 review loops, then report remaining items).
### 8. REPORT (you)
Write `<runDir>/report.md` and reply to the user with:
- Result line: `✅ 12 passed · ❌ 1 app bug · ⚠️ 0 flaky` + review score
- Files created/changed
- Scenario → test traceability (compact table)
- App bugs found (expected vs actual)
- How to run: `npx playwright test --grep @smoke`, `npx playwright show-report`
- Suggested next steps (CI via the **ci** skill, more browsers, API seeding)
Then `pw-state advance DONE`.
## Operating principles
- **Evidence over assumption**: never accept a handoff without checking the artifact exists (`ls`, `Read`).
- **Smallest loop first**: re-run one test, not the suite, while healing.
- **Respect the repo**: match existing conventions; never rewrite unrelated tests.
- **Stay honest**: a real application bug is a successful finding, not a test to hide.
- **Keep the user informed** with one-line phase updates (`▶ PLAN: 9 scenarios, 4 P0`), not walls of text.From rinkucool007/playwright-autopilot, MIT.
More from rinkucool007/playwright-autopilot
- 0.565score
api-testing
rinkucool007
Write Playwright API tests and hybrid UI+API tests using the request fixture — REST/GraphQL calls, schema checks, auth tokens, network mocking with…
SkillAFreshness: AClaude Code +9 - 0.565score
locators
rinkucool007
Reference rules for choosing resilient Playwright locators — priority order, scoping, iframes, shadow DOM, dynamic lists, tables and strictness errors.
SkillAFreshness: AClaude Code +9 - 0.565score
pom-fixtures
rinkucool007
Conventions for Playwright Page Object Model classes, custom fixtures, test data factories, auth storageState and API-based setup.
SkillAFreshness: AClaude Code +9 - 0.565score
ci
rinkucool007
Generate CI pipelines for Playwright — GitHub Actions (default), Azure DevOps, GitLab CI or Jenkins — with sharding, browser caching, HTML/JSON report…
SkillAFreshness: AClaude Code +9 - 0.565score
setup
rinkucool007
Bootstrap or repair a Playwright Test project (TypeScript or JavaScript) with best-practice config, fixtures, page-object folders, env handling and auth setup…
SkillAFreshness: AClaude Code +9 - 0.565score
generate
rinkucool007
Quickly write Playwright tests for a described scenario or recorded steps without the full lifecycle — plans inline, uses existing page maps if present…
SkillAFreshness: AClaude Code +9 - 0.559score
review
rinkucool007
Audit an existing Playwright test suite (or specific specs) for coverage, locator quality, assertion strength, isolation, flakiness risk and hard-coded…
SkillAFreshness: AClaude Code +9 - 0.559score
status
rinkucool007
Show the current or a past playwright-autopilot run — phase, heal budget, artifacts and the reasoning trail.
SkillAFreshness: AClaude Code +9 - 0.559score
explore
rinkucool007
Explore a live web page or flow with a real browser and produce a verified page map of resilient Playwright locators, without writing tests.
SkillAFreshness: AClaude Code +9 - 0.559score
heal
rinkucool007
Diagnose and fix failing or flaky Playwright tests in an existing suite using the executor → healer loop with root-cause classification, without weakening…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 30, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from rinkucool007
- 0.565score
api-testing
rinkucool007
Write Playwright API tests and hybrid UI+API tests using the request fixture — REST/GraphQL calls, schema checks, auth tokens, network mocking with…
SkillAFreshness: AClaude Code +9 - 0.565score
locators
rinkucool007
Reference rules for choosing resilient Playwright locators — priority order, scoping, iframes, shadow DOM, dynamic lists, tables and strictness errors.
SkillAFreshness: AClaude Code +9 - 0.565score
pom-fixtures
rinkucool007
Conventions for Playwright Page Object Model classes, custom fixtures, test data factories, auth storageState and API-based setup.
SkillAFreshness: AClaude Code +9 - 0.565score
ci
rinkucool007
Generate CI pipelines for Playwright — GitHub Actions (default), Azure DevOps, GitLab CI or Jenkins — with sharding, browser caching, HTML/JSON report…
SkillAFreshness: AClaude Code +9 - 0.565score
setup
rinkucool007
Bootstrap or repair a Playwright Test project (TypeScript or JavaScript) with best-practice config, fixtures, page-object folders, env handling and auth setup…
SkillAFreshness: AClaude Code +9 - 0.565score
generate
rinkucool007
Quickly write Playwright tests for a described scenario or recorded steps without the full lifecycle — plans inline, uses existing page maps if present…
SkillAFreshness: AClaude Code +9
Cite this page
e2e skill. Agent Mart. https://agentmart.dev/skills/rinkucool007-e2e (last updated 2026-10-24)