Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add idavidov13/agentic-playwright --skill test-standardsgit clone --depth 1 https://github.com/idavidov13/agentic-playwrightWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/idavidov13/agentic-playwright/test-standards)<a href="https://agentmods.dev/skills/idavidov13/agentic-playwright/test-standards"><img src="https://agentmods.dev/badge/skills/idavidov13/agentic-playwright/test-standards/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/idavidov13/agentic-playwright/test-standards"><img src="https://agentmods.dev/badge/skills/idavidov13/agentic-playwright/test-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 8 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Prompt Injection · line 76 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 78 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 79 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 80 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 81 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 82 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium MCP Rug Pull · line 259 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 262 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.00817 |
| Opus 5.5 | $0.00025 | $0.00327 |
| Sonnet 5.5 | $0.00013 | $0.00163 |
| Haiku 4.5 | $0.00006 | $0.00082 |
Grade A, and why
test-standards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Standards
Critical
-
Import
testandexpectfromfixtures/pom/test-options.ts, never from@playwright/test. -
Each test has exactly one tag from
@smoke,@sanity,@regression,@e2e,@api,@destructive. Never@functional, never a tag array, never a tag ontest.describe().// CORRECT test('should login', { tag: '@smoke' }, async ({ appPage }) => {}); // WRONG test('should login', { tag: ['@smoke', '@e2e'] }, async () => {}); -
@destructiveis the heaviest tag and always wins, but only for shared/global state (locale, permissions, roles, guest access, feature flags, global settings, shared seed data). A test that creates and removes only its own data keeps its importance tag. -
Every state-mutating test has a
test.afterEach()ortest.afterAll()hook that reverts what it wrote, and the hook succeeds after a failed test. -
Web-first assertions only:
await expect(locator).toBeVisible(),.toHaveText(),.toHaveCount(). Neverpage.waitForTimeout().// CORRECT await expect(appPage.username).toBeVisible(); // WRONG await page.waitForTimeout(1000); -
Tests must be independent: no ordering, no shared mutable state. Setup goes in
test.beforeEach()or a fixture. -
Never commit explore-only or debug specs (
console.log(await page.content()), probes). -
After adding or modifying a spec, run
npx playwright test <file>and confirm zero failures before reporting done.
Procedure
- Classify: functional (
tests/{area}/functional/), API (tests/{area}/api/), E2E (tests/{area}/e2e/) or setup (tests/{area}/*.setup.ts). Runls tests/to resolve{area}. - Open the nearest spec of the same type and copy its import,
describeandbeforeEachshape; a spec that must start signed out (login, anonymous forms) callsresetStorageState()inbeforeEach; everything else starts signed in. Skeletons:references/spec-patterns.md. - Tag the test; when unsure which importance tag applies, read
references/tags.md. - Split the body into
test.step()blocks named GIVEN / WHEN / THEN. An API test with more than one call followsapi-testing. - Take values from a factory or a static
.tsfile perdata-strategy; a data-drivenfor...ofloop sits insidedescribe, outsidetest(). - If the test mutates state, add the cleanup hook per
references/destructive-tests.md; API setup or teardown shared by several specs goes throughapi-testing. - Run
npx playwright test <file>andnpm run lint; on red, loaddebugging.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · -232 lines · -103 tokens per session 3275aad3a0e5
- 3mo ago First seen · 282 lines · 166 tokens per session scan A ac0b6597b893
test-standards is a skill published in the GitHub repository idavidov13/agentic-playwright (318 stars, last pushed 17d ago), licensed MIT. It adds 63 tokens to every session and 817 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
test-standards compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-standardsidavidov13/agentic-playwright | Skill | 318 | 17d ago | MIT | A | 63 | Claude Code, Codex |
| vindicateOpenEvident/vindicate | Skill | 45 | 3mo ago | Apache-2.0 | A | 77 | Claude Code, Codex |
| E2E Testing PatternsPramodDutta/qaskills | Skill | 253 | 1mo ago | MIT | A | 35 | Claude Code, Codex |
| JMeter Load TestingPramodDutta/qaskills | Skill | 253 | 1mo ago | MIT | A | 32 | Claude Code, Codex |
| Laravel Dusk TestingPramodDutta/qaskills | Skill | 253 | 1mo ago | MIT | A | 44 | Claude Code, Codex |
| k6-load-testingtmolavi/mcp-agent-skills-hub | Skill | 11 | 2d ago | MIT | B | 35 | Claude Code, Codex |
| aif-testainative-build/skills | Skill | 10 | 1mo ago | MIT | A | 28 | Claude Code |