README: tension/resolution patterns; list acls-dont
A skill that resolves a tension is written as a pattern: context, problem, forces, therefore, resulting context. An anti-pattern takes the same form, with the tempting answer among the forces. A recipe with no tension stays plain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b5411466e3
commit
e62f6ac285
1 file changed
+3
@@ -16,6 +16,7 @@ Code](https://code.claude.com/docs/en/skills) and
|
|||||||
|
|
||||||
- [pola](pola/SKILL.md) — organize all code, tests included, by
|
- [pola](pola/SKILL.md) — organize all code, tests included, by
|
||||||
the flow of authority: each part gets only what its task needs.
|
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,
|
- [no-ambient-authority](no-ambient-authority/SKILL.md) — clocks,
|
||||||
RNGs, `fetch`, and the filesystem come in as parameters.
|
RNGs, `fetch`, and the filesystem come in as parameters.
|
||||||
- [io-between-turns](io-between-turns/SKILL.md) — sync I/O is a pointy
|
- [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.
|
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 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.
|
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.
|
||||||
Reference in new issue
Block a user