agentleFS
ytvee-devytvee-dev/webdev-agent-kit/skills/frontend-quality-reviewer/SKILL.md

frontend-quality-reviewer

Skill7 starsChanged 21 days agoApache-2.0View on GitHub

Review frontend quality from evidence across code, UI, architecture, TypeScript, security, performance, verification, decomposition, UX, and anti-slop concerns. Returns pass, concerns, or fail without implementing unrequested fixes.

The file

Show its rules and text

We split this skill into the rules it gives an agent

27 rules. About 0 are common, 16 are distinctive, and 11 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈16

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 11

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a loop contract requires independent review, this skill acts as the judge of acceptance criteria and evidence rather than the …

    line 51
  2. Distinctive:

    Use this skill when:

    line 55
  3. Distinctive:

    Do not use this skill for direct implementation, bugfixing, refactoring, design spec writing, visual QA only, test creation, package …

    line 66
  4. Distinctive:

    If review finds required fixes, report them first.

    line 68
  5. Very specific:

    Read common/independent-review-rules.md when acting as loop judge or independent reviewer.

    line 74
  6. Distinctive:

    Read the current Goal Contract, Execution Plan, coverage map, and stable identifiers when the work uses durable planning.

    line 75
  7. Very specific:

    Read common/verification-loop-rules.md when loop attempts or verification evidence are in scope.

    line 77
  8. Very specific:

    Read common/approved-patterns.md and common/anti-patterns.md when reviewing changed components.

    line 78
  9. Very specific:

    Read common/ui-ux-priority-checklist.md when reviewing rendered UI or user interaction.

    line 79
  10. Distinctive:

    Read conditional UX rules only when the changed surface includes them:

    line 80
  11. Very specific:

    Read common/typescript-discipline.md for TypeScript surfaces.

    line 87
  12. Very specific:

    Read common/security-review-rules.md when auth, secrets, unsafe HTML, redirects, external input, or permissions are in scope.

    line 88
  13. Very specific:

    Read common/performance-review-rules.md when performance claims are in scope.

    line 89
  14. Very specific:

    Read common/build-tool-boundary-rules.md and common/lint-verification-rules.md when code changed.

    line 90
  15. Distinctive:

    Read affected source files, diffs, project overlays, loop contract, verification output, and rendered evidence needed for the review.

    line 91
  16. Very specific:

    When shared UI or compatible component wrappers are in scope, read common/frontend-design-system-rules.md and …

    line 93
  17. Distinctive:

    Must not install packages, add tests, add UI libraries, modify configs, or perform broad rewrites.

    line 105
  18. Distinctive:

    Must not implement fixes while acting as independent loop judge unless the user explicitly asks for a combined review-and-fix task.

    line 106
  19. Distinctive:

    Must not add, remove, reorder, renumber, or mark execution-plan slices or redefine acceptance criteria.

    line 107
  20. Very specific:

    If acting as loop judge or reviewing durable work, read the active AC-### criteria, mapped S-### slices, and coverage evidence first.

    line 113
  21. Distinctive:

    Check correctness, architecture boundaries, component decomposition, TypeScript safety, accessibility, visual quality, UX gates, security, …

    line 116
  22. Distinctive:

    Check lint result when code changed and a lint command exists.

    line 131
  23. Distinctive:

    Use file and line references for code findings whenever available.

    line 155
  24. Very specific:

    When affected product terms have a glossary, load that domain under common/domain-glossary-rules.md.

    line 168
  25. Distinctive:

    Every blocking or high claim must cite concrete evidence.

    line 174
  26. Distinctive:

    Every in-scope durable criterion must have an explicit result tied to coverage or verification evidence.

    line 176
  27. Distinctive:

    No testing workflow, UI library, package install, or framework migration may be introduced by default.

    line 185

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

Frontend Quality Reviewer

Purpose

Review frontend work for correctness, maintainability, decomposition, security, performance, TypeScript safety, architecture fit, visual quality, UX gates, verification honesty, and independent loop judgment without turning review findings into an unapproved rewrite.

When a loop contract requires independent review, this skill acts as the judge of acceptance criteria and evidence rather than the implementer.

