원클릭으로
architecture-planning
Define component boundaries, interfaces, and structural decisions for a change
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Define component boundaries, interfaces, and structural decisions for a change
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | architecture-planning |
| description | Define component boundaries, interfaces, and structural decisions for a change |
Consolidate approved upstream deliverables into a cohesive architectural plan that downstream code-planners can implement independently.
Output: a git-tracked architecture document (specs/arch-plan/<goal-slug>/<timestamp>-<task-id>.md) plus
structured output[] entries, one per code-planning scope. Each output entry becomes a
code-planning child task — the code-planner reads the architecture document and its scope entry,
the goal spec, and referenced material. Write accordingly: the arch doc should be self-contained
for structural decisions, leaving behavioral detail to the spec.
The architect bridges what (spec) and how (code plan). Spec says what to build; the architect says where each piece goes and how pieces connect. Code-planners turn each scope into implementation steps.
Your task provides:
spec_ref) — what must be builtset-task-output for each code-planning scopeScope discipline:
Architecture Plan format at the task-specified path.
Read and synthesize all inputs before making any structural decisions.
If conflicts are unresolvable from the spec, surface as Open Questions.
Map the existing architecture before proposing changes.
Do not over-explore. Enough understanding for sound structural decisions, not a full architecture
review. For deeper analysis of a specific area, use software-architecture-review in
Code Review Supplement mode.
Define structural decisions. Each decision must have a rationale.
Decision altitude:
| Too low (code-planner territory) | Right level | Too high (spec territory) |
|---|---|---|
| "Function X takes param Y: int" | "Component A exposes a query interface that B calls" | "The system should be reliable" |
| "Use a map[string]Task" | "Tasks are indexed by ID for O(1) lookup" | "Store tasks" |
| "Error wraps with fmt.Errorf" | "Errors propagate up with context; no silent swallowing" | "Handle errors" |
If a decision reads like code, it's too low. If it reads like a requirement, it's too high.
Map the architecture to code-planning scopes. Each scope becomes one code-planner task. Scopes correspond to domains or sub-domains — not to implementation steps. Sequencing work within a scope is code-planner territory.
depends_on only when scope B cannot be implemented without A's outputdepends_on or explicit interface contractsDecomposition heuristics:
done_when, the scope isn't well-boundedBefore submitting:
done_whendepends_on captures true ordering constraints onlyFix issues before submitting.
| Pattern | What goes wrong |
|---|---|
| Architecture Astronautics | Over-abstraction for hypothetical flexibility. If an interface has one implementation and no planned second, it's a cost not an investment. |
| Scope Inflation | Components or interfaces not required by the spec. The plan should be minimal — just enough structure. |
| Interface Speculation | Defining detailed contracts before understanding data flow. Trace data first; interfaces emerge from what needs to cross boundaries. |
| Monolithic Scope | One giant scope spanning unrelated domain boundaries. Decompose when a scope covers multiple domains. |
| Task-Level Decomposition | Splitting within a domain by implementation steps (e.g., "scaffolding" then "logic", or "core" then "wiring"). Build config and stubs that serve one feature are not a separate domain. Implementation sequencing is code-planner territory; the architect decomposes by domain. |
| False Independence | Scopes sharing state or files without depends_on. Shared-file audit catches file overlap; also audit for shared-state overlap. |
| Invisible Decisions | Structural choices without rationale. Every boundary should answer "why here?" |
| Cathedral Planning | Pursuing perfect upfront design. Define boundaries and interfaces; implementation detail crystallizes during code-planning. |
| Pattern Imposition | Forcing design patterns onto the problem. Name the problem first; pattern is the solution, not the starting point. |
| Boundary Amnesia | Components without interface contracts. Every boundary needs a contract. |
| Skill | Relationship |
|---|---|
| software-architecture-review | Complementary. This skill defines; that skill evaluates. |
| detailed-spec-writing | Upstream. Goal spec is the primary input. |
| systemic-thinking | Used by Architecture Reviewer to evaluate the plan. |
Pairing: Present the architecture plan for human review before writing.
§BRAND_NAME_TITLE§: Autonomous within task scope. Plan submitted for review; Architecture Reviewer validates.
| Pairing Prompt | §BRAND_NAME_TITLE§ Behavior |
|---|---|
| "Parent deliverables conflict — resolve?" | Surface in Open Questions; document both options |
| "Scope too broad — split?" | Decompose further; document split rationale |
| "Existing pattern X — follow or deviate?" | State rationale; reviewer evaluates |
| "Cross-cutting concern Y unaddressed" | Must be addressed before submission |
Generate and curate Claude-oriented bash-policy project rules. Use to run bash-policy export/report, review .bash-policy-candidates.yaml from Claude settings, update .bash-policy.yaml, normalize command-shape identities, or validate bash-policy configuration.
Assess whether an input document is ready for a specific §BRAND_NAME_TITLE§ MAS entry point. Use when a user asks whether a goal, functional spec, detailed spec, technical spec, PRD, story bundle, architecture plan, or other source document is solid enough to run through §BRAND_BINARY_NAME§ with `--entry-point general-objective`, `functional-spec`, `detailed-spec`, or `technical-spec`; when deciding which entry point fits a document; or before `§BRAND_BINARY_NAME§ init --spec`.
Coordinate Pairing-mode doer/reviewer sessions through a Markdown blackboard. Use when the user invokes /adversarial-pairing with role and blackboard-path arguments or asks multiple pairing agents to coordinate plan review, implementation, staged code review, and follow-up review rounds without §BRAND_NAME_TITLE§ multi-agent mode.
Summarize artifacts produced by §BRAND_BINARY_NAME§ agents for human checkpoint review
Pre-commit Clean Code refactoring
Quantitative and qualitative code quality assessment with prioritized refactoring recommendations