Question · Vibe coding with Claude Code course · Module 2: A Next.js project with Claude Code

Quiz: Why SPEC.md before the build

Why do you write a mini PRD in SPEC.md with Claude before building the landing page?

Answer options

  • Because without a SPEC.md file Claude Code will not start plan mode
  • To write down the goal, the audience, the sections, what we do not do and how we will check, before Claude starts guessing
  • So that Claude writes code faster, because SPEC.md contains ready-made components
  • Because Next.js requires a SPEC.md file to build the project
Show the answer

Correct answer:

  • To write down the goal, the audience, the sections, what we do not do and how we will check, before Claude starts guessing