본문으로 건너뛰기
cccskills
무료GitHub에 공개

prototype

Build a UI prototype for design exploration. Creates a self-contained, unauthed page in the real web app with mock data, exposes it for preview, and runs visual audits. Use when exploring layouts, information architecture, or interaction patterns before committing to production implementation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

raphaeltm/simple-agent-manager스타 68(GitHub 68 + cccskills 0)
연동 도구Playwright

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md2.5 KB
  • agents/openai.yaml392 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

UI Prototype Builder

Build a self-contained UI prototype inside the real web app for design exploration and UX iteration.

Full Rules

Read .claude/rules/37-prototype-development.md for the complete prototype development rules. Everything below is a summary workflow.

Workflow

1. Audit the Existing UI

Before building, read the current implementation to understand:

  • What components and patterns already exist
  • What design tokens and styles are in use
  • What the current UX problems are

2. Create the Prototype

Create two files:

apps/web/src/pages/<name>-prototype/
  ├── index.tsx       # Main component — self-contained, no API calls, no auth
  └── mock-data.ts    # Stress-test mock data (long text, many items, empty states, edge cases)

Critical requirements:

  • Wrap content in a scrollable container: <div style={{ height: '100vh', overflow: 'auto' }}>
  • Use existing components (VmSizeCard, @simple-agent-manager/ui, etc.) wherever possible
  • Match the app's design tokens and dark theme
  • Design mobile-first (375px), then enhance for desktop (1280px)
  • Include mock data that pushes UI boundaries — this is how we find where it breaks

3. Wire the Route

Add to App.tsx in the public routes section:

import { MyPrototype } from './pages/<name>-prototype';

// In Routes, alongside other public routes:
<Route path="/prototype/<name>" element={<MyPrototype />} />

4. Start the Dev Server and Expose

cd apps/web && npx vite --host 0.0.0.0

Then expose the port using the SAM MCP expose_port tool (port 5173, protocol http). Share the resulting URL with the user.

5. Visual Audit

Run Playwright screenshots at both viewports:

  • Mobile: 375x667
  • Desktop: 1280x800

Check for: overflow, clipping, text wrapping, interactive element usability, empty states, long content handling.

Save screenshots to .codex/tmp/playwright-screenshots/.

NEVER Deploy to Production

Prototypes may be committed to feature branches for collaboration. They MUST be removed before any merge to main:

  • Delete prototype page directory
  • Remove route from App.tsx
  • Remove import from App.tsx

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Full API endpoint reference for SAM. Use when working on API routes, adding endpoints, writing API tests, or understanding the API surface. Trigger when asked about API endpoints, routes, or HTTP interfaces.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

raphaeltm/simple-agent-manager682026년 10월 26일 업데이트

Full API endpoint reference for SAM. Use when working on API routes, adding endpoints, writing API tests, or understanding the API surface.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

raphaeltm/simple-agent-manager682026년 10월 26일 업데이트

changelog

무료

Recent feature changes and implementation details for SAM. Use when understanding recent changes, checking what was modified recently, or understanding feature history. Trigger when asked about recent changes, what's new, or feature history.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

raphaeltm/simple-agent-manager682026년 10월 26일 업데이트

changelog

무료

Recent feature changes and implementation details for SAM. Use when understanding recent changes, checking what was modified recently, or understanding feature history.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

raphaeltm/simple-agent-manager682026년 10월 26일 업데이트

Cloudflare Workers architecture specialist. Advises on D1 migrations, KV usage patterns, R2 binary distribution, wrangler configuration, and Miniflare testing. Use when modifying wrangler.toml, working with Cloudflare services, or setting up testing infrastructure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

raphaeltm/simple-agent-manager682026년 10월 26일 업데이트

Constitution compliance validator focusing on Principle XI (No Hardcoded Values). Detects hardcoded URLs, timeouts, limits, and identifiers that should be configurable. Use proactively when implementing business logic, adding new features, or reviewing PRs for constitution compliance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

raphaeltm/simple-agent-manager682026년 10월 26일 업데이트

raphaeltm의 스킬 모두 보기

이 스킬의 문제 신고