Engineer's Diary

Cookie Cutters in Software

A fixed way of doing things, instead of keeping it open for the developer community. When does that help, and when does it hurt?

By R. Axiom5 min read

A cookie cutter gives every cookie the same shape. In software, it's a fixed way of doing something: a standard project template, one approved stack, one platform everyone has to use. The alternative is keeping it open for the developer community, with no single fixed answer, where ideas and tools come from many people. Neither is always right. Here is what I think each side gets you.

What the cutter gives you

What it costs you

The agent factory era

Coding agents change this picture. Some people now describe software delivery as a factory: agents write, review and test changes, while people set the direction and approve the results. Addy Osmani puts it as building the factory that builds your software, not just writing code [6]. The New Stack makes a similar point: engineers become process engineers who design the pipelines and the human checks [7]. Sonar, a vendor with its own view, defines an agentic software factory as a repeatable delivery system where agents do the coordinated work and people set the intent, the constraints and the approval rules [8].

In a factory, the cookie cutter isn't a side tool. It is the factory. The templates, the standard checks and the rules agents must follow decide what comes off the line. That raises the stakes both ways. A fixed shape gives agents clear limits, and people are only needed where a mistake is expensive and the call takes judgment [7]. But a flaw in the cutter is now copied at machine speed, and drift happens faster. Faster code also tends to move the bottleneck to review, testing and release, so the checks matter more than the shape of the starter project. That last part is my reading, not something these sources test.

Where I land

Red Hat's advice on golden paths is that they should be optional, not the only way things are done [5]. I agree. Use a cookie cutter for the boring, repeated parts, where being different adds nothing. Keep it owned and updated like a product. Make it cheap to step off the path when there is a good reason. And if nobody can explain why the cutter has the shape it has, that's the sign to check it again. In the agent factory era this matters more, because the cutter now shapes what the agents produce. It needs careful owners, and a way for the developer community to keep improving it.

References
[1] Spotify, Onboarding Software to Backstage, Spotify Software Templates. backstage.spotify.com
[2] Spotify, How we measure Backstage success at Spotify. backstage.spotify.com
[3] cruft, a tool for keeping Cookiecutter projects in sync with their template. github.com/cruft/cruft
[4] React team, Sunsetting Create React App, February 14, 2025 (Japanese version). ja.react.dev
[5] Red Hat, Designing golden paths. redhat.com
[6] Addy Osmani, The Factory Model: How Coding Agents Changed Software Engineering. addyosmani.com
[7] The New Stack, Engineers become process engineers. thenewstack.io
[8] Sonar, What is an agentic software factory? sonarsource.com