ワンクリックで
architectural-proposals
How to write comprehensive architectural proposals that drive alignment before code is written
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
How to write comprehensive architectural proposals that drive alignment before code is written
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication
Shared hard rules enforced across all squad agents
Defensive CI/CD patterns: semver validation, token checks, retry logic, draft detection — earned from v0.8.22
Platform detection and adaptive spawning for CLI vs VS Code vs other surfaces
Coordinating work across multiple Squad instances
How to coordinate with squads on different machines using git as transport
| name | architectural-proposals |
| description | How to write comprehensive architectural proposals that drive alignment before code is written |
| domain | architecture, product-direction |
| confidence | high |
| source | earned (2026-02-21 interactive shell proposal) |
| tools | [{"name":"view","description":"Read existing codebase, prior decisions, and team context before proposing changes","when":"Always read .squad/decisions.md, relevant PRDs, and current architecture docs before writing proposal"},{"name":"create","description":"Create proposal in docs/proposals/ with structured format","when":"After gathering context, before any implementation work begins"}] |
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:** Brady (product direction), Fortier (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: