Files
2nd/10_Wiki/Topic_Programming/Backend/Rapid-Prototyping.md
T
Antigravity Agent 9148c358d0 docs(10_Wiki): 위키 전체 재구성 — Topic_* 폴더를 4개 카테고리로 통합 + 대규모 중복 제거
Topic_Agent/Topic_Blog/Topics/Topics_Biz/Topics_Meeting/Topics_Rag의 마크다운 지식 문서를
Topic_General/Topic_Programming/Topic_Graphic/Topic_Business 4개 카테고리로 재분류.

- 중복 제거: frontmatter의 status:duplicate/merged + duplicate_of/redirect_to 필드로
  자기 자신을 중복으로 선언한 리다이렉트 stub 1032개 제거, 완전 동일 내용 파일 472개 제거,
  동일 파일명·다른 내용 충돌 시 더 큰(완전한) 버전만 유지(162개 제거) — 총 1639개 중복 제거.
- 분류: 폴더 단위로 명확한 항목(AI_and_ML/Coding/Architecture 등 → Programming,
  Comfyui/Visual_Effects → Graphic, Topics_Biz/Topics_Meeting/사업 등 → Business,
  Poetic_Blog_Writing/창의성/Game_Design 등 → General)은 폴더 우선순위로,
  나머지 혼재 폴더(Topic_Agent/Topic_Blog/Topics 루트/Thinking & Reasoning/Other/UI_UX_Assets)는
  title/tags 키워드 스코어링으로 파일 단위 분류(불명확한 경우 General로 폴백).
  원본 폴더명은 "From_*" 서브폴더로 보존해 추적 가능성 유지.
- 최종 배치: Programming 2784 / General 1608 / Graphic 285 / Business 249 = 4926개 문서.
- 에이전트 운영 상태(.astra/.agent/.obsidian/sessions/memory/_company/docs/lessons/_shared/src)는
  지식 콘텐츠가 아니므로 재분류 대상에서 제외하고 원위치 유지.
- Topics/Topic_email(상위 보호 폴더 Topic_email과 파일명 100% 중복) 삭제 — 보호 폴더 자체는 미변경.
- 완전히 비게 된 Topic_Agent/Topic_Blog/Topics_Biz/Topics_Rag 폴더 제거.
2026-07-05 00:33:48 +09:00

5.0 KiB

id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
id title category status canonical_id aliases duplicate_of source_trust_level confidence_score verification_status tags raw_sources last_reinforced github_commit tech_stack
wiki-2026-0508-rapid-prototyping Rapid Prototyping 10_Wiki/Topics verified self
Prototype-First Development
Spike
MVP Sketch
none A 0.9 applied
methodology
product
engineering
design
2026-05-10 pending
language framework
any agnostic

Rapid Prototyping

매 한 줄

"매 throw-away artifact 의 fast 의 build — 매 question 의 answer". 매 production 의 X — 매 specific assumption (UX, API shape, feasibility) 의 validate 의 minimum 의 build. 2026 의 LLM-assisted scaffolding (v0, Bolt, Cursor Composer) + serverless (Vercel, Fly Machines) 의 cycle 의 hours, 매 not weeks.

매 핵심

매 prototype types

  • Paper/wireframe: 매 UX flow — Figma, Excalidraw.
  • Clickable mockup: 매 user testing — Figma prototype mode.
  • Vertical slice: 매 single feature end-to-end (UI → API → DB).
  • Spike: 매 technical feasibility (e.g., "vector DB 의 latency 가 OK?").
  • Wizard-of-Oz: 매 backend 의 human (Mechanical Turk) — 매 demand 의 validate.

매 5 rules

  1. Time-box: 매 1 day / 1 week 의 hard limit.
  2. One question per prototype: 매 scope 의 narrow.
  3. Throw it away: 매 reuse 의 의 prod 의 X — 매 lessons 의 만 carry.
  4. Hardcode shamelessly: 매 fake data, mock auth, no tests.
  5. Demo, not deploy: 매 stakeholder 의 see — production 의 ≠.

매 응용

  1. New product idea 의 user feedback 의 collect.
  2. Tech-stack bake-off (Postgres vs ScyllaDB latency).
  3. UX pattern 의 A/B mockup.
  4. LLM agent flow 의 feasibility (tool-use chain).

💻 패턴

LLM-scaffolded Next.js prototype

# 매 v0.dev / Bolt 의 starter — 매 minutes 의 ship
npx create-next-app@latest proto --ts --tailwind --app
cd proto && npx shadcn@latest init -d
npx shadcn@latest add button card form
# 매 Cursor Composer / Claude Code 의 "build a $FEATURE landing"

Mock API (in-memory, no DB)

// app/api/items/route.ts
const mem: { id: string; name: string }[] = [];
export async function GET()  { return Response.json(mem); }
export async function POST(req: Request) {
  const b = await req.json();
  mem.push({ id: crypto.randomUUID(), ...b });
  return Response.json({ ok: true });
}

Wizard-of-Oz (Slack as backend)

// 매 user request → Slack channel — 매 human responder
async function handleQuery(q: string) {
  await fetch(SLACK_WEBHOOK, {
    method: 'POST',
    body: JSON.stringify({ text: `[WoZ] ${q}` }),
  });
  // 매 polling for human answer in mock store
  return await pollForAnswer(q);
}

Feature flag for prototype scope

const ENABLE_PROTO = process.env.NEXT_PUBLIC_PROTO === '1';
if (!ENABLE_PROTO) return <NotImplemented />;

Disposable infra (Fly Machines)

fly launch --copy-config --now --auto-confirm
# 매 demo 후 의 destroy
fly apps destroy proto-xyz --yes

Fake data with Faker

import { faker } from '@faker-js/faker';
const users = Array.from({ length: 50 }, () => ({
  id: faker.string.uuid(),
  name: faker.person.fullName(),
  email: faker.internet.email(),
}));

Spike 의 measure (latency probe)

import { performance } from 'node:perf_hooks';
const N = 100;
const samples: number[] = [];
for (let i = 0; i < N; i++) {
  const t0 = performance.now();
  await targetCall();
  samples.push(performance.now() - t0);
}
samples.sort((a,b)=>a-b);
console.log({ p50: samples[N*0.5|0], p95: samples[N*0.95|0], p99: samples[N*0.99|0] });

매 결정 기준

상황 Approach
UX 의 test Figma clickable + 5 user interview
API shape 의 doubt Mock server (msw) + frontend 의 hook up
Tech feasibility Spike with smallest realistic input
Demand validation Landing + waitlist + "fake door" CTA
Internal tool Streamlit / Retool — code 의 X
Multi-stakeholder review Vertical slice — 매 fake data, real flow

기본값: 1 question, 1 week, throw away.

🔗 Graph

🤖 LLM 활용

언제: scaffolding (v0, Bolt, Cursor), fake data, mock backend, copy generation. 언제 X: 매 production deployment — prototype code 의 prod 의 promote 의 X.

안티패턴

  • Prototype 의 production promote: 매 tech debt — rewrite 가 cheaper.
  • No time-box: 매 scope creep — 매 prototype 의 product 의 become.
  • Multiple questions per prototype: 매 confound — one variable.
  • Real auth/payment in prototype: 매 yak-shaving — mock.
  • Reusing prototype tests as prod tests: 매 false confidence — tests 의 X 가 OK.

🧪 검증 / 중복

  • Verified (Google Design Sprint methodology; IDEO; Eric Ries Lean Startup; Marty Cagan Inspired).
  • 신뢰도 A.

🕓 Changelog

날짜 변경
2026-05-08 Phase 1
2026-05-10 Manual cleanup — prototype types + LLM scaffolding 정리