Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

test-gate

/test-gate

Uruchamia i nadzoruje bramki jakości w projektach JS i TS z Playwright lub Cypress, zostawiając maszynowe dowody i limity czasu.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
36
Skrypty
19
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 19 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: assets/kit/app/build-id.ts, assets/kit/app/health-route.ts, assets/kit/app/hydration-marker.tsx, assets/kit/app/page-ready.tsx, assets/kit/app/with-page-ready.tsx, assets/kit/e2e/auth.setup.ts, assets/kit/e2e/goto-ready.ts, assets/kit/e2e/playwright.config.snippet.ts

Co robi i kiedy

Uruchamia i nadzoruje bramki jakości w projektach JS i TS z Playwright lub Cypress, zostawiając maszynowe dowody i limity czasu.

Wyzwalacze z opisu

the gate\
Oryginalny opis (EN)

Run and supervise quality gates (lint, typecheck, unit, DB, build, e2e) in JS/TS projects that use Playwright or Cypress with Vitest or Jest, and leave machine-readable evidence. Use when asked to run, re-run or fix \"the gate\" or an e2e suite, to diagnose flaky or slow e2e tests, to write or review e2e specs (login, waiting, hydration), or to brief or supervise another agent that runs tests. Enforces one full run per gate, per-step time caps, login-once auth, signal-based waits and no weakened tests. Not for writing a unit test for one function, fixing a type or lint error, or general debugg

Jak działa

  1. Rules (in order)
  2. Steps
  3. References (read only what the task needs)
Sekcje z nagłówków SKILL.md, w oryginale · 45 linii, 519 słów
Podgląd SKILL.md
---
name: test-gate
description: "Run and supervise quality gates (lint, typecheck, unit, DB, build, e2e) in JS/TS projects that use Playwright or Cypress with Vitest or Jest, and leave machine-readable evidence. Use when asked to run, re-run or fix \"the gate\" or an e2e suite, to diagnose flaky or slow e2e tests, to write or review e2e specs (login, waiting, hydration), or to brief or supervise another agent that runs tests. Enforces one full run per gate, per-step time caps, login-once auth, signal-based waits and no weakened tests. Not for writing a unit test for one function, fixing a type or lint error, or general debugging."
license: Apache-2.0
compatibility: "Node 20+ for the optional kit; any package manager"
---

# Test Gate

Repo rules (`AGENTS.md`, `CLAUDE.md`, `OVERRIDES.md`) win over this skill.

## Rules (in order)

1. Read the repo rules and `package.json` scripts first. Never invent commands.
2. Evidence or it did not happen: each gate leaves command, exit code, duration and counts in `.gate/last.json` (or pasted raw output). "Tests pass" in prose counts for nothing; a reviewer re-runs.
3. One full run per gate. On failure fix, re-run only the failing file, then one final full run.
4. Never split a suite into batches or add sleeps. A rate limit or flake is a bug in the test setup: fix the cause.
5. Every step has a time cap and the gate stops at the first failure. Past ~30 min the supervisor reads the log; it does not wait.
6. Log in once (setup project + `storageState`, or `cy.session`). Only the auth spec uses the login UI. Specs that write data get their own user. Sign out with local scope.
7. Wait on signals, never on time: no `networkidle`, `waitForTimeout` or `toPass` for UI. Navigate through a ready helper.
8. Fix a flaky test at its cause. Never add retries (keep them at 0), broader locators, removed or negated assertions, `skip`/`fixme` or longer timeouts to get green.
9. A skip needs approval from the user or the orchestrator (never the agent writing it), a linked issue and an evidence entry.
10. Use a free port, check the served build id against the build on disk, kill only processes you started.
11. On Windows use the installed Chrome (`channel: 'chrome'`) and one worker; 2+ Playwright-bundled Chromium stall.
12. Builders run their own e2e for what they touched before reporting. A spec never run is not delivered.
13. No literal secrets, not even fake ones, and no destructive commands in tests, examples or briefs. Generate values at run time.
14. Delegating or supervising: use the brief template in `references/supervision.md`. An agent's report is not evidence.

## Steps

1. Detect the package manager (`packageManager` field, then lockfile) and resolve each step from `scripts`.
2. Plan the steps (lint, typecheck, unit, db, build, e2e) with caps; report any missing script, do not guess.
3. Run each step once, fail fast, keep its log under `.gate/logs/`.
4. Write the evidence file (`complete` is true only if every required step ran and passed or has an approved skip).
5. Report wall time, passed/failed/skipped per suite, skips and the evidence path.

