Step 5: Skills hold what no tool checks
Step 5: Skills hold what no tool checks
The fifth step of the harness I put around my coding agents: what a skill can hold, and why every rule a type, a lint rule or a test can check belongs there instead.
Part of the series: Codebase Harness, Step by Step · View all parts
Previously in this series: Step 4: Architecture from the literature
I wrote skills for my architecture: the layers and what may import what, where input is validated, how adapters are built. The agent reads them and mostly follows. But a skill forces nothing. It is a guide, not a check, and it is not worth what a type checker is.
Two dimensions. A guide acts before the agent, a sensor after. Each is inferential, judged by a model, or computational, decided by a program. Inferential guides are what the agent reads, AGENTS.md, a skill, a plan, sharper written in the literature's words; computational guides are deterministic tools, a codemod, a generator, a command that acts in the agent's place, code mode, where the agent writes a program instead of a string of actions, a language server. Inferential sensors are a review by a model or a person; computational sensors are the type checker, the linter, tests and fitness functions. Each practice moves a judgement toward computation, and the computational sensor is the optimum.
- 4 · literature in skills
- 5 · skillstoday
- 1 · type checker
- 2 · linter
- 3 · dead code
In Birgitta Böckeler's grid of guides and sensors, a skill is an inferential guide: the model reads it before it acts, and nothing checks that it followed. The series' map: Guides and Sensors: Mapping Your Attention to Free It
Why that matters
A rule in a skill fails silently. The agent follows it on most runs; on a long, hard phase it takes the shortest path, and nothing tells you. You find out when something breaks.
So a skill holds what no tool can check: intent, naming, which pattern to reach for. My layering rule is in a skill for the why, and in a test that fails the build for the what.
Go through your CLAUDE.md and your skills. For each rule, ask whether a type, a lint rule or a test could check it. If one could, move the rule there.
Birgitta Böckeler calls a skill a guide, which steers the agent before it acts, and a check a sensor, which observes after. Her grid of the two: Harness engineering for coding agent users
If you want an example, here is one of my architecture skills: lbdremy/phax/.claude/skills/boundaries/SKILL.md
Next in this series: Step 6: Fitness functions keep the architecture
A thought after reading?
If you would like to discuss about this article, you can write to me here. I share because I care and I want to learn. Please teach me with care.