moai-adk 0.4.0__py3-none-any.whl → 0.4.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of moai-adk might be problematic. Click here for more details.

Files changed (125) hide show
  1. moai_adk/__init__.py +1 -8
  2. moai_adk/cli/commands/init.py +10 -5
  3. moai_adk/cli/commands/update.py +274 -118
  4. moai_adk/cli/prompts/init_prompts.py +14 -18
  5. moai_adk/core/diagnostics/slash_commands.py +1 -1
  6. moai_adk/core/project/backup_utils.py +1 -0
  7. moai_adk/core/project/phase_executor.py +3 -1
  8. moai_adk/core/project/validator.py +3 -2
  9. moai_adk/core/template/backup.py +11 -3
  10. moai_adk/core/template/merger.py +16 -3
  11. moai_adk/core/template/processor.py +22 -3
  12. moai_adk/templates/.claude/agents/alfred/cc-manager.md +443 -424
  13. moai_adk/templates/.claude/agents/alfred/debug-helper.md +116 -103
  14. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +130 -116
  15. moai_adk/templates/.claude/agents/alfred/git-manager.md +186 -174
  16. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +227 -213
  17. moai_adk/templates/.claude/agents/alfred/project-manager.md +205 -125
  18. moai_adk/templates/.claude/agents/alfred/quality-gate.md +224 -209
  19. moai_adk/templates/.claude/agents/alfred/spec-builder.md +174 -160
  20. moai_adk/templates/.claude/agents/alfred/tag-agent.md +151 -139
  21. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +209 -196
  22. moai_adk/templates/.claude/agents/alfred/trust-checker.md +247 -233
  23. moai_adk/templates/.claude/commands/alfred/0-project.md +673 -640
  24. moai_adk/templates/.claude/commands/alfred/1-plan.md +342 -333
  25. moai_adk/templates/.claude/commands/alfred/2-run.md +295 -285
  26. moai_adk/templates/.claude/commands/alfred/3-sync.md +366 -356
  27. moai_adk/templates/.claude/hooks/alfred/README.md +52 -52
  28. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +44 -48
  29. moai_adk/templates/.claude/hooks/alfred/core/__init__.py +17 -17
  30. moai_adk/templates/.claude/hooks/alfred/core/checkpoint.py +59 -59
  31. moai_adk/templates/.claude/hooks/alfred/core/context.py +19 -19
  32. moai_adk/templates/.claude/hooks/alfred/core/project.py +52 -52
  33. moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +1 -1
  34. moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +4 -4
  35. moai_adk/templates/.claude/hooks/alfred/handlers/session.py +27 -27
  36. moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +16 -17
  37. moai_adk/templates/.claude/hooks/alfred/handlers/user.py +11 -11
  38. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +308 -307
  39. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +297 -296
  40. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +191 -190
  41. moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +112 -0
  42. moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +103 -0
  43. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +103 -0
  44. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +95 -0
  45. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +99 -0
  46. moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +105 -0
  47. moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +97 -0
  48. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +97 -0
  49. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +90 -0
  50. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +99 -0
  51. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +87 -0
  52. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +62 -0
  53. moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +70 -43
  54. moai_adk/templates/.claude/skills/moai-claude-code/examples.md +141 -141
  55. moai_adk/templates/.claude/skills/moai-claude-code/reference.md +179 -165
  56. moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +78 -78
  57. moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +90 -90
  58. moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +39 -25
  59. moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +117 -74
  60. moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +131 -134
  61. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +43 -12
  62. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +43 -12
  63. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +43 -12
  64. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +43 -12
  65. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +43 -12
  66. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +43 -12
  67. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +43 -11
  68. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +43 -12
  69. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +43 -12
  70. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +43 -12
  71. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +47 -11
  72. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +47 -11
  73. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +51 -14
  74. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +46 -10
  75. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +62 -25
  76. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +44 -17
  77. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +44 -14
  78. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +45 -13
  79. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +46 -14
  80. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +48 -8
  81. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +44 -12
  82. moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +44 -12
  83. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +44 -11
  84. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +44 -11
  85. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +44 -12
  86. moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +44 -11
  87. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +44 -11
  88. moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +44 -11
  89. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +44 -12
  90. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +44 -12
  91. moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +44 -12
  92. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +44 -12
  93. moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +44 -11
  94. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +44 -11
  95. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +44 -12
  96. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +44 -11
  97. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +44 -11
  98. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +44 -12
  99. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +44 -12
  100. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +44 -11
  101. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +44 -12
  102. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +44 -12
  103. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +44 -12
  104. moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +44 -43
  105. moai_adk/templates/.github/workflows/moai-gitflow.yml +36 -35
  106. moai_adk/templates/.moai/config.json +9 -6
  107. moai_adk/templates/.moai/memory/development-guide.md +220 -221
  108. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +85 -85
  109. moai_adk/templates/.moai/memory/spec-metadata.md +149 -150
  110. moai_adk/templates/.moai/project/product.md +90 -90
  111. moai_adk/templates/.moai/project/structure.md +85 -85
  112. moai_adk/templates/.moai/project/tech.md +117 -117
  113. moai_adk/templates/CLAUDE.md +350 -722
  114. moai_adk-0.4.1.dist-info/METADATA +303 -0
  115. moai_adk-0.4.1.dist-info/RECORD +152 -0
  116. moai_adk/templates/.claude/commands/alfred/1-spec.md +0 -31
  117. moai_adk/templates/.claude/commands/alfred/2-build.md +0 -30
  118. moai_adk/templates/.claude/skills/scripts/standardize_skills.py +0 -166
  119. moai_adk/templates/.claude/skills/scripts/verify_standardization.sh +0 -43
  120. moai_adk/templates/.moai/hooks/pre-push.sample +0 -88
  121. moai_adk-0.4.0.dist-info/METADATA +0 -1816
  122. moai_adk-0.4.0.dist-info/RECORD +0 -145
  123. {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/WHEEL +0 -0
  124. {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/entry_points.txt +0 -0
  125. {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: alfred:1-plan
3
- description: 계획 수립 (브레인스토밍, 계획 작성, 설계 논의) + 브랜치/PR 생성
4
- argument-hint: "제목1 제목2 ... | SPEC-ID 수정내용"
3
+ description: Planning (brainstorming, plan writing, design discussion) + Branch/PR creation
4
+ argument-hint: "Title 1 Title 2 ... | SPEC-ID modifications"
5
5
  allowed-tools:
6
6
  - Read
7
7
  - Write
@@ -16,317 +16,326 @@ allowed-tools:
16
16
  - Bash(mkdir:*)
17
17
  ---
18
18
 
19
- # 🏗️ MoAI-ADK 1단계: 계획 수립 (Plan) - 항상 계획을 먼저 세우고 진행한다
19
+ # 🏗️ MoAI-ADK Step 1: Establish a plan (Plan) - Always make a plan first and then proceed.
20
+ > Interactive prompts rely on `Skill("moai-alfred-tui-survey")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
20
21
 
21
- ## 🎯 커맨드 목적
22
+ ## 🎯 Command Purpose
22
23
 
23
- **"계획(Plan)실행(Run)동기화(Sync)"** 워크플로우의 단계로, 아이디어 구상부터 계획 작성까지 계획 수립 전반을 지원합니다.
24
+ **"Plan → Run → Sync"** As the first step in the workflow, it supports the entire planning process from ideation to plan creation.
24
25
 
25
- **계획 수립 대상**: $ARGUMENTS
26
+ **Plan for**: $ARGUMENTS
26
27
 
27
- ## 💡 계획 철학: "항상 계획을 먼저 세우고 진행한다"
28
+ ## 💡 Planning philosophy: “Always make a plan first and then proceed.”
28
29
 
29
- `/alfred:1-plan`은 단순히 SPEC 문서를 "작성"하는 것이 아니라, **계획을 수립**하는 범용 커맨드입니다.
30
+ `/alfred:1-plan` is a general-purpose command that **creates a plan**, rather than simply “creating” a SPEC document.
30
31
 
31
- ### 3가지 주요 시나리오
32
+ ### 3 main scenarios
32
33
 
33
- #### 시나리오 1: 계획 작성 ( 사용 방식) ⭐
34
+ #### Scenario 1: Creating a Plan (Primary Method) ⭐
34
35
  ```bash
35
- /alfred:1-plan "사용자 인증 기능"
36
- 아이디어 구체화
37
- EARS 구문으로 요구사항 명세
38
- → feature/SPEC-XXX 브랜치 생성
39
- → Draft PR 생성
36
+ /alfred:1-plan "User authentication function"
37
+ Refine idea
38
+ Requirements specification using EARS syntax
39
+ Create feature/SPEC-XXX branch
40
+ Create Draft PR
40
41
  ```
41
42
 
42
- #### 시나리오 2: 브레인스토밍
43
+ #### Scenario 2: Brainstorming
43
44
  ```bash
44
- /alfred:1-plan "결제 시스템 개선 아이디어"
45
- 아이디어 정리 구조화
46
- 요구사항 후보 도출
47
- 기술적 검토 리스크 분석
45
+ /alfred:1-plan "Payment system improvement idea"
46
+ Organizing and structuring ideas
47
+ Deriving requirements candidates
48
+ Technical review and risk analysis
48
49
  ```
49
50
 
50
- #### 시나리오 3: 기존 SPEC 개선
51
+ #### Scenario 3: Improve existing SPEC
51
52
  ```bash
52
- /alfred:1-plan "SPEC-AUTH-001 보안 강화"
53
- 기존 계획 분석
54
- 개선 방향 수립
55
- 버전 계획 작성
53
+ /alfred:1-plan "SPEC-AUTH-001 Security Enhancement"
54
+ Analyze existing plan
55
+ Establish improvement direction
56
+ Create new version plan
56
57
  ```
57
58
 
58
- > **표준 2단계 워크플로우** (자세한 내용: `CLAUDE.md` - "Alfred 커맨드 실행 패턴" 참조)
59
+ > **Standard two-step workflow** (see `CLAUDE.md` - "Alfred Command Execution Pattern" for details)
59
60
 
60
- ## 📋 실행 흐름
61
+ ## 📋 Execution flow
61
62
 
62
- 1. **프로젝트 분석**: product/structure/tech.md 심층 분석
63
- 2. **SPEC 후보 발굴**: 비즈니스 요구사항 기반 우선순위 결정
64
- 3. **사용자 확인**: 작성 계획 검토 승인
65
- 4. **계획 작성**: EARS 구조의 명세서 생성 (spec.md, plan.md, acceptance.md)
66
- 5. **Git 작업**: git-manager를 통한 브랜치/PR 생성
63
+ 1. **Project Analysis**: In-depth analysis of product/structure/tech.md
64
+ 2. **SPEC candidate discovery**: Prioritization based on business requirements
65
+ 3. **User Verification**: Review and approve writing plan
66
+ 4. **Plan creation**: Generate specifications of EARS structure (spec.md, plan.md, acceptance.md)
67
+ 5. **Git operations**: Create branches/PRs via git-manager
67
68
 
68
- ## 🔗 연관 에이전트
69
+ ## 🧠 Skill Loadout Overview
69
70
 
70
- - **Primary**: spec-builder (🏗️ 시스템 아키텍트) - SPEC 문서 작성 전담
71
- - **Secondary**: git-manager (🚀 릴리스 엔지니어) - Git 브랜치/PR 생성 전담
71
+ | Agent | Auto core skill | Conditional skills |
72
+ | ----- | ---------------- | ------------------ |
73
+ | implementation-planner | Skill("moai-alfred-language-detection") | Skill("moai-foundation-langs"), Skill("moai-alfred-performance-optimizer"), Skill("moai-alfred-tag-scanning"), Detected domain skill (e.g., Skill("moai-domain-backend")), Skill("moai-alfred-trust-validation"), Skill("moai-alfred-tui-survey") |
74
+ | spec-builder | Skill("moai-foundation-ears") | Skill("moai-alfred-ears-authoring"), Skill("moai-foundation-specs"), Skill("moai-alfred-spec-metadata-validation"), Skill("moai-alfred-tag-scanning"), Skill("moai-foundation-trust"), Skill("moai-alfred-trust-validation"), Skill("moai-alfred-tui-survey") |
75
+ | git-manager | Skill("moai-alfred-git-workflow") | Skill("moai-foundation-git"), Skill("moai-alfred-trust-validation"), Skill("moai-alfred-tag-scanning"), Skill("moai-alfred-tui-survey") |
72
76
 
73
- ## 💡 사용 예시
77
+ ## 🔗 Associated Agent
74
78
 
75
- 사용자가 다음과 같이 커맨드를 실행할 있습니다:
76
- - `/alfred:1-plan` - 프로젝트 문서 기반 자동 제안
77
- - `/alfred:1-plan "JWT 인증 시스템"` - 단일 SPEC 수동 생성
78
- - `/alfred:1-plan SPEC-001 "보안 보강"` - 기존 SPEC 보완
79
+ - **Primary**: spec-builder (🏗️ System Architect) - Dedicated to writing SPEC documents
80
+ - **Secondary**: git-manager (🚀 Release Engineer) - Dedicated to creating Git branches/PRs
79
81
 
80
- ## 🔍 STEP 1: 프로젝트 분석 및 계획 수립
82
+ ## 💡 Example of use
81
83
 
82
- 프로젝트 문서를 분석하여 SPEC 후보를 제안하고 구현 전략을 수립한 후 사용자 확인을 받습니다.
84
+ Users can run commands like this:
85
+ - `/alfred:1-plan` - Auto-suggestion based on project documents
86
+ - `/alfred:1-plan "JWT authentication system"` - Manually create a single SPEC
87
+ - `/alfred:1-plan SPEC-001 "Security hardening"` - Supplementation of existing SPEC
83
88
 
84
- **spec-builder 에이전트가 자동으로 필요한 문서를 로드하여 분석합니다.**
89
+ ## 🔍 STEP 1: Project analysis and planning
85
90
 
86
- ### 🔍 코드베이스 탐색 (선택사항)
91
+ Analyze project documents to propose SPEC candidates, establish implementation strategies, and receive user confirmation.
87
92
 
88
- **사용자 요청이 불명확하거나 기존 코드 파악이 필요한 경우** Explore 에이전트를 먼저 활용합니다:
93
+ **The spec-builder agent automatically loads and analyzes the required documents.**
94
+
95
+ ### 🔍 Explore the codebase (optional)
96
+
97
+ **If the user request is unclear or requires understanding of existing code** Use the Explore agent first:
89
98
 
90
99
  ```
91
- Task tool 호출 (Explore 에이전트):
100
+ Invoking the Task tool (Explore agent):
92
101
  - subagent_type: "Explore"
93
- - description: "코드베이스에서 관련 파일 탐색"
94
- - prompt: "다음 키워드와 관련된 모든 파일을 찾아주세요: $ARGUMENTS
95
- - 파일 위치 (src/, tests/, docs/)
96
- - 관련 SPEC 문서 (.moai/specs/)
97
- - 기존 구현 코드
98
- thoroughness 레벨: medium"
102
+ - description: "Explore related files in the codebase"
103
+ - prompt: "Please find all files related to the following keywords: $ARGUMENTS
104
+ - File location (src/, tests/, docs/)
105
+ - Relevant SPEC document (.moai/specs/)
106
+ - Existing implementation code
107
+ thoroughness level: medium"
99
108
  ```
100
109
 
101
- **Explore 에이전트 사용 기준**:
102
- - ✅ 사용자가 "어디에 있는지", "찾아줘" 등의 키워드 사용
103
- - ✅ 기존 코드 구조 파악이 필요한 경우
104
- - ✅ 여러 파일에 걸쳐있는 기능 조사
105
- - ❌ 명확한 SPEC 제목이 주어진 경우 (바로 spec-builder)
110
+ **Criteria for using the Explore Agent**:
111
+ - ✅ Users use keywords like “where am”, “find me”, etc.
112
+ - ✅ Need to understand existing code structure
113
+ - ✅ Investigate features across multiple files
114
+ - ❌ Given a clear SPEC title (straight into spec-builder)
106
115
 
107
- ### ⚙️ 에이전트 호출 방법
116
+ ### ⚙️ How to call an agent
108
117
 
109
- **STEP 1에서는 Task tool을 사용하여 spec-builder 에이전트를 호출합니다**:
118
+ **STEP 1 calls the spec-builder agent using the Task tool**:
110
119
 
111
120
  ```
112
- Task tool 호출:
121
+ Call the Task tool:
113
122
  - subagent_type: "spec-builder"
114
- - description: "계획 분석 작성 계획 수립"
115
- - prompt: "프로젝트 문서를 분석하여 SPEC 후보를 제안해주세요.
116
- 분석 모드로 실행하며, 다음을 포함해야 합니다:
117
- 1. product/structure/tech.md 심층 분석
118
- 2. SPEC 후보 발굴 우선순위 결정
119
- 3. EARS 구조 설계
120
- 4. 사용자 승인 대기
121
- 사용자 입력: $ARGUMENTS
122
- (선택) Explore 결과: $EXPLORE_RESULTS"
123
+ - description: "Analyze the plan and establish a plan"
124
+ - prompt: "Please analyze the project document and suggest SPEC candidates.
125
+ Run in analysis mode, and must include the following:
126
+ 1. In-depth analysis of product/structure/tech.md
127
+ 2. Identify SPEC candidates and Determine priorities
128
+ 3. Design EARS structure
129
+ 4. Wait for user approval
130
+ User input: $ARGUMENTS
131
+ (Optional) Explore results: $EXPLORE_RESULTS"
123
132
  ```
124
133
 
125
- ### 계획 분석 진행
134
+ ### Plan analysis progress
126
135
 
127
- 1. **프로젝트 문서 분석**
128
- - product/structure/tech.md 심층 분석
129
- - 기존 SPEC 목록 우선순위 검토 (.moai/specs/ 스캔)
130
- - 구현 가능성 복잡도 평가
131
- - (선택) Explore 결과 반영하여 기존 코드 구조 파악
136
+ 1. **Project document analysis**
137
+ - In-depth analysis of product/structure/tech.md
138
+ - Review existing SPEC list and priorities (.moai/specs/ scan)
139
+ - Evaluate implementation feasibility and complexity
140
+ - (Optional) Identify existing code structure by reflecting the Explore results
132
141
 
133
- 2. **SPEC 후보 발굴**
134
- - 핵심 비즈니스 요구사항 추출
135
- - 기술적 제약사항 반영
136
- - 우선순위별 SPEC 후보 리스트 생성
142
+ 2. **Discovering SPEC candidates**
143
+ - Extracting core business requirements
144
+ - Reflecting technical constraints
145
+ - Creating a list of SPEC candidates by priority
137
146
 
138
- 3. **구현 계획 보고**
139
- - 단계별 계획 작성 계획 제시
140
- - 예상 작업 범위 의존성 분석
141
- - EARS 구조 Acceptance Criteria 설계
147
+ 3. **Implementation plan report**
148
+ - Present step-by-step plan creation plan
149
+ - Estimated scope of work and dependency analysis
150
+ - Design EARS structure and Acceptance Criteria
142
151
 
143
- ### 사용자 확인 단계
152
+ ### User verification steps
144
153
 
145
- 구현 계획 검토 다음 선택하세요:
146
- - **"진행"** 또는 **"시작"**: 계획대로 계획 작성 시작
147
- - **"수정 [내용]"**: 계획 수정 요청
148
- - **"중단"**: 계획 작성 중단
154
+ After reviewing your implementation plan, Alfred invokes `Skill("moai-alfred-tui-survey")` to present the following options:
155
+ - **"Go"** or **"Start"**: Start writing the plan as planned
156
+ - **"Modify [Content]"**: Request modifications to the plan
157
+ - **"Stop"**: Stop writing the plan
149
158
 
150
159
  ---
151
160
 
152
- ## 🚀 STEP 2: 계획 문서 작성 (사용자 승인 )
161
+ ## 🚀 STEP 2: Create plan document (after user approval)
153
162
 
154
- 사용자 승인 **Task tool을 사용하여 spec-builder git-manager 에이전트를 호출**합니다.
163
+ After user approval (collected via `Skill("moai-alfred-tui-survey")`), call the spec-builder and git-manager agents using the **Task tool**.
155
164
 
156
- ### ⚙️ 에이전트 호출 방법
165
+ ### ⚙️ How to call an agent
157
166
 
158
167
  ```
159
- 1. spec-builder 호출 (계획 작성):
168
+ 1. Call spec-builder (create plan):
160
169
  - subagent_type: "spec-builder"
161
- - description: "SPEC 문서 작성"
162
- - prompt: "STEP 1에서 승인된 계획에 따라 SPEC 문서를 작성해주세요.
163
- EARS 구조의 명세서를 생성합니다."
170
+ - description: "Create SPEC document"
171
+ - prompt: "Please fill out the SPEC document according to the plan approved in STEP 1.
172
+ Create a specification for the EARS structure."
164
173
 
165
- 2. git-manager 호출 (Git 작업):
174
+ 2. Invoke git-manager (Git task):
166
175
  - subagent_type: "git-manager"
167
- - description: "Git 브랜치/PR 생성"
168
- - prompt: "계획 작성 완료 브랜치와 Draft PR을 생성해주세요."
176
+ - description: "Create Git branch/PR"
177
+ - prompt: "After completing the plan, please create a branch and Draft PR."
169
178
  ```
170
179
 
171
- ## 기능
180
+ ## function
172
181
 
173
- - **프로젝트 문서 분석**: `.moai/project/{product,structure,tech}.md`를 분석해 구현 후보를 제안하고 사용자 승인 SPEC 생성합니다.
174
- - **Personal 모드**: `.moai/specs/SPEC-{ID}/` 디렉터리와 템플릿 문서를 만듭니다 (**디렉토리명 형식 필수**: `SPEC-` 접두어 + TAG ID).
175
- - **Team 모드**: GitHub Issue(또는 Discussion) 생성하고 브랜치 템플릿과 연결합니다.
182
+ - **Project document analysis**: Analyzes `.moai/project/{product,structure,tech}.md` to suggest implementation candidates and generates SPEC after user approval.
183
+ - **Personal mode**: Create a `.moai/specs/SPEC-{ID}/` directory and a template document (**Directory name format required**: `SPEC-` prefix + TAG ID).
184
+ - **Team mode**: Create a GitHub Issue (or Discussion) Associate it with a branch template.
176
185
 
177
- ## 사용법
186
+ ## How to use
178
187
 
179
- 사용자가 다음과 같은 형태로 커맨드를 실행합니다:
180
- - `/alfred:1-plan` - 프로젝트 문서 기반 자동 제안 (권장)
181
- - `/alfred:1-plan "JWT 인증 시스템"` - 단일 SPEC 수동 생성
182
- - `/alfred:1-plan SPEC-001 "보안 보강"` - 기존 SPEC 보완
188
+ The user executes the command in the form:
189
+ - `/alfred:1-plan` - Auto-suggestion based on project documents (recommended)
190
+ - `/alfred:1-plan "JWT Authentication System"` - Manually create a single SPEC
191
+ - `/alfred:1-plan SPEC-001 "Security Reinforcement"` - Supplementation of existing SPEC
183
192
 
184
- 입력하지 않으면 Q&A 결과를 기반으로 우선순위 3~5건을 제안하며, 승인한 항목만 실제 SPEC으로 확정됩니다.
193
+ If not entered, 3 to 5 priorities will be suggested based on the Q&A results, and only the approved items will be confirmed as actual SPECs.
185
194
 
186
- ## 모드별 처리 요약
195
+ ## Summary of processing by mode
187
196
 
188
- | 모드 | 산출물 | 브랜치 전략 | 추가 작업 |
189
- | -------- | -------------------------------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
190
- | Personal | `.moai/specs/SPEC-XXX/spec.md`, `plan.md`, `acceptance.md` 템플릿 | `main` 또는 `develop`에서 분기 (설정 기준) | git-manager 에이전트가 자동으로 체크포인트 생성 |
191
- | Team | GitHub Issue(`[SPEC-XXX] 제목`), Draft PR(옵션) | **항상 `develop`에서 분기** (GitFlow 표준) | `gh` CLI 로그인 유지, Draft PR → develop 생성 |
197
+ | mode | output | Branch Strategy | Additional Actions |
198
+ | -------- | -------------------------------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
199
+ | Personal | Templates `.moai/specs/SPEC-XXX/spec.md`, `plan.md`, `acceptance.md`, etc. | Branch from `main` or `develop` (based on settings) | git-manager agent automatically creates checkpoints |
200
+ | Team | GitHub Issue (`[SPEC-XXX] Title`), Draft PR (optional) | **Always branch from `develop`** (GitFlow standard) | `gh` CLI stay logged in, Draft PR → develop created |
192
201
 
193
- ## 입력 옵션
202
+ ## Input options
194
203
 
195
- - **자동 제안**: `/alfred:1-plan` → 프로젝트 문서 핵심 bullet 기반으로 후보 리스트 작성
196
- - **수동 생성**: 제목을 인수로 전달 → 1건만 생성, Acceptance 템플릿은 회신 보완
197
- - **보완 모드**: `SPEC-ID "메모"` 형식으로 전달기존 SPEC 문서/Issue를 업데이트
204
+ - **Automatic suggestion**: `/alfred:1-plan` → Create a list of candidates based on the core bullet of the project document
205
+ - **Manual creation**: Pass the title as an argument Create only 1 case, Acceptance template is supplemented after reply
206
+ - **Supplementation mode**: `SPEC-ID Delivered in “memo” format Update existing SPEC document/Issue
198
207
 
199
- ## 📋 STEP 1 실행 가이드: 프로젝트 분석 계획 수립
208
+ ## 📋 STEP 1 Execution Guide: Project Analysis and Planning
200
209
 
201
- ### ⚠️ 필수 규칙: 디렉토리 명명 규칙
210
+ ### ⚠️ Essential rules: Directory naming convention
202
211
 
203
- **반드시 준수해야 형식**: `.moai/specs/SPEC-{ID}/`
212
+ **Format that must be followed**: `.moai/specs/SPEC-{ID}/`
204
213
 
205
- **올바른 예시**:
214
+ **Correct Example**:
206
215
  - ✅ `SPEC-AUTH-001/`
207
216
  - ✅ `SPEC-REFACTOR-001/`
208
217
  - ✅ `SPEC-UPDATE-REFACTOR-001/`
209
218
 
210
- **잘못된 예시**:
211
- - ❌ `AUTH-001/` (SPEC- 접두어 누락)
212
- - ❌ `SPEC-001-auth/` (ID 추가 텍스트)
213
- - ❌ `SPEC-AUTH-001-jwt/` (ID 추가 텍스트)
219
+ **Incorrect example**:
220
+ - ❌ `AUTH-001/` (missing SPEC- prefix)
221
+ - ❌ `SPEC-001-auth/` (additional text after ID)
222
+ - ❌ `SPEC-AUTH-001-jwt/` (additional text after ID)
214
223
 
215
- **중복 확인 필수**: SPEC ID 생성하기 전에 반드시 기존 TAG ID 검색하여 중복을 방지합니다.
224
+ **Duplicate check required**: Before creating a new SPEC ID, be sure to search the existing TAG ID to prevent duplication.
216
225
 
217
- **복합 도메인 규칙**:
218
- - ✅ 허용: `UPDATE-REFACTOR-001` (2 도메인)
219
- - ⚠️ 주의: `UPDATE-REFACTOR-FIX-001` (3 이상 도메인, 단순화 권장)
226
+ **Composite Domain Rules**:
227
+ - ✅ Allow: `UPDATE-REFACTOR-001` (2 domains)
228
+ - ⚠️ Caution: `UPDATE-REFACTOR-FIX-001` (3+ domains, simplification recommended)
220
229
 
221
230
  ---
222
231
 
223
- ### 1. 프로젝트 문서 분석
232
+ ### 1. Analysis of project documents
224
233
 
225
- Alfred spec-builder 에이전트를 호출하여 프로젝트 문서 기반 계획 분석 계획 수립을 수행합니다.
234
+ Alfred calls the spec-builder agent to perform project document-based planning analysis and planning.
226
235
 
227
- #### 분석 체크리스트
236
+ #### Analysis Checklist
228
237
 
229
- - [ ] **요구사항 추출**: product.md의 핵심 비즈니스 요구사항 파악
230
- - [ ] **아키텍처 제약**: structure.md의 시스템 설계 제약사항 확인
231
- - [ ] **기술적 제약**: tech.md의 기술 스택 품질 정책
232
- - [ ] **기존 SPEC**: 현재 SPEC 목록 우선순위 검토
238
+ - [ ] **Requirements extraction**: Identify key business requirements in product.md
239
+ - [ ] **Architectural constraints**: Identify system design constraints in structure.md
240
+ - [ ] **Technical constraints**: Technology stack and quality policy in tech.md
241
+ - [ ] **Existing SPEC**: Review current SPEC list and priorities
233
242
 
234
- ### 2. SPEC 후보 발굴 전략
243
+ ### 2. SPEC candidate discovery strategy
235
244
 
236
- #### 우선순위 결정 기준
245
+ #### Prioritization criteria
237
246
 
238
- | 우선순위 | 기준 | SPEC 후보 유형 |
239
- |---------|------|----------------|
240
- | **높음** | 핵심 비즈니스 가치 | 사용자 핵심 기능, API 설계 |
241
- | **중간** | 시스템 안정성 | 인증/보안, 데이터 관리 |
242
- | **낮음** | 개선 확장 | UI/UX 개선, 성능 최적화 |
247
+ | Priority | standards | SPEC Candidate Type |
248
+ | ---------- | --------------------------- | ------------------------------------------- |
249
+ | **High** | Core Business Values ​​ | User core functions, API design |
250
+ | **Medium** | System Stability | Authentication/Security, Data Management |
251
+ | **Low** | Improvements and expansions | UI/UX improvement, performance optimization |
243
252
 
244
- #### SPEC 타입별 접근법
253
+ #### Approach by SPEC type
245
254
 
246
- - **API/백엔드**: 엔드포인트 설계, 데이터 모델, 인증
247
- - **프론트엔드**: 사용자 인터페이스, 상태 관리, 라우팅
248
- - **인프라**: 배포, 모니터링, 보안 정책
249
- - **품질**: 테스트 전략, 성능 기준, 문서화
255
+ - **API/Backend**: Endpoint design, data model, authentication
256
+ - **Frontend**: User interface, state management, routing
257
+ - **Infrastructure**: Deployment, monitoring, security policy
258
+ - **Quality**: Test strategy, performance criteria, documentation
250
259
 
251
- ### 3. 계획 작성 계획 보고서 생성
260
+ ### 3. Create a plan Create a plan report
252
261
 
253
- 다음 형식으로 계획을 제시합니다:
262
+ Present your plan in the following format:
254
263
 
255
264
  ```
256
- ## 계획 작성 계획 보고서: [TARGET]
257
-
258
- ### 📊 분석 결과
259
- - **발굴된 SPEC 후보**: [개수 카테고리]
260
- - **우선순위 높음**: [핵심 SPEC 목록]
261
- - **예상 작업시간**: [시간 산정]
262
-
263
- ### 🎯 작성 전략
264
- - **선택된 SPEC**: [작성할 SPEC ID 제목]
265
- - **EARS 구조**: [Event-Action-Response-State 설계]
266
- - **Acceptance Criteria**: [Given-When-Then 시나리오]
267
-
268
- ### 📦 기술 스택 라이브러리 버전 (선택사항)
269
- **기술 스택이 계획 작성 단계에서 결정되는 경우에만 포함**:
270
- - **웹 검색**: `WebSearch`를 통해 사용할 주요 라이브러리의 최신 안정 버전 확인
271
- - **버전 명시**: 라이브러리별 정확한 버전 명시 (예: `fastapi>=0.118.3`)
272
- - **안정성 우선**: 베타/알파 버전 제외, 프로덕션 안정 버전만 선택
273
- - **참고**: 상세 버전은 `/alfred:2-build` 단계에서 최종 확정
274
-
275
- ### ⚠️ 주의사항
276
- - **기술적 제약**: [고려해야 제약사항]
277
- - **의존성**: [다른 SPEC과의 연관성]
278
- - **브랜치 전략**: [Personal/Team 모드별 처리]
279
-
280
- ### ✅ 예상 산출물
281
- - **spec.md**: [EARS 구조의 핵심 명세]
282
- - **plan.md**: [구현 계획서]
283
- - **acceptance.md**: [인수 기준]
284
- - **브랜치/PR**: [모드별 Git 작업]
265
+ ## Plan Creation Plan Report: [TARGET]
266
+
267
+ ### 📊 Analysis Results
268
+ - **Discovered SPEC Candidates**: [Number and Category]
269
+ - **High Priority**: [List of Core SPECs]
270
+ - **Estimated Work Time**: [Time Estimation]
271
+
272
+ ### 🎯 Writing Strategy
273
+ - **Selected SPEC**: [SPEC ID and Title to Write]
274
+ - **EARS Structure**: [Event-Action-Response-State Design]
275
+ - **Acceptance Criteria**: [Given-When-Then Scenario]
276
+
277
+ ### 📦 Technology stack and library versions (optional)
278
+ **Included only if technology stack is determined during planning stage**:
279
+ - **Web search**: Use `WebSearch` to find the latest stable versions of key libraries to use
280
+ - **Specify versions**: Specify exact versions for each library, e.g. `fastapi>=0.118.3`)
281
+ - **Stability priority**: Exclude beta/alpha versions, select only production stable versions
282
+ - **Note**: Detailed version is finalized in `/alfred:2-run` stage
283
+
284
+ ### ⚠️ Precautions
285
+ - **Technical constraints**: [Restraints to consider]
286
+ - **Dependency**: [Relevance with other SPECs]
287
+ - **Branch strategy**: [Processing by Personal/Team mode]
288
+
289
+ ### ✅ Expected deliverables
290
+ - **spec.md**: [Core specifications of the EARS structure]
291
+ - **plan.md**: [Implementation plan]
292
+ - **acceptance.md**: [Acceptance criteria]
293
+ - **Branches/PR**: [Git operations by mode]
285
294
 
286
295
  ---
287
- **승인 요청**: 계획으로 계획 작성을 진행하시겠습니까?
288
- ("진행", "수정 [내용]", "중단" 중 선택)
296
+ **Approval Request**: Would you like to proceed with creating a plan with the above plan?
297
+ (Choose between “Proceed,” “Modify [Content],” or “Abort”)
289
298
  ```
290
299
 
291
300
  ---
292
301
 
293
- ## 🚀 STEP 2 실행 가이드: 계획 작성 (승인 )
302
+ ## 🚀 STEP 2 Implementation Guide: Create a Plan (After Approval)
294
303
 
295
- 사용자가 **"진행"** 또는 **"시작"**을 선택한 경우에만 Alfred spec-builder 에이전트를 호출하여 SPEC 문서 작성을 시작합니다.
304
+ Only if the user selects **"Proceed"** or **"Start"** will Alfred call the spec-builder agent to begin building the SPEC document.
296
305
 
297
- ### EARS 명세 작성 가이드
306
+ ### EARS specification writing guide
298
307
 
299
- 1. **Event**: 시스템에 발생하는 트리거 이벤트 정의
300
- 2. **Action**: 이벤트에 대한 시스템의 행동 명세
301
- 3. **Response**: 행동의 결과로 나타나는 응답 정의
302
- 4. **State**: 시스템 상태 변화 부작용 명시
308
+ 1. **Event**: Define trigger events that occur in the system
309
+ 2. **Action**: Specification of the system's action for an event
310
+ 3. **Response**: Defining a response as a result of an action
311
+ 4. **State**: Specifies system state changes and side effects
303
312
 
304
- **예시** (상세 내용은 `development-guide.md` 참조):
313
+ **Example** (see `development-guide.md` for details):
305
314
  ```markdown
306
- ### Ubiquitous Requirements (기본 요구사항)
307
- - 시스템은 사용자 인증 기능을 제공해야 한다
315
+ ### Ubiquitous Requirements
316
+ - The system must provide user authentication functionality
308
317
 
309
- ### Event-driven Requirements (이벤트 기반)
310
- - WHEN 사용자가 유효한 자격증명으로 로그인하면, 시스템은 JWT 토큰을 발급해야 한다
318
+ ### Event-driven Requirements
319
+ - WHEN the user logs in with valid credentials, the system must issue a JWT token
311
320
 
312
- ### State-driven Requirements (상태 기반)
313
- - WHILE 토큰이 만료되지 않은 상태일 때, 시스템은 보호된 리소스에 대한 접근을 허용해야 한다
321
+ ### State-driven Requirements
322
+ - When the WHILE token is in an unexpired state, the system must allow access to the protected resource.
314
323
 
315
- ### Constraints (제약사항)
316
- - IF 토큰이 만료되었으면, 시스템은 401 Unauthorized 응답을 반환해야 한다
324
+ ### Constraints
325
+ - If the IF token has expired, the system must return a 401 Unauthorized response.
317
326
  ```
318
327
 
319
- ### 📄 SPEC 문서 템플릿
328
+ ### 📄 SPEC Document Template
320
329
 
321
- #### YAML Front Matter 스키마
330
+ #### YAML Front Matter Schema
322
331
 
323
- > **📋 SPEC 메타데이터 표준 (SSOT)**: `.moai/memory/spec-metadata.md`
332
+ > **📋 SPEC Metadata Standard (SSOT)**: `.moai/memory/spec-metadata.md`
324
333
 
325
- **spec.md 파일 상단에 반드시 포함**해야 하는 메타데이터:
326
- - **필수 필드 7개**: id, version, status, created, updated, author, priority
327
- - **선택 필드 9개**: category, labels, depends_on, blocks, related_specs, related_issue, scope
334
+ **Metadata that must be included** at the top of the spec.md file:
335
+ - **7 required fields**: id, version, status, created, updated, author, priority
336
+ - **9 optional fields**: category, labels, depends_on, blocks, related_specs, related_issue, scope
328
337
 
329
- **간단한 참조 예시**:
338
+ **Simple reference example**:
330
339
  ```yaml
331
340
  ---
332
341
  id: AUTH-001
@@ -339,56 +348,56 @@ priority: high
339
348
  ---
340
349
  ```
341
350
 
342
- **핵심 규칙**:
343
- - **id**: TAG ID 동일 (`<도메인>-<3자리>`) - 생성 절대 변경 금지
344
- - **디렉토리명**: `.moai/specs/SPEC-{ID}/` (예: `SPEC-AUTH-001/`)
345
- - **중복 확인**: `rg "@SPEC:{ID}" -n .moai/specs/` 필수
346
- - **version**: v0.0.1 (INITIAL) → v0.1.0 (구현 완료) → v1.0.0 (안정화)
347
- - **author**: GitHub ID 앞에 @ 접두사 필수 (예: `@Goos`)
351
+ **Core rules**:
352
+ - **id**: Same as TAG ID (`<domain>-<3 digits>`) - Never change after creation
353
+ - **Directory name**: `.moai/specs/SPEC-{ID}/` (e.g. `SPEC-AUTH-001/`)
354
+ - **Duplicate Check**: `rg "@SPEC:{ID}" -n .moai/specs/` Required
355
+ - **version**: v0.0.1 (INITIAL) → v0.1.0 (Implementation Completed) → v1.0.0 (Stable)
356
+ - **author**: GitHub @ prefix is required before ID (e.g. `@Goos`)
348
357
  - **priority**: critical | high | medium | low
349
358
 
350
- **전체 필드 설명 검증 방법**: `.moai/memory/spec-metadata.md` 참조
359
+ **Full field description and validation methods**: see `.moai/memory/spec-metadata.md`
351
360
 
352
- #### HISTORY 섹션 (필수)
361
+ #### HISTORY section (required)
353
362
 
354
- **YAML Front Matter 직후**에 반드시 HISTORY 섹션을 포함해야 합니다:
363
+ You must include a HISTORY section **right after the YAML Front Matter**:
355
364
 
356
365
  ```markdown
357
- # @SPEC:AUTH-001: JWT 기반 인증 시스템
366
+ # @SPEC:AUTH-001: JWT-based authentication system
358
367
 
359
368
  ## HISTORY
360
369
 
361
370
  ### v0.0.1 (2025-09-15)
362
- - **INITIAL**: JWT 기반 인증 시스템 명세 최초 작성
371
+ - **INITIAL**: Initial creation of JWT-based authentication system specification
363
372
  - **AUTHOR**: @Goos
364
- - **SCOPE**: 토큰 발급, 검증, 갱신 로직
365
- - **CONTEXT**: 사용자 인증 강화 요구사항 반영
373
+ - **SCOPE**: Token issuance, verification, and renewal logic
374
+ - **CONTEXT**: Reflects requirements for strengthening user authentication
366
375
 
367
376
  ### v0.0.2 (2025-09-20)
368
- - **ADDED**: 소셜 로그인 요구사항 추가 (Draft 수정)
377
+ - **ADDED**: Added social login requirements (Draft modification)
369
378
  - **AUTHOR**: @Goos
370
- - **REVIEW**: @security-team (승인)
379
+ - **REVIEW**: @security-team (approved)
371
380
  - **CHANGES**:
372
- - OAuth2 통합 요구사항
373
- - Google/GitHub 로그인 지원
381
+ - OAuth2 integration requirements
382
+ - Google/GitHub login support
374
383
 
375
384
  ### v0.1.0 (2025-10-01)
376
- - **IMPLEMENTATION COMPLETED**: TDD 구현 완료 (status: draft → completed)
385
+ - **IMPLEMENTATION COMPLETED**: TDD implementation completed (status: draft → completed)
377
386
  - **TDD CYCLE**: RED → GREEN → REFACTOR
378
- - **COMMITS**: [구현 커밋 해시 목록]
379
- - **FILES**: [생성/수정된 파일 목록]
387
+ - **COMMITS**: [Implementation commit hash list]
388
+ - **FILES**: [Created/modified file list]
380
389
  ```
381
390
 
382
- **HISTORY 작성 규칙**:
383
- - **버전 체계**: v0.0.1 (INITIAL) → v0.1.0 (구현 완료) → v1.0.0 (안정화)
384
- - 상세 버전 체계: `.moai/memory/spec-metadata.md#버전-체계` 참조
385
- - **버전 순서**: 최신 버전이 위로 (역순)
386
- - **변경 타입 태그**: INITIAL, ADDED, CHANGED, IMPLEMENTATION COMPLETED, BREAKING, DEPRECATED, REMOVED, FIXED
387
- - 상세 설명: `.moai/memory/spec-metadata.md#history-작성-가이드` 참조
388
- - **필수 항목**: 버전, 날짜, AUTHOR, 변경 내용
389
- - **선택 항목**: REVIEW, SCOPE, CONTEXT, MIGRATION
391
+ **HISTORY writing rules**:
392
+ - **Version system**: v0.0.1 (INITIAL) → v0.1.0 (implementation complete) → v1.0.0 (stabilization)
393
+ - Detailed version system: See `.moai/memory/spec-metadata.md#version-system`
394
+ - **Version order**: Latest version on top (reverse order)
395
+ - **Change type tag**: INITIAL, ADDED, CHANGED, IMPLEMENTATION COMPLETED, BREAKING, DEPRECATED, REMOVED, FIXED
396
+ - Detailed description: See `.moai/memory/spec-metadata.md#history-writing-guide`
397
+ - **Required items**: Version, date, AUTHOR, changes
398
+ - **Optional items**: REVIEW, SCOPE, CONTEXT, MIGRATION
390
399
 
391
- #### SPEC 문서 전체 구조
400
+ #### SPEC document overall structure
392
401
 
393
402
  ```markdown
394
403
  ---
@@ -400,32 +409,32 @@ updated: 2025-09-15
400
409
  author: @username
401
410
  ---
402
411
 
403
- # @SPEC:AUTH-001: [SPEC 제목]
412
+ # @SPEC:AUTH-001: [SPEC title]
404
413
 
405
414
  ## HISTORY
406
- [버전별 변경 이력 - 예시 참조]
415
+ [Change history by version see example above]
407
416
 
408
- ## Environment (환경)
409
- [시스템 환경 전제 조건]
417
+ ## Environment
418
+ [System environment and prerequisites]
410
419
 
411
- ## Assumptions (가정)
412
- [설계 가정 사항]
420
+ ## Assumptions
421
+ [Design assumptions]
413
422
 
414
- ## Requirements (요구사항)
415
- ### Ubiquitous (필수 기능)
416
- - 시스템은 [기능]을 제공해야 한다
423
+ ## Requirements
424
+ ### Ubiquitous
425
+ - The system must provide [feature]
417
426
 
418
- ### Event-driven (이벤트 기반)
419
- - WHEN [조건]이면, 시스템은 [동작]해야 한다
427
+ ### Event-driven (event-driven)
428
+ - WHEN [condition], the system must [operate]
420
429
 
421
- ### State-driven (상태 기반)
422
- - WHILE [상태] 때, 시스템은 [동작]해야 한다
430
+ ### State-driven
431
+ - WHILE When in [state], the system must [operate]
423
432
 
424
- ### Optional (선택 기능)
425
- - WHERE [조건]이면, 시스템은 [동작]할 수 있다
433
+ ### Optional (Optional function)
434
+ - If WHERE [condition], the system can [operate]
426
435
 
427
- ### Constraints (제약사항)
428
- - IF [조건]이면, 시스템은 [제약]해야 한다
436
+ ### Constraints
437
+ - IF [condition], the system must be [constrained]
429
438
 
430
439
  ## Traceability (@TAG)
431
440
  - **SPEC**: @SPEC:AUTH-001
@@ -434,130 +443,130 @@ author: @username
434
443
  - **DOC**: docs/api/authentication.md
435
444
  ```
436
445
 
437
- ### 에이전트 협업 구조
446
+ ### Agent collaboration structure
438
447
 
439
- - **1단계**: `spec-builder` 에이전트가 프로젝트 문서 분석 SPEC 문서 작성을 전담합니다.
440
- - **2단계**: `git-manager` 에이전트가 브랜치 생성, GitHub Issue/PR 생성을 전담합니다.
441
- - **단일 책임 원칙**: spec-builder 계획 작성만, git-manager Git/GitHub 작업만 수행합니다.
442
- - **순차 실행**: spec-builder → git-manager 순서로 실행하여 명확한 의존성을 유지합니다.
443
- - **에이전트 호출 금지**: 에이전트는 다른 에이전트를 직접 호출하지 않고, 커맨드 레벨에서만 순차 실행합니다.
448
+ - **Step 1**: The `spec-builder` agent is dedicated to analyzing project documents and creating SPEC documents.
449
+ - **Step 2**: The `git-manager` agent is dedicated to branch creation and GitHub Issue/PR creation.
450
+ - **Single Responsibility Principle**: spec-builder only writes plans, git-manager only performs Git/GitHub operations.
451
+ - **Sequential execution**: Executes in the order spec-builder → git-manager to maintain clear dependencies.
452
+ - **No inter-agent calls**: Each agent calls the other agents. It is not called directly, but is executed sequentially only at the command level.
444
453
 
445
- ## 🚀 최적화된 워크플로우 실행 순서
454
+ ## 🚀 Optimized workflow execution order
446
455
 
447
- ### Phase 1: 병렬 프로젝트 분석 (성능 최적화)
456
+ ### Phase 1: Parallel project analysis (performance optimization)
448
457
 
449
- **동시에 수행**:
458
+ **Perform simultaneously**:
450
459
 
451
460
  ```
452
- Task 1 (haiku): 프로젝트 구조 스캔
453
- ├── 언어/프레임워크 감지
454
- ├── 기존 SPEC 목록 수집
455
- └── 우선순위 백로그 초안
456
-
457
- Task 2 (sonnet): 심화 문서 분석
458
- ├── product.md 요구사항 추출
459
- ├── structure.md 아키텍처 분석
460
- └── tech.md 기술적 제약사항
461
+ Task 1 (haiku): Scan project structure
462
+ ├── Detect languages/frameworks
463
+ ├── Collect list of existing SPECs
464
+ └── Draft priority backlog
465
+
466
+ Task 2 (sonnet): In-depth document analysis
467
+ ├── product.md requirements extraction
468
+ ├── structure.md architecture analysis
469
+ └── tech.md technical constraints
461
470
  ```
462
471
 
463
- **성능 향상**: 기본 스캔과 심화 분석을 병렬 처리하여 대기 시간 최소화
472
+ **Performance improvements**: Parallelize basic scans and deep analysis to minimize latency
464
473
 
465
- ### Phase 2: SPEC 문서 통합 작성
474
+ ### Phase 2: Create SPEC document integration
466
475
 
467
- `spec-builder` 에이전트(sonnet) 병렬 분석 결과를 통합하여:
476
+ The `spec-builder` agent (sonnet) integrates the results of the parallel analysis:
468
477
 
469
- - 프로젝트 문서 기반 기능 후보 제안
470
- - 사용자 승인 SPEC 문서 작성 (MultiEdit 활용)
471
- - 3개 파일 동시 생성 (spec.md, plan.md, acceptance.md)
478
+ - Proposal of function candidates based on project document
479
+ - Creation of SPEC document after user approval (using MultiEdit)
480
+ - Simultaneous creation of 3 files (spec.md, plan.md, acceptance.md)
472
481
 
473
- ### Phase 3: Git 작업 처리
482
+ ### Phase 3: Git task processing
474
483
 
475
- `git-manager` 에이전트(haiku)가 최종 처리:
484
+ Final processing by the `git-manager` agent (haiku):
476
485
 
477
- - **브랜치 생성**: 모드별 전략 적용
478
- - **Personal 모드**: `main` 또는 `develop`에서 분기 (프로젝트 설정 기준)
479
- - **Team 모드**: **항상 `develop`에서 분기** (GitFlow 표준)
480
- - 브랜치명: `feature/SPEC-{ID}` 형식
481
- - **GitHub Issue 생성**: Team 모드에서 SPEC Issue 생성
482
- - **Draft PR 생성**: Team 모드에서 `feature/SPEC-{ID}` → `develop` PR 생성
483
- - **초기 커밋**: SPEC 문서 커밋 태그 생성
486
+ - **Branch creation**: Apply strategy for each mode
487
+ - **Personal mode**: Branch from `main` or `develop` (based on project settings)
488
+ - **Team mode**: **Always branch from `develop`** (GitFlow standard)
489
+ - Branch name: `feature/SPEC-{ID}` format
490
+ - **Create GitHub Issue**: Create SPEC Issue in Team mode
491
+ - **Create Draft PR**: `feature/SPEC-{ID}` → `develop` in Team mode Create PR
492
+ - **Initial Commit**: Commit SPEC document and create tags
484
493
 
485
- **중요**: 에이전트는 독립적으로 실행되며, 에이전트 직접 호출은 금지됩니다.
494
+ **Important**: Each agent runs independently, and direct calls between agents are prohibited.
486
495
 
487
- ## 에이전트 역할 분리
496
+ ## Agent role separation
488
497
 
489
- ### spec-builder 전담 영역
498
+ ### spec-builder dedicated area
490
499
 
491
- - 프로젝트 문서 분석 SPEC 후보 발굴
492
- - EARS 구조의 명세서 작성
493
- - Acceptance Criteria 작성 (Given-When-Then)
494
- - SPEC 문서 품질 검증
495
- - @TAG 시스템 적용
500
+ - Analysis of project documents and discovery of SPEC candidates
501
+ - Preparation of EARS structure specifications
502
+ - Preparation of Acceptance Criteria (Given-When-Then)
503
+ - Verification of SPEC document quality
504
+ - Application of @TAG system
496
505
 
497
- ### git-manager 전담 영역
506
+ ### git-manager dedicated area
498
507
 
499
- - 모든 Git 브랜치 생성 관리
500
- - **모드별 브랜치 전략 적용**
501
- - Personal: `main` 또는 `develop`에서 분기
502
- - Team: **항상 `develop`에서 분기** (GitFlow)
503
- - GitHub Issue/PR 생성
504
- - Team 모드: Draft PR 생성 (`feature/SPEC-{ID}` → `develop`)
505
- - 초기 커밋 태그 생성
506
- - 원격 동기화 처리
508
+ - Create and manage all Git branches
509
+ - **Apply branch strategy for each mode**
510
+ - Personal: Branch from `main` or `develop`
511
+ - Team: **Always branch from `develop`** (GitFlow)
512
+ - Create GitHub Issue/PR
513
+ - Team Mode: Create Draft PR (`feature/SPEC-{ID}` → `develop`)
514
+ - Create initial commit and tags
515
+ - Handle remote synchronization
507
516
 
508
- ## 2단계 워크플로우 실행 순서
517
+ ## Step 2 workflow execution sequence
509
518
 
510
- ### Phase 1: 분석 계획 단계
519
+ ### Phase 1: Analysis and planning phase
511
520
 
512
- **계획 분석기**가 다음을 수행:
521
+ **Plan Analyzer** does the following:
513
522
 
514
- 1. **프로젝트 문서 로딩**: product/structure/tech.md 심층 분석
515
- 2. **SPEC 후보 발굴**: 비즈니스 요구사항 기반 우선순위 결정
516
- 3. **구현 전략 수립**: EARS 구조 Acceptance 설계
517
- 4. **작성 계획 생성**: 단계별 계획 작성 접근 방식 제시
518
- 5. **사용자 승인 대기**: 계획 검토 피드백 수집
523
+ 1. **Loading project document**: In-depth analysis of product/structure/tech.md
524
+ 2. **SPEC candidate discovery**: Prioritization based on business requirements
525
+ 3. **Establishment of implementation strategy**: EARS structure and acceptance design
526
+ 4. **Creating a Writing Plan**: Presents a step-by-step approach to writing a plan
527
+ 5. **Awaiting user approval**: Review plan and gather feedback
519
528
 
520
- ### Phase 2: 계획 작성 단계 (승인 )
529
+ ### Phase 2: Plan preparation phase (after approval)
521
530
 
522
- `spec-builder` 에이전트가 사용자 승인 **연속적으로** 수행:
531
+ The `spec-builder` agent **continuously** performs after user approval:
523
532
 
524
- 1. **EARS 명세 작성**: Event-Action-Response-State 구조화
525
- 2. **Acceptance Criteria**: Given-When-Then 시나리오 작성
526
- 3. **문서 품질 검증**: TRUST 원칙 @TAG 적용
527
- 4. **템플릿 생성**: spec.md, plan.md, acceptance.md 동시 생성
533
+ 1. **Writing EARS specification**: Event-Action-Response-State structuring
534
+ 2. **Acceptance Criteria**: Given-When-Then Scenario Writing
535
+ 3. **Document quality verification**: Apply TRUST principles and @TAG
536
+ 4. **Template creation**: Simultaneous creation of spec.md, plan.md, acceptance.md
528
537
 
529
- ### Phase 3: Git 작업 (git-manager)
538
+ ### Phase 3: Git operations (git-manager)
530
539
 
531
- `git-manager` 에이전트가 SPEC 완료 **한 번에** 수행:
540
+ The `git-manager` agent does **all at once** after the SPEC is complete:
532
541
 
533
- 1. **브랜치 생성**: 모드별 브랜치 전략 적용
534
- 2. **GitHub Issue**: Team 모드에서 SPEC Issue 생성
535
- 3. **초기 커밋**: SPEC 문서 커밋 태그 생성
536
- 4. **원격 동기화**: 모드별 동기화 전략 적용
542
+ 1. **Create branch**: Apply branch strategy for each mode
543
+ 2. **GitHub Issue**: Create SPEC Issue in Team mode
544
+ 3. **Initial commit**: Commit SPEC document and create tags
545
+ 4. **Remote Sync**: Apply synchronization strategy for each mode
537
546
 
538
- ## 작성
547
+ ## Writing Tips
539
548
 
540
- - product/structure/tech 문서에 없는 정보는 새로 질문해 보완합니다.
541
- - Acceptance Criteria Given/When/Then 3단으로 최소 2 이상 작성하도록 유도합니다.
542
- - TRUST 원칙 Readable(읽기 쉬움) 기준 완화로 인해 모듈 수가 권장치(기본 5) 초과하는 경우, 근거를 SPEC `context` 섹션에 함께 기록하세요.
549
+ - Information that is not in the product/structure/tech document is supplemented by asking a new question.
550
+ - Acceptance Criteria is encouraged to be written at least 2 times in 3 columns Given/When/Then.
551
+ - The number of modules is reduced due to the relaxation of the Readable standard among the TRUST principles. If the recommended value (default 5) is exceeded, please include justification in the SPEC `context` section.
543
552
 
544
553
  ---
545
554
 
546
- ## 🧠 Context Management (컨텍스트 관리)
555
+ ## 🧠 Context Management
547
556
 
548
- > 자세한 내용: `.moai/memory/development-guide.md` - "Context Engineering" 섹션 참조
557
+ > For more information: `.moai/memory/development-guide.md` - see section "Context Engineering"
549
558
 
550
- ### 커맨드의 핵심 전략
559
+ ### Core strategy of this command
551
560
 
552
- **우선 로드**: `.moai/project/product.md` (비즈니스 요구사항)
561
+ **Load first**: `.moai/project/product.md` (business requirement)
553
562
 
554
- **권장사항**: 계획 작성이 완료되었습니다. 다음 단계(`/alfred:2-build`) 진행 `/clear` 또는 `/new` 명령으로 새로운 대화 세션을 시작하면 나은 성능과 컨텍스트 관리를 경험할 수 있습니다.
563
+ **Recommendation**: The plan is complete. You can experience better performance and context management by starting a new chat session with the `/clear` or `/new` command before proceeding to the next step (`/alfred:2-run`).
555
564
 
556
565
  ---
557
566
 
558
- ## 다음 단계
567
+ ## Next steps
559
568
 
560
- **권장사항**: 다음 단계 진행 `/clear` 또는 `/new` 명령으로 새로운 대화 세션을 시작하면 나은 성능과 컨텍스트 관리를 경험할 있습니다.
569
+ **Recommendation**: For better performance and context management, start a new chat session with the `/clear` or `/new` command before proceeding to the next step.
561
570
 
562
- - `/alfred:2-build SPEC-XXX`로 TDD 구현 시작
563
- - 모드: Issue 생성 git-manager 에이전트가 자동으로 브랜치 생성
571
+ - Start implementing TDD with `/alfred:2-run SPEC-XXX`
572
+ - Team mode: After creating an issue, the git-manager agent automatically creates a branch.