---
title: "Teaching the Agent Our Craft: Structured Agentic Development on a Real Codebase"
description: "A Claude Code harness adapted from Tyler Burleigh's Research-Plan-Implement method lets a small team build a chronic-pain treatment platform with AI agents while keeping TDD and clean-architecture discipline."
url: "https://swe.quest/articles/teaching-the-agent-our-craft-structured-agentic-development-on-a-real-codebase-e902f0c863b512b2"
canonical: "https://8thlight.com/insights/teaching-the-agent-our-craft-structured-agentic-development-on-a-real-codebase"
source: "8th Light"
published: "2026-07-06"
difficulty: "medium"
kind: "Case study"
reading_minutes: 12
tags: ["ai-coding","ai-agents","testing","developer-productivity"]
---

# Teaching the Agent Our Craft: Structured Agentic Development on a Real Codebase

A post on [8th Light](https://swe.quest/sources/8th-light.md), published 2026-07-06, 12 min read, Case study. Original: [https://8thlight.com/insights/teaching-the-agent-our-craft-structured-agentic-development-on-a-real-codebase](https://8thlight.com/insights/teaching-the-agent-our-craft-structured-agentic-development-on-a-real-codebase)

## Summary

A Claude Code harness adapted from Tyler Burleigh's Research-Plan-Implement method lets a small team build a chronic-pain treatment platform with AI agents while keeping TDD and clean-architecture discipline. A root CLAUDE.md holds critical rules, path-scoped rules files load conventions such as Testing Library selector choice and FastAPI Router→Service→Repository wiring only for matching files, and a committed .mcp.json connects the agent to Linear, Figma and internal EHR/CMS services. Two skills structure the work: /story-writer interviews the developer to produce Linear stories with acceptance criteria, and /tdd-build plans numbered RED-gated TDD cycles. In each cycle a test-writer subagent with a fresh context writes tests from the behavioral spec alone, and a PreToolUse hook restricts it to test-file paths.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [Developer productivity](https://swe.quest/tags/developer-productivity.md) (Engineering practices)

## Prerequisites

- Claude Code basics
- test-driven development
- Model Context Protocol

## Keywords

Claude Code, CLAUDE.md, Model Context Protocol, Research-Plan-Implement, Linear, Figma, Testing Library, FastAPI

## Related posts

- [Agent-driven development in Copilot Applied Science](https://swe.quest/articles/agent-driven-development-in-copilot-applied-science-57df9b7433878456.md): GitHub Engineering · 2026-03-31 · Medium · 9 min read · AI for coding, AI agents, Developer productivity, Evaluation, Testing
  A Copilot Applied Science researcher built eval-agents, a set of Copilot SDK-based agents that automate analysis of coding-agent trajectories from benchmarks like TerminalBench2 and SWEBench-Pro, and developed it primarily through coding agents.
- [Dispatches from O'Reilly: Inside a software factory](https://swe.quest/articles/dispatches-from-o-reilly-inside-a-software-factory-4a20ebffc481560f.md): Stack Overflow Blog · 2026-11-20 · Medium · 13 min read · AI for coding, AI agents, Developer productivity
  A software factory maps coding agents onto the full SDLC: eight stages (triage, brainstorm, plan, implement, review, review-CI, release, monitor) over a shared context layer such as an LLM wiki, with production signals looping back as new work.
- [Beyond the Hype: How to Use AI to Actually Increase Your Productivity as a Dev](https://swe.quest/articles/beyond-the-hype-how-to-use-ai-to-actually-increase-your-productivity-as-a-dev-6c25eb43524a25ba.md): Docker · 2025-11-21 · Medium · 14 min read · AI for coding, AI agents, Developer productivity, LLMs
  Effective AI-assisted coding comes from applying classic engineering discipline in a four-phase loop: prompting, planning, producing and refining.
- [Context Engineering Is Just Writing Things Down](https://swe.quest/articles/context-engineering-is-just-writing-things-down-529d8105d51bf0f4.md): Fly.io · 2026-02-23 · Medium · 5 min read · AI for coding, AI agents, Developer productivity
  Agent output quality depends more on project and environment context than on model capability, and that context can be built from plain files on disk.
- [A Virtual Agent team at Docker: How the Coding Agent Sandboxes team uses a fleet of agents to ship faster](https://swe.quest/articles/a-virtual-agent-team-at-docker-how-the-coding-agent-sandboxes-team-uses-a-fleet-c083dfabe4b49d2c.md): Docker · 2026-05-01 · Medium · 12 min read · AI agents, AI for coding, CI/CD, Testing, Developer productivity
  Docker's Coding Agent Sandboxes (sbx) team runs a "Fleet" of seven autonomous Claude Code skill-based agent roles: build engineer, project manager, product owner, CLI tester, performance tester, upgrade tester and software engineer.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
