Prototype One Instance Before Scaling to N

When building a system that will serve N instances of the same pattern, build one instance end-to-end first — from scaffold through deployment — before replicating. The prototype surfaces architectural assumptions that only become visible under real content, real routing, and real build constraints.

Tags

Prototype One Instance Before Scaling to N

The Lesson

When building a system that will serve N instances of the same pattern, build one instance end-to-end first — from scaffold through deployment — before replicating. The prototype surfaces architectural assumptions that only become visible under real content, real routing, and real build constraints.

Context

A regulatory compliance platform needed to serve 12 regulation topics, each with identical page structures, content collection schemas, and component sets. Rather than designing the architecture abstractly and building all 12 simultaneously, the project chose SOC 2 as the first topic and built it through 5 distinct sub-phases before attempting the other 11.

What Happened

  1. Phase 010-A scaffolded the SOC 2 site: Astro config, design tokens, public assets. This established the project structure conventions.
  2. Phase 010-B created the 4 content collection schemas and wrote 38 markdown files of real SOC 2 content. This validated that the schema design could represent real regulatory controls, advisory modules, services, and tools.
  3. Phase 010-C built 10 Astro components including a CSP meta tag. Building components against real content — not placeholder data — revealed which props were actually needed.
  4. Phase 010-D created the 9 topic pages with content collection rendering. This proved the query-and-render pattern worked end-to-end.
  5. Phase 010-E integrated SOC 2 into the hub site with a deploy workflow and verification. This caught deployment configuration issues (workflow location, CNAME, site URL) before they could multiply across 12 sites.
  6. Only after SOC 2 was fully working did Phase 011 (content for 11 topics) and Phase 012 (scaffolding for 11 sites) begin. The SOC 2 implementation served as the reference for what to replicate.

Key Insights

Applicability

Applies to any system that will serve N instances of a common pattern: multi-tenant platforms, documentation sites for multiple products, compliance frameworks, localization. The key requirement is that the instances share enough structure that a prototype genuinely represents the others. Does NOT apply when the "instances" are fundamentally different systems that happen to share a name.

Related Lessons

Related Lessons