Reference material for the blog post at https://notes.keiran.io/posts/OpenSpec/
This repository contains three independently generated Terraform modules for AWS RDS PostgreSQL, each produced by a different AI coding assistant using the same prompt and the same OpenSpec workflow. The outputs are preserved as-is so readers can compare how each assistant interpreted the requirements, structured the code, and approached testing and documentation.
Every assistant received identical instructions:
"I want to create terraform code for AWS PostgreSQL suitable for running Non-Production and Production workloads. I want to ensure it is unit tested using the Terraform unit testing framework and documented with examples for a variety of use cases."
| Directory | Assistant |
|---|---|
claude-billing-postgresql/ |
Claude Code (Anthropic Sonet) |
gemini-billing-postgresql/ |
Gemini CLI (Google) Gemini 3 Auto |
opencode-billing-postgresql/ |
OpenCode (with Pickle) |
Each directory contains the full OpenSpec change artifacts that drove the implementation. These live under openspec/changes/archive/ and include:
proposal.md— the "why and what" written by the assistant before writing any codedesign.md— the technical design documentspecs/— per-capability specifications the assistant used as a contract during implementationtasks.md— the task list the assistant worked through
These artifacts are what distinguish the OpenSpec workflow from a plain prompt-to-code approach: the assistant reasons about and documents the design before touching any files.