lee-spec-kit 0.4.2 → 0.4.3

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.
package/README.md CHANGED
@@ -56,6 +56,9 @@ npx lee-spec-kit context
56
56
 
57
57
  # 4. 전체 상태 확인
58
58
  npx lee-spec-kit status
59
+
60
+ # 5. 문서/Feature 진단
61
+ npx lee-spec-kit doctor
59
62
  ```
60
63
 
61
64
  ## 주요 기능
@@ -77,6 +80,11 @@ npx lee-spec-kit status
77
80
  - 전체 Feature 진행 상태 한눈에 확인
78
81
  - 터미널 출력 또는 마크다운 파일로 저장
79
82
 
83
+ ### 🩺 문서 진단 (Doctor)
84
+
85
+ - docs 구조/설정/Feature 메타데이터를 점검하여 잠재 문제를 빠르게 탐지
86
+ - `--json` 출력으로 에이전트 파이프라인에 쉽게 연동
87
+
80
88
  ### 🔄 자동 업데이트
81
89
 
82
90
  - 최신 버전 체크 및 템플릿 업데이트 지원
@@ -135,7 +143,7 @@ npx lee-spec-kit context --json
135
143
 
136
144
  `--json` 출력에는 다음 액션이 `actions` 배열로 포함됩니다.
137
145
 
138
- - `type: "command"`: `scope`(project|docs), `cwd`, `cmd` 제공 (복붙 실행 가능하도록 `git -C` 포함)
146
+ - `type: "command"`: `scope`(project|docs), `cwd`, `cmd` 제공 (복사하여 붙여넣기 가능한 형태로 `cd ... && git ...` 형태로 출력)
139
147
  - `type: "instruction"`: 사람이 수행해야 하는 안내 메시지
140
148
 
141
149
  ### 상태 확인
@@ -148,6 +156,21 @@ npx lee-spec-kit status
148
156
  npx lee-spec-kit status --write
149
157
  ```
150
158
 
159
+ ### 문서 진단 (Doctor)
160
+
161
+ docs 구조 및 Feature 메타데이터(중복 ID, 누락된 파일/상태, 플레이스홀더 잔존 등)를 점검합니다.
162
+
163
+ ```bash
164
+ # 진단 실행
165
+ npx lee-spec-kit doctor
166
+
167
+ # 문제 발견 시 종료 코드 1 (CI/에이전트 파이프라인용)
168
+ npx lee-spec-kit doctor --strict
169
+
170
+ # 에이전트용 JSON 출력
171
+ npx lee-spec-kit doctor --json
172
+ ```
173
+
151
174
  ### 템플릿 업데이트
152
175
 
153
176
  ```bash