moai-adk 0.7.0__py3-none-any.whl → 0.8.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 (39) hide show
  1. moai_adk/core/issue_creator.py +309 -0
  2. moai_adk/core/project/phase_executor.py +1 -2
  3. moai_adk/core/template_engine.py +253 -0
  4. moai_adk/templates/.claude/agents/alfred/cc-manager.md +1 -1
  5. moai_adk/templates/.claude/agents/alfred/debug-helper.md +2 -2
  6. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +2 -2
  7. moai_adk/templates/.claude/agents/alfred/git-manager.md +27 -4
  8. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +2 -2
  9. moai_adk/templates/.claude/agents/alfred/project-manager.md +6 -6
  10. moai_adk/templates/.claude/agents/alfred/quality-gate.md +2 -2
  11. moai_adk/templates/.claude/agents/alfred/skill-factory.md +7 -7
  12. moai_adk/templates/.claude/agents/alfred/spec-builder.md +2 -2
  13. moai_adk/templates/.claude/agents/alfred/tag-agent.md +2 -2
  14. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +2 -2
  15. moai_adk/templates/.claude/agents/alfred/trust-checker.md +2 -2
  16. moai_adk/templates/.claude/commands/alfred/0-project.md +9 -9
  17. moai_adk/templates/.claude/commands/alfred/1-plan.md +3 -3
  18. moai_adk/templates/.claude/commands/alfred/2-run.md +4 -4
  19. moai_adk/templates/.claude/commands/alfred/3-sync.md +5 -5
  20. moai_adk/templates/.claude/commands/alfred/9-feedback.md +149 -0
  21. moai_adk/templates/.claude/hooks/alfred/core/project.py +145 -13
  22. moai_adk/templates/.claude/hooks/alfred/handlers/session.py +90 -20
  23. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +1 -1
  24. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +1 -1
  25. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +1 -1
  26. moai_adk/templates/.github/ISSUE_TEMPLATE/spec.yml +5 -3
  27. moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +20 -8
  28. moai_adk/templates/.github/workflows/moai-gitflow.yml +22 -16
  29. moai_adk/templates/.github/workflows/spec-issue-sync.yml +10 -6
  30. moai_adk/templates/.moai/config.json +12 -0
  31. moai_adk/templates/.moai/docs/quick-issue-creation-guide.md +219 -0
  32. moai_adk/templates/.moai/memory/issue-label-mapping.md +150 -0
  33. moai_adk/templates/CLAUDE.md +67 -1
  34. {moai_adk-0.7.0.dist-info → moai_adk-0.8.1.dist-info}/METADATA +123 -1
  35. {moai_adk-0.7.0.dist-info → moai_adk-0.8.1.dist-info}/RECORD +38 -34
  36. moai_adk/templates/.claude/hooks/alfred/test_hook_output.py +0 -175
  37. {moai_adk-0.7.0.dist-info → moai_adk-0.8.1.dist-info}/WHEEL +0 -0
  38. {moai_adk-0.7.0.dist-info → moai_adk-0.8.1.dist-info}/entry_points.txt +0 -0
  39. {moai_adk-0.7.0.dist-info → moai_adk-0.8.1.dist-info}/licenses/LICENSE +0 -0
@@ -92,5 +92,17 @@
92
92
  "scan_command": "rg '@TAG' -n",
93
93
  "philosophy": "The source of truth for TAGs lives in the code itself"
94
94
  }
95
+ },
96
+ "github": {
97
+ "@CODE:GITHUB-CONFIG-001": "@DOC:GITHUB-TEMPLATES-001",
98
+ "templates": {
99
+ "enable_trust_5": true,
100
+ "enable_tag_system": true,
101
+ "enable_alfred_commands": true,
102
+ "spec_directory": ".moai/specs",
103
+ "docs_directory": ".moai/docs",
104
+ "test_directory": "tests",
105
+ "notes": "Configure GitHub templates for project customization. When enable_* flags are false, corresponding MoAI-specific sections are omitted from templates."
106
+ }
95
107
  }
96
108
  }
