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

build-and-slice-loop

Implements features in vertical slices, always starting with homepage. Enforces anti-placeholder rules — no lorem ipsum, no TODO stubs, no gray boxes. Real content, real images, real interactions. TypeScript strict mode, Zod validation, and structured file organization.

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

연동 도구SentryPlaywright
설치 방법 보기

포함된 파일(27)

  • SKILL.md6.3 KB
  • admin-dashboard.md5.5 KB
  • ai-chat-widget.md6.0 KB
  • blog-and-content-engine.md4.9 KB
  • build-breaking-rules.md7.4 KB
  • chat-native-dashboard.md3.6 KB
  • contact-forms-and-endpoints.md6.7 KB
  • copilot-and-ai-features.md7.4 KB
  • custom-error-pages.md4.5 KB
  • data-tables.md7.7 KB
  • domain-provisioning.md4.6 KB
  • easter-eggs.md4.7 KB
  • empty-states-and-loading.md5.7 KB
  • file-uploads-and-storage.md6.7 KB
  • internationalization.md4.3 KB
  • keyboard-shortcuts-and-command-palette.md6.7 KB
  • microcopy-library.md8.0 KB
  • notification-center.md8.4 KB
  • onboarding-and-first-run.md5.0 KB
  • pre-digested-builds.md3.6 KB
  • pwa-kit.md6.8 KB
  • realtime-and-websockets.md7.2 KB
  • rich-text-editor.md7.4 KB
  • site-search.md4.0 KB
  • stripe-first-donations.md10.7 KB
  • web-manifest-system.md11.9 KB
  • webhook-system.md9.5 KB

SKILL.md(원문)

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

06 — Build and Slice Loop

Implement features in real vertical slices (UI→API→DB→tests→deploy) starting with the homepage; no placeholders, no stubs.

Vertical-slice principle

Every iteration ships ONE feature end-to-end through every layer (UI → API → DB → tests → deploy). Never half a feature across two passes.

Homepage FIRST (every project, no exceptions)

  • First slice is always the homepage hero + nav + footer
  • Real H1, real meta tags, real OG card, real JSON-LD
  • Deploy before adding any other route — establishes design system, auth layer, analytics tier, deploy pipeline
  • Per rules/website-build-doctrine.md Phase 0 / Phase 1

Anti-placeholder (NON-NEGOTIABLE)

  • ❌ Lorem ipsum
  • ❌ TODO / FIXME / TBD in shipped user-visible strings (source-comment TODOs OK per rules/todos-are-roadmap.md)
  • ❌ Gray placeholder boxes / silhouettes
  • ❌ "Coming soon" without firm date
  • ❌ Stub images / generic SVGs
  • ❌ "John Doe" / "Jane Doe" / "company.com" / "example.com"
  • ❌ Bracket placeholders [Insert Name] / [Your Title]
  • ❌ Single-character "x" / "?" labels

Per rules/copy-writing.md § Production-review copy gate. Build validator greps dist/ for these patterns.

