003Case study2026-07
Developer experience

Introducing spec-driven AI development

Question
How can a shared workflow make AI-assisted development more predictable?
Method
Spec-driven planning and execution, with engineer self-review, optional adversarial review, and teammate PR review.
Result
After several days of ad hoc prompting, an engineer switched to a spec-driven plan and finished a complex Next.js upgrade in a day.
§1Question

Problem and context

Most developers on the team were prompting AI tools without a consistent workflow. I wanted to give the team a shared approach that would make the output more predictable.

§2Conditions

My role and constraints

Around July 2026, I introduced spec-driven development and helped engineers understand why a shared workflow could improve their AI-assisted work.

I created a starter pack of skills for spec-driven development, based on existing skills. Some engineers used that pack for a while. We have since retired the pack and now recommend an existing skills library.

My broader AI work includes an AI Hub and developer guides for development, QA, and code review. I also ran team onboarding and presented at the company AI guild.

One use case involved a legacy application that needed a complex framework upgrade before a feature release.

§3Method

Decisions

Decision 01 Introduce a shared, spec-driven workflow
Options
Ad hoc prompting · Spec-driven development
Chose
Spec-driven development, supported by an explanation of why the workflow helps.
Trade-off
Creating the starter pack was the only additional setup work. We later retired it in favor of an existing skills library.
§4Observations

The workflow in practice

Engineers plan the change before execution, then complete self-review and teammate PR review:

  1. Spec-driven planning. Plan the change before starting implementation.
  2. Implementation. Work through the planned updates with the agent.
  3. Engineer self-review. The engineer reviews the change and sometimes includes adversarial review steps.
  4. Peer PR review. After self-review, the engineer sends the pull request to teammates.
Fig. 1 · Planning and execution come before engineer self-review and teammate PR review. Adversarial review is optional.

A complex Next.js upgrade

A legacy codebase needed an upgrade spanning roughly three or four Next.js versions to support a new feature release. The upgrade required changes throughout the application.

An engineer had already spent several days prompting an agent to update different areas of the codebase. Each additional area needed another prompt.

After switching to spec-driven development, the engineer planned the upgrade before executing it. They finished the upgrade in a day.

§5Result

Outcome and evidence

Engineers adopted the workflow and gave positive feedback on the process. The output became more predictable than it was with ad hoc prompting.

§6Next time

Lessons

Plan the full change before asking an agent to execute it. For this upgrade, the plan needed to cover the application changes as well as the framework version.

The team kept the workflow after we retired the starter pack.

Line changes · 2026-10-23: documented the workflow and Next.js upgrade example