aiwf 0.1.0

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.
Files changed (43) hide show
  1. package/AI-WORKFLOW.md +285 -0
  2. package/CHANGELOG.md +1 -0
  3. package/COMMANDS_GUIDE.md +462 -0
  4. package/LICENSE +21 -0
  5. package/PRD.ko.md +96 -0
  6. package/PRD.md +98 -0
  7. package/README.ko.md +115 -0
  8. package/README.md +117 -0
  9. package/claude-code/docker/Dockerfile +117 -0
  10. package/claude-code/simone/.simone/00_PROJECT_MANIFEST.md +49 -0
  11. package/claude-code/simone/.simone/01_PROJECT_DOCS/ARCHITECTURE.md +55 -0
  12. package/claude-code/simone/.simone/02_REQUIREMENTS/CLAUDE.md +78 -0
  13. package/claude-code/simone/.simone/02_REQUIREMENTS/M01_Backend_Setup/M01_milestone_meta.md +38 -0
  14. package/claude-code/simone/.simone/02_REQUIREMENTS/M01_Backend_Setup/PRD_AMEND_01_Auth_Flow_Update.md +69 -0
  15. package/claude-code/simone/.simone/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +98 -0
  16. package/claude-code/simone/.simone/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +232 -0
  17. package/claude-code/simone/.simone/03_SPRINTS/CLAUDE.MD +62 -0
  18. package/claude-code/simone/.simone/03_SPRINTS/S01_M01_Initial_API/S01_sprint_meta.md +42 -0
  19. package/claude-code/simone/.simone/03_SPRINTS/S01_M01_Initial_API/T01_S01_Setup_Project_Structure.md +56 -0
  20. package/claude-code/simone/.simone/04_GENERAL_TASKS/CLAUDE.MD +51 -0
  21. package/claude-code/simone/.simone/04_GENERAL_TASKS/T002_API_Rate_Limiting.md +49 -0
  22. package/claude-code/simone/.simone/04_GENERAL_TASKS/TX001_Refactor_Logging_Module.md +53 -0
  23. package/claude-code/simone/.simone/05_ARCHITECTURAL_DECISIONS/ADR001_Chosen_Database_System.md +113 -0
  24. package/claude-code/simone/.simone/05_ARCHITECTURAL_DECISIONS/ADR002_API_Authentication_Method.md +118 -0
  25. package/claude-code/simone/.simone/99_TEMPLATES/adr_template.md +49 -0
  26. package/claude-code/simone/.simone/99_TEMPLATES/milestone_meta_template.md +25 -0
  27. package/claude-code/simone/.simone/99_TEMPLATES/project_manifest_template.md +39 -0
  28. package/claude-code/simone/.simone/99_TEMPLATES/sprint_meta_template.md +23 -0
  29. package/claude-code/simone/.simone/99_TEMPLATES/task_template.md +35 -0
  30. package/claude-code/simone/.simone/CLAUDE.MD +65 -0
  31. package/claude-code/simone/.simone/README.md +97 -0
  32. package/claude-code/simone/CHANGELOG.md +71 -0
  33. package/claude-code/simone/LICENSE +21 -0
  34. package/claude-code/simone/README.md +219 -0
  35. package/claude-code/simone/SYNC_GUIDE.md +172 -0
  36. package/claude-code/simone/sync-simone.sh +138 -0
  37. package/index.js +468 -0
  38. package/package.json +38 -0
  39. package/rules/global/code-style-guide.md +30 -0
  40. package/rules/global/coding-principles.md +33 -0
  41. package/rules/global/development-process.md +41 -0
  42. package/rules/global/global-rules.md +84 -0
  43. package/rules/manual/generate-plan-docs.md +280 -0
