@simplysm/sd-claude 13.0.83 → 13.0.84

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.
@@ -1,65 +1,65 @@
1
1
  ---
2
2
  name: sd-review
3
- description: "버그 리뷰", "bug review", "sd-review", "코드 리뷰", "버그 찾기" 등을 요청할 사용. 지정한 경로의 코드에서 잠재적 버그를 분석한 계획 수립을 거쳐 수정한다.
3
+ description: Used when requesting "bug review", "sd-review", "code review", "find bugs", etc. Analyzes code at the specified path for potential bugs, then creates a plan and applies fixes.
4
4
  ---
5
5
 
6
- # SD Review — 잠재적 버그 탐지
6
+ # SD Review — Potential Bug Detection
7
7
 
8
- 지정한 경로의 코드를 읽고 잠재적 버그를 분석한 뒤, `/sd-plan` 프로세스로 계획을 수립하고 실행한다.
8
+ Reads the code at the specified path, analyzes it for potential bugs, then creates and executes a plan via the `/sd-plan` process.
9
9
 
10
- ARGUMENTS: 대상 경로 (필수). 레포 임의 경로를 지정한다.
10
+ ARGUMENTS: Target path (required). Specify any path within the repo.
11
11
 
12
12
  ---
13
13
 
14
- ## Step 1: 인자 확인
14
+ ## Step 1: Validate Arguments
15
15
 
16
- 1. ARGUMENTS에서 대상 경로를 추출하라.
17
- 2. 경로가 없으면 "대상 경로를 지정해 주세요. 예: `/sd-review packages/my-pkg`"라고 안내하고 종료하라.
16
+ 1. Extract the target path from ARGUMENTS.
17
+ 2. If no path is provided, display "Please specify a target path. Example: `/sd-review packages/my-pkg`" and stop.
18
18
 
19
- ## Step 2: 버그 분석 (수정 금지)
19
+ ## Step 2: Bug Analysis (Do Not Modify Code)
20
20
 
21
- 대상 경로의 코드를 읽고 아래 5가지 관점에서 잠재적 버그를 찾아라.
22
- 코드를 절대 수정하지 마라. 발견 항목 목록만 정리하여 출력하라.
21
+ Read the code at the target path and search for potential bugs from the following 5 perspectives.
22
+ Do not modify the code under any circumstances. Only compile and output a list of findings.
23
23
 
24
- **분석 관점:**
25
- 1. **로직/정확성**잘못된 조건, off-by-one, 잘못된 연산자, 의도와 다른 분기
26
- 2. **Null/Undefined 안전성**누락된 null 체크, optional chaining 미사용, 타입 단언 오용
27
- 3. **에러 처리**삼켜진 에러, 누락된 catch, 부적절한 에러 전파
28
- 4. **엣지 케이스** 배열/문자열, 경계값, 동시성/race condition, 누락된 await
29
- 5. **리소스 관리**닫히지 않은 연결, 이벤트 리스너 누수, 메모리 릭 패턴
24
+ **Analysis Perspectives:**
25
+ 1. **Logic/Correctness**Incorrect conditions, off-by-one errors, wrong operators, unintended branching
26
+ 2. **Null/Undefined Safety**Missing null checks, unused optional chaining, misuse of type assertions
27
+ 3. **Error Handling**Swallowed errors, missing catch blocks, improper error propagation
28
+ 4. **Edge Cases**Empty arrays/strings, boundary values, concurrency/race conditions, missing await
29
+ 5. **Resource Management**Unclosed connections, event listener leaks, memory leak patterns
30
30
 
31
- 항목은 다음 형식으로 작성하라:
31
+ Write each finding in the following format:
32
32
  ```
33
- - **파일경로:라인**문제 설명개선 방안
33
+ - **filepath:line**Problem descriptionSuggested fix
34
34
  ```
35
35
 