Slice contract (every slice ships ALL of these)

  1. Types + Zod schemas at boundaries (rules/zod-everywhere.md)
  2. Contract-first API (typed request/response)
  3. Loading + empty + error + success states (4-state system per 10-experience-and-design-system)
  4. Accessibility (axe 0 violations + WCAG 2.2 AA per _kernel/standards.md#wcag22)
  5. 6-breakpoint responsive (per _kernel/standards.md#breakpoints)
  6. Observability (Sentry breadcrumb + PostHog event + Workers Trace span)
  7. Tests (Vitest unit + Playwright E2E from homepage outward per rules/e2e-testing.md)
  8. Feature flag where rollout risk exists (rules/feature-flags.md)
  9. Tenant isolation (org_id on every row + every query, 404 on mismatch)
  10. Docs (JSDoc on exports + module README)

File organization

Worker (Hono)

src/worker/
├── index.ts              # entry — Sentry wrapper, route mounts, onError, notFound
├── db/
│   ├── schema.ts         # Drizzle source of truth
│   └── index.ts          # getDb helper
├── routes/<feature>.ts   # Hono sub-app per feature
├── lib/<feature>.ts      # business logic
├── middleware/           # auth, tenant, rate-limit
└── types.ts              # Env + Variables

Frontend (React + Vite)

Vite 8 (stable Mar 2026) builds on the unified Rolldown bundler — replaces esbuild+Rollup, 10–30× faster prod builds.

src/web/
├── main.tsx              # entry — router, providers
├── pages/<Page>.tsx      # one per route
├── components/
│   ├── ui/               # shadcn primitives
│   ├── <feature>/        # feature-specific components
│   └── shared/           # Header, Footer, ErrorBoundary
├── lib/                  # api client, auth context, hooks
└── styles.css            # Tailwind + design tokens

Shared

src/shared/
├── plans.ts              # pricing tiers
├── design-styles.ts      # design tokens shared web + worker
└── pageLayout.ts         # shared layout helpers

Tests

e2e/
├── FEATURES.md           # row-per-feature matrix (CI gate)
├── _fixtures/            # page objects
├── _helpers/             # snapshot, axe, breadcrumbs, visual
├── <feature>/
│   ├── happy-path.spec.ts
│   ├── edge-cases.spec.ts
│   ├── a11y.spec.ts
│   └── visual.spec.ts
└── _smoke/               # cross-feature smoke

Build loop (per slice)

  1. Write failing test (Playwright TDD-RED first per rules/e2e-testing.md)
  2. Author migration (drizzle/0NNN_<feature>.sql) + update db/schema.ts
  3. Apply locally (npm run db:apply:local)
  4. Implement (route, lib, page, components)
  5. Typecheck (npm run typecheck clean)
  6. Unit tests (npm test green)
  7. Run dev (npm run dev) — exercise in browser
  8. Deploy (npm run deploy)
  9. Prod E2E (npm run e2e:prod against PROD_URL)
  10. Verify console (zero errors, zero CSP violations, zero failed resources)
  11. AI vision QA (6bp screenshots → vision rubric ≥9/10)
  12. Commit + push (conventional commits per rules/main-only-branch.md)
  13. Update e2e/FEATURES.md + CHANGELOG

Real content sourcing

  • Copy: brand voice per 09-brand-and-content-system; never AI-default phrasing
  • Images: real photos > AI-generated brand-aligned > zero (skill 12)
  • Data: real API / Workers AI / D1 query > mocked
  • Testimonials: real attribution > none (never fabricated)
  • Stats: cited per rules/citations.md

When to stop adding sections

Per rules/website-build-doctrine.md Phase 2: keep adding until next would dilute. Stop when "next hurts," never "we have enough."

See submodules: vertical-slice.md, file-organization.md, anti-placeholder.md.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Every delivered app — the non-inferable business requirements + exact stack/brand choices every build must satisfy. Loads on every app/site build.

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

heymegabyte/agent-skills242026년 10월 11일 업데이트

Cloudflare-first platform selection. Decision trees for Workers, D1, R2, KV, DO, Queues, Vectorize, Containers, Sandboxes, Flagship, Agent Memory, Workflows v2. Default stack, override conditions, auth, data patterns, reliability.

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

heymegabyte/agent-skills242026년 10월 11일 업데이트

Extract real brands (Wayback for rebuilds). Copy system, headline/CTA rules, trust surfaces, legal pages, SEO+structured data, anti-AI-slop, microcopy, DESIGN.md, W3C DTCG tokens, pSEO 5 types, GEO/AI search.

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

heymegabyte/agent-skills242026년 10월 11일 업데이트

The consolidated, world-class Cloudflare + integrations reference — CF platform/data/AI-edge patterns, media pipeline, observability/growth, payments, and the site-generation pipeline. The non-inferable choices that build the greatest web apps.

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

heymegabyte/agent-skills242026년 10월 11일 업데이트

One-line-prompt → cinematic, gorgeous, functional, well-tested, deployed website. Pre-hydrated SPA + full PWA kit + JSON-LD rich snippets + third-party integrations. React 19+Vite default (Angular optional). 100 concrete improvements grouped into 10 categories that EVERY single-prompt site build must satisfy before being marked done. Trigger whenever the user says 'make a website for X', 'build a site for X', 'rebuild X.com', or any equivalent one-liner.

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

heymegabyte/agent-skills242026년 10월 11일 업데이트

Copy + discoverability requirements every delivered app must meet — real-brand extraction, anti-slop voice, per-page SEO/JSON-LD, pSEO, GEO/AI-search, truth/citations, competitor floor, i18n, trust surfaces.

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

heymegabyte/agent-skills242026년 10월 11일 업데이트

heymegabyte의 스킬 모두 보기

이 스킬의 문제 신고