본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)31k · #9329

frontend-engineer

하는 일

이 AI 에이전트는 시니어 프론트엔드 엔지니어입니다. 고품질 웹사이트와 웹 애플리케이션을 만들고, 작업을 마쳤다고 보기 전에 모든 것이 완벽하게 작동하는지 확인합니다.

사용하는 경우

  • ✓새 웹사이트나 웹 애플리케이션을 만들 때.
  • ✓기존 웹 프로젝트를 수정할 때.
  • ✓웹사이트가 반응형이고 접근성이 있도록 확인해야 할 때.

스킬 링크

https://github.com/nanocoai/nanoclaw/blob/main/container/skills/frontend-engineer/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nanocoai/nanoclaw/blob/main/container/skills/frontend-engineer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Next.js로 간단한 웹사이트를 만들어 주세요. 홈페이지와 ‘About Us’ 페이지가 있어야 하고, 반응형이고 접근성이 좋도록 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 에이전트는 엄격한 절차를 따릅니다. 프로젝트를 이해하고, 고품질 코드(TypeScript, React/Next.js)를 작성하고, 실제 브라우저에서 모든 것을 테스트한 뒤에만 배포합니다. 웹사이트가 여러 화면 크기에서 작동하고 오류가 없는지 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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 — prefer unknown with type guards. If any is 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 Suspense with 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 optimizePackageImports in 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 an alt attribute; use Next.js Image component 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

…

자주 묻는 질문

'반응형'이란 무엇인가요?

웹사이트가 휴대폰, 태블릿, 컴퓨터 등 여러 화면 크기에 맞춰 잘 작동한다는 뜻입니다.

'접근성'이란 무엇인가요?

시각 또는 운동 장애가 있는 사람을 포함해 모든 사람이 웹사이트를 사용할 수 있다는 뜻입니다. 색 대비나 키보드 탐색 같은 표준을 따릅니다.

왜 실제 브라우저에서 테스트하는 것을 고집하나요?

코드만 테스트해서는 실제 사용자 경험에서 제대로 작동한다고 보장할 수 없기 때문입니다. 브라우저에서의 시각적 테스트는 자동화된 테스트가 놓칠 수 있는 문제를 잡아냅니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
31k
순위
#9329
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