@@ -0,0 +1,219 @@
1
+ # 🎯 Quick Issue Creation Guide
2
+
3
+ > **MoAI-ADK v0.7.0+** - Create GitHub Issues instantly with `/alfred:9-feedback` interactive dialog
4
+
5
+ ## Overview
6
+
7
+ The Quick Issue Creation system allows developers to report bugs, request features, suggest improvements, and ask questions directly to GitHub Issues without leaving their development context.
8
+
9
+ **Key Benefit**: Convert problems into tracked GitHub Issues in seconds, maintaining development flow.
10
+
11
+ ---
12
+
13
+ ## 🚀 Quick Start
14
+
15
+ ### Basic Usage
16
+
17
+ ```bash
18
+ # Report a bug
19
+ /alfred:9-help --bug 'Login button not responding on homepage'
20
+
21
+ # Request a feature
22
+ /alfred:9-help --feature 'Add dark mode theme support'
23
+
24
+ # Suggest an improvement
25
+ /alfred:9-help --improvement 'Optimize database query in UserService'
26
+
27
+ # Ask a question
28
+ /alfred:9-help --question 'What is the recommended approach for API versioning?'
29
+ ```
30
+
31
+ ### What Happens Next
32
+
33
+ 1. **Parsing**: Alfred extracts issue type and content
34
+ 2. **Priority Selection**: You select issue priority (critical/high/medium/low)
35
+ 3. **Issue Creation**: GitHub Issue is created with:
36
+ - Formatted title (with emoji and type indicator)
37
+ - Your description
38
+ - Automatic labels based on type and priority
39
+ - Metadata footer
40
+ 4. **Confirmation**: You receive the issue URL for immediate sharing
41
+
42
+ **Example Output**:
43
+ ```
44
+ ✅ GitHub Issue #456 created successfully
45
+ 📋 Title: 🐛 [BUG] Login button not responding on homepage
46
+ 🔴 Priority: High
47
+ 🏷️ Labels: bug, reported, priority-high
48
+ 🔗 URL: https://github.com/owner/repo/issues/456
49
+ ```
50
+
51
+ ---
52
+
53
+ ## 📋 Issue Types & Labels
54
+
55
+ ### 🐛 Bug Reports (`--bug`)
56
+
57
+ Use this when you discover a problem or unexpected behavior.
58
+
59
+ **Automatic Labels**: `bug`, `reported`
60
+
61
+ **Example**:
62
+ ```bash
63
+ /alfred:9-help --bug 'Payment form crashes when credit card has < 4 digits'
64
+ ```
65
+
66
+ ---
67
+
68
+ ### ✨ Feature Requests (`--feature`)
69
+
70
+ Use this to propose new functionality.
71
+
72
+ **Automatic Labels**: `feature-request`, `enhancement`
73
+
74
+ **Example**:
75
+ ```bash
76
+ /alfred:9-help --feature 'Add webhook support for payment notifications'
77
+ ```
78
+
79
+ ---
80
+
81
+ ### ⚡ Improvement Suggestions (`--improvement`)
82
+
83
+ Use this to suggest enhancements to existing features.
84
+
85
+ **Automatic Labels**: `improvement`, `enhancement`
86
+
87
+ **Example**:
88
+ ```bash
89
+ /alfred:9-help --improvement 'Reduce database queries in checkout process by 50%'
90
+ ```
91
+
92
+ ---
93
+
94
+ ### ❓ Questions & Discussions (`--question`)
95
+
96
+ Use this to ask questions or start discussions.
97
+
98
+ **Automatic Labels**: `question`, `help-wanted`
99
+
100
+ **Example**:
101
+ ```bash
102
+ /alfred:9-help --question 'Should we migrate from Sequelize to Prisma ORM?'
103
+ ```
104
+
105
+ ---
106
+
107
+ ## 🎯 Priority Levels
108
+
109
+ When you create an issue, you'll be prompted to select a priority:
110
+
111
+ | Level | Emoji | Label | When to Use |
112
+ |-------|-------|-------|------------|
113
+ | 🔴 Critical | 🔴 | `priority-critical` | System down, data loss risk, security breach |
114
+ | 🟠 High | 🟠 | `priority-high` | Major feature broken, significant impact |
115
+ | 🟡 Medium | 🟡 | `priority-medium` | Normal bugs, typical features, default |
116
+ | 🟢 Low | 🟢 | `priority-low` | Minor issues, nice-to-have features |
117
+
118
+ ---
119
+
120
+ ## 💡 Real-World Examples
121
+
122
+ ### Example 1: Emergency Bug Report
123
+
124
+ **Scenario**: During production support, you find that users cannot reset their passwords.
125
+
126
+ ```bash
127
+ /alfred:9-help --bug 'Password reset email not being sent after clicking "Forgot Password"'
128
+ ```
129
+
130
+ **Result**: Issue #234 created and visible to team immediately with critical priority.
131
+
132
+ ### Example 2: Feature Request from Code Review
133
+
134
+ **Scenario**: During code review, you think of a feature that would improve the codebase.
135
+
136
+ ```bash
137
+ /alfred:9-help --feature 'Add request rate limiting middleware to prevent abuse'
138
+ ```
139
+
140
+ **Result**: Issue #235 created for backlog planning.
141
+
142
+ ### Example 3: Performance Improvement Suggestion
143
+
144
+ **Scenario**: You notice slow database queries in the user service.
145
+
146
+ ```bash
147
+ /alfred:9-help --improvement 'Add database index on users.email for faster lookups'
148
+ ```
149
+
150
+ **Result**: Issue #236 created for technical debt backlog.
151
+
152
+ ### Example 4: Architecture Question
153
+
154
+ **Scenario**: You're uncertain about the best approach for API design.
155
+
156
+ ```bash
157
+ /alfred:9-help --question 'Should we use REST or GraphQL for the new mobile API?'
158
+ ```
159
+
160
+ **Result**: Issue #237 created for team discussion.
161
+
162
+ ---
163
+
164
+ ## 🔧 Prerequisites
165
+
166
+ ### Required
167
+
168
+ 1. **GitHub CLI installed**
169
+ ```bash
170
+ # macOS
171
+ brew install gh
172
+
173
+ # Ubuntu/Debian
174
+ sudo apt install gh
175
+
176
+ # Or visit: https://cli.github.com
177
+ ```
178
+
179
+ 2. **Authenticated with GitHub**
180
+ ```bash
181
+ gh auth login
182
+ ```
183
+
184
+ 3. **Git repository initialized**
185
+ ```bash
186
+ git init
187
+ git remote add origin https://github.com/owner/repo.git
188
+ ```
189
+
190
+ ---
191
+
192
+ ## 🔄 Related Commands
193
+
194
+ | Command | Purpose |
195
+ |---------|---------|
196
+ | `/alfred:0-project` | Initialize project |
197
+ | `/alfred:1-plan` | Create SPEC documents |
198
+ | `/alfred:2-run` | Implement features |
199
+ | `/alfred:3-sync` | Sync documentation |
200
+ | `/alfred:9-help` | **Create issues (this command)** |
201
+
202
+ ---
203
+
204
+ ## ✨ Summary
205
+
206
+ The `/alfred:9-help` command enables:
207
+
208
+ - ✅ **Fast issue creation** - Seconds, not minutes
209
+ - ✅ **Standardized format** - Consistent labels and metadata
210
+ - ✅ **Priority management** - Clear issue prioritization
211
+ - ✅ **Team visibility** - Issues immediately visible and discussable
212
+ - ✅ **Workflow integration** - Works with MoAI-ADK specs and planning
213
+
214
+ **Start using it now**:
215
+ ```bash
216
+ /alfred:9-help --bug 'Describe the issue you just found'
217
+ ```
218
+
219
+ Happy issue reporting! 🎉
@@ -0,0 +1,150 @@
1
+ # 📌 GitHub Issue Label Mapping Configuration
2
+
3
+ > **MoAI-ADK Label Management** - Centralized configuration for issue type labels and priority indicators
4
+
5
+ **Version**: 1.0.0
6
+ **Related**: `/alfred:9-feedback`
7
+
8
+ ---
9
+
10
+ ## 🏷️ Issue Type Label Mapping
11
+
12
+ ### Bug Issues (`--bug`)
13
+
14
+ **Primary Labels**: `bug`, `reported`
15
+
16
+ **Optional Labels** (based on priority):
17
+ - `priority-critical` - System down, data loss risk
18
+ - `priority-high` - Major feature broken
19
+ - `priority-medium` - Normal bug
20
+ - `priority-low` - Minor issue
21
+
22
+ ---
23
+
24
+ ### Feature Request Issues (`--feature`)
25
+
26
+ **Primary Labels**: `feature-request`, `enhancement`
27
+
28
+ **Optional Labels** (based on priority):
29
+ - `priority-critical` - Blocking, must implement immediately
30
+ - `priority-high` - Important feature
31
+ - `priority-medium` - Normal priority feature (default)
32
+ - `priority-low` - Nice to have
33
+
34
+ ---
35
+
36
+ ### Improvement Issues (`--improvement`)
37
+
38
+ **Primary Labels**: `improvement`, `enhancement`
39
+
40
+ **Optional Labels** (based on priority):
41
+ - `priority-critical` - Critical refactoring needed
42
+ - `priority-high` - Important improvement
43
+ - `priority-medium` - Normal priority (default)
44
+ - `priority-low` - Technical debt, can wait
45
+
46
+ ---
47
+
48
+ ### Question/Discussion Issues (`--question`)
49
+
50
+ **Primary Labels**: `question`, `help-wanted`
51
+
52
+ **Optional Labels** (based on priority):
53
+ - `priority-critical` - Urgent decision needed
54
+ - `priority-high` - Important decision
55
+ - `priority-medium` - Normal discussion (default)
56
+ - `priority-low` - Optional discussion
57
+
58
+ ---
59
+
60
+ ## 🎯 Priority Emoji Mapping
61
+
62
+ | Priority | Emoji | Use Case |
63
+ |----------|-------|----------|
64
+ | Critical | 🔴 | System outage, data loss, security breach |
65
+ | High | 🟠 | Major feature broken, significant impact |
66
+ | Medium | 🟡 | Normal bugs/features (default) |
67
+ | Low | 🟢 | Minor issues, nice-to-have features |
68
+
69
+ ---
70
+
71
+ ## 🚀 Issue Type Emoji Mapping
72
+
73
+ | Type | Emoji | Description |
74
+ |------|-------|-------------|
75
+ | Bug | 🐛 | Defect or unexpected behavior |
76
+ | Feature | ✨ | New functionality or capability |
77
+ | Improvement | ⚡ | Code quality, performance, or design improvement |
78
+ | Question | ❓ | Question, discussion, or decision needed |
79
+
80
+ ---
81
+
82
+ ## 🛠️ GitHub Labels Setup
83
+
84
+ To create labels in your GitHub repository, use GitHub CLI:
85
+
86
+ ```bash
87
+ # Authenticate first
88
+ gh auth login
89
+
90
+ # Create bug labels
91
+ gh label create "bug" \
92
+ --description "Something isn't working" \
93
+ --color "d73a49"
94
+
95
+ gh label create "reported" \
96
+ --description "User-reported issue" \
97
+ --color "fc2929"
98
+
99
+ # Create feature labels
100
+ gh label create "feature-request" \
101
+ --description "New feature or request" \
102
+ --color "a2eeef"
103
+
104
+ gh label create "enhancement" \
105
+ --description "Improvement or enhancement" \
106
+ --color "0075ca"
107
+
108
+ # Create improvement label
109
+ gh label create "improvement" \
110
+ --description "Performance or code quality improvement" \
111
+ --color "5ebcf6"
112
+
113
+ # Create question labels
114
+ gh label create "question" \
115
+ --description "Question for discussion" \
116
+ --color "fbca04"
117
+
118
+ gh label create "help-wanted" \
119
+ --description "We need help with this" \
120
+ --color "fcfc03"
121
+
122
+ # Create priority labels
123
+ gh label create "priority-critical" \
124
+ --description "Critical priority - URGENT" \
125
+ --color "ff0000"
126
+
127
+ gh label create "priority-high" \
128
+ --description "High priority" \
129
+ --color "ff6600"
130
+
131
+ gh label create "priority-medium" \
132
+ --description "Medium priority" \
133
+ --color "ffcc00"
134
+
135
+ gh label create "priority-low" \
136
+ --description "Low priority" \
137
+ --color "00cc00"
138
+ ```
139
+
140
+ ---
141
+
142
+ ## ✨ Summary
143
+
144
+ This configuration enables:
145
+ - ✅ **Standardized issue labels** across all issue types
146
+ - ✅ **Priority indicators** with emoji for visual identification
147
+ - ✅ **Type emoji** for quick issue categorization
148
+ - ✅ **Automated label assignment** via `/alfred:9-feedback`
149
+
150
+ For more information, see `.moai/docs/quick-issue-creation-guide.md`
@@ -6,7 +6,7 @@
6
6
  > **Project Owner**: {{PROJECT_OWNER}}