When To Use

Use this skill when:

  • the user asks for review, audit, critique, or quality check;
  • a significant frontend implementation needs a final quality pass;
  • a bugfix or refactor has broad impact and review is appropriate;
  • a loop contract requires independent review;
  • verification failed and was repaired during a loop;
  • claims about security, performance, architecture, decomposition, visual fidelity, UX, or verification need evidence.

When Not To Use

Do not use this skill for direct implementation, bugfixing, refactoring, design spec writing, visual QA only, test creation, package installation, or broad rewrites.

If review finds required fixes, report them first. Do not apply fixes unless the user asked for a combined review-and-fix task or explicitly approves a follow-up fix.

Required Context

  1. Read AGENTS.md.
  2. Read common/review-severity-model.md.
  3. Read common/independent-review-rules.md when acting as loop judge or independent reviewer.
  4. Read the current Goal Contract, Execution Plan, coverage map, and stable identifiers when the work uses durable planning.
  5. Read common/verification-loop-rules.md when loop attempts or verification evidence are in scope.
  6. Read common/approved-patterns.md and common/anti-patterns.md when reviewing changed components.
  7. Read common/ui-ux-priority-checklist.md when reviewing rendered UI or user interaction.
  8. Read conditional UX rules only when the changed surface includes them:
    • common/css-modules-specificity-rules.md for CSS Modules changes;
    • common/form-feedback-rules.md for forms and feedback states;
    • common/navigation-ux-rules.md for navigation and route flows;
    • common/data-visualization-rules.md for dashboards, charts, tables, metrics, or reports;
    • common/icon-quality-rules.md for icons or visual symbols;
    • common/mobile-responsive-rules.md for responsive surfaces.
  9. Read common/typescript-discipline.md for TypeScript surfaces.
  10. Read common/security-review-rules.md when auth, secrets, unsafe HTML, redirects, external input, or permissions are in scope.
  11. Read common/performance-review-rules.md when performance claims are in scope.
  12. Read common/build-tool-boundary-rules.md and common/lint-verification-rules.md when code changed.
  13. Read affected source files, diffs, project overlays, loop contract, verification output, and rendered evidence needed for the review.

When shared UI or compatible component wrappers are in scope, read common/frontend-design-system-rules.md and common/component-substitution-rules.md. Apply purpose-specific naming from common/frontend-implementation-boundaries.md to changed project-owned code.

Tool Contract

  • May inspect diffs, affected files, project overlays, loop contracts, and verification output.
  • May run existing lint/build/typecheck commands when code changed and the command is already available.
  • May use Browser or Playwright MCP when rendered UI evidence is necessary and available.
  • May use official docs, context7, or MDN for current framework, security, performance, or platform claims.
  • Activate openai_platform_docs only when current OpenAI API or ChatGPT Apps SDK behavior affects a review finding.
  • Must not install packages, add tests, add UI libraries, modify configs, or perform broad rewrites.
  • Must not implement fixes while acting as independent loop judge unless the user explicitly asks for a combined review-and-fix task.
  • Must not add, remove, reorder, renumber, or mark execution-plan slices or redefine acceptance criteria.

Workflow

  1. Define review scope and changed surfaces.
  2. If acting as loop judge or reviewing durable work, read the active AC-### criteria, mapped S-### slices, and coverage evidence first.
  3. Gather evidence from diffs, files, commands, browser output, or supplied artifacts.
  4. Check correctness, architecture boundaries, component decomposition, TypeScript safety, accessibility, visual quality, UX gates, security, performance, build/workspace fit, and verification honesty only where relevant.
  5. For changed UI, check the UI UX priority order before polish-only concerns.
  6. For changed UI, verify that components are split into clear route/page, section, presentational, list/item, helper, selector, adapter, or approved hook boundaries when complexity requires it.
  7. Flag required fixes when components mix routing, data access, state orchestration, transformations, form logic, repeated markup, large JSX, and side effects in one file.
  8. Flag CSS Modules specificity risks, structural decoration, weak form feedback, confusing navigation, dishonest data visualization, inconsistent icons, and unresolved mobile behavior when those concerns are present.
  9. For durable and loop reviews, judge every in-scope AC-### as passed, failed, deviation, or blocked using its named verification evidence.
  10. Assign severity labels: blocking, high, medium, low, nit, or praise.
  11. Distinguish required fixes from optional improvements.
  12. Produce verdict:
    • pass when no required fixes are found and acceptance criteria passed;
    • pass with concerns when no required fixes remain but risks or documented deviations exist;
    • fail when blocking or unresolved required high issues exist, or loop acceptance criteria did not pass.
  13. Report remaining work as findings. Do not create plan slices; route required remaining work to execution-plan-manager in converge mode.
  14. Check lint result when code changed and a lint command exists.
  15. Report unknowns and blocked checks honestly.

