Agentic Coding with Claude Code: Spec-Driven Microservices

Build Distributed Microservices with Spec-Driven Development, CLAUDE md, Skills, Subagents and Feature Branches

  • 0.0 (0 Reviews)
  • 0 Students
  • 98 Lessons
  • Mehmet Ozkaya

Course Overview

In this hands-on course, you will move beyond AI-assisted coding and learn to lead Claude Code through the design and development of a real distributed microservices system, working in the terminal, one spec at a time and one feature branch at a time.

You will use Spec-Driven Development (SDD) to turn requirements into written specs. Claude Code plans each spec in Plan Mode, implements it on its own Git feature branch, verifies it, and merges it into main. The capstone EShop is built with C#, .NET 10 and Aspire, but the workflow itself does not depend on the language: the same CLAUDE md, WOW md, specs, skills and subagents work in a Java, Python, Node.js or Go repository.

This is not a beginner prompt-engineering course. You act as the AI Architect: you write the specs, set the rules and review every change, while Claude Code explores the codebase, plans the work, writes the code and commits it.

Inside this course, we will focus on:

Claude Code Agent Harness and Architecture: The agentic loop (gather context, take action, verify results), the built-in tools, sessions, the context window, checkpoints and the four permission modes: Manual, Accept Edits, Plan and Auto. Understand why Claude Code behaves the way it does, so you can steer it reliably.

The Explore → Plan → Code → Commit Workflow: Anthropic’s recommended loop for every change. Claude explores the code, proposes a plan you approve in Plan Mode, implements it, verifies it with builds, tests and running services, and finishes with a descriptive commit.

Planning the Project with Claude: PROJECT md and PLAN md: Before any code exists, Claude interviews you with the AskUserQuestion tool. Your answers become a PROJECT md with the scope, architecture and constraints, and a phased PLAN md. The first phase becomes a running distributed skeleton.

Spec-Driven Development for Microservices: Learn the SDD levels (spec-first, spec-anchored, spec-as-source) and compare GitHub Spec Kit, Kiro and OpenSpec. Then build your own lightweight SDD workflow on Claude Code features: a WOW md (Way of Working) rulebook for humans and agents, a spec template, and a spec backlog that Claude breaks out for each microservice.

Feature Branch Management with Claude Code: One rule drives delivery: one spec = one sub-feature = one feature branch. The spec is the first commit on its branch, the code is implemented and verified there, and the branch is merged into main with git merge --no-ff, so every change stays small and reviewable.

Develop Distributed Microservices with Claude Code: Build the Catalog, Basket and Ordering services, each owning its own data in PostgreSQL or Redis, plus a Blazor storefront, all orchestrated with Aspire. Prove the services talk with a trace in the Aspire dashboard, and let Claude test the buyer’s journey in a real browser with Claude in Chrome.

CLAUDE md and Context Engineering: Bootstrap project memory with /init, then write an effective CLAUDE md with your architecture rules, conventions and Git workflow. Measure and control context with /context, @ references, /compact and /clear, resume sessions, and undo mistakes with /rewind checkpoints.

Agent Skills for the SDD Loop: Turn what you repeated into four delivery skills. /new-spec writes or improves a spec, /start-spec runs preflight checks, creates the branch and plans the work, /finish-spec develops, verifies and merges, and /auto-spec chains all three in one command. Then build the Ordering microservice with them.

Subagents for Review and Testing: Create two specialists, each with its own context window. The spec-compliance-reviewer audits every branch against its spec before the merge, and the integration-smoke-tester walks the end-to-end buying journey across Catalog, Basket and Ordering. Then build the Basket microservice with skills and the reviewer together.

Each part of the EShop adds one new capability: Catalog with the manual SDD loop, Ordering with skills, Basket with subagents. You learn each feature at the moment the previous step shows you need it.

If you are a software engineer, tech lead or solutions architect ready to go from using an AI assistant to leading an agentic development workflow, enroll today and start building distributed systems with Claude Code.

See more

FAQ

FAQ area empty

Course curriculum

24 chương 98 bài học 8 giờ 33 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Introduction to Agentic Coding and Coding Agents
Chương 3 How Claude Code Works: Inside the Agent Harness
  • The Agentic Loop: How Claude Code Turns a Prompt into Verified Work 4:07
  • Tools and Access: What Claude Code Can Do and See in Your Project 4:00
  • Sessions, Context Window, Checkpoints and Permissions 5:41
  • Working Effectively: Best Practices and Common Failure Patterns 4:10
  • Claude Code Works Quiz
