원클릭으로
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 직업 분류 기준
Guide the coding agent with this feature's chosen implementation-craft rules WHILE it writes code. Use during implement: before and while writing source, and RE-INVOKE per task / file type. It resolves the active feature, reads the per-feature implementation-rules.yml manifest + the canonical code-rules.yml catalog (+ any code-rules.local.yml overlay), and composes a BASELINE (always-on craft defaults) + the feature's OVERLAY (selected decision-prompt rules + decisions + custom rules + dependency policy), surfaced task-scoped (service / client / concurrency / API) so the code reflects the agreed posture. Triggers: implement, writing code, code rules, code quality, DI, naming, error handling, dependency, add a package, refactor, concurrency, API design, before I write the implementation.
Perform a Specrew human-verdict boundary stop on the Claude host. Renders the FULL Rule 46 six-section human re-entry packet AND the verdict options as one Markdown message, with the AskUserQuestion picker disabled so the packet cannot collapse into the picker's short header/option fields. Invoke at EVERY human-judgment boundary stop (specify, clarify, plan, tasks, before-implement, implement, review, retro, feature-closeout, lifecycle-end). Triggers: boundary stop, verdict, approve / redirect / send back, why I stopped, human re-entry packet, gate stop.
How to coordinate with squads on different machines using git as transport
Team initialization flow (Phase 1 proposal + Phase 2 creation)
Step-by-step release checklist for Squad — prevents v0.8.22-style disasters
Never read .env files or write secrets to .squad/ committed files
| 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: