aiwf 0.3.0 → 0.3.1

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 (47) hide show
  1. package/CHANGELOG.md +38 -36
  2. package/CLAUDE.md +8 -209
  3. package/README.md +25 -5
  4. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_docs.md +225 -0
  5. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_manager.md +287 -0
  6. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_status.md +246 -0
  7. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_switch_language.md +160 -0
  8. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_code_review.md +62 -62
  9. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_commit.md +111 -111
  10. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_general_task.md +106 -106
  11. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_milestone_plan.md +127 -127
  12. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +130 -130
  13. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +87 -87
  14. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_do_task.md +72 -72
  15. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_docs.md +225 -0
  16. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_initialize.md +86 -86
  17. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_issue_create.md +3 -3
  18. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_manager.md +287 -0
  19. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_status.md +246 -0
  20. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_pr_create.md +14 -14
  21. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime.md +5 -5
  22. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_project_review.md +39 -39
  23. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_switch_language.md +160 -0
  24. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_test.md +76 -77
  25. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_testing_review.md +120 -120
  26. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_general.md +209 -266
  27. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_yolo.md +226 -226
  28. package/docs/AI-WORKFLOW.ko.md +9 -2
  29. package/docs/AI-WORKFLOW.md +9 -2
  30. package/docs/COMMANDS_GUIDE.ko.md +93 -3
  31. package/docs/COMMANDS_GUIDE.md +94 -4
  32. package/docs/Enhanced_Installation_Flow_Design.md +498 -0
  33. package/docs/PRD.ko.md +110 -58
  34. package/docs/PRD.md +110 -58
  35. package/index.js +1240 -20
  36. package/jest.config.js +4 -0
  37. package/language-cli.js +279 -0
  38. package/language-utils.js +330 -0
  39. package/package.json +12 -4
  40. package/scripts/validate-commands.cjs +338 -0
  41. package/scripts/validate-commands.js +254 -0
  42. package/tests/basic.test.js +62 -0
  43. package/tests/commands.test.js +127 -0
  44. package/tests/installer.test.js +129 -0
  45. package/tests/language-utils.test.js +271 -0
  46. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_prime_context.md +0 -5
  47. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime_context.md +0 -8
@@ -18,14 +18,15 @@ AIWF is a directory-based project management system I created to work more effec
18
18
  npx aiwf
19
19
  ```
20
20
 
21
- **Multi-language Support**: During installation, you can choose between English and Korean. The selected language determines which commands and documentation are installed.
21
+ **Multi-language Support**: AIWF features a comprehensive language management system with intelligent detection and preference storage. During installation, you can choose between English and Korean, and later switch languages using the built-in language management commands.
22
22
 
23
23
  This sets up the folder structure and installs/updates command files in your project. You can also use it to update existing installations - command files are automatically backed up.
24
24
 
25
25
  **Installation Options**:
26
26
 
27
27
  - Interactive installation: Select language then install
28
- - Force installation: `npx aiwf --force` (defaults to English)
28
+ - Force installation: `npx aiwf --force` (uses auto-detected language)
29
+ - Language management: Use `aiwf-lang` commands for post-installation language switching
29
30
 
30
31
  ### 2. Initialize Your Project
31
32
 
@@ -223,8 +224,14 @@ Custom Claude Code commands that drive the AIWF workflow:
223
224
  - Execute all milestones: `yolo milestone-all`
224
225
  - Worktree support: `yolo sprint-all worktree`
225
226
  - Provides continuous execution and detailed progress reports
227
+ - `language_manager` - Comprehensive language management system:
228
+ - Check current language settings and status
229
+ - Switch between languages interactively
230
+ - Auto-detect system language preferences
226
231
  - Many more commands for testing, review, and project management
227
232
 
233
+ **Language Support**: All commands are available in both English and Korean versions with complete functional equivalence and standardized quality.
234
+
228
235
  ## Directory Structure
229
236
 
230
237
  ```plaintext
@@ -13,12 +13,76 @@ AIWF 명령어는 `/aiwf_<command_name> [arguments]` 형식을 따릅니다.
13
13
  > - 이전 버전과의 호환성을 위해 `/aiwf_<command_name>` 형식도 계속 지원됩니다.
14
14
  > - 한국어 명령어는 `_kr` 접미사를 가질 수 있습니다 (예: `/aiwf_initialize_kr`)
15
15
 