Chương 4 Setup Your Development Environment
  • Configuring the Visual Studio Code Workspace 5:42
  • Introduction to Aspire for Distributed Applications 4:40
  • Verifying the Aspire Toolchain with a Starter Solution 8:59
  • Creating the EShop Repository: .gitignore, First Commit and Branching Strategy 5:03
Chương 5 Install and Configure Claude Code
  • Installing and Authenticating Claude Code (with /doctor Health Check) 5:12
  • Claude Code CLI in VS Code: The Two-Terminal Workflow 6:23
  • Choosing Models, Effort and Usage Limits (/model, /effort, /usage) 4:54
Chương 6 Getting Started with Claude Code
  • Navigating the CLI: Core Slash Commands, Shortcuts and Settings 5:29
  • Permission Modes: Manual, Accept Edits, Plan and Auto (Shift+Tab) 7:06
  • The Explore -> Plan -> Code -> Commit Workflow 4:56
  • Give Claude a Way to Verify Its Work: Tests, Builds and Evidence 4:31
  • Common Workflows Tour: Codebase Q&A, Images, Bugs and Tests 7:38
Chương 7 Planning the EShop Microservices Project
  • The AskUserQuestion Tool: Let Claude Interview You 4:19
  • Interviewing with Claude Code for the EShop Microservices Architecture 11:10
  • Refining and Validating PROJECT.md: Scope, Architecture and Constraints 4:07
  • Creating the Phased PLAN.md and Committing the Planning Docs 6:22
Chương 8 Generating the Distributed Microservices Skeleton
  • Planning the Skeleton from PLAN.md in Plan Mode 5:15
  • Implementing the Skeleton: AppHost, ServiceDefaults and Service Projects 3:40
  • Examining the Generated Code and Solution Structure 3:33
  • Running with aspire run: Dashboard, Resources and Health Checks 3:33
  • Committing the Skeleton: Descriptive Commits and Pushing to main 1:27
Chương 9 CLAUDE.md and Project Memory
  • Bootstrapping Project Memory with /init 4:52
  • Writing an Effective CLAUDE.md: What to Include and What to Cut 4:46
  • How Project Memory Works: Hierarchy, @imports, Auto Memory and the .claude file 5:40
Chương 10 Context and Session Management
  • Reading and Targeting Context: /context and the @ Syntax 6:35
  • Fighting Context Rot: /compact with Focus and /clear Between Tasks 5:57
  • Managing Sessions: --continue, --resume, /rename and /branch 7:10
  • Checkpoints: Rewind Code and Conversation with Esc+Esc and /rewind 4:38
Chương 11 Wiring the Data Infrastructure in a Fresh Session
  • Starting the Next Plan Step with a Fresh Session and Clean Context 5:24
  • Planning and Implementing the Data Infrastructure: PostgreSQL, Redis and pgAdmin 5:23
  • Examining, Verifying and Committing the Data Infrastructure 6:21
Chương 12 Spec-Driven Development (SDD) Fundamentals
  • What is Spec-Driven Development and Why Agents Need It 5:18
  • SDD Levels: Spec-First, Spec-Anchored and Spec-as-Source 4:35
  • SDD Tools Landscape: Spec Kit, Kiro, OpenSpec — and Why We Build Our Own 6:11
  • SDD Artifacts Mapped to Claude Code: Constitution, Spec, Plan and Tasks 5:11
  • SDD Quiz
  • Spec-Driven Development Role Play
Chương 13 Applying SDD to the EShop Microservices
  • Designing Our SDD Workflow for the EShop Microservices 5:47
  • One Spec = One Sub-Feature = One Feature Branch 6:26
  • Way of Working (WoW.md): Team Rules for Humans and Agents 10:20
  • Asking Claude to Break Each Microservice into Specs 8:13
  • Reviewing the Spec Backlog and Updating WoW.md 10:10
Chương 14 Catalog Microservice with SDD: The Manual Loop
  • Catalog Spec 01: From Backlog Stub to a Buildable Spec 7:37
  • Explore and Plan Spec 01: Watching the Built-in Explore and Plan Subagents 3:44
  • Implementing, Verifying and Merging Spec 01 5:57
  • Catalog Spec 02: Seeding the Product Data 7:12
  • Developing Spec 03, and Spec 04 of Catalog Microservices Products 11:18
  • Retrospective: What Did We Repeat? Finding Candidates for Skills 3:07
Chương 15 Agent Skills: Reusable Knowledge and Workflows
  • The Customization Ladder: CLAUDE.md, Skills, Subagents, Hooks and MCP 3:59
  • Understanding Agent Skills: Inside SKILL.md, Frontmatter and $ARGUMENTS 4:44
  • Reference Skills vs Action Skills and disable-model-invocation 2:27
  • Designing the SDD Skills: From the Retrospective List to Four Contracts 5:24
  • Agent Skills Quiz
  • Agent Skills Role Play
