π‘ Senior Architect & Analyst Skill (v2)
Role
docs/ ν΄λλ₯Ό μ μΌν μ
λ ₯ μμ€λ‘ μ½κ³ ,
- νλ‘μ νΈ νλ«νΌ(Web/App/Hybrid)κ³Ό κΈ°μ μ€ν/μν€ν
μ²λ₯Ό
- κ·μΉ κΈ°λ°μΌλ‘ νμ νμ¬,
- 루νΈμ
MASTER_PLAN.md(λ¨μΌ κ³μ½μ)λ₯Ό μμ±ν©λλ€.
μΆλ ₯μ λ°λμ MASTER_PLAN.md νλλ‘ μλ ΄ν©λλ€.
Platform Detection Rule (MANDATORY)
1. Keyword Scoring (μ μν)
- WEB ν€μλ λ°κ²¬ μ +2
- SEO, SSR, CMS, Admin, Dashboard, URL, Webhook, Browser, Landing, Marketing Site
- APP ν€μλ λ°κ²¬ μ +2
- App Store, Play Store, Push, Permission, Offline, Camera, Sensor, BLE, GPS, Background Service
2. Decision Rule (νμ )
- WEB β₯ 4 and APP < 4 β
PLATFORM_MODE = WEB
- APP β₯ 4 and WEB < 4 β
PLATFORM_MODE = APP
- WEB β₯ 4 and APP β₯ 4 β
PLATFORM_MODE = HYBRID
- μ λ§€ν κ²½μ°(λ λ€ 0~2μ λ):
- MCP(ChatGPT) μ§μ ν
- μ¬μ ν λΆλͺ
ννλ©΄ 보μμ μΌλ‘ HYBRID
3. Hard Constraints
- "κ°μΌλ‘ νλ¨" κΈμ§
- λ°λμ μ μ ν©μ° κ²°κ³Όμ **κ·Όκ±° ν€μλ(λ¬Έμ λ΄ μμΉ/λ¬Έμ₯)**λ₯Ό
MASTER_PLAN.mdμ κΈ°λ‘
β
INSERT: Gap-driven Q&A (Field Completion Protocol)
λͺ©μ
docs/ λ¬Έμκ° λΆμμ ν λ(νμ μ 보 λλ½), μΆμΈ‘μΌλ‘ μ§ννμ§ μκ³ **μ΅μνμ λ¬Έλ΅(Q&A)**μ ν΅ν΄ MASTER_PLAN.mdλ₯Ό νλ€λ¦Ό μμ΄ μμ±νκΈ° μν¨μ
λλ€.
A. νμ νλ (Required Fields)
- Project Identity: PLATFORM_MODE, PRIMARY_TYPE, LANGUAGE
- Platform & Repo Flags: BACKEND_REQUIRED, REPO_LAYOUT
- Tech Stack: Frontend, Backend, Database
- Platform Detection Evidence: WEB_SCORE, APP_SCORE, EVIDENCE
B. Gap Detection (λλ½ κ°μ§ κ·μΉ)
docs/PRD.mdλ₯Ό μ½κ³ Scoring μν.
- μ μ λΆμΆ©λΆ(WEB<4, APP<4)νκ±°λ BACKEND_REQUIREDκ° λͺ¨νΈνλ©΄ GAP νμ .
C. Question Generation Rule
- 1ν μ΅λ 5λ¬Έν (3λ¬Έν κΆμ₯)
- YES/NO λλ μ νν(A/B/C)λ§ νμ©
- "λͺ¨λ₯΄κ² λ€(C)" μ΅μ
κ³Ό κΈ°λ³Έκ° νμ
D. Defaulting Policy (μλ΅ μμ μ)
- PLATFORM_MODE: HYBRID (보μμ )
- BACKEND_REQUIRED: NO (λͺ
μ μμΌλ©΄ μ΅μν)
- REPO_LAYOUT: APPS_SPLIT
E. Output Rule
QNA_REQUEST.md μμ±/μΆλ ₯
- λ΅λ³ μμ§ ν
MASTER_PLAN.md Evidenceμ λ³ν©
MCP(ChatGPT) Usage (Optional Brain)
When to Call
- PRDμ κΈ°μ μ€νμ΄ λͺ
μλμ§ μμ κ²½μ°
- DB/ERD μ΄μμ΄ νμν κ²½μ°
- 볡μ‘ν λΉμ¦λμ€ λ‘μ§μ μ£μ§μΌμ΄μ€κ° νμν κ²½μ°
Prompt Contract
- λ²μ ν¬ν¨(Pinned)
- ν΄λ νΈλ¦¬ ν¬ν¨
- λμ 1κ° ν¬ν¨
- 리μ€ν¬/ν΄λ°± ν¬ν¨
- JSON + Markdown λ³ν
Output: MASTER_PLAN.md (Strict Contract)
μλ ν
νλ¦Ώμ μ¬μ©νμ¬ MASTER_PLAN.mdλ₯Ό μμ±νμΈμ.
# MASTER PLAN
## 1. Project Identity
- PLATFORM_MODE: [WEB | APP | HYBRID]
- PRIMARY_TYPE: [NEXTJS | FLUTTER | ANDROID | IOS]
- LANGUAGE: [TypeScript | Dart | Kotlin | Swift]
## 2. Platform & Repo Flags
- BACKEND_REQUIRED: [YES | NO]
- REPO_LAYOUT: [APPS_SPLIT]
- PACKAGE_MANAGER: [pnpm | yarn | bun | flutter]
## 3. Tech Stack (Pinned Versions)
- Frontend:
- Backend:
- Database:
- Runtime:
- Tooling:
## 4. Platform Detection Evidence
- WEB_SCORE: <number>
- APP_SCORE: <number>
- EVIDENCE:
- (λ¬Έμ μΈμ©/μμ½)
## 5. Architecture
- Design Pattern:
- Folder Structure Tree:
## 6. Implementation Tasks
### Phase 1 β Setup
### Phase 2 β Core Logic
### Phase 3 β UI / UX
## 7. Risks & Fallback
- Risk:
- Fallback Strategy:
Constraints
- "μ μ ν", "μμμ" κ°μ λͺ¨νΈ νν κΈμ§
- λΌμ΄λΈλ¬λ¦¬/νλ μμν¬λ λ²μ κ³ μ (Pinned)
- Backend νμ μ¬λΆλ λ°λμ YES/NOλ‘ λͺ
μ
1---2name: spec-analyst3description: π‘ Senior Architect & Analyst Skill (v2)4---5# π‘ Senior Architect & Analyst Skill (v2)67## Role8- `docs/` ν΄λλ₯Ό **μ μΌν μ
λ ₯ μμ€**λ‘ μ½κ³ ,9- νλ‘μ νΈ νλ«νΌ(Web/App/Hybrid)κ³Ό κΈ°μ μ€ν/μν€ν
μ²λ₯Ό10- **κ·μΉ κΈ°λ°μΌλ‘ νμ **νμ¬,11- 루νΈμ `MASTER_PLAN.md`(λ¨μΌ κ³μ½μ)λ₯Ό μμ±ν©λλ€.1213μΆλ ₯μ λ°λμ `MASTER_PLAN.md` νλλ‘ μλ ΄ν©λλ€.1415## Platform Detection Rule (MANDATORY)1617### 1. Keyword Scoring (μ μν)18- **WEB ν€μλ λ°κ²¬ μ +2**19 - SEO, SSR, CMS, Admin, Dashboard, URL, Webhook, Browser, Landing, Marketing Site20- **APP ν€μλ λ°κ²¬ μ +2**21 - App Store, Play Store, Push, Permission, Offline, Camera, Sensor, BLE, GPS, Background Service2223### 2. Decision Rule (νμ )24- WEB β₯ 4 and APP < 4 β `PLATFORM_MODE = WEB`25- APP β₯ 4 and WEB < 4 β `PLATFORM_MODE = APP`26- WEB β₯ 4 and APP β₯ 4 β `PLATFORM_MODE = HYBRID`27- μ λ§€ν κ²½μ°(λ λ€ 0~2μ λ):28 - MCP(ChatGPT) μ§μ ν29 - μ¬μ ν λΆλͺ
ννλ©΄ **보μμ μΌλ‘ HYBRID**3031### 3. Hard Constraints32- "κ°μΌλ‘ νλ¨" κΈμ§33- λ°λμ **μ μ ν©μ° κ²°κ³Ό**μ **κ·Όκ±° ν€μλ(λ¬Έμ λ΄ μμΉ/λ¬Έμ₯)**λ₯Ό `MASTER_PLAN.md`μ κΈ°λ‘3435## β
INSERT: Gap-driven Q&A (Field Completion Protocol)3637### λͺ©μ 38`docs/` λ¬Έμκ° λΆμμ ν λ(νμ μ 보 λλ½), μΆμΈ‘μΌλ‘ μ§ννμ§ μκ³ **μ΅μνμ λ¬Έλ΅(Q&A)**μ ν΅ν΄ `MASTER_PLAN.md`λ₯Ό **νλ€λ¦Ό μμ΄** μμ±νκΈ° μν¨μ
λλ€.3940### A. νμ νλ (Required Fields)411. **Project Identity**: PLATFORM_MODE, PRIMARY_TYPE, LANGUAGE422. **Platform & Repo Flags**: BACKEND_REQUIRED, REPO_LAYOUT433. **Tech Stack**: Frontend, Backend, Database444. **Platform Detection Evidence**: WEB_SCORE, APP_SCORE, EVIDENCE4546### B. Gap Detection (λλ½ κ°μ§ κ·μΉ)471. `docs/PRD.md`λ₯Ό μ½κ³ Scoring μν.482. μ μ λΆμΆ©λΆ(WEB<4, APP<4)νκ±°λ BACKEND_REQUIREDκ° λͺ¨νΈνλ©΄ **GAP** νμ .4950### C. Question Generation Rule51- 1ν μ΅λ **5λ¬Έν** (3λ¬Έν κΆμ₯)52- YES/NO λλ μ νν(A/B/C)λ§ νμ©53- **"λͺ¨λ₯΄κ² λ€(C)"** μ΅μ
κ³Ό **κΈ°λ³Έκ°** νμ5455### D. Defaulting Policy (μλ΅ μμ μ)56- **PLATFORM_MODE**: HYBRID (보μμ )57- **BACKEND_REQUIRED**: NO (λͺ
μ μμΌλ©΄ μ΅μν)58- **REPO_LAYOUT**: APPS_SPLIT5960### E. Output Rule611. `QNA_REQUEST.md` μμ±/μΆλ ₯622. λ΅λ³ μμ§ ν `MASTER_PLAN.md` Evidenceμ λ³ν©6364## MCP(ChatGPT) Usage (Optional Brain)6566### When to Call671. PRDμ κΈ°μ μ€νμ΄ λͺ
μλμ§ μμ κ²½μ°682. DB/ERD μ΄μμ΄ νμν κ²½μ°693. 볡μ‘ν λΉμ¦λμ€ λ‘μ§μ μ£μ§μΌμ΄μ€κ° νμν κ²½μ°7071### Prompt Contract72- λ²μ ν¬ν¨(Pinned)73- ν΄λ νΈλ¦¬ ν¬ν¨74- λμ 1κ° ν¬ν¨75- 리μ€ν¬/ν΄λ°± ν¬ν¨76- JSON + Markdown λ³ν7778## Output: `MASTER_PLAN.md` (Strict Contract)7980μλ ν
νλ¦Ώμ μ¬μ©νμ¬ `MASTER_PLAN.md`λ₯Ό μμ±νμΈμ.8182```markdown83# MASTER PLAN8485## 1. Project Identity86- PLATFORM_MODE: [WEB | APP | HYBRID]87- PRIMARY_TYPE: [NEXTJS | FLUTTER | ANDROID | IOS]88- LANGUAGE: [TypeScript | Dart | Kotlin | Swift]8990## 2. Platform & Repo Flags91- BACKEND_REQUIRED: [YES | NO]92- REPO_LAYOUT: [APPS_SPLIT]93- PACKAGE_MANAGER: [pnpm | yarn | bun | flutter]9495## 3. Tech Stack (Pinned Versions)96- Frontend:97- Backend:98- Database:99- Runtime:100- Tooling:101102## 4. Platform Detection Evidence103- WEB_SCORE: <number>104- APP_SCORE: <number>105- EVIDENCE:106 - (λ¬Έμ μΈμ©/μμ½)107108## 5. Architecture109- Design Pattern:110- Folder Structure Tree:111112## 6. Implementation Tasks113### Phase 1 β Setup114### Phase 2 β Core Logic115### Phase 3 β UI / UX116117## 7. Risks & Fallback118- Risk:119- Fallback Strategy:120```121122## Constraints123- "μ μ ν", "μμμ" κ°μ λͺ¨νΈ νν κΈμ§124- λΌμ΄λΈλ¬λ¦¬/νλ μμν¬λ **λ²μ κ³ μ (Pinned)**125- Backend νμ μ¬λΆλ λ°λμ YES/NOλ‘ λͺ
μ