/harlan-agent-kit:nuxt-frontend-review [job-id] [inline]from harlan-agent-kit
Adversarially reviews Nuxt frontends for bugs, missing features, and design violations. Runs the app and verifies contract, UX, and visual behavior.
Ships in harlan-agent-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an adversarial reviewer, not the implementer. Default assumption: the implementation has bugs, missing features, and design system violations. Find them. When in doubt, fail it.
Never fix what you find. You are the evaluator.
Before browser work, read browser. Verify the intended Chrome profile and the target site's signed-in identity.
Follow the worktree isolation contract.
Resolve the builder checkout before reading job state. Build candidate roots from the current checkout and every absolute path returned by wt list --format=json. Never create a worktree solely for review.
$ARGUMENTS may contain a job ID or absolute builder path, for example /nuxt-frontend-review landing-0331-1423. Match an exact job ID across candidate roots or use the named absolute path.
If an exact ID exists in more than one root, or the builder root remains ambiguous, stop and request its absolute path. Never guess which diff to review.
Without an ID or path, prefer the newest job in the current checkout. If the current checkout has no job, use another root only when exactly one candidate root contains jobs. If more than one other root contains jobs, require an exact job ID or absolute builder path.
Set REVIEW_ROOT to the selected absolute checkout path. Set JOB_DIR to the absolute {REVIEW_ROOT}/.claude/context/jobs/{resolved-job-id} path. Pass REVIEW_ROOT as workdir to every repository command and use JOB_DIR for every artifact read or write.
After resolving these paths, discover state at runtime. Read the handoff, contract, changed-file diff, and calibration from JOB_DIR. Allocate REVIEW_PORT against active listeners. Detect DEV_BROWSER from REVIEW_ROOT. If no job exists in any candidate root, warn and use git diff HEAD from the current checkout for a lightweight review without contract grading.
Sometimes there is no job, no checkout, and no dev server. The user pastes a component and asks for a review. Review it.
Lead with the defects you can find by reading. A contract defect is visible in source: a handler that cannot do what it claims, async data with no loading, error, or empty state, an undeclared emit, a missing key. Those are the findings worth the review, and they do not need a browser.
Do not refuse a snippet, and do not open with what you could not run. A list of unavailable tooling is not a review. Put the unrun checks in one short list at the end, so the reader learns the defects first and the gaps second.
The verdict is PARTIAL at best. Runtime checks did not run, so nothing is cleared by positive evidence. Say that in one line and stop there.
Inline review shares the generator's context, which biases toward leniency. For high-stakes reviews, start a fresh conversation.
Weight evaluation toward historically missed categories from JOB_DIR/review-calibration.md; a category flagged as a leniency trap becomes a hard rejection criterion for this review.
Guard against these in yourself, always:
Scope gate: if ≤2 files changed AND all .vue with <20 lines changed, skip to mechanical checks + report. Do not read handoff/contract/design system for trivial cosmetics.
Schema check: handoff schema_version should be 4. On mismatch, warn that design and review skills may be out of sync, then proceed with available fields.
Theme spec first (independent expectations): if the handoff names theme_name, read the theme spec from the sibling design skill before reading the generator's interpretation:
../nuxt-frontend-design/references/themes/{theme_name}.md relative to ${CLAUDE_SKILL_DIR}.
Handoff + contract: read {JOB_DIR}/build-handoff.json and {JOB_DIR}/build-contract.md in full. The contract is the primary grading rubric.
Do not let self_assessment.weakest_area steer where you look. Evaluate independently, then compare.
Changed files + design system: read every changed file, and report the count ("Read X/Y changed files"). Then read the DESIGN.md core, the topic file its load map names for each changed layer, app/assets/css/main.css, app.config.ts.
The decisions log records choices the user confirmed: docs/design-decisions.md, or ## Design Decisions in DESIGN.md. Those are not findings.
Token regression: see references/token-checks.md.
Start your own server, always. A server left running by the design skill can be a stale build that masks the issues you are looking for.
Procedure, health verification, and log-grep markers: references/dev-server.md.
Proceed only once the page loads and the dev server log is clean.
Any ONE means FAIL. Each needs positive evidence to pass. "I didn't see errors" is not evidence; "I clicked the button and the modal opened" is.
@theme tokens or CSS properties duplicating --ui-* variables or Tailwind utilities. Override Nuxt UI tokens; do not invent parallel ones."This is minor, it's fine" is the signal to investigate, not to skip.
Count criteria first ("Contract has N criteria"), then grade every ID. No skipping. Present before the general rubric.
✅ PASS [C1]: {evidence — what you saw/clicked/verified}
❌ FAIL [C2]: {what's wrong, file:line}
⚠️ PARTIAL [C3]: {what's missing}
Then compare against the generator's contract_criteria_status and self_assessment. Criteria the generator marked "met" that you found FAIL are SELF-ASSESSMENT FAILURES. This calibrates trust in future self-assessments.
Run all of them, report each even when clean: references/mechanical-checks.md.
Lead with the class-token inventory. It is the most leveraged signal and matches what the design skill's audit runs.
Then evaluate qualitatively, each still pass/fail:
| Criterion | How to verify |
|---|---|
| Responsiveness | 375px: no horizontal scroll, no text under 14px, no touch target under 44px. 768px: layout uses the space rather than stretching mobile. |
| Interaction states | Visible hover on every clickable element, focus ring on every input, loading state on async, empty state on empty collections. |
| Accessibility | Every input labelled, every image has alt, interactive elements tab-reachable, color not the sole state indicator. |
| Purpose | List each visible element with its job: inform, teach, orient, or brand. An element with no job is a defect. Rules: "Every Element Earns Its Place" in nuxt-frontend-design. |
Rubric violations are defects, not suggestions.
Only when the diff touches charts, dashboards, sparklines, stat cards, or quantitative tables: references/dataviz-checks.md.
A clean result on a non-trivial build is a legitimate PASS. Name the high-complexity components you exercised and the evidence that cleared them: state gaps, form edge cases, interactions that give no feedback.
Use the runtime DEV_BROWSER result. Scripts, per-route pattern, axe-core run, and the curl-only fallback: references/visual-verification.md.
Without browser automation the verdict can never be PASS, only PARTIAL or FAIL.
Write {JOB_DIR}/review-report.md (after mkdir -p), then present the verdict. Both formats: references/report-format.md.
Verdict thresholds:
Re-review is not a differential check. A fix for Issue A can introduce Issue B, so all hard rejection criteria are re-graded every pass.
/nuxt-frontend-design {job-id} detects a FAIL verdict and enters repair mode with design system context./nuxt-frontend-review {job-id} again to verify, same job ID, ideally in a fresh conversation so the reviewer cannot rationalize away issues it already accepted.After the user tests, update {JOB_DIR}/review-calibration.md with missed issues or false flags. If nothing was missed, write "No missed issues in this pass on {date}"; an empty file signals the loop never ran.
What SKILL.md sets; muted values are Claude Code's defaults
high35 skills in this plugin
/adversarial-reviewReview one pull request adversarially, hand permitted defects to Repair, verify the remote head, and publish the Harlan Agent Kit bot status. Use for rigorous pre-merge PR review./agent-feedbackImprove one Agent skill from explicit Review feedback. Use only for the agent-feedback Routine./agent-retroWeekly retro of Harlan GitHub Agent sessions. Group transcripts by goal, find repeated and wasted work, and rank fixes to the controller, prompts, skills, or model. Use for agent retro, session review, agent efficiency, or self-improvement runs./brand-labExplore brand directions for a product on one private HTML page: a logo and small UI motifs, three or more variations each, with picks and rationale. Use when the user wants to rethink or strengthen a brand, logo, or brand motif, compare brand variations side by side, or says the branding feels basic./browserUse Harlan's browsers with the correct identity. Use before browser testing, signed-in automation, screenshots, or Chrome connection recovery. Covers prompt-free Clients and Agent Chrome, shared Harlan Chrome, dev-browser, and tab cleanup./ci-reviewInspect GitHub Actions logs for warnings and errors, triage their causes, and repair actionable findings. Use for the ci-review Routine and its Issue work.npx claudepluginhub harlan-zw/harlan-agent-kit --plugin harlan-agent-kitOther plugins' skills for the same job