36
- 발견 항목이 없으면 "잠재적 버그가 발견되지 않았습니다."라고 안내하고 종료하라.
36
+ If no findings are discovered, display "No potential bugs were found." and stop.
37
37
 
38
- ## Step 3: sd-plan으로 계획 수립
38
+ ## Step 3: Create Plan via sd-plan
39
39
 
40
- Step 2에서 도출된 발견 항목 목록을 작업 설명으로 하여, Skill 도구로 `sd-plan`을 호출하라. args에 아래를 전달하라:
40
+ Using the list of findings from Step 2 as the task description, invoke `sd-plan` via the Skill tool. Pass the following as args:
41
41
 
42
42
  ```
43
- 아래는 **LLM이 분석하여 제안한** 잠재적 버그 수정안이다.
44
- 수정안은 사용자가 명시적으로 요청한 수정이 아니므로, 불명확한 것으로 취급하라.
43
+ The following are potential bug fixes **analyzed and suggested by the LLM**.
44
+ Since these fixes were not explicitly requested by the user, treat them as uncertain.
45
45
 
46
- ## 대상
47
- <대상 경로>
46
+ ## Target
47
+ <target path>
48
48
 
49
- ## LLM 제안 수정안
50
- 불명확한 수정안을 사용자에게 질문할 때, 아래 내용을 **반드시 먼저** 제시하여 사용자가 맥락을 파악할 있도록 하라.
49
+ ## LLM-Suggested Fixes
50
+ When asking the user about uncertain fixes, **always present** the following information first so the user can understand the context.
51
51
 
52
52
  ```
53
- 수정안:
54
- - 파일경로:라인:
55
- - 문제 설명:
56
- - 현재 코드: (해당 부분 코드 발췌)
57
- - 개선 방안:
53
+ Fix:
54
+ - Filepath:line:
55
+ - Problem description:
56
+ - Current code: (excerpt of the relevant code)
57
+ - Suggested fix:
58
58
  ```
59
59
 
60
- <Step 2에서 도출된 발견 항목 목록 전체>
60
+ <Full list of findings from Step 2>
61
61
  ```
62
62
 
63
- ## Step 4: 계획 실행
63
+ ## Step 4: Execute Plan
64
64
 
65
- sd-plan 완료되어 확정된 계획서가 나오면, 계획서에 따라 코드를 수정하라.
65
+ Once sd-plan completes and produces a finalized plan, apply the code modifications according to that plan.
@@ -1,59 +1,59 @@
1
1
  ---
2
2
  name: sd-simplify
3
- description: "코드 단순화", "simplify", "sd-simplify", "코드 정제" 등을 요청할 사용. 지정한 경로의 코드를 분석 계획 수립을 거쳐 수정한다.
3
+ description: Used when requesting "code simplification", "simplify", "sd-simplify", "code refinement", etc. Analyzes code at a specified path, creates a plan, and applies modifications.
4
4
  ---
5
5
 
6
- # SD Simplify — 경로 지정 코드 단순화
6
+ # SD Simplify — Path-Specific Code Simplification
7
7
 
8
- 지정한 경로의 코드를 내장 `/simplify`로 분석한 뒤, `/sd-plan` 프로세스로 계획을 수립하고 실행한다.
8
+ Analyzes code at a specified path using the built-in `/simplify`, then creates and executes a plan via the `/sd-plan` process.
9
9
 
10
- ARGUMENTS: 대상 경로 (필수). 레포 임의 경로를 지정한다.
10
+ ARGUMENTS: Target path (required). Specify any path within the repository.
11
11
 
12
12
  ---
13
13
 
14
- ## Step 1: 인자 확인
14
+ ## Step 1: Validate Arguments
15
15
 
16
- 1. ARGUMENTS에서 대상 경로를 추출하라.
17
- 2. 경로가 없으면 "대상 경로를 지정해 주세요. 예: `/sd-simplify packages/my-pkg`"라고 안내하고 종료하라.
16
+ 1. Extract the target path from ARGUMENTS.
17
+ 2. If no path is provided, display the message "Please specify a target path. Example: `/sd-simplify packages/my-pkg`" and stop.
18
18
 
