-
Book Overview & Buying
-
Table Of Contents
Agentic Coding with Claude Code
By :
In this section, instead of vibe coding the application, we use something called spec-driven design. This will be elaborated on later in the book, but the general idea is to create a spec file describing the application, the use case or business use case, and possibly some nonfunctional requirements.
The spec file that we create should tell Claude to reference the spec file when it is going to code. This helps optimize the context window and improves the results we get.
To begin, we press Shift + Tab and switch to plan mode in Claude Code. Plan mode is designed for tasks like this, where we want to do read-only work, conduct some research, and plan what Claude is going to do.
I have added the following prompt, in which I ask Claude to help write a spec file for a project called HookHub.
I want you to help me write a spec file for a project I am building. It's called "hookhub". It's a place where cool open source Claude hooks are displayed and...