docs(README): mark pattern parts in the text, not as headings

Generic headings (Context, Problem, Forces, ...) waste heading space;
docs-files-api already says headings name the point. Mark the parts as
Alexander did: bold problem, a list of forces, a bold "Therefore:".
TODO: rework the patterns that still use the parts as headings.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-11-15 21:11:57 -06:00
1 parent e13420cd6d
commit 2b8704bdd0
1 file changed
+1 -1
+1 -1
View File
@@ -94,7 +94,7 @@ 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.
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. Mark the parts in the text, as Alexander did, not with generic headings: the context in the opening paragraph, the problem as a bold sentence, the forces as a list, the resolution after a bold **Therefore:**, and its cost to close. Headings, where the body needs them, name the point ([docs-files-api](docs-files-api/SKILL.md)): "Confidential details stay private", not "Therefore". 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. TODO: rework the patterns ([notify-me](notify-me/SKILL.md), [acls-dont](acls-dont/SKILL.md), [refactor-mercilessly](refactor-mercilessly/SKILL.md), [hackmd-deck](hackmd-deck/SKILL.md)), which still use the parts as headings. 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.