Credited to Alistair Cockburn, who defines a walking skeleton as "a tiny implementation of the system that performs a small end-to-end function"; the closely related tracer bullets are from Andrew Hunt and David Thomas's The Pragmatic Programmer (1999), and Steve Freeman and Nat Pryce made it the starting point of their test-driven approach in 2009.
Builds first the smallest working version of the whole system, touching every major component from interface to deployment, so architecture risks surface early and all later work grows from something that already runs.
The first two weeks of a payments app: what goes into the skeleton?
A new team can build only so much in its first two weeks. Select an item, then decide whether it belongs in the skeleton, the smallest slice that runs through every layer, or in the later growth. Show the sort to compare yours. Illustrative.
- Not placedPlacedIn the skeletonGrow it later
- Not placedPlacedIn the skeletonGrow it later
- Not placedPlacedIn the skeletonGrow it later
- Not placedPlacedIn the skeletonGrow it later
- Not placedPlacedIn the skeletonGrow it later
- Not placedPlacedIn the skeletonGrow it later
- Not placedPlacedIn the skeletonGrow it later
- Not placedPlacedIn the skeletonGrow it later
Items
What the item does for the system
Your sort matched 0 of 8.Your sort matched 1 of 8.Your sort matched 2 of 8.Your sort matched 3 of 8.Your sort matched 4 of 8.Your sort matched 5 of 8.Your sort matched 6 of 8.Your sort matched 7 of 8.Your sort matched 8 of 8.
- In the skeleton
- Include it if it touches a layer or a connection that the system depends on, in its simplest real form. The slice must run end to end.
- Grow it later
- Leave it for a later slice if it adds depth inside a layer that the skeleton already crosses, or if nothing in the architecture depends on it.
The sort
- Show one real balance: In the skeleton. It crosses the screen, the service, and the database in the simplest way, which is exactly the skeleton's job.
- Real provider login: In the skeleton. Security and identity are integrations that fail late. A real login finds token and permission problems at once.
- Deploy to a test environment: In the skeleton. Delivery is part of the system. A skeleton that cannot be deployed has not proved the path.
- One end-to-end test: In the skeleton. It keeps the skeleton alive as the system grows, and it fails when any connection breaks.
- Complete database schema: Grow it later. More depth in a layer the skeleton already crosses. Add tables as features need them.
- Full profile screens: Grow it later. Rich screens add no new connection to prove, so they wait for their slice.
- Transfer limits and rules: Grow it later. Valuable, but rules sit inside the service. Build them once the path is proven.
- Polished dashboard styling: Grow it later. Looks come last. They carry no architectural risk.
An example
A team of eight started a new payments product under a plan that looked tidy: a database design sprint, then an interface programming sprint, then screens, with integration in the fourth month. The tech lead proposed another route. In nine days the team built a login that used the real identity provider, one screen that showed a single account balance fetched through the real service from the real database, and an automated build that deployed it to a test environment, with one end-to-end test around the whole path.
It did almost nothing for a user, and it found three problems the original plan would have discovered in month four. A firewall rule blocked the service from reaching the database. The deployment pipeline had no permission to release into the secure environment. And the identity provider issued tokens in a format the service could not read. Each fix took days, with the rest of the team still building. Features then went in as thin slices through every layer.
The core idea
Alistair Cockburn defines a walking skeleton as "a tiny implementation of the system that performs a small end-to-end function." It does one trivial thing, such as show a single record, but it does it through every major component: the interface, the service, the data store, and the way it is built and deployed. It can use a simple version of the architecture, and it must connect the pieces the architecture depends on. The team then grows the system from it, one thin working slice at a time.
The idea rests on where project risk lives. Parts built alone usually work, and the surprises come where they meet. A skeleton moves integration, deployment, and security questions to the start, when they are cheap to answer. Hunt and Thomas call the closely related practice tracer bullets, in which a team fires a quick working attempt, sees how near it lands, and adjusts. Both turn a risky plan into a series of small, observable results.
The thinking behind it
Alistair Cockburn Alistair Cockburn, a co-signer of the Agile Manifesto in 2001 and the creator of the Crystal family of methods, is credited with the walking skeleton's name and wrote the definition most teams quote, which appears over his signature on Ward Cunningham's wiki; by 2008 Jeff Patton was citing the term as Cockburn's. The problem it answers is the late discovery that separately built parts do not fit together. The skeleton turns that into an early, small, and cheap discovery, and lets the architecture and the features grow side by side.
Andrew Hunt Andrew Hunt and David Thomas published The Pragmatic Programmer in October 1999. Its tracer-bullet tip borrows from gunnery: tracer rounds show where shots are landing, so the aim can be corrected while firing. For a software team that means building a thin working path through the system early and adjusting it by watching what it actually does. The tracer bullet and the walking skeleton describe much the same practice from two directions, one stressing feedback and the other the shape of the first build.
Where it sits in the layers
The walking skeleton sits in Layer 9, Tools and Techniques, as a portable practice for starting any software build. It puts into practice the principle of the Agile Manifesto in Layer 6 that working software, delivered early and often, is the measure of progress. It is usually done in the first sprint of a Scrum team in Layer 8, and its working result gives the first Sprint Review in Layer 10 something real to show. The common mistake is treating the skeleton as a prototype or a demonstration. A prototype is built to be thrown away and a demonstration can be faked, while the skeleton must be real code that runs through real components and is kept and grown.
How organizations put it to work
The technical lead or architect owns the skeleton, and the first few weeks of the first team are given to it. The definition of done is concrete: the system runs in a production-like environment, a build and deployment pipeline delivers it there without manual steps, and an automated test passes through the whole path. Decisions about the technology stack, the hosting, and the security model are made along the way and written down.
The structure that follows is a habit of vertical slicing. New work arrives as small features that cross every layer, each deployed through the same pipeline, so the skeleton's test stays green as the system grows. The measures are the time to the first deployed slice, the number of integration problems found before feature work began, and the frequency of deployments.
Sustaining it takes keeping the pipeline and the end-to-end test healthy. In the first year a leader should expect a first sprint that shows little to users, questions from stakeholders about the slow start, and a visible calm later when integration surprises are rare.
Where it goes wrong
The first failure is a skeleton made of stubs. If the integrations are faked, the problems stay hidden and the exercise proves nothing. The sign is a demonstration that works on a laptop and has never run in a shared environment.
The second is a skeleton that swells. When a team keeps adding to it until it becomes a first release, the early learning is delayed. The sign is a skeleton that has passed its fourth week.
The third is a skeleton that locks in early choices. Because the architecture of the skeleton is the team's first guess, it can harden into a design nobody has questioned. The sign is a growing system that no one reviews against the original assumptions.
The fourth is ignoring qualities the slice does not test, such as security under attack or performance under load. The sign is a first load test or security review, months in, that finds what the skeleton never touched.
Related and rival frameworks
- User Story Mapping. Lays out the user's journey so the team can choose the first thin slice of value. Better for deciding what the skeleton does, once its technical purpose is clear.
- INVEST Criteria. Tests whether a story is small and independent enough to build as a vertical slice. Better for judging each item that follows the skeleton.
- Cone of Uncertainty. Shows why early estimates are wide. Better for explaining to stakeholders why the skeleton comes first: it cuts uncertainty at the start.
Go to the source
- The Pragmatic Programmer: From Journeyman to Master, Addison-Wesley Professional, 1999
- Growing Object-Oriented Software, Guided by Tests, Addison-Wesley Professional, by Steve Freeman and Nat Pryce, 2009
- The New User Story Backlog Is a Map, jpattonassociates.com, October 8, 2008, which cites the walking skeleton as Cockburn's term, 2008