- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Documented (README)
- !No description
git clone https://github.com/ieze-king/frontend-guardrails ~/.claude/skills/frontend-guardrails1 items en este repositorio
Professional frontend standards for building, scaffolding, extending, or reviewing any UI or frontend project — new or existing — even when standards aren't explicitly asked for. Keeps generated code consistent, reusable, secure, and production-quality. Framework-agnostic: React, Vue, Angular, Svelte, plain JS.
Resumen de Skills
# Frontend Guardrails A Claude skill that makes AI-generated frontend code **consistent, reusable, secure, and production-quality by default** — without you having to ask for it every time. Framework-agnostic: React, Vue, Angular, Svelte, and plain HTML/CSS/JS. Works whether you're scaffolding a brand-new project or extending an existing one. --- ## Why this exists AI coding assistants are capable, but left to their own defaults they drift. Ask for "a login page" ten times and you get ten slightly different structures, colors, and patterns. The same logic ends up copy-pasted in three files. Secrets leak into the browser. A component balloons to 500 lines. The result *looks* fine and quietly isn't. The fix isn't a smarter model — it's a **standing set of defaults** the model reads before it writes anything. This skill is that set. It encodes the discipline of a careful senior frontend engineer so that "do it right" is the default, not a thing you have to remember to prompt for. Crucially, it's designed to **help you regardless of experience**: - **Beginners / non-coders** get professional output they couldn't have specified themselves — and the skill scales its rigor down so it never buries a small project in enterprise machinery. - **Experienced developers** get consistent, disciplined output across sessions and teammates — and the skill *defers* to their conventions and judgment instead of bulldozing them. --- ## How it works (read this once) A skill is **not** a command you run. There's no `/frontend-guardrails`. Once it's installed and enabled, Claude consults it automatically whenever a task involves frontend work. You just build normally; the standards apply in the background. It's structured for efficiency using **progressive disclosure**: - **`SKILL.md`** — the lean core (the principles and a self-audit checklist). Loaded only when the skill triggers on frontend work. - **`references/`** — deeper detail loaded *only when the relevant task comes up*: framework specifics (`react`, `vue`, `angular`), plus `security`, `notifications`, `accessibility`, and `ecosystem`. You never pay the token cost for detail you aren't using. So a non-frontend chat costs almost nothing; a frontend task loads the core and, at most, the one or two references it actually needs. --- ## The problems it solves Each item below is a real pattern AI assistants (and rushed humans) fall into, and what the skill does about it. **Duplicated code — "one bug, five fixes."** AI re-writes the same markup or logic in several places, so a later fix has to be made in all of them. → The skill requires reusing or extracting components, hooks, and constants: write it once. **Do-everything components.** Logic, presentation, and data-fetching get tangled into one giant component that can't be reused or tested. → It enforces small, single-responsibility components with separated concerns and a clear data layer. **Inconsistent styling.** One color here, a slightly different one there; mismatched fonts and spacing — the hallmark of unpolished work. → It bans hardcoded values and requires design tokens, so every color/font/spacing has one source of truth. **Breaks on other screens.** UI built for one screen size that falls apart on mobile. → It requires mobile-first design against defined breakpoints and verification at multiple widths. **Missing polish.** No page title, no favicon in the tab, blank screens while data loads. → It requires meaningful titles, favicons, meta tags, and proper loading/empty states. **Messy state and navigation.** Prop-drilling, everything dumped into global state, duplicated state that falls out of sync. → It enforces state at the right level, deriving values instead of duplicating them, and one consistent routing setup. **Backend logic leaking into the frontend.** Database calls, business rules, or secrets ending up in client code. → It enforces a strict boundary: the frontend talks to the backend only through a defined API layer. **Insecure defaults.** Secrets shipped to the browser, trusting the frontend to enforce auth, over-fetching user data, unsanitized HTML (XSS). → It applies the security fundamentals — no client-side secrets, backend-enforced authorization, least data exposure, no unsanitized HTML — with full detail in `references/security.md`. **Risky dependencies.** Pulling in bleeding-edge, abandoned, or unvetted packages. → It requires stable, supported (LTS where available) versions, and vetting plus vulnerability scanning before adding anything. **Slow pages.** Huge bundles, unoptimized images, thousands of un-virtualized rows. → It requires code-splitting, image optimization, and pagination/virtualization for long lists. **Inaccessible UI.** Div-soup with no keyboard support and meaning conveyed by color alone. → It requires semantic HTML, full keyboard operability, sufficient contrast, and labeled fields — detail in `references/accessibility.md`. **Poor feedback on failure.** Blank or frozen screens when something goes wrong, and every message crammed into a generic bottom toast. → It requires handling the unhappy paths and matching each message to the right vehicle (inline vs toast vs banner), with detail in `references/notifications.md`. **Weak typing.** `any` everywhere; untyped API responses that blow up at runtime. → In TypeScript projects it requires typed props and responses and bans casual `any`. **Invisible to search.** Content rendered only on the client, with no meta or structured data, so crawlers can't see it. → It requires per-route titles/meta, structured data, and crawlable (SSR/pre-rendered) content where discoverability matters. **Stale documentation.** Docs written once and never updated, which then mislead. → It requires keeping the README and (for Claude Code) `CLAUDE.md` current as part of finishing meaningful changes. **AI-specific failure modes.** Charging ahead on wrong assumptions, over-engineering, editing unrelated code, inventing APIs, and handing over code that doesn't compile or is littered with `console.log`s. → It encodes behavioral discipline: check assumptions, build only what's asked, touch only relevant code, use real APIs, and verify the code builds and typechecks (and is free of debug junk) before calling it done. --- ## Design principles (what makes it more than a checklist) - **Scale rigor to the project.** It applies the fundamentals everywhere, but does *not* drag CI, tests, TypeScript, or tooling into a project that doesn't use them. Small stays small. - **Defer to you and your project.** Your instructions and existing conventions always win. The principles are baselines, not mandates; a deliberate, reasoned exception is not a violation. - **Hard rules vs sensible defaults.** Security and not-shipping-broken-code are non-negotiable; everything stylistic (toast placement, font count, SSR vs SSG) yields to the project. - **Surface the trade-off, then let you decide.** When a request heads toward a real risk, it names the risk concretely, suggests the cleaner approach, and asks — rather than silently obeying or silently overriding. - **Compose, don't reinvent.** Where a mature tool or skill already does the job (linters, scanners, accessibility auditors, Context7, code review), it points you there instead of duplicating it. See `references/ecosystem.md`. --- ## Scope **In scope:** everything client-side — structure, styling, state, accessibility, performance, frontend security, and code correctness (it builds and typechecks). **Out of scope (on purpose):** deployment, CI/CD, git hooks, servers, and databases. Those are DevOps concerns. This skill stays on the client. It's also a deliberately tight baseline — it leaves out things like i18n, error monitoring, and visual-regression testing so it stays lean and composable. Add those per project when you need them. --- ## Getting started First, a one-time prerequisite on Claude.ai: open **Settings → Capabilities** and make sure **Code Execution and File Creation** is enabled. Skills won't run without it. ### Option A — Claude.ai (simplest, best for beginners) 1. Download/clone this repository. 2. Inside it, find the folder `skills/frontend-guardrails` (it contains `SKILL.md` and a `references/` folder) and **zip that folder**. 3. In Claude.ai, go to **Customize → Skills**, click **+ / Create skill**, and upload the ZIP. 4. Toggle the skill **on**. 5. That's it — just start building. Ask Claude to build or change any frontend, and the standards apply automatically. No command needed. (Note: the Claude.ai upload route uses only the skill itself. The bundled Context7 documentation tool comes with the Claude Code route below.) ### Option B — Claude Code (for developers) Register this repo as a marketplace and install it: ``` /plugin marketplace add <your-github-username>/frontend-guardrails /plugin install frontend-guardrails@frontend-guardrails ``` Or, for personal use, copy the `skills/frontend-guardrails` folder into `~/.claude/skills/` (or `.claude/skills/` for a single project), then restart Claude Code. Once installed, it activates automatically on frontend tasks. You can also mention it by name to nudge it explicitly. Installing via the plugin route also sets up the bundled **Context7** MCP, which feeds Claude current, version-accurate library documentation (no API key needed for basic use; add a free key from context7.com for higher rate limits). Before publishing your own copy, validate the manifests by running the following from the repository root directory: ``` claude plugin validate . ``` --- ## Updating Updates are **pull-based** — installing a newer version is something you do, not something that happens automatically. Claude Code does not notify you in-app when a new version is published. To get the latest version (Claude Code): ``` /plugin marketplace update frontend-guardrails /plugin install frontend-guardrails@frontend-guardrails ``` Then run `/r
Lo que la gente pregunta sobre frontend-guardrails
¿Qué es ieze-king/frontend-guardrails?
+
ieze-king/frontend-guardrails es skills para el ecosistema de Claude AI con 0 estrellas en GitHub.
¿Cómo se instala frontend-guardrails?
+
Puedes instalar frontend-guardrails clonando el repositorio (https://github.com/ieze-king/frontend-guardrails) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar ieze-king/frontend-guardrails?
+
Nuestro agente de seguridad ha analizado ieze-king/frontend-guardrails y le ha asignado un Trust Score de 77/100 (tier: Trusted). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene ieze-king/frontend-guardrails?
+
ieze-king/frontend-guardrails es mantenido por ieze-king. La última actividad registrada en GitHub es de 5d ago, con 0 issues abiertos.
¿Hay alternativas a frontend-guardrails?
+
Sí. En ClaudeWave puedes explorar skills similares en /categories/skills, ordenados por popularidad o actividad reciente.
Despliega frontend-guardrails en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/ieze-king-frontend-guardrails)<a href="https://claudewave.com/repo/ieze-king-frontend-guardrails"><img src="https://claudewave.com/api/badge/ieze-king-frontend-guardrails" alt="Featured on ClaudeWave: ieze-king/frontend-guardrails" width="320" height="64" /></a>Más Skills
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
omo/lazycodex: The coding agent for tokenmaxxers;the one and only agent harness for complex codebases. For your Codex, for your OpenCode
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Turn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 160,000+ scientists worldwide. 140 ready-to-use skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Antigravity, and the open Agent Skills standard.
A curated collection of 1000+ agent skills from official dev teams and the community, compatible with Claude Code, Codex, Gemini CLI, Cursor, and more.
No description provided.