frontend-sentinel
Skill1 starsChanged 15 days agoMITView on GitHub
Production frontend & UI/UX auditor. Scans React, Vue, Svelte, and HTML templates for accessibility defects, mobile viewport breaks, unhandled loading states, and hydration traps.
In this repository36 other files it gives its agents.
- .cursor/rules/agent-superpowers.mdcCursor rule
- arch-archaeologistSkill
- graphifySkill
- hindsight-architectSkill
- ghost-runnerSkill
- figma-designerSkill
- hallmarkSkill
- landing-page-designSkill
- review-frontend-productionSkill
- hindsight-coding-agentSkill
- memory-nexusSkill
- video-shotcraftSkill
- caveman-compressSkill
- cavemanSkill
- prompt-optimizerSkill
- token-squeezerSkill
- using-superpowersSkill
- api-synthesizerSkill
- blackbox-clonerSkill
- agent-reachSkill
- firecrawl-buildSkill
- firecrawl-build-interactSkill
- firecrawl-build-onboardingSkill
- firecrawl-build-scrapeSkill
- firecrawl-build-searchSkill
- scrapling-officialSkill
- adversarial-duelistSkill
- testsprite-ciSkill
- testsprite-verifySkill
- caveman-commitSkill
- feature-brainstormerSkill
- git-worktree-sandboxSkill
- ponytail-auditSkill
- ponytail-debtSkill
- ponytail-reviewSkill
- ponytailSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Run the Frontend Sentinel engine on target files or directories:
≈ “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.
Files
🎨 Skill: Frontend Sentinel (Production UI/UX Auditor)
1. When to Trigger (Routing)
- TRIGGER WHEN:
- The user requests a review of frontend code, UI components, or web templates (
.tsx,.jsx,.vue,.html,.css). - The user asks: "is this UI production ready?", "check accessibility (a11y)", "find mobile responsive issues", or "audit my frontend components".
- The user requests a review of frontend code, UI components, or web templates (
- DO NOT TRIGGER WHEN:
- The task is purely backend database or infrastructure related with zero user interface components.
2. Fundamental Philosophy
"AI assistants often produce components that look visually acceptable in isolation, but fail miserably in production: images without alt text, inputs without labels, broken mobile viewports, and missing keyboard navigation. Frontend Sentinel acts as a clinical UI/UX inspector before deployment."
3. Operational Protocol
Phase 1: Automated Static Inspection
Run the Frontend Sentinel engine on target files or directories:
python skills/frontend/frontend-sentinel/scripts/auditor.py --path <src_or_component_path> --html-report ui-audit.htmlThe engine systematically checks for 6 critical production flaws:
- Accessibility (a11y): Images without
alt, icon buttons withoutaria-label, inputs without<label>. - Mobile Viewport & Overflow: Fixed pixel widths (e.g.
width: 800pxorw-[900px]) that trigger horizontal scrolling on mobile. - Form & Input Resilience:
<input>elements without required types, missing autofocus traps, forms missingonSubmithandlers. - Hydration & SSR Traps: Premature references to
window,document, orlocalStorageduring initial component render. - Interactive Element Semantics: Clickable
<div>or<span>elements used instead of<button>or<a>. - Error & Loading States: Network fetch calls lacking loading spinners or fallback error boundaries.
Phase 2: Interactive HTML Report
The engine outputs a standalone, graphical ui-audit.html file:
- Health score (0 - 100%)
- Ranked findings (Critical, Warning, Optimization)
- Exact file paths and line numbers with ready-to-copy code fixes.
Phase 3: Remediation & Verification
- Review generated findings.
- Apply surgical component refactors.
- Re-run
auditor.pyuntil the health score reaches 100% PASS.
4. Guardrails & Negative Constraints
- ❌ NEVER approve a component with interactive
<div>tags lacking keyboard accessibility (onKeyDown+role="button"). - ❌ NEVER ignore mobile layout breaks triggered by rigid pixel containers.
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
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.

