moai-adk 0.5.4__py3-none-any.whl → 0.5.6__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/__init__.py +1 -1
- moai_adk/cli/commands/init.py +4 -2
- moai_adk/cli/commands/status.py +4 -2
- moai_adk/cli/commands/update.py +4 -5
- moai_adk/core/project/initializer.py +13 -11
- moai_adk/core/project/phase_executor.py +7 -3
- moai_adk/core/template/processor.py +60 -1
- moai_adk/templates/.claude/agents/alfred/cc-manager.md +8 -0
- moai_adk/templates/.claude/agents/alfred/debug-helper.md +18 -0
- moai_adk/templates/.claude/agents/alfred/doc-syncer.md +18 -0
- moai_adk/templates/.claude/agents/alfred/git-manager.md +38 -2
- moai_adk/templates/.claude/agents/alfred/implementation-planner.md +18 -0
- moai_adk/templates/.claude/agents/alfred/project-manager.md +6 -0
- moai_adk/templates/.claude/agents/alfred/quality-gate.md +6 -0
- moai_adk/templates/.claude/agents/alfred/skill-factory.md +8 -0
- moai_adk/templates/.claude/agents/alfred/spec-builder.md +17 -0
- moai_adk/templates/.claude/agents/alfred/tag-agent.md +7 -1
- moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +18 -0
- moai_adk/templates/.claude/agents/alfred/trust-checker.md +6 -0
- moai_adk/templates/.claude/commands/alfred/0-project.md +5 -1
- moai_adk/templates/.claude/commands/alfred/1-plan.md +5 -1
- moai_adk/templates/.claude/commands/alfred/2-run.md +6 -2
- moai_adk/templates/.claude/commands/alfred/3-sync.md +5 -1
- moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +5 -1
- moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +5 -1
- moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +5 -1
- moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +5 -1
- moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +30 -273
- moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +487 -129
- moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +603 -70
- moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +22 -2
- moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +22 -2
- moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +22 -2
- moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +22 -2
- moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +22 -2
- moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +22 -2
- moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +22 -2
- moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +25 -5
- moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +152 -547
- moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +835 -878
- moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +665 -1151
- moai_adk/templates/.claude/skills/moai-skill-factory/SKILL.md +138 -427
- moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +61 -53
- moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +99 -1181
- moai_adk/templates/.claude/skills/moai-spec-authoring/examples.md +541 -0
- moai_adk/templates/.claude/skills/moai-spec-authoring/reference.md +622 -0
- moai_adk/templates/.moai/config.json +5 -5
- moai_adk/templates/.moai/memory/CLAUDE-AGENTS-GUIDE.md +208 -0
- moai_adk/templates/.moai/memory/CLAUDE-PRACTICES.md +369 -0
- moai_adk/templates/.moai/memory/CLAUDE-RULES.md +539 -0
- moai_adk/templates/.moai/memory/{development-guide.md → DEVELOPMENT-GUIDE.md} +3 -3
- moai_adk/templates/.moai/memory/SKILLS-DESCRIPTION-POLICY.md +218 -0
- moai_adk/templates/.moai/memory/config-schema.md +444 -0
- moai_adk/templates/CLAUDE.md +149 -845
- {moai_adk-0.5.4.dist-info → moai_adk-0.5.6.dist-info}/METADATA +293 -335
- {moai_adk-0.5.4.dist-info → moai_adk-0.5.6.dist-info}/RECORD +61 -54
- /moai_adk/templates/.moai/memory/{gitflow-protection-policy.md → GITFLOW-PROTECTION-POLICY.md} +0 -0
- /moai_adk/templates/.moai/memory/{spec-metadata.md → SPEC-METADATA.md} +0 -0
- {moai_adk-0.5.4.dist-info → moai_adk-0.5.6.dist-info}/WHEEL +0 -0
- {moai_adk-0.5.4.dist-info → moai_adk-0.5.6.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.5.4.dist-info → moai_adk-0.5.6.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
# moai-spec-authoring Skill
|
|
2
2
|
|
|
3
|
-
**Version**: 1.
|
|
3
|
+
**Version**: 1.1.0
|
|
4
4
|
**Created**: 2025-10-23
|
|
5
|
+
**Updated**: 2025-10-27
|
|
5
6
|
**Status**: Active
|
|
6
7
|
**Tier**: Foundation
|
|
7
8
|
|
|
8
9
|
## Overview
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
MoAI-ADK SPEC 문서 작성을 위한 종합 가이드입니다. YAML 메타데이터, EARS 문법, 검증 전략을 제공합니다.
|
|
11
12
|
|
|
12
13
|
## Key Features
|
|
13
14
|
|
|
14
|
-
- **7 Required + 9 Optional Metadata Fields**:
|
|
15
|
+
- **7 Required + 9 Optional Metadata Fields**: 완전한 레퍼런스와 예제
|
|
15
16
|
- **5 EARS Patterns**: Ubiquitous, Event-driven, State-driven, Optional, Constraints
|
|
16
|
-
- **Version Lifecycle**:
|
|
17
|
-
- **TAG Integration**: @SPEC, @TEST, @CODE, @DOC
|
|
18
|
-
- **Validation Tools**:
|
|
19
|
-
- **Common Pitfalls**:
|
|
17
|
+
- **Version Lifecycle**: draft에서 production까지 시맨틱 버전 관리
|
|
18
|
+
- **TAG Integration**: @SPEC, @TEST, @CODE, @DOC 체인 관리
|
|
19
|
+
- **Validation Tools**: 제출 전 체크리스트와 자동화 스크립트
|
|
20
|
+
- **Common Pitfalls**: 7가지 주요 이슈에 대한 예방 전략
|
|
21
|
+
|
|
22
|
+
## File Structure (Progressive Disclosure)
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
.claude/skills/moai-spec-authoring/
|
|
26
|
+
├── SKILL.md # 핵심 개요 + Quick Start (~500 words)
|
|
27
|
+
├── reference.md # 메타데이터 레퍼런스 + EARS 문법 상세
|
|
28
|
+
├── examples.md # 실전 예제 + 패턴 + 트러블슈팅
|
|
29
|
+
├── examples/
|
|
30
|
+
│ └── validate-spec.sh # SPEC 검증 스크립트
|
|
31
|
+
└── README.md # 이 파일
|
|
32
|
+
```
|
|
20
33
|
|
|
21
34
|
## Quick Links
|
|
22
35
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
- [
|
|
27
|
-
- [
|
|
36
|
+
- **Quick Start**: [SKILL.md](./SKILL.md#quick-start-5-step-spec-creation)
|
|
37
|
+
- **Metadata Reference**: [reference.md](./reference.md#메타데이터-완전-레퍼런스)
|
|
38
|
+
- **EARS Syntax**: [reference.md](./reference.md#ears-요구사항-문법)
|
|
39
|
+
- **Examples**: [examples.md](./examples.md#실전-ears-예제)
|
|
40
|
+
- **Troubleshooting**: [examples.md](./examples.md#트러블슈팅)
|
|
28
41
|
|
|
29
42
|
## Usage
|
|
30
43
|
|
|
31
44
|
### Automatic Activation
|
|
32
45
|
|
|
33
|
-
|
|
34
|
-
- `/alfred:1-plan`
|
|
35
|
-
- SPEC
|
|
36
|
-
-
|
|
46
|
+
이 Skill은 다음 경우 자동으로 로드됩니다:
|
|
47
|
+
- `/alfred:1-plan` 명령어 실행
|
|
48
|
+
- SPEC 문서 생성 요청
|
|
49
|
+
- 요구사항 명확화 논의
|
|
37
50
|
|
|
38
51
|
### Manual Reference
|
|
39
52
|
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
|
|
46
|
-
## File Structure
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
.claude/skills/moai-spec-authoring/
|
|
50
|
-
├── SKILL.md # Complete Skill documentation (1,300 lines)
|
|
51
|
-
└── README.md # This file
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
## Integration
|
|
55
|
-
|
|
56
|
-
Works seamlessly with:
|
|
57
|
-
- `spec-builder` agent - SPEC generation
|
|
58
|
-
- `moai-foundation-ears` - EARS syntax patterns
|
|
59
|
-
- `moai-foundation-specs` - Metadata validation
|
|
60
|
-
- `moai-foundation-tags` - TAG system integration
|
|
53
|
+
다음 경우 상세 섹션 참조:
|
|
54
|
+
- SPEC 작성 모범 사례 학습
|
|
55
|
+
- 기존 SPEC 문서 검증
|
|
56
|
+
- 메타데이터 이슈 트러블슈팅
|
|
57
|
+
- EARS 문법 패턴 이해
|
|
61
58
|
|
|
62
59
|
## Validation Command
|
|
63
60
|
|
|
64
61
|
```bash
|
|
65
|
-
#
|
|
62
|
+
# SPEC 메타데이터 검증
|
|
66
63
|
rg "^(id|version|status|created|updated|author|priority):" .moai/specs/SPEC-AUTH-001/spec.md
|
|
67
64
|
|
|
68
|
-
#
|
|
65
|
+
# 중복 ID 확인
|
|
69
66
|
rg "@SPEC:AUTH-001" -n .moai/specs/
|
|
70
67
|
|
|
71
|
-
#
|
|
68
|
+
# 전체 TAG 체인 스캔
|
|
72
69
|
rg '@(SPEC|TEST|CODE|DOC):AUTH-001' -n
|
|
70
|
+
|
|
71
|
+
# 자동화 스크립트 사용
|
|
72
|
+
./examples/validate-spec.sh .moai/specs/SPEC-AUTH-001
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
## Example SPEC Structure
|
|
@@ -89,41 +89,49 @@ priority: high
|
|
|
89
89
|
|
|
90
90
|
## HISTORY
|
|
91
91
|
### v0.0.1 (2025-10-23)
|
|
92
|
-
- **INITIAL**: JWT
|
|
92
|
+
- **INITIAL**: JWT 인증 SPEC 초안
|
|
93
93
|
|
|
94
94
|
## Environment
|
|
95
95
|
**Runtime**: Node.js 20.x
|
|
96
96
|
|
|
97
97
|
## Assumptions
|
|
98
|
-
1.
|
|
99
|
-
2.
|
|
98
|
+
1. 사용자 저장소: PostgreSQL
|
|
99
|
+
2. 시크릿 관리: 환경변수
|
|
100
100
|
|
|
101
101
|
## Requirements
|
|
102
102
|
|
|
103
103
|
### Ubiquitous Requirements
|
|
104
|
-
**UR-001**:
|
|
104
|
+
**UR-001**: 시스템은 JWT 기반 인증을 제공해야 한다.
|
|
105
105
|
|
|
106
106
|
### Event-driven Requirements
|
|
107
|
-
**ER-001**: WHEN
|
|
107
|
+
**ER-001**: WHEN 사용자가 유효한 인증 정보를 제출하면, 시스템은 JWT 토큰을 발급해야 한다.
|
|
108
108
|
|
|
109
109
|
### State-driven Requirements
|
|
110
|
-
**SR-001**: WHILE
|
|
110
|
+
**SR-001**: WHILE 사용자가 인증된 상태이면, 시스템은 보호된 리소스에 대한 접근을 허용해야 한다.
|
|
111
111
|
|
|
112
112
|
### Optional Features
|
|
113
|
-
**OF-001**: WHERE
|
|
113
|
+
**OF-001**: WHERE 다중 인증이 활성화된 경우, 시스템은 OTP 검증을 요구할 수 있다.
|
|
114
114
|
|
|
115
115
|
### Constraints
|
|
116
|
-
**C-001**: IF
|
|
116
|
+
**C-001**: IF 토큰이 만료되었다면, 시스템은 접근을 거부해야 한다.
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
+
## Integration
|
|
120
|
+
|
|
121
|
+
다음과 원활하게 작동:
|
|
122
|
+
- `spec-builder` agent - SPEC 생성
|
|
123
|
+
- `moai-foundation-ears` - EARS 문법 패턴
|
|
124
|
+
- `moai-foundation-specs` - 메타데이터 검증
|
|
125
|
+
- `moai-foundation-tags` - TAG 시스템 통합
|
|
126
|
+
|
|
119
127
|
## Support
|
|
120
128
|
|
|
121
|
-
|
|
122
|
-
1.
|
|
123
|
-
2.
|
|
124
|
-
3.
|
|
129
|
+
질문이나 이슈가 있을 경우:
|
|
130
|
+
1. 포괄적인 문서는 `SKILL.md`, `reference.md`, `examples.md` 참조
|
|
131
|
+
2. 가이드된 SPEC 생성을 위해 `/alfred:1-plan` 호출
|
|
132
|
+
3. 예제는 `.moai/specs/`의 기존 SPEC 참조
|
|
125
133
|
|
|
126
134
|
---
|
|
127
135
|
|
|
128
136
|
**Maintained By**: MoAI-ADK Team
|
|
129
|
-
**Last Updated**: 2025-10-
|
|
137
|
+
**Last Updated**: 2025-10-27
|