Reusable Parts and Clean Templates
A slice library is a moat for solo operators and small shops and a highway for larger teams, and it is valuable in both settings only when it is kept usable.
Two Practitioners, One Difference
Imagine two practitioners who each finish a client engagement. Both produced useful pieces of work along the way: a data-handling routine, a configuration pattern, and a set of checks they wrote to confirm results. The first practitioner closes the project folder and moves on. The second spends an extra hour pulling the reusable pieces out of the project, tidying them up, and saving them where they can be found again. A year later, which of them can start the next engagement faster?
The source material calls the collection of reusable parts a slice library, and it makes a sharp point about it: the library does not build itself. Someone has to decide to build it, and that decision has to be repeated after every piece of work. This article explains why the library is worth that effort, how the closing routine builds it, and what keeps it usable for the next person who needs it.
What a Slice Library Is For
The source gives the slice library a different job depending on who is working. For a solo operator or a small shop, the library acts as a moat, a protective barrier that keeps the practice defended. For a larger team, the library acts as a highway, the shared route along which work moves efficiently between people. The two metaphors point to the same underlying asset, but they describe different ways of getting value from it.
Notice what the two roles have in common. In both cases the library is valuable only because it is kept in a usable state. A moat that has not been maintained does little to defend anything, and a highway with no signs or clear lanes does not move traffic well. The source makes this dependence explicit by saying that the library is vital in both settings and that maintaining it takes discipline. The diagram above shows the shared condition beneath both metaphors.
The End-of-Engagement Routine
The central claim of the source is that the library grows only through deliberate action. At the end of every engagement, the FDE makes time to do three things in order: extract the reusable parts into a clean template, write a README that lets the next FDE pick the work up, and add the result to the catalog. None of these steps happens automatically as a side effect of doing the project. Each one has to be chosen.
Read the routine as a chain of dependencies. The extraction step produces the raw material. The README step makes that material usable by someone else. The catalog step makes the finished piece findable at all. The only decision point in the source is whether the FDE chooses to run the routine at all, which is why the flowchart shows a branch where the library does not grow. Skipping the routine does not cause an error anywhere; it simply leaves the library unchanged.
What do you think happens?
Given the two practitioners from the opening, which one can start the next engagement faster, and why?
Reveal answer
The second practitioner, who extracted, documented, and cataloged the reusable pieces.
The second practitioner left parts that can be found again, and the source ties the benefit to later engagements that start from existing parts instead of from nothing.
The source also says that this discipline is what compounds. Each engagement that ends with an extracted, documented piece leaves the library slightly larger and easier to use, and those small additions accumulate. The benefit does not show up in any single engagement. It shows up in later ones, when a practitioner starts from existing parts instead of from nothing.
Tracing the Library Across Three Engagements
To see how the library changes over time, follow a small illustrative library through three engagements. The names and counts below are invented for teaching purposes and are not drawn from the source. Each engagement ends with the same routine: extract the reusable parts, write the README, and add the entry to the catalog.
A library that grows by one routine at a time
A small practice finishes three engagements in sequence. After each one, the FDE runs the closing routine. Track what the library contains and what the next FDE can start from.
- 1After engagement one
The FDE extracts a data-handling routine into a clean template, writes its README, and adds it to the catalog. The library now holds one documented part, so the next FDE has a starting point.
- 2After engagement two
The FDE extracts a configuration pattern and a set of result checks, documents both, and catalogs them. The library now holds three documented parts. The new engagement can begin from the existing data-handling routine and checks rather than being written from nothing.
- 3After engagement three
The FDE skips the routine because the deadline is tight. No new template, README, or catalog entry is created. The library still holds three parts, and its size is unchanged, even though the engagement produced useful work.
The library grew after the two engagements where the routine ran and stayed the same after the one where it was skipped. The benefit appears in later engagements because each added part can be reused, and the skipped engagement left nothing behind for anyone else.
| Engagement | Routine run? | Parts in library | What the next FDE can start from |
|---|---|---|---|
| One | Yes | 1 | A data-handling routine with a README |
| Two | Yes | 3 | Routine, configuration pattern, and result checks |
| Three | No | 3 | Unchanged from engagement two |
Illustrative library growth (invented teaching example, not from the source)
Why the README and Catalog Entry Matter
The README is what lets someone else pick up a part. The source is clear that skipping documentation undermines the library even when the code itself is sound. A template on its own can still exist, but without a README the next FDE has no stated way to pick it up. The catalog entry plays a different role: it is what makes the finished piece findable at all.
In the diagram, the catalog entry is the route by which the next FDE reaches a part, and the README is the explanation the FDE reads before adopting it. The source does not state a fixed reading order, so the ordering shown is an interpretation: findability comes first, and understanding comes once the part has been found.
Mistakes That Erode the Library
Common mistake Treating the library as something that builds itself
Why it failsThe source states the library does not build itself. It grows only when the FDE deliberately acts at the end of every engagement.
Do this insteadMake the closing routine an explicit step that is chosen for every engagement.
Common mistake Extracting the code but skipping the README
Why it failsThe README is what lets someone else pick up a part. Without it, the next FDE has no stated way to adopt the template, even if the code is sound.
Do this insteadWrite the README as the second step of the routine, before the entry is added.
Common mistake Assuming a documented part will be found without a catalog entry
Why it failsThe catalog entry is what makes the finished piece findable at all.
Do this insteadAdd the result to the catalog as the final step of the routine.
Common mistake Expecting the benefit to appear in the engagement that produced the part
The source warns that the library is valuable in both settings only when it is kept usable. Skipping the routine on one engagement can look harmless, because nothing breaks at that moment. The loss shows up later, when the next practitioner has less to start from.
Practice: Tracing a Part's Route
A practitioner finishes an engagement that produced a set of result checks. Using the three ordered steps from the source, describe what must happen for the next FDE to find and adopt those checks. Then say what the library looks like if the practitioner only does the first step.
Hints
- The source names three steps in order: extract, write the README, and add to the catalog.
- Think about which step makes the part findable and which step lets someone else pick it up.
- If only the extraction happens, the part exists but has no documentation and no catalog entry.
Key Takeaways
- A slice library is a moat for solo operators and small shops and a highway for larger teams, and it is valuable in both settings only when it is kept usable.
- The library does not build itself. It grows because the FDE deliberately runs a closing routine at the end of every engagement.
- The closing routine has three ordered steps: extract reusable parts into a clean template, write a README for the next FDE, and add the result to the catalog.
- The README lets someone else pick up a part, and the catalog entry makes the finished piece findable at all.
- Benefits compound over later engagements, so skipping the routine leaves the library unchanged and the next practitioner with less to start from.