## References (read only what the task needs)

| Task | File |
|---|---|
| Running or designing a gate, scripts, caps, no-kit mode | `references/gate-run.md` |
| Writing or reading `.gate/last.json` | `references/evidence-schema.md` |
| Login, storageState, per-spec users, logout | `references/e2e-auth.md` |
| Writing specs, hydration, intermittent failures | `references/e2e-waiting.md` |
| Flaky, red or about-to-skip test | `references/flaky-and-skips.md` |
| Servers, ports, builds, Windows, WSL | `references/servers-builds-windows.md` |
| Briefing or watching another agent | `references/supervision.md` |
| Repo has its own rules or a third-party testing skill | `references/repo-rules-overrides.md` |
| Cypress or Jest project | `references/cypress-jest.md` |
| Which versions each tip was checked against | `references/versions.md` |
Pliki w paczce (36)
  • SKILL.md 4 KB
  • assets/kit/e2e-changed.map.json 1 KB
  • assets/kit/evidence.schema.json 5 KB
  • assets/kit/install.mjs 17 KB
  • assets/kit/kit.config.example.json 4 KB
  • assets/kit/app/build-id.ts 1 KB
  • assets/kit/app/health-route.ts 1 KB
  • assets/kit/app/hydration-marker.tsx 1 KB
  • assets/kit/app/page-ready.tsx 2 KB
  • assets/kit/app/with-page-ready.tsx 1 KB
  • assets/kit/e2e/README.md 2 KB
  • assets/kit/e2e/auth.setup.ts 6 KB
  • assets/kit/e2e/goto-ready.ts 3 KB
  • assets/kit/e2e/playwright.config.snippet.ts 5 KB
  • assets/kit/e2e/preflight.ts 3 KB
  • assets/kit/hooks/settings.snippet.json 1 KB
  • assets/kit/hooks/stop-gate.mjs 19 KB
  • assets/kit/scripts/e2e-changed.mjs 13 KB
  • assets/kit/scripts/e2e-guard.mjs 19 KB
  • assets/kit/scripts/gate-lib.mjs 47 KB
  • assets/kit/scripts/gate-lib.test.mjs 35 KB
  • assets/kit/scripts/gate.mjs 18 KB
  • assets/kit/scripts/guard-core.mjs 61 KB
  • assets/kit/scripts/guard.test.mjs 23 KB
  • assets/kit/scripts/kit-tools.test.mjs 24 KB
  • assets/kit/scripts/fixtures/reference-v1-last.json 1 KB
  • references/cypress-jest.md 2 KB
  • references/e2e-auth.md 4 KB
  • references/e2e-waiting.md 3 KB
  • references/evidence-schema.md 4 KB
  • references/flaky-and-skips.md 4 KB
  • references/gate-run.md 5 KB
  • references/repo-rules-overrides.md 4 KB
  • references/servers-builds-windows.md 4 KB
  • references/supervision.md 4 KB
  • references/versions.md 3 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · AndresDiagoM/agent-testing-skills100Apache-2.0
AndresDiagoM/agent-testing-skills100Apache-2.0
emaballarin/ccplugins90MIT

Migawka bazy z 13.11.2026 · wersja paczki 1dafa8646548 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100run-tests
    Uruchamia etap testów: budowanie, typy, lint i testy jednostkowe Vitest na gałęzi, a potem mapuje wyniki na wymagania i pisze raport.
  • 100test-generator
    Generuje testy jednostkowe, integracyjne i end-to-end dla istniejącego kodu w Jest, Vitest, Pytest, Playwright, React Testing Library i Cypress, z asercjami, przypadkami brzegowymi i mockami.
  • 100cypress-cloud-cli
    Przegląda organizacje, projekty, przebiegi, testy i dane Test Replay w Cypress Cloud przez CLI cy-cloud, przy triażu nieudanych lub niestabilnych testów.
  • 90quality-e2e-testing
    Konfiguruje testy end-to-end w Playwright lub Cypress: model page object, izolację testów, równoległe uruchamianie i integrację z CI.
  • 100proof-e2e
    Buduje specyfikacje testów E2E dla krytycznych ścieżek użytkownika w Playwright lub Cypress: page objects, setup i teardown, konfiguracja CI.
  • 100proof-e2e
    Buduje specyfikacje testów E2E dla krytycznych ścieżek użytkownika w Playwright lub Cypress: page objects, setup i teardown, konfiguracja CI.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.