16
- ## 언어별 명령어
16
+ ## 언어 관리 시스템
17
+
18
+ ### 언어 지원 기능
19
+
20
+ AIWF에는 다음과 같은 포괄적인 언어 관리 시스템이 포함되어 있습니다:
21
+
22
+ - **지능형 언어 감지**: 시스템 언어 설정을 자동으로 감지
23
+ - **영구 언어 저장**: 향후 설치를 위한 언어 설정 저장
24
+ - **대화형 언어 전환**: 간단한 명령어로 언어 간 전환
25
+ - **명령줄 언어 도구**: 언어 관리 전용 CLI 도구
26
+
27
+ ### 언어 관리 명령어
28
+
29
+ #### 🌐 `/aiwf_language_manager`
30
+
31
+ **목적**: 포괄적인 언어 관리 인터페이스
32
+
33
+ **사용법**:
34
+ ```
35
+ /aiwf_language_manager
36
+ ```
37
+
38
+ **동작**:
39
+ - 현재 언어 설정 및 선호도 표시
40
+ - 대화형으로 언어 변경 옵션 제공
41
+ - 언어 감지 및 저장 관리
42
+ - 시스템 전체의 언어 설정 검증
43
+
44
+ #### 🔍 `/aiwf_language_status`
45
+
46
+ **목적**: 현재 언어 구성 및 상태 확인
47
+
48
+ **사용법**:
49
+ ```
50
+ /aiwf_language_status
51
+ ```
52
+
53
+ **동작**:
54
+ - 현재 활성 언어 표시
55
+ - 감지된 시스템 언어 설정 표시
56
+ - 언어 파일 가용성 및 일관성 보고
57
+ - 언어별 설치 상태 제공
58
+
59
+ #### 🔄 `/aiwf_switch_language`
60
+
61
+ **목적**: 지원되는 언어 간 전환
62
+
63
+ **사용법**:
64
+ ```
65
+ /aiwf_switch_language
66
+ # 대화형 언어 선택
67
+
68
+ /aiwf_switch_language ko
69
+ # 한국어로 전환
70
+
71
+ /aiwf_switch_language en
72
+ # 영어로 전환
73
+ ```
74
+
75
+ **동작**:
76
+ - 언어 설정 업데이트
77
+ - 선택된 언어로 명령어 재설치
78
+ - 프로젝트 설정 및 데이터 유지
79
+ - 성공적인 언어 전환 확인 제공
17
80
 
18
81
  ### 명령어 버전
19
82
 
20
- - **기본 명령어**: 영어 또는 다국어 혼용
21
- - **한국어 명령어**: `_kr` 접미사가 있는 완전한 한국어 버전
83
+ - **기본 명령어**: 영어 또는 표준화된 다국어
84
+ - **한국어 명령어**: 완전한 기능 동등성을 갖춘 한국어 버전
85
+ - **언어 관리**: 동일한 기능을 갖춘 양방향 언어 지원
22
86
 
23
87
  ## 설정 및 컨텍스트 명령어
24
88
 
@@ -548,6 +612,24 @@ AIWF 명령어는 `/aiwf_<command_name> [arguments]` 형식을 따릅니다.
548
612
 
549
613
  ---
550
614
 
615
+ ### ⚙️ `/aiwf_update_docs`
616
+
617
+ **목적**: 프로젝트 문서 업데이트 및 동기화
618
+
619
+ **사용법**:
620
+
621
+ ```
622
+ /aiwf_update_docs
623
+ ```
624
+
625
+ **동작**:
626
+
627
+ 1. 프로젝트 문서 구조 스캔
628
+ 2. 오래되거나 누락된 문서 식별
629
+ 3. 현재 프로젝트 상태를 반영하여 문서 업데이트
630
+ 4. 다양한 형식의 문서 간 동기화
631
+ 5. 문서 일관성 및 완성도 검증
632
+
551
633
  ### ⚙️ `/aiwf_prime_context`
552
634
 
553
635
  **목적**: 프로젝트 컨텍스트를 빠르게 불러와 프라임
@@ -635,3 +717,11 @@ AIWF 명령어에는 다음과 같은 안전 기능이 포함되어 있습니다
635
717
  2. 이 가이드 확인
636
718
  3. `.aiwf/`의 작업 예시 확인
637
719
  4. `.claude/commands/`의 명령어 소스 검토
720
+
721
+ ## 문서 업데이트
722
+
723
+ **📝 중요**: 이 문서는 새로운 기능이 추가되거나 기존 명령어가 수정될 때 자동으로 업데이트됩니다. 정확한 명령어 정보를 위해 항상 최신 버전을 참조하세요.
724
+
725
+ **언어 버전**: 이 가이드의 영어 및 한국어 버전은 언어 설치 간 일관성을 보장하기 위해 동시에 유지되고 업데이트됩니다.
726
+
727
+ **최종 업데이트**: 2025-07-03 - 언어 관리 시스템 및 한국어 명령어 표준화
@@ -12,12 +12,76 @@ AIWF commands follow the format `/aiwf_<command_name> [arguments]`.
12
12
  > - The `/aiwf_<command_name>` format is still supported for backward compatibility.
