一键导入
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 职业分类
How the eval engine works: generate → grade → review → report
Record final outcomes to history.md, not intermediate requests or reversed decisions
Tone enforcement patterns for external-facing community responses
Team initialization flow (Phase 1 proposal + Phase 2 creation)
Core conventions and patterns for this codebase
Expert guidance for authoring and maintaining .prompt.md evaluation files for hyoka. Covers frontmatter formats, file structure, filtering, and best practices.
| 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:** the user (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: