Skip to content

Commit 5879648

Browse files
committed
pstack: index model-the-domain in poteto mode
1 parent 3c70833 commit 5879648

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pstack/skills/poteto-mode/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Read the leaf skill in full for any principle you apply. Each entry names when i
4848

4949
**Architecture**
5050

51+
- **Model the Domain** (**principle-model-the-domain**). Writing stateful logic, or code that branches a lot or repeats a shape assumption across files. Encode the domain in a structure instead of scattered conditionals.
5152
- **Boundary Discipline** (**principle-boundary-discipline**). Wiring validation, error handling, or framework adapters. Guards at system boundaries, trust internal types, keep business logic pure.
5253
- **Type System Discipline** (**principle-type-system-discipline**). Designing types or a signature in any typed language. Make illegal states unrepresentable, brand primitives, parse external data at boundaries.
5354
- **Make Operations Idempotent** (**principle-make-operations-idempotent**). Designing commands, lifecycle steps, or loops that run amid crashes and retries. Converge to the same end state.

0 commit comments

Comments
 (0)