diff --git a/README.md b/README.md index 4b65235..e6df6c4 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Code](https://code.claude.com/docs/en/skills) and - [pola](pola/SKILL.md) — organize all code, tests included, by the flow of authority: each part gets only what its task needs. +- [acls-dont](acls-dont/SKILL.md) — don't check who's asking; hand out narrowed capabilities. An anti-pattern, in pattern form. - [no-ambient-authority](no-ambient-authority/SKILL.md) — clocks, RNGs, `fetch`, and the filesystem come in as parameters. - [io-between-turns](io-between-turns/SKILL.md) — sync I/O is a pointy @@ -85,6 +86,8 @@ Write the body for an agent in the middle of a task. It reads the skill's text, For each line, ask: would deleting it change what an agent does? If not, it belongs in the footer or the commit message. +When a skill resolves a tension, with forces pulling different ways, write it as a pattern after the Portland Pattern Repository (and Alexander before it): **Context**, **Problem**, **Forces**, **Therefore**, **Resulting context**. The forces give an agent reasons to handle cases the rules don't cover, and the resulting context says what the resolution costs. An anti-pattern takes the same form, with the tempting answer among the forces. See [notify-me](notify-me/SKILL.md) and [acls-dont](acls-dont/SKILL.md). A recipe with no tension, like [yarn-lock-separate-commit](yarn-lock-separate-commit/SKILL.md), stays plain. + TODO: revise every skill with this in mind. TODO: revise every skill for flow. Edits tend to be local: a new point gets added where it was needed, without asking how it changes the whole. Read each skill end to end, and rework it so it reads as one document.