@@ -0,0 +1,84 @@
1
+ # Communication Rules
2
+
3
+ - Always respond in Korean for conversations.
4
+ - Avoid high-context explanations or indirect expressions such as "here you can do this," and instead provide specific code or solutions.
5
+ - Present answers to questions immediately, with detailed explanations added afterward.
6
+ - There is no need to paraphrase the user's questions in your own words.
7
+ - When answering with speculation or prediction without specific information sources, always explicitly state this.
8
+ - Propose multiple solutions and clearly indicate their merits and demerits.
9
+ - Actively consider new technologies and approaches.
10
+ - If information sources exist, clearly cite them together at the end of your response.
11
+ - Briefly explain the rationale for changes.
12
+
13
+ # Code Generation
14
+
15
+ - Always write deliverables in English unless otherwise specified.
16
+ - Ensure generated code is executable by repeatedly verifying its operation.
17
+ - For code modification requests, display only a few lines before and after the changed portions, avoiding unnecessary repetition of code.
18
+ - Divide into multiple code blocks as needed.
19
+ - Prioritize simple and non-redundant implementations.
20
+ - For tests only, avoid DRY (Don't Repeat Yourself) descriptions even if they become redundant.
21
+
22
+ # Security Considerations
23
+
24
+ - Always consider security best practices.
25
+ - Store API keys and secrets as environment variables.
26
+ - Thoroughly validate and verify user input.
27
+ - Consider countermeasures against common vulnerabilities.
28
+ - Implement authentication and authorization mechanisms appropriately.
29
+
30
+ # Development Flow
31
+
32
+ ## Feature Development Steps
33
+
34
+ 1. Create specifications for the Minimum Viable Product
35
+ 2. Select and install development languages and frameworks needed for the specifications
36
+ 3. Organize folder structure according to the development language and framework templates
37
+ 4. List the files needed to create a Minimum Viable Product
38
+ 5. Create tests that meet the specifications based on TDD principles
39
+ 6. Follow the RED - GREEN - REFACTORING principles and implement step by step
40
+
41
+ ## Bug Fix Steps
42
+
43
+ 1. Use tests to identify the cause
44
+ 2. If the cause cannot be identified using tests for some reason, comprehensively check the implementation to identify the cause
45
+ 3. Examine areas affected by the fix
46
+ 4. Always adhere to TDD principles during the fix process
47
+ 5. Follow the RED - GREEN - REFACTORING principles and implement fixes gradually
48
+ 6. Run tests
49
+ 7. If tests fail, return to step 4; if successful, consider the fix complete
50
+
51
+ # Shortcuts
52
+
53
+ - `/plan` : Clearly and thoroughly outline the work plan and confirm there are no discrepancies. Only proceed with execution after reaching agreement.
54
+ - `/debug` : Identify the root cause of bugs. List 5-7 possible causes and narrow them down to 1-2. Validate hypotheses using logs before applying fixes.
55
+ - `/review` : Review code from perspectives such as quality, efficiency, security, and maintainability, and provide specific improvement suggestions.
56
+ - `/refactor`: Propose refactoring to improve readability and maintainability without changing functionality.
57
+ - `/optimize`: Analyze code from a performance optimization perspective and propose specific improvements.
58
+ - `/test` : Propose appropriate testing strategies and specific test code.
59
+ - `/doc` : Assist with code documentation. Clearly explain function purposes, arguments, return values, etc.
60
+ - `/arch` : Propose architectural designs or improvements.
61
+ - `/cmt` : Add appropriate comments or documentation to clarify code intent. Follow existing code formats.
62
+ - `/mvp` : Build a Minimum Viable Product.
63
+ - `/help` : Display the content of shortcut aliases. Do not display any other content.
64
+
65
+ # Commit Messages
66
+
67
+ Please add a prefix to your commit messages as shown below.
68
+
69
+ ```
70
+ fix: compile error
71
+ ```
72
+
73
+ Please use the following prefixes:
74
+
75
+ - `fix`: Fixes a problem with existing functionality.
76
+ - `add`: Adds new files or features.
77
+ - `refactor`: Modifies and improves code.
78
+ - `change`: Modifies existing functionality due to specification changes.
79
+ - `remove`: Deletes files or features.
80
+ - `disable`: Temporarily disables functionality.
81
+ - `docs`: Modifies documentation.
82
+ - `test`: Modifies/adds test code.
83
+ - `chore`: Used when committing files automatically generated by build tools or libraries, or for modifications that do not fit the above prefixes.
84
+ - `perf`: Improves code performance.
@@ -0,0 +1,280 @@
1
+ # Generate Product Documentation Workflow
2
+
3
+ 이 규칙은 AI가 몇 가지 핵심 질문을 통해 입력을 수집한 뒤, PRD → IA → UCD → UI/UX 문서를 **순차적으로** 생성하도록 안내합니다. 모든 출력은 **Markdown** 형식을 사용하며 **한국어**로 작성됩니다.
4
+
5
+ ---
6
+
7
+ ## 1. 질문 단계
8
+
9
+ AI는 다음 정보를 **질문**을 통해 사용자에게서 수집합니다.
10
+
11
+ 1. `<product-overview>`
12
+ 2. `<references>` (URL 목록)
13
+ 3. `<must-features>` (필수 기능 목록)
14
+ 4. `<target-user-persona>`
15
+ 5. `<target-platforms>`
16
+ 6. `<storage-type>`
17
+ 7. `<tech-stack>`
18
+
19
+ > ⚠️ 모든 질문은 한글로 하며, 필요 시 추가적인 참고 서비스·경쟁 제품 정보를 요청합니다.
20
+
21
+ ---
22
+
23
+ ## 2. PRD 작성 단계
24
+
25
+ 사용자로부터 모든 입력을 받은 뒤, 아래 **샘플 프롬프트** 구조를 참고하여 PRD를 생성합니다.
26
+
27
+ ```prompt
28
+ Write a PRD document based on the following information:
29
+ <product-overview>
30
+ ${productOverview}
31
+ </product-overview>
32
+ <references>
33
+ ${references}
34
+ </references>
35
+ <must-features>
36
+ ${mustFeatures}
37
+ </must-features>
38
+ <target-user-persona>
39
+ ${persona}
40
+ </target-user-persona>
41
+ <target-platforms>
42
+ ${platforms}
43
+ </target-platforms>
44
+ <storage-type>
45
+ ${storageType}
46
+ </storage-type>
47
+ <tech-stack>
48
+ ${techStack}
49
+ </tech-stack>
50
+ PRD must include the following contents:
51
+ <table-of-contents>
52
+ - Detailed product description
53
+ - Reference Services with detailed rationale
54
+ - Core features and specifications
55
+ - Suggested additional features
56
+ - User persona and scenarios
57
+ - Technical stack recommendations
58
+ </table-of-contents>
59
+ <response-format>
60
+ Use markdown format
61
+ </response-format>
62
+ <guidelines>
63
+ - Use tables or lists where appropriate to organize information systematically.
64
+ - All user interactions, including inputs and outputs, must be in Korean.
65
+ - Provide accurate answers with reliable references
66
+ - Write in Korean
67
+ - Clearly separate each section
68
+ - Collect additional reference services and provide detailed rationale
69
+ - Do not include detailed data structure and storage design
70
+ </guidelines>
71
+ ```
72
+
73
+ 문서에 포함해야 할 **추가 지침**:
74
+
75
+ - 표와 리스트를 활용해 정보를 구조화할 것.
76
+ - 참고 서비스는 최소 3개 이상, 각 서비스 사용 이유를 2~3줄로 기술.
77
+
78
+ PRD 작성을 완료하면 "✅ PRD 완료" 메시지와 함께 IA 단계 진행 여부를 묻는 **한글** 질문을 덧붙입니다.
79
+
80
+ ---
81
+
82
+ ## 3. IA(Information Architecture) 작성 단계
83
+
84
+ 사용자가 **계속**을 선택하면 IA 문서를 생성합니다.
85
+
86
+ IA 문서는 다음을 포함합니다:
87
+
88
+ 1. **사이트맵** – 트리 형태로 표현
89
+ 2. **콘텐츠 인벤토리** – 페이지별 주요 콘텐츠 표
90
+ 3. **사용자 흐름** – 순서도(텍스트 기반)로 최소 2개 핵심 시나리오 제공
91
+ 4. **내비게이션 구조 및 URL 패턴**
92
+
93
+ 문서 형식: Markdown, 한국어
94
+
95
+ ### IA 샘플 프롬프트
96
+
97
+ ```prompt
98
+ Write an Information Architecture document based on PRD, and following information:
99
+ <navigation-type>
100
+ ${navigationType}
101
+ </navigation-type>
102
+ <auth-type>
103
+ ${authType}
104
+ </auth-type>
105
+ IA document must include the following contents:
106
+ <table-of-contents>
107
+ - Site Map
108
+ - User Flow
109
+ - Navigation Structure
110
+ - Page Hierarchy
111
+ - Content Organization
112
+ - Interaction Patterns
113
+ - URL Structure
114
+ - Component Hierarchy
115
+ </table-of-contents>
116
+ <response-format>
117
+ Use markdown format
118
+ </response-format>
119
+ <guidelines>
120
+ - Use tables or lists where appropriate to organize information systematically
121
+ - All user interactions, including inputs and outputs, must be in Korean
122
+ - Provide accurate answers with reliable references
123
+ - Write in Korean
124
+ - Clearly separate each section
125
+ - Consider user experience and accessibility
126
+ - Include responsive design considerations
127
+ - Consider SEO best practices
128
+ </guidelines>
129
+ ```
130
+
131
+ IA 작성 후 "✅ IA 완료" 메시지와 함께 UCD 단계 진행 여부 질의.
132
+
133
+ ---
134
+
135
+ ## 4. UCD(User-Centered Design) 작성 단계
136
+
137
+ UCD 문서는 다음을 포함합니다:
138
+
139
+ 1. **주요 페르소나 2–3개** – 표로 정리 (목표, 동기, pain point)
140
+ 2. **시나리오** – 페르소나별 핵심 사용 시나리오 2개 이상
141
+ 3. **요구사항 매트릭스** – 기능 ↔ 페르소나 매핑
142
+
143
+ 문서 형식: Markdown, 한국어
144
+
145
+ ### UCD 샘플 프롬프트
146
+
147
+ ```prompt
148
+ Write a detailed use case document based on PRD, IA, and following information:
149
+ Use case document must include the following contents:
150
+ <table-of-contents>
151
+ - Actor Definitions
152
+ - Use Case Scenarios
153
+ - Main Steps
154
+ - Exception Handling
155
+ - Comprehensive Actor Definitions
156
+ - Detailed Use Case Scenarios
157
+ - Main Steps and Flow of Events
158
+ - Alternative Flows and Edge Cases
159
+ - Preconditions and Postconditions
160
+ - Business Rules and Constraints
161
+ - Exception Handling Procedures
162
+ - User Interface Considerations
163
+ - Data Requirements and Data Flow
164
+ - Security and Privacy Considerations
165
+ </table-of-contents>
166
+ <response-format>
167
+ Use markdown format
168
+ </response-format>
169
+ <guidelines>
170
+ - Use tables or lists where appropriate to organize information systematically
171
+ - All user interactions, including inputs and outputs, must be in Korean
172
+ - Provide accurate answers with reliable references
173
+ - Write in Korean
174
+ - Clearly separate each section
175
+ - Include detailed step-by-step descriptions
176
+ - Consider error cases and alternative flows
177
+ - Include technical considerations
178
+ </guidelines>
179
+ ```
180
+
181
+ 완료 후 "✅ UCD 완료" 메시지와 함께 UI/UX 단계 진행 여부 질의.
182
+
183
+ ---
184
+
185
+ ## 5. UI/UX 가이드 작성 단계
186
+
187
+ 내용:
188
+
189
+ 1. **와이어프레임 설명** – 각 핵심 화면의 레이아웃과 구성 요소(텍스트 설명)
190
+ 2. **네비게이션 원칙** – 일관된 UI 패턴 설명
191
+ 3. **스타일 가이드 초안** – 컬러 팔레트, 타이포그래피, 컴포넌트 규칙
192
+ 4. **접근성 고려사항** – WCAG 2.1 준수 핵심 포인트
193
+
194
+ 문서 형식: Markdown, 한국어
195
+
196
+ ### UI/UX 샘플 프롬프트
197
+
198
+ ```prompt
199
+ <role>
200
+ senior UI/UX designer.
201
+ </role>
202
+ <task>
203
+ Write a comprehensive UI/UX design guide based on the following information:
204
+ </task>
205
+ <design-preferences>
206
+ Theme details: Please analyze the reference service and suggest appropriate:
207
+ - Design style
208
+ - Color scheme
209
+ - Primary colors
210
+ </design-preferences>
211
+ <references>
212
+ ${references}
213
+ </references>
214
+ <additional-instructions>
215
+ Please analyze the reference service's design system and suggest appropriate:
216
+ - Overall design style and patterns
217
+ - Color scheme and palette
218
+ - Primary colors
219
+ - Mood and atmosphere
220
+ </additional-instructions>
221
+ Design guide must include the following contents:
222
+ <table-of-contents>
223
+ - Design System Overview
224
+ - Color Palette for tailwindcss (primary, secondary, accent, neutral, etc.)
225
+ - Page Implementations
226
+ detailed design guide for each pages
227
+ - core purpose of the page
228
+ - key components
229
+ - layout structure
230
+ - Layout Components
231
+ - applicable routes
232
+ - core components
233
+ - responsive behavior
234
+ - Interaction Patterns
235
+ - Breakpoints
236
+ </table-of-contents>
237
+ <breakpoints>
238
+ $breakpoints: (
239
+ ├── 'mobile': 320px,
240
+ ├── 'tablet': 768px,
241
+ ├── 'desktop': 1024px,
242
+ └── 'wide': 1440px
243
+ );
244
+ </breakpoints>
245
+ <response-format>
246
+ Use markdown format
247
+ </response-format>
248
+ <guidelines>
249
+ - Use tables or lists where appropriate to organize information systematically
250
+ - All descriptions must be in Korean
251
+ - Considering color scheme, select proper color for each color in tailwindcss palette
252
+ - Provide specific color codes
253
+ - Provide rationale for design decisions
254
+ - Always include responsive design considerations
255
+ - Include all text content in UI
256
+ - If needed, use enough images in each components
257
+ - provide each image's url. Use stock photos from picsum.photos where appropriate, only valid URLs you know exist
258
+ - Write in Korean
259
+ - must handle root route
260
+ - consider proper grid system for all components
261
+ </guidelines>
262
+ ```
263
+
264
+ 완료 후 "🎉 모든 문서 생성 완료" 메시지와 함께 다음 단계(스프린트/태스크 분해) 안내.
265
+
266
+ ---
267
+
268
+ ## 6. 스프린트/태스크 분해 준비
269
+
270
+ 모든 문서가 완료되면, AI는 `yolo` 또는 `create_sprints_from_milestone` 명령을 사용해 개발 스프린트와 태스크를 자동으로 생성할 수 있음을 사용자에게 알립니다.
271
+
272
+ ---
273
+
274
+ ### 사용 예
275
+
276
+ 1. AI → 질문 단계 진행
277
+ 2. 사용자 → 정보 제공
278
+ 3. AI → PRD 생성, IA 진행 여부 질문
279
+ 4. 사용자 → "계속"
280
+ 5. AI → IA 생성, UCD 진행 여부 질문 … 반복