Output Contract

Final response: return only facts that affect the user's understanding, confidence, or next action. Omit empty fields and workflow narration.

Return findings first, ordered by severity:

Verdict:
Loop acceptance:
Criteria reviewed: AC-### -> passed | failed | deviation | blocked
Coverage evidence:
Required fixes:
Optional improvements:
Decomposition review:
UX gates reviewed:
Evidence checked:
Lint/build/visual verification:
Unknowns or blocked checks:
Praise:

Use file and line references for code findings whenever available.

Review Evidence Boundary

Record review context as fresh-context or self-review following common/independent-review-rules.md. A separate skill pass alone is not fresh. For functional acceptance, follow the user-outcome checks in common/verification-loop-rules.md; browser evidence is allowed for named functional criteria as well as visual criteria. Report an unavailable fresh review separately from a blocked executable check.

Domain Terms

When affected product terms have a glossary, load that domain under common/domain-glossary-rules.md. Preserve confirmed meanings across criteria, UI labels, and code identifiers. Do not silently resolve material ambiguity.

Validation Gates

  • Every blocking or high claim must cite concrete evidence.
  • Independent loop review must evaluate the acceptance criteria and evidence, not merely restate the implementer's summary.
  • Every in-scope durable criterion must have an explicit result tied to coverage or verification evidence.
  • Review must preserve stable identifiers and leave plan mutation to convergence.
  • Review must not trigger broad rewrite by itself.
  • Required fixes and optional improvements must be separate.
  • Component decomposition issues must be reviewed regardless of framework, router, state layer, data layer, or styling system.
  • UX gates must be checked when the changed surface includes forms, navigation, data visualization, icons, or responsive behavior.
  • Lint result must be checked when code changed and an existing command is available.
  • Security and performance claims must be source-backed when behavior is current or ambiguous.
  • No testing workflow, UI library, package install, or framework migration may be introduced by default.

Trigger Evals

Should trigger:

  • "Review this frontend change before I merge it."
  • "Check this implementation for AI slop and quality issues."
  • "Audit the TypeScript, performance, and accessibility risks here."
  • "Give me a pass/fail verdict on this UI implementation."
  • "Check whether this component should be split."
  • "Act as the independent reviewer for this loop contract."

Should not trigger:

  • "Fix this bug."
  • "Refactor this component."
  • "Run visual QA only."
  • "Create tests for this feature."

Reference Map

  • common/review-severity-model.md
  • common/independent-review-rules.md
  • common/planning-rules.md
  • common/convergence-rules.md
  • common/verification-loop-rules.md
  • common/approved-patterns.md
  • common/anti-patterns.md
  • common/ui-ux-priority-checklist.md
  • common/css-modules-specificity-rules.md
  • common/form-feedback-rules.md
  • common/navigation-ux-rules.md
  • common/data-visualization-rules.md
  • common/icon-quality-rules.md
  • common/mobile-responsive-rules.md
  • common/security-review-rules.md
  • common/performance-review-rules.md
  • common/typescript-discipline.md
  • common/build-tool-boundary-rules.md
  • common/lint-verification-rules.md

Delegated Review Packages

For durable delegated reviews and material repair loops load references/review-handoffs.md. Capture the complete task range or explicit working-tree surface, judge compliance and quality, and re-review only open findings and repair-induced risk unless concrete dependencies justify widening. A package contains code evidence, not a successful test run. Never force this artifact workflow onto an isolated low-risk edit.

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.