prompt-evaluation-runn…
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
Use when a browser-facing UI needs visual verification, a layout bug or visual regression is reported, accessibility of an interactive component needs checking, or a browser workflow must be exercised end-to-end.
$ npx -y skills add yeaight7/agent-powerups --skill webapp-visual-testing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/webapp-visual-testingContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when a browser-facing UI needs visual verification, a layout bug or visual regression is reported, accessibility of an interactive component needs checking, or a browser workflow must be exercised end-to-end.
name: webapp-visual-testing description: Use when a browser-facing UI needs visual verification, a layout bug or visual regression is reported, accessibility of an interactive component needs checking, or a browser workflow must be exercised end-to-end.
Collect visual and behavioral evidence from a web UI before declaring a feature complete or a bug fixed.
**Safety policy** is handled by the `browser-automation-safety` skill — read it first if this is your first time using browser automation in this environment. **Playwright MCP setup** is in `mcp/generic/playwright.json`.
This skill covers the testing workflow: what to test, how to capture evidence, and how to report findings.
# Check dev server
curl -s -o /dev/null -w "%{http_code}" http://localhost:<port> # expect 200
# Check browser capability
apx mcp check playwright # if using Playwright MCP
npx playwright --version # if using @playwright/testIf no browser capability is available: ask the user for screenshots and continue with static analysis only.
Navigate to the target URL and capture the initial state:
browser_navigate(url) browser_snapshot() # accessibility tree — roles, labels, focusable elements browser_take_screenshot() # visual state browser_console_messages() # check for load-time errors
Flag any console errors at page load before proceeding.
Use semantic selectors in priority order (from `browser-automation-safety`):
1. ARIA role + accessible name: `getByRole('button', { name: 'Submit' })` 2. Visible text: `getByText('Continue')` 3. Label: `getByLabel('Email address')` 4. Test ID: `getByTestId('submit-btn')` 5. Stable CSS selector: `.submit-btn` 6. ⚠ Avoid: XPath, coordinate clicks, generated class names
Capture a screenshot after each significant state change: modal open, form submit, navigation, error state.
| Signal | Check | |---|---| | Console errors | Any uncaught exceptions or network errors after interaction? | | Network requests | Did the expected API call fire? Did it return a success status? | | DOM changes | Did the expected element appear / disappear / update? | | Accessibility | Are new elements keyboard-reachable and labelled correctly? |
SCENARIO: <what was tested> EXPECTED: <what should happen> OBSERVED: <what actually happened> EVIDENCE: <screenshot filename or console excerpt> STATUS: PASS / FAIL / NEEDS_REVIEW ISSUES FOUND: [critical] <description> — <evidence reference> [major] <description> [minor] <description> ACCESSIBILITY: <element>: role=<role>, label=<label>, keyboard=reachable/unreachable
If a prior screenshot is available:
Deliver:
1. Screenshot filenames saved to a named artifact path (not system temp) 2. Console error count and any non-trivial messages from load and interactions 3. Per-scenario PASS / FAIL / NEEDS_REVIEW verdict 4. Accessibility summary for new or changed interactive elements 5. Visual regression notes if a prior baseline exists
Inspired by `anthropics/skills` `webapp-testing/SKILL.md`. Extended with accessibility and visual regression guidance. Safety policy delegated to `browser-automation-safety`.
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Repo: yeaight7/agent-powerups
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
Use when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test metadata.
Use when designing, running, debugging, or hardening deterministic eval suites for agent skills, prompts, tool workflows, or MCP-backed cases.
Use when designing tool definitions for a new agent or subagent, an agent shows high retry rates, ambiguous tool invocations, or silent failures, or an…
Use when routing a prompt to a local provider CLI for a second opinion, review, or plan -- you are about to call a provider directly, need the response saved…
Use when starting work in an unfamiliar area of a codebase, spawning a subagent that needs targeted file context, a first search pass missed the relevant file,…