domain-modeling
Write a glossary, record ADRs, and clarify vague terms.
MAmattpocock/skills336k5,004 new stars in the last 7 days
How to write comprehensive architectural proposals that drive alignment before code is written
Proposals create alignment before code is written. Cheaper to change a doc than refactor code. Use this pattern when:
Required sections:
Optional sections:
Always:
Never:
When a proposal invalidates existing wave structure:
Example (Interactive Shell):
Format: "Recommendation: X (recommended) or alternatives?"
Components:
Example:
### 1. Terminal UI Library: `ink` (recommended) or alternatives?
**Recommendation:** `ink`
**Alternatives:** `blessed`, raw readline
**Decision rationale:** Component model enables testable UI. Battle-tested ecosystem.
**Needs sign-off from:** Product Lead (product direction), Runtime Engineer (runtime performance)
Format per risk:
Example:
### Risk 2: SDK Streaming Reliability
**Risk:** SDK streaming events might drop messages or arrive out of order.
**Likelihood:** Low (SDK is production-grade).
**Impact:** High — broken streaming makes shell unusable.
**Mitigation:**
- Add integration test: Send 1000-message stream, verify all deltas arrive in order
- Implement fallback: If streaming fails, fall back to polling session state
- Log all SDK events to `.squad/orchestration-log/sdk-events.jsonl` for debugging
File references from interactive shell proposal:
docs/proposals/squad-interactive-shell.md.squad/decisions/inbox/copilot-directive-2026-02-21T202535Z.md.squad/decisions.mddocs/architecture/module-map.md, docs/prd-23-release-readiness.mdKey patterns demonstrated:
Avoid:
Red flags in proposal reviews:
Write a glossary, record ADRs, and clarify vague terms.
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
OBobra/superpowers331k5,757 new stars in the last 7 days