agentleFS
BlockKnown publisherblock/proto-fleet/.agents/skills/proto-fleet-playwright-e2e/SKILL.md

proto-fleet-playwright-e2e

Skill56 starsChanged 2 months agoApache-2.0View on GitHub

Add, fix, or review ProtoFleet/ProtoOS Playwright coverage and diagnose failures in those tests.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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
  1. Distinctive:

    Stop for a concrete blocker or an action beyond the requested scope.

    line 19
  2. Distinctive:

    Test attributes on real interactive/asserted elements are permitted when they match existing patterns.

    line 20
  3. Distinctive:

    Follow the root AGENTS.md snapshot replacement approval rule.

    line 25
  4. Very specific:

    Use deterministic setup and locators scoped to the intended entity.

    line 32
  5. Very specific:

    Use test.step for meaningful phases without nesting helpers that already define steps.

    line 39
  6. Distinctive:

    Use verification guidance for commands and failure diagnosis.

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Proto Fleet Playwright E2E

Complete the requested coverage and verify the affected spec. Use the existing specs, page objects, setup helpers, and relevant UI as evidence. This skill does not expand a test request into unrelated product refactoring.

Boundaries

  • Try the current environment after checking its configured target. Read environment guidance for setup and target issues. Tests can target real miners; do not assume a running environment is disposable.
  • Within an authorized local fake/simulator setup, diagnose and fix failures caused by the change, then rerun affected checks without repeated approval. Stop for a concrete blocker or an action beyond the requested scope.
  • Test attributes on real interactive/asserted elements are permitted when they match existing patterns. For a coverage-only request, get approval before changing other product behavior or shared fake miner behavior; existing explicit authorization for that change is sufficient. Shared fixture changes require checking affected contract/E2E consumers.
  • Follow the root AGENTS.md snapshot replacement approval rule. A failed visual comparison does not authorize refreshing expected images.

Coverage quality

  • Specs express user flows and assertions; page objects own selectors, responsive differences, and repeated UI interactions. Keep helpers focused.
  • Use deterministic setup and locators scoped to the intended entity. Avoid .first() workarounds, fallback selector chains, and positional guesses.
  • Assert visible behavior and request payloads when incorrect targeting is the regression risk; a successful HTTP status alone is insufficient.
  • Capture and restore persistent state with narrow afterEach/finally cleanup. Tests should rerun independently; prefer round-trip flows over state-coupled tests. Do not conceal failed cleanup.
  • Use test.step for meaningful phases without nesting helpers that already define steps. Wait on real state transitions instead of increasing timeouts or adding sleeps to hide failures.

Verification and completion

Use verification guidance for commands and failure diagnosis. Run touched-file lint and the narrowest meaningful scenario, then the touched spec. Broaden for relevant shared behavior or unresolved risk.

Report changes, checks, and remaining gaps, distinguishing product, test, environment, auth, and external-dependency failures. For review feedback, re-check findings against the current target code and fix supported issues. Continue through commit/push/PR creation when already requested; otherwise finish with the verified result rather than a mandatory publishing question.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.