Back to projects
ai / web / researchProductionSPEC-DRIVEN

Physical AI & Robotics Textbook

100% AI-Generated Spec-Driven Curriculum

Fully AI-generated interactive textbook on humanoid robotics and physical AI built using Spec-Kit Plus spec-driven development. Features 87 structured lessons, RAG-powered tutoring chatbot, FastAPI backend, Docusaurus frontend, Better Auth authentication, Qdrant vector embeddings, and adaptive content delivery. Zero manual coding - 100% generated through specifications. Includes CI/CD via GitHub Actions and deployments to Vercel & GitHub Pages.

Case study snapshot
Role
Full-stack/data builder
Audience
users, reviewers, and hiring teams
Timeline
2025-01
Role
Full-stack/data builder
Audience
users, reviewers, and hiring teams
Date
2025-01
Problem

Why it mattered

87 structured lessons; Sub-200ms RAG response times; 100% AI-generated architecture; Sub-200ms chatbot responses

Solution

What shipped

Fully AI-generated interactive textbook on humanoid robotics and physical AI built using Spec-Kit Plus spec-driven development. Features 87 structured lessons, RAG-powered tutoring chatbot, FastAPI backend, Docusaurus frontend, Better Auth authentication, Qdrant vector embeddings, and adaptive content delivery. Zero manual coding - 100% generated through specifications. Includes CI/CD via GitHub Actions and deployments to Vercel & GitHub Pages.

Impact

Proof signal

87 structured lessons; Sub-200ms RAG response times; 100% AI-generated architecture; Sub-200ms chatbot responses

< architecture />

System flow

Spec Writing -> AI Code Generation -> Content Generation -> RAG Indexing -> CI/CD Deployment.

Spec Writing
AI Code Generation
Content Generation
RAG Indexing
CI/CD Deployment
Visual architecture
01
Spec Writing
02
AI Code Generation
03
Content Generation
04
RAG Indexing
05
CI/CD Deployment
quality score

Honest maturity snapshot

Code Quality9/10
UI / UX7/10
Scalability8/10
Production Ready9/10
Before

A workflow or idea that needed clearer structure, validation, and delivery.

After

A working product surface with defined features, links, and a reviewable case study.

capabilities

Features

  • Docusaurus integrated into the workflow.
  • FastAPI integrated into the workflow.
  • OpenAI ChatKit integrated into the workflow.
  • Qdrant integrated into the workflow.
  • Spec Writing stage documented in the delivery flow.
  • AI Code Generation stage documented in the delivery flow.
tradeoffs

Engineering challenges

  • Keeping the implementation clear enough to explain while still solving the core technical problem.
  • Choosing a scope that could be shipped, tested, and documented.
  • Turning technical work into proof a visitor can evaluate quickly.
proof

Results

  • 87 structured lessons; Sub-200ms RAG response times; 100% AI-generated architecture; Sub-200ms chatbot responses
  • Documented the engineering path and important learnings.
  • Made source code or technical proof available for review.
reflection

What I learned

  • Tradeoff learned: Keeping the implementation clear enough to explain while still solving the core technical problem.
  • Proof learned: 87 structured lessons; Sub-200ms RAG response times; 100% AI-generated architecture; Sub-200ms chatbot responses
  • Next iteration: Add richer screenshots or a narrated demo.
< stack />
DocusaurusFastAPIOpenAI ChatKitQdrantNeon PostgresBetter AuthSpec-Kit Plus
< next iteration />

Future improvements

Add richer screenshots or a narrated demo.
Add before/after metrics and usage notes.
Package the project as a reusable template or deployable demo.