agentleFS
prowler-cloudprowler-cloud/prowler/skills/prowler-ui-browser-review/SKILL.md

prowler-ui-browser-review

Skill15k starsChanged 7 months agoApache-2.0View on GitHub

Browser sign-off for user-visible Prowler UI changes: when to drive a browser and when to hand over a URL, running the app, viewports, what to check, and the evidence to post on the PR. Trigger: When a UI change affects layout, styling, navigation, responsive behavior, loading/empty/error states or a multi-step flow, and before calling user-visible UI work done.

  • Reads credentials

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about prowler-cloud/prowler

The biggest 5 of 81 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 81

Talked about on GitHub, YouTube, Bluesky and Hacker News (81 times).

On GitHub · 50

45 more on GitHub

On YouTube · 20

15 more on YouTube

On Bluesky · 9

4 more on Bluesky

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No unit test loads a real page, so a rendering change is only verified once someone looks at it.

    line 17
  2. Distinctive:

    Check the three widths the PR template asks for: mobile (375×812), tablet (768×1024) and desktop (1440×900).

    line 55
  3. Distinctive:

    Check loading, empty and error states.

    line 57
  4. Very specific:

    Check for layout shift: read element positions (getBoundingClientRect) at first paint and after data loads.

    line 58
  5. Very specific:

    Use the keyboard: tab order, visible focus, Esc closes overlays and returns focus.

    line 59
  6. Distinctive:

    Read the browser console for hydration errors and "Functions cannot be passed directly to Client Components".

    line 60
  7. Very specific:

    Use the browser automation your agent has: the Claude desktop Browser pane, the playwright MCP server from the repo .mcp.json, or your …

    line 64
  8. Distinctive:

    Never reuse a developer's personal browser session unless they ask for it.

    line 66

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

When to Drive a Browser

No unit test loads a real page, so a rendering change is only verified once someone looks at it. Drive a browser when the outcome is uncertain:

  • Flows that carry state: wizards, modals opened from menus, the side panel, multi-step forms.
  • Layout that can reflow: tables, mobile widths, the side panel pushing <main> (breakpoints are container queries there).
  • Server/client boundary changes, such as filter props passed from a Server Component. jsdom tests skip that hop; only the real page throws.
  • Data that loads after first paint and could push content down.
  • Final sign-off of a substantial user-visible change.

When to Hand Over a URL Instead

For a small visual change you are confident about (a token, a label, an icon), say what changed, give the exact URL, and name what you did not check. Do this only while a developer is there to look. If nobody is around and the change is user-visible, check it yourself.

Run the App

# From the repo root: local API (Django, Postgres, Valkey, worker) on :8080
docker compose -f docker-compose-dev.yml up -d api-dev worker-dev

# UI on :3000. First run only: create ui/.env.local (an existing file is left alone)
cd ui
[ -f .env.local ] || cat > .env.local <<EOF
UI_API_BASE_URL=http://localhost:8080/api/v1
AUTH_URL=http://localhost:3000
AUTH_SECRET=$(openssl rand -base64 32)
AUTH_TRUST_HOST=true
EOF
UI_API_BASE_URL=http://localhost:8080/api/v1 pnpm run dev
  • lib/env.ts stops the boot when UI_API_BASE_URL, AUTH_URL or AUTH_SECRET is missing. Next does not read the root .env from ui/; that file lists the other UI variables.
  • To point an existing .env.local at another API for one run, set the variable on the process: UI_API_BASE_URL=<url> pnpm run dev. A value already in the environment wins over .env.local.
  • Reuse a dev server that is already running; do not start a second one on another port.
  • Authenticated routes need a signed-in user. Never type a developer's real password: ask them to sign in, or use a test account created for the local stack.
  • Cloud-only screens (Realtime, Lighthouse v2, upgrade prompts) render only with UI_CLOUD_ENABLED=true and an API that serves them.

Review Loop

  1. Open the changed route and exercise the main path the change affects.
  2. Check the three widths the PR template asks for: mobile (375×812), tablet (768×1024) and desktop (1440×900).
  3. Open the side panel on the changed page: <main> shrinks and its sm:…2xl: variants follow its width, not the viewport.
  4. Check loading, empty and error states. Throttle the network or point at an empty tenant if needed.
  5. Check for layout shift: read element positions (getBoundingClientRect) at first paint and after data loads. Screenshots alone miss it.
  6. Use the keyboard: tab order, visible focus, Esc closes overlays and returns focus.
  7. Read the browser console for hydration errors and "Functions cannot be passed directly to Client Components".

Tools

  • Use the browser automation your agent has: the Claude desktop Browser pane, the playwright MCP server from the repo .mcp.json, or your editor's browser.
  • next-devtools (also in .mcp.json) reads build errors, runtime errors and routes from the running next dev.
  • Never reuse a developer's personal browser session unless they ask for it.

Evidence

Report the flow you reviewed, whether it worked, any regressions, and what you did not check. Post screenshots for the three widths on the PR, not only in chat. For flows, a short recording beats a list of screenshots.

Commands

cd ui
pnpm run test:integration   # browser-mode Vitest (real layout, React Compiler on)
pnpm run test:e2e           # Playwright E2E against a running stack

Resources

  • ui/AGENTS.md: verification by change type
  • prowler-test-ui: write a Playwright spec when the flow needs a permanent guard

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.