본문으로 건너뛰기
cccskills
무료GitHub에 공개

architectural-proposals

How to write comprehensive architectural proposals that drive alignment before code is written

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md6.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Context

Proposals create alignment before code is written. Cheaper to change a doc than refactor code. Use this pattern when:

  • Architecture shifts invalidate existing assumptions
  • Product direction changes require new foundation
  • Multiple waves/milestones will be affected by a decision
  • External dependencies (Copilot CLI, SDK APIs) change

Patterns

Proposal Structure (docs/proposals/)

Required sections:

  1. Problem Statement — Why current state is broken (specific, measurable evidence)
  2. Proposed Architecture — Solution with technical specifics (not hand-waving)
  3. What Changes — Impact on existing work (waves, milestones, modules)
  4. What Stays the Same — Preserve existing functionality (no regression)
  5. Key Decisions Needed — Explicit choices with recommendations
  6. Risks and Mitigations — Likelihood + impact + mitigation strategy
  7. Scope — What's in v1, what's deferred (timeline clarity)

Optional sections:

  • Implementation Plan (high-level milestones)
  • Success Criteria (measurable outcomes)
  • Open Questions (unresolved items)
  • Appendix (prior art, alternatives considered)

Tone Ceiling Enforcement

Always:

  • Cite specific evidence (user reports, performance data, failure modes)
  • Justify recommendations with technical rationale
  • Acknowledge trade-offs (no perfect solutions)
  • Be specific about APIs, libraries, file paths

Never:

  • Hype ("revolutionary", "game-changing")
  • Hand-waving ("we'll figure it out later")
  • Unsubstantiated claims ("users will love this")
  • Vague timelines ("soon", "eventually")

Wave Restructuring Pattern

When a proposal invalidates existing wave structure:

  1. Acknowledge the shift: "This becomes Wave 0 (Foundation)"
  2. Cascade impacts: Adjust downstream waves (Wave 1, Wave 2, Wave 3)
  3. Preserve non-blocking work: Identify what can proceed in parallel
  4. Update dependencies: Document new blocking relationships

Example (Interactive Shell):

  • Wave 0 (NEW): Interactive Shell — blocks all other waves
  • Wave 1 (ADJUSTED): npm Distribution — shell bundled in cli.js
  • Wave 2 (DEFERRED): SquadUI — waits for shell foundation
  • Wave 3 (ADJUSTED): Public Docs — now documents shell as primary interface

Decision Framing

Format: "Recommendation: X (recommended) or alternatives?"

Components:

  • Recommendation (pick one, justify)
  • Alternatives (what else was considered)
  • Decision rationale (why recommended option wins)
  • Needs sign-off from (which agents/roles must approve)

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)

Risk Documentation

Format per risk:

  • Risk: Specific failure mode
  • Likelihood: Low / Medium / High (not percentages)
  • Impact: Low / Medium / High
  • Mitigation: Concrete actions (measurable)

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

Examples

File references from interactive shell proposal:

  • Full proposal: docs/proposals/squad-interactive-shell.md
  • User directive: .squad/decisions/inbox/copilot-directive-2026-02-21T202535Z.md
  • Team decisions: .squad/decisions.md
  • Current architecture: docs/architecture/module-map.md, docs/prd-23-release-readiness.md

Key patterns demonstrated:

  1. Read user directive first (understand the "why")
  2. Survey current architecture (module map, existing waves)
  3. Research SDK APIs (exploration task to validate feasibility)
  4. Document problem with specific evidence (unreliable handoffs, zero visibility, UX mismatch)
  5. Propose solution with technical specifics (ink components, SDK session management, spawn.ts module)
  6. Restructure waves when foundation shifts (Wave 0 becomes blocker)
  7. Preserve backward compatibility (squad.agent.md still works, VS Code mode unchanged)
  8. Frame decisions explicitly (5 key decisions with recommendations)
  9. Document risks with mitigations (5 risks, each with concrete actions)
  10. Define scope (what's in v1 vs. deferred)

Anti-Patterns

Avoid:

  • ❌ Proposals without problem statements (solution-first thinking)
  • ❌ Vague architecture ("we'll use a shell") — be specific (ink components, session registry, spawn.ts)
  • ❌ Ignoring existing work — always document impact on waves/milestones
  • ❌ No risk analysis — every architecture has risks, document them
  • ❌ Unbounded scope — draw the v1 line explicitly
  • ❌ Missing decision ownership — always say "needs sign-off from X"
  • ❌ No backward compatibility plan — users don't care about your replatform
  • ❌ Hand-waving timelines ("a few weeks") — be specific (2-3 weeks, 1 engineer full-time)

Red flags in proposal reviews:

  • "Users will love this" (citation needed)
  • "We'll figure out X later" (scope creep incoming)
  • "This is revolutionary" (tone ceiling violation)
  • No section on "What Stays the Same" (regression risk)
  • No risks documented (wishful thinking)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

github/gh-aw5.4천2026년 10월 18일 업데이트

Shared hard rules enforced across all squad agents

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

github/gh-aw5.4천2026년 10월 18일 업데이트

Route gh-aw design, creation, diagnosis, patching, active debugging, and upgrade requests to the right strategies.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

github/gh-aw5.4천2026년 10월 18일 업데이트

Upgrade gh-aw to latest gh-aw-firewall release and identify follow-up spec tasks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

github/gh-aw5.4천2026년 10월 18일 업데이트

Review code that performs git or gh operations against repository checkouts in gh-aw, checking that the right credentials are available at the right time and that sparseness, shallowness and credential-free factors are properly considered.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

github/gh-aw5.4천2026년 10월 18일 업데이트

Defensive CI/CD patterns: semver validation, token checks, retry logic, draft detection — earned from v0.8.22

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

github/gh-aw5.4천2026년 10월 18일 업데이트

github의 스킬 모두 보기

이 스킬의 문제 신고