Track

Prompt Diff Verification

Vibe coding playground

WebContainer preview
0 XP
0d streak

PRD — Diff Reviewer

Build a diff viewer that checks changed files against an allowlist.

System rules

# .cursorrules
- TypeScript strict.
- Tailwind only.
- Parse unified diff format.

Acceptance criteria

  • •Parses unified diff hunks
  • •Highlights disallowed files
  • •Shows approval/rejection state

Expected output files

src/components/DiffReviewer.tsx
prompt studio
56 / 8000 tokens

Graded by static checks, prompt constraints, and LLM-as-a-Judge.

live preview
Dispatch a prompt to boot the hot-reloading preview container.