Tutorials

Step-by-step guides walking the user through specific spec-to-code tasks using LLMs. Each tutorial focuses on achieving a concrete, tangible outcome by following a guided path from a given specification snippet to functional code.
  • Learning Goals: Users will gain practical experience in applying LLMs to generate code from various specification types and integrating the output into a project, understanding the iterative nature of the process.

First Steps: From Spec to First Code

Build a basic web app from a short functional spec using GitHub Copilot.

Building a Simple REST API Endpoint from an Interface Spec

Guide on using an LLM (e.g., via Copilot or Cursor) to generate code for a basic CRUD API endpoint based on a simplified Interface/API Specification snippet. Focuses on Python (Flask/FastAPI) or TypeScript (Node.js/Express).

Creating a React Component from a UI/Functional Spec

Guide on using an LLM to generate a React component based on a UI description or Functional Specification snippet, emphasizing styling with Tailwind CSS.

Generating Database Schema and CRUD Operations from a Data Model Spec

Guide on using an LLM to create database schema definitions (SQL CREATE TABLE statements) and basic CRUD functions (e.g., Python with SQLAlchemy or TypeScript with Mongoose) based on a Data Model or relevant section of a Software Requirements Specification.

Writing Unit Tests Based on Acceptance Criteria

Guide on using an LLM to generate unit tests (e.g., Jest for JS/TS, Pytest for Python) for existing code based on User Stories and their associated Acceptance Criteria.

Evolving Code as Specs Evolve

Iteratively update a Python backend when specs change mid-development.

Cross-Spec Challenge: Multi-Spec Integration

Combine a Product Requirements Doc and a System Design Spec to build a feature.