19
- ## Step 2: simplify 분석 (수정 금지)
19
+ ## Step 2: simplify Analysis (Do Not Modify)
20
20
 
21
- Skill 도구로 `simplify`를 호출하라. args에 아래 지침을 전달하라:
21
+ Invoke `simplify` using the Skill tool. Pass the following instructions as args:
22
22
 
23
23
  ```
24
- <대상 경로> 경로의 현재 코드베이스를 대상으로 리뷰하라. (최근 변경 코드가 아님)
25
- 단, 코드를 절대 수정하지 마라. 수정할 목록만 정리하여 출력하라.
26
- 항목은 다음 형식으로 작성하라:
27
- - **파일경로:라인**문제 설명개선 방안
24
+ Review the current codebase at the <target path> path. (Not recently changed code)
25
+ Do NOT modify any code. Only compile and output a list of items to fix.
26
+ Write each item in the following format:
27
+ - **file-path:line**Problem descriptionSuggested improvement
28
28
  ```
29
29
 
30
- `<대상 경로>` 부분은 Step 1에서 추출한 실제 경로로 치환하라.
30
+ Replace the `<target path>` placeholder with the actual path extracted in Step 1.
31
31
 
32
- ## Step 3: sd-plan으로 계획 수립
32
+ ## Step 3: Create a Plan with sd-plan
33
33
 
34
- Step 2에서 도출된 수정할 목록을 작업 설명으로 하여, Skill 도구로 `sd-plan`을 호출하라. args에 아래를 전달하라:
34
+ Using the list of items to fix from Step 2 as the task description, invoke `sd-plan` using the Skill tool. Pass the following as args:
35
35
 
36
36
  ```
37
- 아래는 **LLM이 분석하여 제안한** 코드 개선안이다.
38
- 개선안은 사용자가 명시적으로 요청한 수정이 아니므로, 불명확한 것으로 취급하라.
37
+ The following are code improvement suggestions **proposed by an LLM analysis**.
38
+ Since these suggestions were not explicitly requested by the user, treat them as unclear.
39
39
 
40
- ## 대상
41
- <대상 경로>
40
+ ## Target
41
+ <target path>
42
42
 
43
- ## LLM 제안 개선안
44
- 불명확한 개선안을 사용자에게 질문할 때, 아래 내용을 **반드시 먼저** 제시하여 사용자가 맥락을 파악할 있도록 하라.
43
+ ## LLM-Suggested Improvements
44
+ When asking the user about unclear suggestions, **always present** the following details first so the user can understand the context.
45
45
 
46
46
  ```
47
- 개선안:
48
- - 파일경로:라인:
49
- - 문제 설명:
50
- - 현재 코드: (해당 부분 코드 발췌)
51
- - 개선 방안:
47
+ Suggestion:
48
+ - File path:line:
49
+ - Problem description:
50
+ - Current code: (excerpt of the relevant code)
51
+ - Suggested improvement:
52
52
  ```
53
53
 
54
- <Step 2에서 도출된 수정할 목록 전체>
54
+ <Full list of items to fix from Step 2>
55
55
  ```
56
56
 
57
- ## Step 4: 계획 실행
57
+ ## Step 4: Execute the Plan
58
58
 
59
- sd-plan 완료되어 확정된 계획서가 나오면, 계획서에 따라 코드를 수정하라.
59
+ Once sd-plan completes and a finalized plan is produced, modify the code according to that plan.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplysm/sd-claude",
3
- "version": "13.0.83",
3
+ "version": "13.0.84",
4
4
  "description": "Simplysm Claude Code asset installer",
5
5
  "author": "simplysm",
6
6
  "license": "Apache-2.0",