moai-adk 0.8.0__py3-none-any.whl → 0.15.0__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.
- moai_adk/cli/commands/init.py +14 -2
- moai_adk/cli/commands/update.py +229 -60
- moai_adk/core/config/migration.py +1 -1
- moai_adk/core/issue_creator.py +313 -0
- moai_adk/core/project/detector.py +201 -12
- moai_adk/core/project/initializer.py +62 -1
- moai_adk/core/project/phase_executor.py +48 -6
- moai_adk/core/tags/__init__.py +86 -0
- moai_adk/core/tags/ci_validator.py +463 -0
- moai_adk/core/tags/cli.py +283 -0
- moai_adk/core/tags/generator.py +109 -0
- moai_adk/core/tags/inserter.py +99 -0
- moai_adk/core/tags/mapper.py +126 -0
- moai_adk/core/tags/parser.py +76 -0
- moai_adk/core/tags/pre_commit_validator.py +393 -0
- moai_adk/core/tags/reporter.py +956 -0
- moai_adk/core/tags/tags.py +149 -0
- moai_adk/core/tags/validator.py +897 -0
- moai_adk/core/template_engine.py +268 -0
- moai_adk/templates/.claude/agents/alfred/backend-expert.md +319 -0
- moai_adk/templates/.claude/agents/alfred/cc-manager.md +25 -2
- moai_adk/templates/.claude/agents/alfred/debug-helper.md +24 -12
- moai_adk/templates/.claude/agents/alfred/devops-expert.md +464 -0
- moai_adk/templates/.claude/agents/alfred/doc-syncer.md +20 -13
- moai_adk/templates/.claude/agents/alfred/frontend-expert.md +357 -0
- moai_adk/templates/.claude/agents/alfred/git-manager.md +47 -16
- moai_adk/templates/.claude/agents/alfred/implementation-planner.md +95 -15
- moai_adk/templates/.claude/agents/alfred/project-manager.md +78 -12
- moai_adk/templates/.claude/agents/alfred/quality-gate.md +28 -5
- moai_adk/templates/.claude/agents/alfred/skill-factory.md +30 -2
- moai_adk/templates/.claude/agents/alfred/spec-builder.md +133 -13
- moai_adk/templates/.claude/agents/alfred/tag-agent.md +104 -8
- moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +133 -16
- moai_adk/templates/.claude/agents/alfred/trust-checker.md +27 -4
- moai_adk/templates/.claude/agents/alfred/ui-ux-expert.md +571 -0
- moai_adk/templates/.claude/commands/alfred/0-project.md +466 -125
- moai_adk/templates/.claude/commands/alfred/1-plan.md +208 -71
- moai_adk/templates/.claude/commands/alfred/2-run.md +276 -55
- moai_adk/templates/.claude/commands/alfred/3-sync.md +439 -53
- moai_adk/templates/.claude/commands/alfred/9-feedback.md +149 -0
- moai_adk/templates/.claude/hooks/alfred/core/project.py +361 -29
- moai_adk/templates/.claude/hooks/alfred/core/timeout.py +136 -0
- moai_adk/templates/.claude/hooks/alfred/core/ttl_cache.py +108 -0
- moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +198 -0
- moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +14 -6
- moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +94 -0
- moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +100 -0
- moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +94 -0
- moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +94 -0
- moai_adk/templates/.claude/hooks/alfred/{core → shared/core}/__init__.py +2 -2
- moai_adk/templates/.claude/hooks/alfred/{core → shared/core}/checkpoint.py +3 -3
- moai_adk/templates/.claude/hooks/alfred/{core → shared/core}/context.py +5 -5
- moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +749 -0
- moai_adk/templates/.claude/hooks/alfred/{core → shared/core}/tags.py +55 -23
- moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +198 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +21 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +154 -0
- moai_adk/templates/.claude/hooks/alfred/{handlers → shared/handlers}/session.py +28 -15
- moai_adk/templates/.claude/hooks/alfred/{handlers → shared/handlers}/tool.py +3 -6
- moai_adk/templates/.claude/hooks/alfred/{handlers → shared/handlers}/user.py +19 -0
- moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +112 -0
- moai_adk/templates/.claude/hooks/alfred/utils/__init__.py +1 -0
- moai_adk/templates/.claude/hooks/alfred/utils/timeout.py +161 -0
- moai_adk/templates/.claude/settings.json +5 -5
- moai_adk/templates/.claude/skills/moai-alfred-agent-guide/SKILL.md +70 -0
- moai_adk/templates/.claude/skills/moai-alfred-agent-guide/examples.md +62 -0
- moai_adk/templates/{.moai/memory/CLAUDE-AGENTS-GUIDE.md → .claude/skills/moai-alfred-agent-guide/reference.md} +34 -0
- moai_adk/templates/.claude/skills/moai-alfred-config-schema/SKILL.md +56 -0
- moai_adk/templates/.claude/skills/moai-alfred-config-schema/examples.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-context-budget/SKILL.md +62 -0
- moai_adk/templates/.claude/skills/moai-alfred-context-budget/examples.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-context-budget/reference.md +405 -0
- moai_adk/templates/.claude/skills/moai-alfred-dev-guide/SKILL.md +51 -0
- moai_adk/templates/.claude/skills/moai-alfred-dev-guide/examples.md +355 -0
- moai_adk/templates/.claude/skills/moai-alfred-dev-guide/reference.md +239 -0
- moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/SKILL.md +323 -0
- moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/examples.md +286 -0
- moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/reference.md +126 -0
- moai_adk/templates/.claude/skills/moai-alfred-gitflow-policy/SKILL.md +74 -0
- moai_adk/templates/.claude/skills/moai-alfred-gitflow-policy/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-gitflow-policy/reference.md +269 -0
- moai_adk/templates/.claude/skills/moai-alfred-issue-labels/SKILL.md +19 -0
- moai_adk/templates/.claude/skills/moai-alfred-issue-labels/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-issue-labels/reference.md +150 -0
- moai_adk/templates/.claude/skills/moai-alfred-persona-roles/SKILL.md +198 -0
- moai_adk/templates/.claude/skills/moai-alfred-persona-roles/examples.md +431 -0
- moai_adk/templates/.claude/skills/moai-alfred-persona-roles/reference.md +141 -0
- moai_adk/templates/.claude/skills/moai-alfred-practices/SKILL.md +89 -0
- moai_adk/templates/.claude/skills/moai-alfred-practices/examples.md +122 -0
- moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/SKILL.md +508 -0
- moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/examples.md +481 -0
- moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/reference.md +100 -0
- moai_adk/templates/.claude/skills/moai-alfred-reporting/SKILL.md +273 -0
- moai_adk/templates/.claude/skills/moai-alfred-rules/SKILL.md +77 -0
- moai_adk/templates/.claude/skills/moai-alfred-rules/examples.md +265 -0
- moai_adk/templates/.claude/skills/moai-alfred-session-state/SKILL.md +19 -0
- moai_adk/templates/.claude/skills/moai-alfred-session-state/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-session-state/reference.md +84 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/README.md +137 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/SKILL.md +219 -0
- moai_adk/templates/.claude/skills/{moai-spec-authoring → moai-alfred-spec-authoring}/examples/validate-spec.sh +3 -3
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples.md +541 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/reference.md +622 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-extended/SKILL.md +115 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-extended/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-extended/reference.md +348 -0
- moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/SKILL.md +19 -0
- moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/reference.md +211 -0
- moai_adk/templates/.claude/skills/moai-alfred-workflow/SKILL.md +288 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-descriptions/SKILL.md +19 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-descriptions/examples.md +4 -0
- moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/SKILL.md +3 -3
- moai_adk/templates/.claude/skills/moai-design-systems/SKILL.md +802 -0
- moai_adk/templates/.claude/skills/moai-design-systems/examples.md +1238 -0
- moai_adk/templates/.claude/skills/moai-design-systems/reference.md +673 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +17 -13
- moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +9 -6
- moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +15 -12
- moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +14 -12
- moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +14 -11
- moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +10 -8
- moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +15 -12
- moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +13 -11
- moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +16 -10
- moai_adk/templates/.claude/skills/moai-project-documentation.md +622 -0
- moai_adk/templates/.git-hooks/pre-push +143 -0
- moai_adk/templates/.github/workflows/c-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/cpp-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/csharp-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/dart-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/go-tag-validation.yml +130 -0
- moai_adk/templates/.github/workflows/java-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/javascript-tag-validation.yml +135 -0
- moai_adk/templates/.github/workflows/kotlin-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/moai-gitflow.yml +166 -3
- moai_adk/templates/.github/workflows/moai-release-create.yml +100 -0
- moai_adk/templates/.github/workflows/moai-release-pipeline.yml +188 -0
- moai_adk/templates/.github/workflows/php-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/python-tag-validation.yml +118 -0
- moai_adk/templates/.github/workflows/release.yml +118 -0
- moai_adk/templates/.github/workflows/ruby-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/rust-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/shell-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/spec-issue-sync.yml +206 -35
- moai_adk/templates/.github/workflows/swift-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/tag-report.yml +269 -0
- moai_adk/templates/.github/workflows/tag-validation.yml +186 -0
- moai_adk/templates/.github/workflows/typescript-tag-validation.yml +154 -0
- moai_adk/templates/.moai/config.json +21 -2
- moai_adk/templates/CLAUDE.md +972 -78
- moai_adk/templates/workflows/go-tag-validation.yml +30 -0
- moai_adk/templates/workflows/javascript-tag-validation.yml +41 -0
- moai_adk/templates/workflows/python-tag-validation.yml +42 -0
- moai_adk/templates/workflows/typescript-tag-validation.yml +31 -0
- moai_adk/utils/banner.py +5 -5
- {moai_adk-0.8.0.dist-info → moai_adk-0.15.0.dist-info}/METADATA +1518 -161
- {moai_adk-0.8.0.dist-info → moai_adk-0.15.0.dist-info}/RECORD +183 -100
- moai_adk/templates/.claude/hooks/alfred/HOOK_SCHEMA_VALIDATION.md +0 -313
- moai_adk/templates/.claude/hooks/alfred/README.md +0 -230
- moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +0 -174
- moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +0 -25
- moai_adk/templates/.claude/hooks/alfred/test_hook_output.py +0 -175
- moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +0 -640
- moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +0 -696
- moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +0 -474
- moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +0 -137
- moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +0 -218
- moai_adk/templates/.claude/skills/moai-spec-authoring/examples.md +0 -541
- moai_adk/templates/.claude/skills/moai-spec-authoring/reference.md +0 -622
- moai_adk/templates/.github/ISSUE_TEMPLATE/spec.yml +0 -176
- moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +0 -69
- moai_adk/templates/.moai/memory/DEVELOPMENT-GUIDE.md +0 -344
- moai_adk/templates/.moai/memory/GITFLOW-PROTECTION-POLICY.md +0 -220
- moai_adk/templates/.moai/memory/SPEC-METADATA.md +0 -356
- moai_adk/templates/.moai/memory/config-schema.md +0 -444
- moai_adk/templates/.moai/memory/gitflow-protection-policy.md +0 -220
- moai_adk/templates/.moai/memory/spec-metadata.md +0 -356
- moai_adk/templates/.moai/project/product.md +0 -161
- moai_adk/templates/.moai/project/structure.md +0 -156
- moai_adk/templates/.moai/project/tech.md +0 -227
- moai_adk/templates/__init__.py +0 -2
- /moai_adk/templates/{.moai/memory/CONFIG-SCHEMA.md → .claude/skills/moai-alfred-config-schema/reference.md} +0 -0
- /moai_adk/templates/{.moai/memory/CLAUDE-PRACTICES.md → .claude/skills/moai-alfred-practices/reference.md} +0 -0
- /moai_adk/templates/{.moai/memory/CLAUDE-RULES.md → .claude/skills/moai-alfred-rules/reference.md} +0 -0
- /moai_adk/templates/{.moai/memory/SKILLS-DESCRIPTION-POLICY.md → .claude/skills/moai-cc-skill-descriptions/reference.md} +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/CHECKLIST.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/EXAMPLES.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/INTERACTIVE-DISCOVERY.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/METADATA.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/PARALLEL-ANALYSIS-REPORT.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/PYTHON-VERSION-MATRIX.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/SKILL-FACTORY-WORKFLOW.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/SKILL-UPDATE-ADVISOR.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/STEP-BY-STEP-GUIDE.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/STRUCTURE.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/WEB-RESEARCH.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/reference.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/scripts/generate-structure.sh +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/scripts/validate-skill.sh +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/templates/SKILL_TEMPLATE.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/templates/examples-template.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/templates/reference-template.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-skill-factory → moai-cc-skill-factory}/templates/scripts-template.sh +0 -0
- {moai_adk-0.8.0.dist-info → moai_adk-0.15.0.dist-info}/WHEEL +0 -0
- {moai_adk-0.8.0.dist-info → moai_adk-0.15.0.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.8.0.dist-info → moai_adk-0.15.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# Alfred Expertise Detection - Quick Reference
|
|
2
|
+
|
|
3
|
+
> **Main Skill**: [SKILL.md](SKILL.md)
|
|
4
|
+
> **Examples**: [examples.md](examples.md)
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Signal Detection Cheat Sheet
|
|
9
|
+
|
|
10
|
+
| Signal Type | Beginner | Intermediate | Expert | Weight |
|
|
11
|
+
|-------------|----------|--------------|--------|--------|
|
|
12
|
+
| **Command Syntax** | Trial-and-error | Mostly correct | Always correct | +2/+1/0 |
|
|
13
|
+
| **Questions** | "How?", "Why?" | "Can I?" | Direct commands | +2/+1/0 |
|
|
14
|
+
| **Error Recovery** | Needs help | Self-corrects | Debugs alone | +2/+1/0 |
|
|
15
|
+
| **Documentation** | Frequent refs | Occasional refs | Rare refs | +2/+1/0 |
|
|
16
|
+
| **Git Workflow** | `/alfred:*` only | Mixed usage | Direct git | +2/+1/0 |
|
|
17
|
+
|
|
18
|
+
**Score calculation**: Sum all weights → 0-3=Expert, 4-7=Intermediate, 8-10=Beginner
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Behavioral Adaptation Matrix
|
|
23
|
+
|
|
24
|
+
### Response Verbosity
|
|
25
|
+
|
|
26
|
+
| Level | Length | Examples | Context |
|
|
27
|
+
|-------|--------|----------|---------|
|
|
28
|
+
| Beginner | 200-400 words | 2-3 | Deep background |
|
|
29
|
+
| Intermediate | 100-200 words | 1-2 | Key points |
|
|
30
|
+
| Expert | 50-100 words | 0-1 | Action-focused |
|
|
31
|
+
|
|
32
|
+
### Confirmation Gates
|
|
33
|
+
|
|
34
|
+
| Risk Level | Beginner | Intermediate | Expert |
|
|
35
|
+
|------------|----------|--------------|--------|
|
|
36
|
+
| **Low** | Confirm | Skip | Skip |
|
|
37
|
+
| **Medium** | Confirm | Confirm | Skip |
|
|
38
|
+
| **High** | Confirm + explain | Confirm | Confirm |
|
|
39
|
+
|
|
40
|
+
### Proactive Suggestions
|
|
41
|
+
|
|
42
|
+
| Level | Suggestions/Session | Threshold |
|
|
43
|
+
|-------|---------------------|-----------|
|
|
44
|
+
| Beginner | 3-5 | Low (common patterns) |
|
|
45
|
+
| Intermediate | 2-3 | Medium (optimizations) |
|
|
46
|
+
| Expert | 1-2 | High (advanced techniques) |
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Quick Decision Tree
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
User Request
|
|
54
|
+
↓
|
|
55
|
+
Analyze 5 signals (commands, questions, errors, docs, git)
|
|
56
|
+
↓
|
|
57
|
+
Calculate weighted score (0-10)
|
|
58
|
+
↓
|
|
59
|
+
├─ 0-3: Expert → Efficiency Coach bias
|
|
60
|
+
├─ 4-7: Intermediate → Project Manager bias
|
|
61
|
+
└─ 8-10: Beginner → Technical Mentor bias
|
|
62
|
+
↓
|
|
63
|
+
Apply adaptations (verbosity, confirmations, suggestions)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Override Mechanisms
|
|
69
|
+
|
|
70
|
+
**User keywords override detection**:
|
|
71
|
+
- "quick", "fast" → Force Expert mode
|
|
72
|
+
- "explain", "how", "why" → Force Beginner mode
|
|
73
|
+
- `/alfred:*` commands → Force Project Manager (Intermediate)
|
|
74
|
+
|
|
75
|
+
**Example**:
|
|
76
|
+
- Detected: Expert (score 2)
|
|
77
|
+
- User says: "explain @TAG system"
|
|
78
|
+
- Override: Beginner mode (verbose explanation)
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Signal Examples
|
|
83
|
+
|
|
84
|
+
### Beginner Signal Pattern
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
User: "How do I create a SPEC?"
|
|
88
|
+
Alfred detects:
|
|
89
|
+
- Question keyword: "How" (+2)
|
|
90
|
+
- Documentation unfamiliarity (+2)
|
|
91
|
+
- No direct command usage (+2)
|
|
92
|
+
|
|
93
|
+
Score: 6 → Beginner
|
|
94
|
+
|
|
95
|
+
Response: Verbose explanation with Skill("moai-foundation-specs")
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Expert Signal Pattern
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
User: "/alfred:2-run SPEC-AUTH-001"
|
|
102
|
+
Alfred detects:
|
|
103
|
+
- Direct command with correct syntax (0)
|
|
104
|
+
- No questions (0)
|
|
105
|
+
- Knows SPEC ID format (0)
|
|
106
|
+
|
|
107
|
+
Score: 0 → Expert
|
|
108
|
+
|
|
109
|
+
Response: Execute immediately, minimal output
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Integration Hooks
|
|
115
|
+
|
|
116
|
+
**Called by**:
|
|
117
|
+
- Every Alfred request (implicit)
|
|
118
|
+
- `moai-alfred-persona-roles` (role selection)
|
|
119
|
+
- `moai-alfred-proactive-suggestions` (suggestion threshold)
|
|
120
|
+
|
|
121
|
+
**Calls**:
|
|
122
|
+
- None (standalone signal analysis)
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
**End of Reference** | 2025-11-02
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "Managing GitFlow Branch Strategy"
|
|
3
|
+
description: "Enforces MoAI-ADK GitFlow workflow for team and personal modes. Covers branch protection, PR creation rules, release process, and conflict resolution. Essential for /alfred:1-plan (feature branch creation), /alfred:3-sync (PR targeting), and git-manager agent validation. Prevents direct main pushes, enforces develop-based workflow, and ensures code quality."
|
|
4
|
+
allowed-tools: "Bash(git:*), Read, Edit"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# GitFlow Protection Policy Skill
|
|
8
|
+
|
|
9
|
+
## Enforced Workflow
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
feature/SPEC-XXX → develop → main
|
|
13
|
+
(your work) (integration) (release)
|
|
14
|
+
↓ ↓ ↓
|
|
15
|
+
[commit] [merge PR] [auto-deploy]
|
|
16
|
+
[PR to dev] [code review] [tag release]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Core Rules (Enforced)
|
|
20
|
+
|
|
21
|
+
### 1. Main Branch Protection
|
|
22
|
+
- ❌ **Direct push blocked** – All changes require PR
|
|
23
|
+
- ❌ **Force push blocked** – Ensures linear history
|
|
24
|
+
- ✅ **PR required** – Code review + approval needed
|
|
25
|
+
- ✅ **CI/CD validation** – All checks must pass
|
|
26
|
+
|
|
27
|
+
### 2. Feature Branch Creation
|
|
28
|
+
```bash
|
|
29
|
+
# CORRECT: Start from develop
|
|
30
|
+
git checkout develop
|
|
31
|
+
git pull origin develop
|
|
32
|
+
git checkout -b feature/SPEC-{ID}
|
|
33
|
+
|
|
34
|
+
# WRONG: Starting from main (blocked by rules)
|
|
35
|
+
git checkout -b feature/something main # ❌ Will fail on PR
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### 3. Pull Request Rules
|
|
39
|
+
```
|
|
40
|
+
Feature Branch → develop (✅ CORRECT)
|
|
41
|
+
Example: feature/SPEC-AUTH-001 → develop
|
|
42
|
+
|
|
43
|
+
Feature Branch → main (❌ BLOCKED)
|
|
44
|
+
Git-manager validates and rejects this pattern
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### 4. Release Process
|
|
48
|
+
```
|
|
49
|
+
1. Work on feature/SPEC-{ID}
|
|
50
|
+
2. Create PR → develop
|
|
51
|
+
3. Code review + merge
|
|
52
|
+
4. When develop stable: PR develop → main
|
|
53
|
+
5. Release manager merges + creates tag
|
|
54
|
+
6. CI/CD auto-deploys package
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Common Patterns
|
|
58
|
+
|
|
59
|
+
| Scenario | Action |
|
|
60
|
+
|----------|--------|
|
|
61
|
+
| Start feature | Create feature/SPEC-{ID} from develop |
|
|
62
|
+
| Push changes | git push origin feature/SPEC-{ID} |
|
|
63
|
+
| Create PR | gh pr create --base develop |
|
|
64
|
+
| Merge to develop | gh pr merge --squash --delete-branch |
|
|
65
|
+
| Release to main | Merge develop → main (when ready) |
|
|
66
|
+
| Fix merge conflict | Resolve + rebase, keep clean history |
|
|
67
|
+
|
|
68
|
+
## Troubleshooting
|
|
69
|
+
|
|
70
|
+
| Error | Cause | Fix |
|
|
71
|
+
|-------|-------|-----|
|
|
72
|
+
| "PR to main blocked" | Base branch = main | Close PR, create new with base=develop |
|
|
73
|
+
| "Force push rejected" | Attempted force push | Use normal commit + push |
|
|
74
|
+
| "Branch out of sync" | Develop changed | git pull origin develop, rebase |
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
# GitFlow Protection Policy - Reference
|
|
2
|
+
|
|
3
|
+
## GitHub Branch Protection Configuration
|
|
4
|
+
|
|
5
|
+
### Main Branch Rules (Enforced)
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Settings → Branches → Branch protection rules
|
|
9
|
+
├── Require a pull request before merging
|
|
10
|
+
│ └── Require approvals: 1
|
|
11
|
+
├── Require status checks to pass
|
|
12
|
+
│ └── Require branches to be up to date before merging
|
|
13
|
+
├── Require conversation resolution before merging
|
|
14
|
+
├── Require signed commits
|
|
15
|
+
└── Restrict who can push to matching branches
|
|
16
|
+
└── Allows: [maintainers only]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Develop Branch Rules (Advisory)
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
Settings → Branches → Branch protection rules
|
|
23
|
+
├── Require a pull request before merging
|
|
24
|
+
│ └── Require approvals: 0 (flexible)
|
|
25
|
+
├── Require status checks to pass
|
|
26
|
+
│ └── Both: Linting + Tests
|
|
27
|
+
└── Dismiss stale pull request approvals when new commits are pushed
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Feature Branch Workflow
|
|
31
|
+
|
|
32
|
+
### 1. Create Feature Branch
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
# Always start from develop
|
|
36
|
+
git checkout develop
|
|
37
|
+
git pull origin develop
|
|
38
|
+
git checkout -b feature/SPEC-AUTH-001
|
|
39
|
+
|
|
40
|
+
# Naming convention: feature/SPEC-{DOMAIN}-{NUMBER}
|
|
41
|
+
# Examples: feature/SPEC-AUTH-001, feature/SPEC-CACHE-FIX-002
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### 2. Make Commits
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
# Follow conventional commit format
|
|
48
|
+
git commit -m "feat(auth): Implement email verification
|
|
49
|
+
|
|
50
|
+
- Add email validation logic
|
|
51
|
+
- Create verification token system
|
|
52
|
+
- Update user model with verification status
|
|
53
|
+
|
|
54
|
+
@CODE:AUTH-001"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### 3. Push and Create PR
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Push to remote
|
|
61
|
+
git push origin feature/SPEC-AUTH-001
|
|
62
|
+
|
|
63
|
+
# Create PR (gh cli)
|
|
64
|
+
gh pr create \
|
|
65
|
+
--base develop \
|
|
66
|
+
--head feature/SPEC-AUTH-001 \
|
|
67
|
+
--title "[FEAT] Implement Email Verification" \
|
|
68
|
+
--body "$(cat <<'EOF'
|
|
69
|
+
## Summary
|
|
70
|
+
Implements email verification system as per SPEC-AUTH-001
|
|
71
|
+
|
|
72
|
+
## Test Plan
|
|
73
|
+
- [ ] Unit tests pass (npm run test)
|
|
74
|
+
- [ ] Email sending verified in dev
|
|
75
|
+
- [ ] Verification flow tested end-to-end
|
|
76
|
+
|
|
77
|
+
@TEST:AUTH-001
|
|
78
|
+
@CODE:AUTH-001
|
|
79
|
+
EOF
|
|
80
|
+
)"
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### 4. Code Review and Merge
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
# After approval
|
|
87
|
+
gh pr merge <PR_NUMBER> \
|
|
88
|
+
--squash \
|
|
89
|
+
--delete-branch \
|
|
90
|
+
-m "Merge: Email verification system (SPEC-AUTH-001)"
|
|
91
|
+
|
|
92
|
+
# Auto-deletes feature branch after merge
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Release Process (develop → main)
|
|
96
|
+
|
|
97
|
+
### When Develop is Stable
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# 1. Ensure develop is fully tested
|
|
101
|
+
git checkout develop
|
|
102
|
+
git pull origin develop
|
|
103
|
+
|
|
104
|
+
# 2. Run complete test suite
|
|
105
|
+
npm run test
|
|
106
|
+
npm run lint
|
|
107
|
+
npm run type-check
|
|
108
|
+
|
|
109
|
+
# 3. Create release PR to main
|
|
110
|
+
gh pr create \
|
|
111
|
+
--base main \
|
|
112
|
+
--head develop \
|
|
113
|
+
--title "Release: v0.2.0" \
|
|
114
|
+
--body "$(cat <<'EOF'
|
|
115
|
+
## Release v0.2.0
|
|
116
|
+
|
|
117
|
+
### Features
|
|
118
|
+
- EMAIL: Email verification system (SPEC-AUTH-001)
|
|
119
|
+
- CACHE: Redis caching (SPEC-CACHE-FIX-001)
|
|
120
|
+
|
|
121
|
+
### Bug Fixes
|
|
122
|
+
- AUTH: Session expiration logic
|
|
123
|
+
- API: Rate limiting edge cases
|
|
124
|
+
|
|
125
|
+
### Breaking Changes
|
|
126
|
+
None
|
|
127
|
+
|
|
128
|
+
## Checklist
|
|
129
|
+
- [x] All tests passing
|
|
130
|
+
- [x] Documentation updated
|
|
131
|
+
- [x] Changelog generated
|
|
132
|
+
- [x] Version bumped
|
|
133
|
+
- [x] No security vulnerabilities
|
|
134
|
+
EOF
|
|
135
|
+
)"
|
|
136
|
+
|
|
137
|
+
# 4. After approval, merge to main
|
|
138
|
+
gh pr merge <RELEASE_PR_NUMBER> \
|
|
139
|
+
--merge \
|
|
140
|
+
--delete-branch \
|
|
141
|
+
-m "Release: v0.2.0 - Email verification and caching"
|
|
142
|
+
|
|
143
|
+
# 5. Create git tag
|
|
144
|
+
git tag -a v0.2.0 -m "Release v0.2.0"
|
|
145
|
+
git push origin v0.2.0
|
|
146
|
+
|
|
147
|
+
# 6. CI/CD auto-deploys to PyPI
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## Conflict Resolution
|
|
151
|
+
|
|
152
|
+
### When Develop Changed After Feature Branch Created
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
# 1. Fetch latest develop
|
|
156
|
+
git fetch origin develop
|
|
157
|
+
|
|
158
|
+
# 2. Rebase (preferred) or merge
|
|
159
|
+
git rebase origin/develop
|
|
160
|
+
|
|
161
|
+
# 3. If conflicts exist, resolve manually
|
|
162
|
+
git status # See conflicted files
|
|
163
|
+
|
|
164
|
+
# Edit conflicted files, keep desired changes
|
|
165
|
+
|
|
166
|
+
# 4. Continue rebase
|
|
167
|
+
git add .
|
|
168
|
+
git rebase --continue
|
|
169
|
+
|
|
170
|
+
# 5. Force push (safe, rebasing your own branch)
|
|
171
|
+
git push origin feature/SPEC-AUTH-001 --force-with-lease
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### When PR Has Merge Conflicts
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
# If CI shows merge conflicts:
|
|
178
|
+
# 1. Update local develop
|
|
179
|
+
git checkout develop
|
|
180
|
+
git pull origin develop
|
|
181
|
+
|
|
182
|
+
# 2. Rebase feature branch
|
|
183
|
+
git checkout feature/SPEC-AUTH-001
|
|
184
|
+
git rebase develop
|
|
185
|
+
|
|
186
|
+
# 3. Resolve conflicts manually
|
|
187
|
+
# (same as above)
|
|
188
|
+
|
|
189
|
+
# 4. Push resolved version
|
|
190
|
+
git push origin feature/SPEC-AUTH-001 --force-with-lease
|
|
191
|
+
|
|
192
|
+
# GitHub PR automatically updates
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
## Error Handling
|
|
196
|
+
|
|
197
|
+
### PR to Main Blocked
|
|
198
|
+
|
|
199
|
+
**Error Message**:
|
|
200
|
+
```
|
|
201
|
+
❌ GitFlow Violation Detected
|
|
202
|
+
Base branch: main (forbidden)
|
|
203
|
+
Expected: develop
|
|
204
|
+
|
|
205
|
+
Feature branches must target develop, not main.
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
**Fix**:
|
|
209
|
+
```bash
|
|
210
|
+
# 1. Close the incorrect PR
|
|
211
|
+
gh pr close <PR_NUMBER>
|
|
212
|
+
|
|
213
|
+
# 2. Create correct PR
|
|
214
|
+
gh pr create --base develop --head feature/SPEC-AUTH-001
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Force Push to Main Rejected
|
|
218
|
+
|
|
219
|
+
**Error Message**:
|
|
220
|
+
```
|
|
221
|
+
❌ [remote rejected] main (protected branch hook declined)
|
|
222
|
+
fatal: Could not read from remote repository.
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
**Fix**:
|
|
226
|
+
```bash
|
|
227
|
+
# Cannot force push to main (by design)
|
|
228
|
+
# Create PR instead
|
|
229
|
+
gh pr create --base main --head develop
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Branch Out of Sync (Behind Develop)
|
|
233
|
+
|
|
234
|
+
**Error Message**:
|
|
235
|
+
```
|
|
236
|
+
⚠️ This branch is out-of-date with the base branch
|
|
237
|
+
Consider updating your branch before merging.
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
**Fix**:
|
|
241
|
+
```bash
|
|
242
|
+
# Update from latest develop
|
|
243
|
+
git fetch origin
|
|
244
|
+
git rebase origin/develop
|
|
245
|
+
git push origin feature/SPEC-AUTH-001 --force-with-lease
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
## Checklist: Before Merging to Develop
|
|
249
|
+
|
|
250
|
+
- [ ] Feature branch created from latest develop
|
|
251
|
+
- [ ] All commits follow conventional commit format
|
|
252
|
+
- [ ] Code passes linting and type checking
|
|
253
|
+
- [ ] Tests pass locally and in CI
|
|
254
|
+
- [ ] PR description includes @SPEC:ID and @TEST:ID
|
|
255
|
+
- [ ] Code review approved by at least 1 maintainer
|
|
256
|
+
- [ ] All conversations resolved
|
|
257
|
+
- [ ] Branch is up-to-date with develop
|
|
258
|
+
- [ ] Commits are squashed (optional but recommended)
|
|
259
|
+
|
|
260
|
+
## Checklist: Before Merging to Main
|
|
261
|
+
|
|
262
|
+
- [ ] All features merged and tested in develop
|
|
263
|
+
- [ ] Complete test suite passes
|
|
264
|
+
- [ ] Documentation is current
|
|
265
|
+
- [ ] Changelog is generated
|
|
266
|
+
- [ ] Version is bumped (semver)
|
|
267
|
+
- [ ] Security review completed
|
|
268
|
+
- [ ] Release notes drafted
|
|
269
|
+
- [ ] No regressions detected
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: moai-alfred-issue-labels
|
|
3
|
+
description: "GitHub issue label configuration, label taxonomy, workflow automation mapping."
|
|
4
|
+
tier: Alfred
|
|
5
|
+
allowed-tools: "Read, Bash"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## What It Does
|
|
9
|
+
|
|
10
|
+
GitHub issue label 종류, 사용 규칙, workflow 자동화 연결을 정의합니다.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- ✅ Issue 생성 시 label 선택
|
|
15
|
+
- ✅ Label 워크플로우 이해
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
Learn more in `reference.md`.
|
|
@@ -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`
|