1 min read
Rule mutation based on feedback, also known as inspect and adapt
Part 4 of 4 in the series Running a software factory
I am running a small “Software Factory” at the moment. maschinenlesbar.org is thirty-odd repositories, each one a CLI that wraps an open API of the German public sector. There is no review. Claude commits straight to main.
The longer I work on a project, the more I lean on the local context. Things the LLM knows because we have been through them together, and rules I made it keep. That works well enough. But all of it sits in one project, and half the time I forget it is there at all. Put it into a skill under .claude/skills/ and it can be reused.
So every now and then an agent goes through all the finished tasks and looks for the things I told it to remember, and the reasons I gave for them. Then it updates the local skills in the .claude folder.
If you need a slide for it, call it “Feedback Based Rule Mutation”. I call it “Inspect and Adapt”. It is the last of the principles behind the agile manifesto, the one where the team reflects on how to become more effective and then adjusts its behavior. The team is called Claude now.
What comes out is a changed SKILL.md, and the next task runs with it. That is more than I can say for most retro action items I have seen (they were usually still open at the next retro).
Rules have to go, too. A lot of what I tell the LLM during a task only matters for that task, and a skill that keeps getting longer is worth about as much as a process that keeps getting longer.
p.s. Of course the retro itself can be a skill in that folder as well. Then it gets to rewrite its own rules.