7
7
  > **Config**: `.moai/config.json`
8
8
  >
9
- > **Note**: `Skill("moai-alfred-interactive-questions")` provides TUI-based responses when user interaction is needed. The skill loads on-demand.
9
+ > **Note**: `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)` provides TUI-based responses when user interaction is needed. The skill loads on-demand.
10
10
 
11
11
  ---
12
12
 
@@ -213,6 +213,72 @@ Combine layers when necessary: a command triggers sub-agents, sub-agents activat
213
213
 
214
214
  ---
215
215
 
216
+ ## ⚡ Alfred Command Completion Pattern
217
+
218
+ **CRITICAL RULE**: When any Alfred command (`/alfred:0-project`, `/alfred:1-plan`, `/alfred:2-run`, `/alfred:3-sync`) completes, **ALWAYS use `AskUserQuestion` tool** to ask the user what to do next.
219
+
220
+ ### Pattern for Each Command
221
+
222
+ #### `/alfred:0-project` Completion
223
+ ```
224
+ After project initialization completes:
225
+ ├─ Use AskUserQuestion to ask:
226
+ │ ├─ Option 1: Proceed to /alfred:1-plan (plan specifications)
227
+ │ ├─ Option 2: Start new session with /clear
228
+ │ └─ Option 3: Review project structure
229
+ └─ DO NOT suggest multiple next steps in prose - use AskUserQuestion only
230
+ ```
231
+
232
+ #### `/alfred:1-plan` Completion
233
+ ```
234
+ After planning completes:
235
+ ├─ Use AskUserQuestion to ask:
236
+ │ ├─ Option 1: Proceed to /alfred:2-run (implement SPEC)
237
+ │ ├─ Option 2: Revise SPEC before implementation
238
+ │ └─ Option 3: Start new session with /clear
239
+ └─ DO NOT suggest multiple next steps in prose - use AskUserQuestion only
240
+ ```
241
+
242
+ #### `/alfred:2-run` Completion
243
+ ```
244
+ After implementation completes:
245
+ ├─ Use AskUserQuestion to ask:
246
+ │ ├─ Option 1: Proceed to /alfred:3-sync (synchronize docs)
247
+ │ ├─ Option 2: Run additional tests/validation
248
+ │ └─ Option 3: Start new session with /clear
249
+ └─ DO NOT suggest multiple next steps in prose - use AskUserQuestion only
250
+ ```
251
+
252
+ #### `/alfred:3-sync` Completion
253
+ ```
254
+ After sync completes:
255
+ ├─ Use AskUserQuestion to ask:
256
+ │ ├─ Option 1: Return to /alfred:1-plan (next feature)
257
+ │ ├─ Option 2: Merge PR to main
258
+ │ └─ Option 3: Complete session
259
+ └─ DO NOT suggest multiple next steps in prose - use AskUserQuestion only
260
+ ```
261
+
262
+ ### Implementation Rules
263
+
264
+ 1. **Always use AskUserQuestion** - Never suggest next steps in prose (e.g., "You can now run `/alfred:1-plan`...")
265
+ 2. **Provide 3-4 clear options** - Not open-ended or free-form
266
+ 3. **Language**: Present options in user's `conversation_language` (Korean, Japanese, etc.)
267
+ 4. **Question format**: Use the `moai-alfred-interactive-questions` skill documentation as reference (don't invoke Skill())
268
+
269
+ ### Example (Correct Pattern)
270
+ ```markdown
271
+ # CORRECT ✅
272
+ After project setup, use AskUserQuestion tool to ask:
273
+ - "프로젝트 초기화가 완료되었습니다. 다음으로 뭘 하시겠습니까?"
274
+ - Options: 1) 스펙 작성 진행 2) 프로젝트 구조 검토 3) 새 세션 시작
275
+
276
+ # INCORRECT ❌
277
+ Your project is ready. You can now run `/alfred:1-plan` to start planning specs...
278
+ ```
279
+
280
+ ---
281
+
216
282
  ## Project Information
217
283
 
218
284
  - **Name**: MoAI-ADK
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moai-adk
3
- Version: 0.7.0
3
+ Version: 0.8.1
4
4
  Summary: MoAI Agentic Development Kit - SPEC-First TDD with Alfred SuperAgent & Complete Skills v2.0
5
5
  Project-URL: Homepage, https://github.com/modu-ai/moai-adk
6
6
  Project-URL: Repository, https://github.com/modu-ai/moai-adk
@@ -696,8 +696,11 @@ graph TD
696
696
  | `/alfred:1-plan <description>` | Analyze requirements, draft SPEC, write Plan Board | `.moai/specs/SPEC-*/spec.md`, plan/acceptance docs, feature branch |
697
697
  | `/alfred:2-run <SPEC-ID>` | Execute TDD, test/implement/refactor, verify quality | `tests/`, `src/` implementation, quality report, TAG connection |
698
698
  | `/alfred:3-sync` | Sync docs/README/CHANGELOG, organize TAG/PR status | `docs/`, `.moai/reports/sync-report.md`, Ready PR |
699
+ | `/alfred:9-feedback` | Interactively create GitHub Issues (type → title → description → priority) | GitHub Issue with auto labels, priority, URL |
699
700
 
700
701
  > ❗ All commands maintain **Phase 0 (optional) → Phase 1 → Phase 2 → Phase 3** cycle structure. Alfred automatically reports execution status and next-step suggestions.
702
+ >
703
+ > 💡 **New in v0.7.0+**: `/alfred:9-feedback` enables instant GitHub Issue creation during development, keeping your workflow uninterrupted while keeping issues tracked and visible to the team.
701
704
 
702
705
  ---
703
706
 
@@ -814,6 +817,125 @@ When working in your **local development environment**, CodeRabbit provides auto
814
817
 
815
818
  ---
816
819
 
820
+ ## Quick Issue Creation with `/alfred:9-feedback`
821
+
822
+ MoAI-ADK v0.7.0+ includes the **Quick Issue Creation** feature, allowing developers to instantly create GitHub Issues without interrupting their development workflow.
823
+
824
+ ### Why Quick Issue Creation?
825
+
826
+ During development, you frequently encounter:
827
+ - 🐛 Bugs that need immediate reporting
828
+ - ✨ Feature ideas that come to mind
829
+ - ⚡ Performance improvements to suggest
830
+ - ❓ Architecture questions that need team discussion
831
+
832
+ **The old way**: Stop coding, go to GitHub, manually fill issue form, remember what you were working on.
833
+ **The new way**: Type one command, GitHub Issue is created instantly, continue coding.
834
+
835
+ ### Interactive Dialog Flow
836
+
837
+ When you run `/alfred:9-help`, Alfred guides you through an interactive multi-step dialog:
838
+
839
+ **Step 1: Select Issue Type**
840
+ ```
841
+ Alfred: What type of issue do you want to create?
842
+ [ ] 🐛 Bug Report - Something isn't working
843
+ [ ] ✨ Feature Request - Suggest new functionality
844
+ [ ] ⚡ Improvement - Enhance existing features
845
+ [ ] ❓ Question/Discussion - Ask the team
846
+ ```
847
+
848
+ **Step 2: Enter Issue Title**
849
+ ```
850
+ Alfred: What's the issue title?
851
+ Your input: "Login button not responding to clicks"
852
+ ```
853
+
854
+ **Step 3: Enter Description (Optional)**
855
+ ```
856
+ Alfred: Provide a detailed description (optional—press Enter to skip)
857
+ Your input: "When I click the login button on iPhone 15, it freezes for 5 seconds then crashes"
858
+ ```
859
+
860
+ **Step 4: Select Priority Level**
861
+ ```
862
+ Alfred: What's the priority level?
863
+ [ ] 🔴 Critical - System down, data loss, security breach
864
+ [ ] 🟠 High - Major feature broken, significant impact
865
+ [✓] 🟡 Medium - Normal priority (default)
866
+ [ ] 🟢 Low - Minor issues, nice-to-have
867
+ ```
868
+
869
+ **Step 5: Automatic Issue Creation**
870
+ ```
871
+ Alfred automatically:
872
+ 1. Determines appropriate labels based on issue type and priority
873
+ 2. Formats title with emoji: "🐛 [BUG] Login button not responding..."
874
+ 3. Creates GitHub Issue with all information
875
+ 4. Returns the issue number and URL
876
+ ```
877
+
878
+ ### Key Features
879
+
880
+ 1. **⚡ Instant Creation**: Create GitHub Issues in seconds
881
+ 2. **🏷️ Automatic Labels**: Issue type + priority automatically labeled
882
+ 3. **🎯 Priority Selection**: Choose from Critical/High/Medium/Low
883
+ 4. **🔗 Team Visibility**: Issues immediately visible and discussable
884
+ 5. **📋 Standardized Format**: All issues follow consistent structure
885
+
886
+ ### Complete Example: Bug Report During Code Review
887
+
888
+ ```bash
889
+ # During code review, you notice a critical issue and want to report it instantly
890
+ $ /alfred:9-feedback
891
+
892
+ Alfred: What type of issue do you want to create?
893
+ > 🐛 Bug Report
894
+
895
+ Alfred: What's the issue title?
896
+ > Login button crash on mobile devices
897
+
898
+ Alfred: Provide a detailed description (optional—press Enter to skip)
899
+ > Tapping the login button on iPhone 15 causes app to freeze for 5 seconds then crash.
900
+ > Tested on iOS 17.2, Chrome 120 on macOS 14.2.
901
+ > Expected: Login modal should appear
902
+ > Actual: No response then crash
903
+
904
+ Alfred: What's the priority level?
905
+ > 🟠 High
906
+
907
+ ✅ GitHub Issue #234 created successfully!
908
+
909
+ 📋 Title: 🐛 [BUG] Login button crash on mobile devices
910
+ 🟠 Priority: High
911
+ 🏷️ Labels: bug, reported, priority-high
912
+ 🔗 URL: https://github.com/owner/repo/issues/234
913
+
914
+ 💡 Next: Continue with your work—the issue is now tracked!
915
+ ```
916
+
917
+ ### Integration with MoAI-ADK Workflow
918
+
919
+ 1. **During Development**: Use `/alfred:9-help` to report bugs/ideas instantly
920
+ 2. **In Code Review**: Convert improvement suggestions to tracked issues
921
+ 3. **When Planning**: Reference created issues in SPEC documents
922
+ 4. **During Sync**: Link issues to SPEC requirements with `/alfred:3-sync`
923
+
924
+ ### Prerequisites
925
+
926
+ - GitHub CLI (`gh`) installed and authenticated
927
+ - Repository initialized with Git
928
+
929
+ ### Learn More
930
+
931
+ See `.moai/docs/quick-issue-creation-guide.md` for comprehensive documentation including:
932
+ - Detailed usage examples
933
+ - Best practices and tips
934
+ - Troubleshooting guide
935
+ - Integration with SPEC documents
936
+
937
+ ---
938
+
817
939
  ## 5 Key Concepts
818
940
 
819
941
  MoAI-ADK consists of 5 key concepts. Each concept connects to the others, and together they create a powerful development system.