Chương 16 Building the SDD Skills
  • Building /new-spec: Create a Spec, or Review and Enhance an Existing One 8:42
  • Building /start-spec: Preflight Checks, the Feature Branch and the Implement 7:53
  • Building /finish-spec: Develop on the Branch, Verify the Definition of Done 7:08
  • Building /auto-spec: Chaining the Three Skills into an Autopilot Loop 5:49
Chương 17 Ordering Microservice with Skills
  • /new-spec ordering-api 01: Reviewing and Completing the Domain, Persistence 7:44
  • /start-spec ordering-api 01: Creating the Feature Branch and Planning 5:26
  • /finish-spec ordering-api 01: Developing the Feature, Verifying and Merging 4:58
  • /auto-spec ordering-api 02: Running the Whole Loop in One Command 12:34
  • Complete ordering-api 03, 04 specs and Review the Ordering Microservice 7:44
Chương 18 Subagents: Specialists with Their Own Context Window
  • What Are Subagents? Context Isolation, Skills vs Subagents 4:26
  • Inside a Subagent: .claude/agents, the Frontmatter Contract 5:00
  • Designing Our Two Subagents: The Reviewer and the Smoke Tester Contracts 3:19
  • Subagent Quiz
  • Subagent Role Play
Chương 19 Building and Running the spec-compliance-reviewer Subagent
  • Creating the spec-compliance-reviewer: Read-Only Tools, Two Standards 7:12
  • The First Independent Review: Auditing the Merged Ordering Specs 3:33
  • Acting on Review Findings: Correctness and Requirements, Never Preferences 3:43
Chương 20 Building the Basket Microservice with Skills and a Reviewer
  • Basket Spec 01: Running the Skill Loop on the Orchestrator Service 3:51
  • The Third Gate: Reviewing the Branch Before /finish-spec Merges It 3:57
  • Basket Specs 02 and 03: Add and Remove Item from Basket 6:56
  • Basket Specs 04 Checkout Orchestration 8:28
Chương 21 Integration Testing with integration-smoke-tester Subagent
  • Creating the integration-smoke-tester subagent 8:32
  • Running Integration Smoke Tests Across Catalog, Basket and Ordering 7:48
Chương 22 The Blazor Storefront: The Frontend Development with SDD Specs
  • Designing the Storefront: Four Pages, Three Services, and No Business Rules 3:57
  • Breaking into SDD Specs Backlog for Storefront App 9:08
  • Storefront Spec Developments 1: Products and Carts 8:14
  • Storefront Spec Developments 2: Checkout and Orders 5:44
Chương 23 Browser Testing and End-to-End Validation: Checking It the Way a Buyer Would
  • Connecting Claude to Chrome: What the Browser Agent Can See, and What It Cannot 2:25
  • Screen Testing the Storefront: A Report First, Then a Spec for the Fixes 4:00
  • End-to-End Validation: The Buyer's Journey, Proved and Then Broken on Purpose 4:42
Chương 24 Thanks
  • Thanks 0:51

Requirment

  • A Claude Pro plan or higher (Max, Team or Enterprise), or Claude Console API billing. The free Claude plan does not include Claude Code

  • Basic programming experience. C# and .NET Web API basics help, but you can implement the same specs in Python, Java, TypeScript or Go

  • No prior Claude Code or Spec-Driven Development experience needed. We install and configure Claude Code together, step by step

Outcomes

  • Lead Claude Code as the AI Architect: you write the specs and review every change, while Claude explores, plans, codes and commits

  • Understand how Claude Code works inside: the agentic loop, built-in tools, context window, sessions, checkpoints and the four permission modes

  • Use Spec-Driven Development (SDD) to turn requirements into written specs, and make each spec the source of truth for Claude Code’s work

  • Apply the Explore → Plan → Code → Commit workflow to every change, approving Claude’s plan in Plan Mode before any code is written

  • Deliver every change with one rule: one spec = one sub-feature = one feature branch, verified and merged into main with git merge --no-ff

  • Write an effective CLAUDE md with /init, and manage context with /context, @ references, /compact, /clear and /rewind checkpoints

  • Build Agent Skills that automate the whole spec lifecycle: /new-spec, /start-spec, /finish-spec and /auto-spec

  • Create custom subagents: a spec-compliance-reviewer that audits each branch against its spec, and an integration-smoke-tester across services

  • Build Catalog, Basket and Ordering microservices with PostgreSQL, Redis and a Blazor storefront, orchestrated and observed with Aspire

Instructor

...
Mehmet Ozkaya

0.0

  • ... 0 Student
  • ... 14 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com