@dev-symphony/sym 0.1.7 → 0.1.9
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 +76 -23
- package/bin/sym-darwin-amd64 +0 -0
- package/bin/sym-darwin-arm64 +0 -0
- package/bin/sym-linux-amd64 +0 -0
- package/bin/sym-linux-arm64 +0 -0
- package/bin/sym-windows-amd64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,25 +1,59 @@
|
|
|
1
|
-
# Symphony
|
|
1
|
+
# Symphony
|
|
2
2
|
|
|
3
|
-
LLM-
|
|
3
|
+
**LLM-Friendly Convention Linter for AI Coding Tools**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Symphony는 AI 개발환경(IDE, MCP 기반 LLM Tooling)을 위한 정책 기반 코드 컨벤션 검사기입니다.
|
|
6
|
+
간단한 설정만으로 프로젝트 규칙을 일관되게 적용하고, LLM 코드 생성 품질을 극대화할 수 있습니다.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 목차
|
|
11
|
+
|
|
12
|
+
- [Symphony](#symphony)
|
|
13
|
+
- [목차](#목차)
|
|
14
|
+
- [주요 기능](#주요-기능)
|
|
15
|
+
- [빠른 시작](#빠른-시작)
|
|
16
|
+
- [MCP 설정](#mcp-설정)
|
|
17
|
+
- [사용 가능한 MCP 도구](#사용-가능한-mcp-도구)
|
|
18
|
+
- [`query_conventions`](#query_conventions)
|
|
19
|
+
- [`validate_code`](#validate_code)
|
|
20
|
+
- [컨벤션 파일](#컨벤션-파일)
|
|
21
|
+
- [요구사항](#요구사항)
|
|
22
|
+
- [지원 플랫폼](#지원-플랫폼)
|
|
23
|
+
- [라이선스](#라이선스)
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 주요 기능
|
|
28
|
+
|
|
29
|
+
- 자연어로 컨벤션 정의
|
|
30
|
+
- LLM이 MCP를 통해 필요한 컨벤션만 추출하여 컨텍스트에 포함
|
|
31
|
+
- LLM이 MCP를 통해 코드 변경사항에 대한 컨벤션 준수 여부를 검사
|
|
32
|
+
- RBAC 기반 접근 제어
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 빠른 시작
|
|
6
37
|
|
|
7
38
|
```bash
|
|
8
|
-
# 1.
|
|
39
|
+
# 1. CLI 설치
|
|
9
40
|
npm install -g @dev-symphony/sym
|
|
10
41
|
|
|
11
|
-
# 2.
|
|
12
|
-
sym login
|
|
42
|
+
# 2. 프로젝트 초기화 (.sym/ 폴더 생성 + MCP 설정)
|
|
13
43
|
sym init
|
|
14
|
-
```
|
|
15
44
|
|
|
16
|
-
|
|
45
|
+
# 3. 대시보드 실행 및 컨벤션 편집
|
|
46
|
+
sym dashboard
|
|
47
|
+
|
|
48
|
+
# 4. MCP 서버를 LLM IDE 내부에서 사용
|
|
49
|
+
```
|
|
17
50
|
|
|
18
|
-
|
|
51
|
+
---
|
|
19
52
|
|
|
20
|
-
MCP
|
|
53
|
+
## MCP 설정
|
|
21
54
|
|
|
22
|
-
|
|
55
|
+
`sym init` 명령은 MCP 서버 구성을 자동으로 설정합니다.
|
|
56
|
+
만약 수동으로 설정하고 싶다면 아래를 `~/.config/.../config.json` 등에 추가하세요.
|
|
23
57
|
|
|
24
58
|
```json
|
|
25
59
|
{
|
|
@@ -32,19 +66,32 @@ For manual setup:
|
|
|
32
66
|
}
|
|
33
67
|
```
|
|
34
68
|
|
|
35
|
-
|
|
69
|
+
---
|
|
36
70
|
|
|
37
|
-
|
|
38
|
-
- Query project conventions by category, files, or languages
|
|
39
|
-
- All parameters are optional
|
|
71
|
+
## 사용 가능한 MCP 도구
|
|
40
72
|
|
|
41
|
-
|
|
42
|
-
- Validate code against defined conventions
|
|
43
|
-
- Parameters: files (required)
|
|
73
|
+
### `query_conventions`
|
|
44
74
|
|
|
45
|
-
|
|
75
|
+
- 프로젝트 컨벤션을 조회합니다.
|
|
76
|
+
- 카테고리, 파일 목록, 언어 등의 파라미터는 모두 optional입니다.
|
|
46
77
|
|
|
47
|
-
|
|
78
|
+
### `validate_code`
|
|
79
|
+
|
|
80
|
+
- 코드가 정의된 규칙을 따르는지 검사합니다.
|
|
81
|
+
- 필수 파라미터: `files`
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## 컨벤션 파일
|
|
86
|
+
|
|
87
|
+
Symphony는 프로젝트 컨벤션을 **정책 파일(`.sym/user-policy.json`)**로 관리합니다.
|
|
88
|
+
아래 명령으로 대시보드를 열어 쉽게 편집할 수 있습니다.
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
sym dashboard
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
예시 정책 파일:
|
|
48
95
|
|
|
49
96
|
```json
|
|
50
97
|
{
|
|
@@ -63,17 +110,23 @@ Create `.sym/user-policy.json` in your project root:
|
|
|
63
110
|
}
|
|
64
111
|
```
|
|
65
112
|
|
|
66
|
-
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## 요구사항
|
|
67
116
|
|
|
68
117
|
- Node.js >= 16.0.0
|
|
69
118
|
- Policy file: `.sym/user-policy.json`
|
|
70
119
|
|
|
71
|
-
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## 지원 플랫폼
|
|
72
123
|
|
|
73
124
|
- macOS (Intel, Apple Silicon)
|
|
74
125
|
- Linux (x64, ARM64)
|
|
75
126
|
- Windows (x64)
|
|
76
127
|
|
|
77
|
-
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## 라이선스
|
|
78
131
|
|
|
79
132
|
MIT
|
package/bin/sym-darwin-amd64
CHANGED
|
Binary file
|
package/bin/sym-darwin-arm64
CHANGED
|
Binary file
|
package/bin/sym-linux-amd64
CHANGED
|
Binary file
|
package/bin/sym-linux-arm64
CHANGED
|
Binary file
|
|
Binary file
|