13
13
  > - Korean commands may have a `_kr` suffix (e.g., `/aiwf_initialize_kr`)
14
14
 
15
- ## Language-Specific Commands
15
+ ## Language Management System
16
+
17
+ ### Language Support Features
18
+
19
+ AIWF includes a comprehensive language management system with:
20
+
21
+ - **Intelligent Language Detection**: Automatically detects system language preferences
22
+ - **Persistent Language Storage**: Saves your language preference for future installations
23
+ - **Interactive Language Switching**: Switch between languages with simple commands
24
+ - **Command-Line Language Tools**: Dedicated CLI tools for language management
25
+
26
+ ### Language Commands
27
+
28
+ #### 🌐 `/aiwf_language_manager`
29
+
30
+ **Purpose**: Comprehensive language management interface
31
+
32
+ **Usage**:
33
+ ```
34
+ /aiwf_language_manager
35
+ ```
36
+
37
+ **Behavior**:
38
+ - Shows current language settings and preferences
39
+ - Provides options to change language interactively
40
+ - Manages language detection and storage
41
+ - Validates language settings across the system
42
+
43
+ #### 🔍 `/aiwf_language_status`
44
+
45
+ **Purpose**: Check current language configuration and status
46
+
47
+ **Usage**:
48
+ ```
49
+ /aiwf_language_status
50
+ ```
51
+
52
+ **Behavior**:
53
+ - Displays current active language
54
+ - Shows detected system language preferences
55
+ - Reports language file availability and consistency
56
+ - Provides language-specific installation status
57
+
58
+ #### 🔄 `/aiwf_switch_language`
59
+
60
+ **Purpose**: Switch between supported languages
61
+
62
+ **Usage**:
63
+ ```
64
+ /aiwf_switch_language
65
+ # Interactive language selection
66
+
67
+ /aiwf_switch_language ko
68
+ # Switch to Korean
69
+
70
+ /aiwf_switch_language en
71
+ # Switch to English
72
+ ```
73
+
74
+ **Behavior**:
75
+ - Updates language preferences
76
+ - Reinstalls commands in selected language
77
+ - Maintains project settings and data
78
+ - Provides confirmation of successful language switch
16
79
 
17
80
  ### Command Versions
18
81
 
19
- - **Default Commands**: English or mixed multilingual
20
- - **Korean Commands**: Complete Korean versions with `_kr` suffix
82
+ - **Default Commands**: English or standardized multilingual
83
+ - **Korean Commands**: Complete Korean versions with full feature parity
84
+ - **Language Management**: Available in both languages with identical functionality
21
85
 
22
86
  ## Setup & Context Commands
23
87
 
@@ -547,6 +611,24 @@ AIWF commands follow the format `/aiwf_<command_name> [arguments]`.
547
611
 
548
612
  ---
549
613
 
614
+ ### ⚙️ `/aiwf_update_docs`
615
+
616
+ **Purpose**: Update and synchronize project documentation
617
+
618
+ **Usage**:
619
+
620
+ ```
621
+ /aiwf_update_docs
622
+ ```
623
+
624
+ **Behavior**:
625
+
626
+ 1. Scan project documentation structure
627
+ 2. Identify outdated or missing documentation
628
+ 3. Update documentation to reflect current project state
629
+ 4. Synchronize documentation across different formats
630
+ 5. Validate documentation consistency and completeness
631
+
550
632
  ### ⚙️ `/aiwf_prime_context`
551
633
 
552
634
  **Purpose**: Quickly load and prime project context
@@ -633,4 +715,12 @@ If you need help with commands:
633
715
  1. Run commands without arguments to see usage info
634
716
  2. Check this guide
635
717
  3. Look at task examples in `.aiwf/`
636
- 4. Review command sources in `.claude/commands/`
718
+ 4. Review command sources in `.claude/commands/`
719
+
720
+ ## Document Updates
721
+
722
+ **📝 Important**: This document is automatically updated when new features are added or existing commands are modified. Always refer to the latest version for accurate command information.
723
+
724
+ **Language Versions**: Both English and Korean versions of this guide are maintained and updated simultaneously to ensure consistency across language installations.
725
+
726
+ **Last Updated**: 2025-07-03 - Language Management System and Korean Commands Standardization