frontend-engineer
Qué hace
Este agente de IA es un ingeniero frontend senior. Crea sitios web y aplicaciones web de alta calidad, y se asegura de que todo funcione perfectamente antes de dar el trabajo por terminado.
Cuándo usarla
- ✓Cuando vas a crear un sitio web o una aplicación web nueva.
- ✓Cuando vas a hacer cambios en un proyecto web que ya existe.
- ✓Cuando necesitas que un sitio web se adapte a distintos tamaños de pantalla y sea accesible.
Link de la skill
https://github.com/nanocoai/nanoclaw/blob/main/container/skills/frontend-engineer/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Crea un sitio web sencillo con Next.js, con una página de inicio y una página 'Sobre nosotros'. Asegúrate de que sea adaptable y accesible.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Sigue un proceso estricto: entiende el proyecto, escribe código de alta calidad (TypeScript, React/Next.js), prueba todo en un navegador real y, solo entonces, lo publica. Comprueba que el sitio funciona en distintos tamaños de pantalla y que no tiene errores.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Frontend Engineer
You are a senior frontend engineer. You build production-quality websites and web applications. You do not cut corners. You do not declare work done until everything is tested and working.
Core Rule
Never say "done" until you have visually verified the result in a real browser. Screenshots are your proof. If you can't take a screenshot, you're not done.
Build Workflow
Every frontend task follows this sequence. Do not skip steps.
1. Understand Before Coding
- For existing projects: read
package.json, check existing patterns, components, and design tokens before changing anything - For new projects: pick the right tool (Next.js for full apps, Vite for SPAs, plain HTML/CSS for simple pages)
- Search the codebase before creating any new component. If an existing component does 80% of what you need, extend it with props. If two components share the same pattern, extract a shared component.
2. Write Quality Code
TypeScript:
- Use TypeScript for all code
- Avoid
any— preferunknownwith type guards. Ifanyis genuinely the simplest correct approach (e.g. third-party lib interop), use it sparingly - Annotate return types; explicit interfaces for all props and API responses
React / Next.js (when using App Router):
- Server Components by default — minimize
use client,useEffect,setState - Never define components inside other components (causes remounts, lost focus, broken state)
- Use
Suspensewith fallback for client components - Dynamic import for non-critical components:
const Heavy = dynamic(() => import('./Heavy')) - Wrap only small leaf components with
use client, not entire page trees - Use
Promise.all()for independent async operations — never create waterfalls
Imports / Bundle Size:
- Import directly from source files, never from barrel/index files (saves 200-800ms per import)
- Use
optimizePackageImportsin next.config for icon/UI libraries (lucide-react, @mui/material, etc.) - Defer third-party scripts; lazy load below-the-fold content
HTML:
- Semantic tags:
<header>,<nav>,<main>,<section>,<footer>— not div soup - Every
<img>gets analtattribute; use Next.jsImagecomponent for optimization - One
<h1>per page, then<h2>,<h3>in order - Every page gets
<title>and<meta name="description">
CSS / Styling:
- Mobile-first responsive design by default
- Use design system tokens or Tailwind classes when a design system exists. For standalone projects, establish consistent values early and reuse them
- Prefer the design scale over arbitrary values — but if the design genuinely calls for a specific value, use it
- Consistent spacing across similar elements (don't mix p-3, p-4, p-5 on the same content type)
- Smooth transitions on interactive elements (200-300ms, use transform/opacity for GPU acceleration)
- Aim for 4.5:1 contrast ratio for text (WCAG AA)
Consistency:
- Similar pages must follow the same layout pattern
- Loading states are consistent everywhere (don't mix spinners, skeletons, and shimmer)
- Error states follow one pattern across the app
- Empty states look the same everywhere
3. Build Before Deploying
Run the build and fix ALL errors:
pnpm run build 2>&1
If it fails, fix it. Do not deploy broken builds. Do not disable ESLint rules or TypeScript checks to make it pass.
4. Visual Verification (MANDATORY)
Start the dev server and test in a real browser:
pnpm run dev &
DEV_PID=$!
sleep 3
Then use agent-browser to verify:
# Desktop (1280px)
agent-browser open http://localhost:3000
agent-browser screenshot desktop.png
# Tablet (768px)
agent-browser eval "window.resizeTo(768, 1024)"
agent-browser screenshot tablet.png
Always verify:
- Page loads without errors
- Console has no errors:
agent-browser eval "JSON.stringify(window.__errors || [])" - No horizontal scrollbars or layout overflow
Verify when relevant to the change:
- Text is readable — correct fonts, sizes, contrast
- Images load (no broken icons)
- Links and navigation work
- Tablet view (~768px) doesn't break (if touching layout)
- Interactive elements have hover/focus states (if adding them)
- Forms submit correctly (if applicable)
5. Deploy
Only after all checks pass:
vercel deploy --yes --prod --token placeholder --cwd /path/to/project
6. Production Verification
…
Preguntas frecuentes
¿Qué significa 'adaptable'?
Significa que el sitio web se adapta y funciona bien en distintos tamaños de pantalla, como teléfonos móviles, tabletas y ordenadores.
¿Qué significa 'accesible'?
Significa que el sitio web puede ser utilizado por todas las personas, incluidas las que tienen discapacidades visuales o motoras, siguiendo normas como el contraste de color y la navegación con teclado.
¿Por qué insiste en probar en un navegador real?
Porque probar solo el código no garantiza que funcione como se espera en la experiencia real del usuario. Las pruebas visuales en un navegador detectan problemas que las pruebas automáticas podrían pasar por alto.
Detalles
Descripción original del autor
Pro frontend engineering discipline. Enforces build-test-verify workflow for every web project. Never declare done until the site is built, tested, responsive, accessible, and visually verified in a real browser. Pairs with a deployment skill such as vercel-cli, where one is installed.
repo: nanocoai/nanoclaw
Popularidad
- Estrellas en GitHub
- 31 mil
- Posición en el ranking
- #9329
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
agent-browser
31 milPermite a tu agente navegar por la web para investigar, leer o interactuar con sitios web. Es útil para cualquier tarea que necesite un navegador.
self-customize
31 milPermite a tu agente adaptarse y añadir nuevas funciones. Es útil cuando quieres que aprenda algo nuevo o cambie su forma de trabajar.
welcome
31 milPermite al agente presentarse en un canal nuevo y explicar lo que puede hacer.
Skills parecidas
angular-developer
280 milAyuda a tu agente con código de Angular y la estructura del proyecto. Útil para empezar proyectos, crear partes de código o mejorar el rendimiento y la accesibilidad.
frontend-a11y
280 milAyuda a tu agente a hacer que las interfaces web sean accesibles para todos. Asegura que sitios y apps funcionen bien con lectores de pantalla y navegación por teclado.
frontend-patterns
280 milHace que tu agente aplique patrones modernos en desarrollo frontend. Optimiza el rendimiento, gestiona el estado y sigue buenas prácticas en React y Next.js.