Skip to content
Back to skills

Frontend Check

ASecurity

Run the Fishhawk frontend CI checks. Use before pushing frontend changes, or when asked to format, lint, test or build the UI.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 7, 2026
ai-agentsrustgonodegitfrontend

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 9, 2026

npx -y skills add kuhlman-labs/fishhawk --skill frontend-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Frontend Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Frontend Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kuhlman-labs-frontend-check/badge)](https://www.skillsdirectory.com/skills/kuhlman-labs-frontend-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: frontend-check
description: Run the Fishhawk frontend CI checks. Use before pushing frontend changes, or when asked to format, lint, test or build the UI.
---

# Check the Web UI before pushing

CI runs `pnpm format:check` as its own gate. `lint` and `typecheck` do **not** catch formatting, so a change that passes those can still fail CI on prettier.

The repository helper `scripts/check-frontend` runs the installation and all five checks below. `scripts/verify-change` selects it for frontend inputs before the Go gate. Container prerequisites and exit 75 are documented in `scripts/README.md` § "Workflow verification".

## 1. Use the locked dependencies

```sh
cd frontend && pnpm install --frozen-lockfile --ignore-scripts
```

A stale local `node_modules` can carry a different prettier/eslint version than the lockfile. For example, local prettier 3.8 vs locked 3.9 produces opposite formatting verdicts. Reinstall before trusting, or overruling, a format result.

## 2. Run the checks (in `frontend/`)

| Check | Command |
|---|---|
| Format (CI gate) | `pnpm format:check`, and fix with `pnpm format` |
| Lint | `pnpm lint` |
| Types | `pnpm typecheck` |
| Tests | `pnpm test` (vitest run, jsdom at `https://localhost/` so `__Host-` cookies behave) |
| Build | `pnpm build` |

Run them in that order; format first is cheapest. After `pnpm format`, re-run `git diff --stat` so the formatting changes are committed together with the real ones.

## 3. Known traps

- **Inside a run worktree** (`.git/fishhawk-worktrees/run-*`), vitest can fail with a misleading `Cannot find module '/src/test-setup.ts'`. That's Vite's `**/.git/**` fs-deny rule, handled by `frontend/vite-fs-deny.ts`. Don't "fix" it by making `setupFiles` absolute.
- **Dev server:** `make dev-frontend` (`:5173`, proxies `/v0` to fishhawkd on `:8080`). It needs the stack up; see the `deploy-local` skill.

## Report

Pass/fail per check, with the first error verbatim, plus any files `pnpm format` rewrote.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.