agrules 0.2.0__tar.gz

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 (139) hide show
  1. agrules-0.2.0/LICENSE +21 -0
  2. agrules-0.2.0/MANIFEST.in +3 -0
  3. agrules-0.2.0/PKG-INFO +599 -0
  4. agrules-0.2.0/README.md +573 -0
  5. agrules-0.2.0/pyproject.toml +50 -0
  6. agrules-0.2.0/setup.cfg +4 -0
  7. agrules-0.2.0/src/agrules/__init__.py +3 -0
  8. agrules-0.2.0/src/agrules/__main__.py +1822 -0
  9. agrules-0.2.0/src/agrules/data/agent-rules/ai-coding-dx-agent.md +509 -0
  10. agrules-0.2.0/src/agrules/data/agent-rules/analytics-agent.md +198 -0
  11. agrules-0.2.0/src/agrules/data/agent-rules/api-designer-agent.md +216 -0
  12. agrules-0.2.0/src/agrules/data/agent-rules/blockchain-agent.md +166 -0
  13. agrules-0.2.0/src/agrules/data/agent-rules/compliance-agent.md +212 -0
  14. agrules-0.2.0/src/agrules/data/agent-rules/data-pipeline-agent.md +207 -0
  15. agrules-0.2.0/src/agrules/data/agent-rules/data-visualization-agent.md +262 -0
  16. agrules-0.2.0/src/agrules/data/agent-rules/database-agent.md +209 -0
  17. agrules-0.2.0/src/agrules/data/agent-rules/dependency-manager-agent.md +222 -0
  18. agrules-0.2.0/src/agrules/data/agent-rules/deslop-agent.md +138 -0
  19. agrules-0.2.0/src/agrules/data/agent-rules/developer-experience-agent.md +399 -0
  20. agrules-0.2.0/src/agrules/data/agent-rules/devops-agent.md +161 -0
  21. agrules-0.2.0/src/agrules/data/agent-rules/docs-agent.md +265 -0
  22. agrules-0.2.0/src/agrules/data/agent-rules/eks-agent.md +548 -0
  23. agrules-0.2.0/src/agrules/data/agent-rules/embedded-iot-agent.md +222 -0
  24. agrules-0.2.0/src/agrules/data/agent-rules/event-driven-agent.md +200 -0
  25. agrules-0.2.0/src/agrules/data/agent-rules/finops-agent.md +178 -0
  26. agrules-0.2.0/src/agrules/data/agent-rules/frontend-agent.md +217 -0
  27. agrules-0.2.0/src/agrules/data/agent-rules/gamedev-agent.md +236 -0
  28. agrules-0.2.0/src/agrules/data/agent-rules/i18n-agent.md +220 -0
  29. agrules-0.2.0/src/agrules/data/agent-rules/kubernetes-agent.md +226 -0
  30. agrules-0.2.0/src/agrules/data/agent-rules/mlops-agent.md +226 -0
  31. agrules-0.2.0/src/agrules/data/agent-rules/mobile-agent.md +201 -0
  32. agrules-0.2.0/src/agrules/data/agent-rules/monorepo-agent.md +284 -0
  33. agrules-0.2.0/src/agrules/data/agent-rules/oke-agent.md +377 -0
  34. agrules-0.2.0/src/agrules/data/agent-rules/performance-agent.md +209 -0
  35. agrules-0.2.0/src/agrules/data/agent-rules/prompt-engineer-agent.md +339 -0
  36. agrules-0.2.0/src/agrules/data/agent-rules/qa-agent.md +183 -0
  37. agrules-0.2.0/src/agrules/data/agent-rules/refactor-agent.md +198 -0
  38. agrules-0.2.0/src/agrules/data/agent-rules/reviewer-agent.md +159 -0
  39. agrules-0.2.0/src/agrules/data/agent-rules/search-agent.md +256 -0
  40. agrules-0.2.0/src/agrules/data/agent-rules/security-agent.md +167 -0
  41. agrules-0.2.0/src/agrules/data/agent-rules/serverless-agent.md +171 -0
  42. agrules-0.2.0/src/agrules/data/agent-rules/sre-agent.md +214 -0
  43. agrules-0.2.0/src/agrules/data/agent-rules/tech-lead-agent.md +227 -0
  44. agrules-0.2.0/src/agrules/data/agent-rules/ux-reviewer-agent.md +205 -0
  45. agrules-0.2.0/src/agrules/data/commands/build-fix.md +58 -0
  46. agrules-0.2.0/src/agrules/data/commands/checkpoint.md +69 -0
  47. agrules-0.2.0/src/agrules/data/commands/code-review.md +70 -0
  48. agrules-0.2.0/src/agrules/data/commands/e2e.md +107 -0
  49. agrules-0.2.0/src/agrules/data/commands/eval.md +90 -0
  50. agrules-0.2.0/src/agrules/data/commands/evolve.md +114 -0
  51. agrules-0.2.0/src/agrules/data/commands/go-build.md +89 -0
  52. agrules-0.2.0/src/agrules/data/commands/go-review.md +73 -0
  53. agrules-0.2.0/src/agrules/data/commands/go-test.md +133 -0
  54. agrules-0.2.0/src/agrules/data/commands/instinct-export.md +95 -0
  55. agrules-0.2.0/src/agrules/data/commands/instinct-import.md +90 -0
  56. agrules-0.2.0/src/agrules/data/commands/instinct-status.md +77 -0
  57. agrules-0.2.0/src/agrules/data/commands/learn.md +63 -0
  58. agrules-0.2.0/src/agrules/data/commands/orchestrate.md +90 -0
  59. agrules-0.2.0/src/agrules/data/commands/plan.md +51 -0
  60. agrules-0.2.0/src/agrules/data/commands/refactor-clean.md +104 -0
  61. agrules-0.2.0/src/agrules/data/commands/reflect.md +200 -0
  62. agrules-0.2.0/src/agrules/data/commands/security.md +91 -0
  63. agrules-0.2.0/src/agrules/data/commands/setup-pm.md +69 -0
  64. agrules-0.2.0/src/agrules/data/commands/ship.md +116 -0
  65. agrules-0.2.0/src/agrules/data/commands/skill-create.md +119 -0
  66. agrules-0.2.0/src/agrules/data/commands/tdd.md +68 -0
  67. agrules-0.2.0/src/agrules/data/commands/test-coverage.md +82 -0
  68. agrules-0.2.0/src/agrules/data/commands/update-codemaps.md +83 -0
  69. agrules-0.2.0/src/agrules/data/commands/update-docs.md +69 -0
  70. agrules-0.2.0/src/agrules/data/commands/verify.md +69 -0
  71. agrules-0.2.0/src/agrules/data/cursor-agents/agent-rules-manager.md +142 -0
  72. agrules-0.2.0/src/agrules/data/prompts/chains/plan-code-test.md +93 -0
  73. agrules-0.2.0/src/agrules/data/prompts/system/helpful-reviewer.md +50 -0
  74. agrules-0.2.0/src/agrules/data/prompts/system/strict-coder.md +42 -0
  75. agrules-0.2.0/src/agrules/data/prompts/templates/bug-report-analysis.md +49 -0
  76. agrules-0.2.0/src/agrules/data/prompts/templates/feature-spec.md +61 -0
  77. agrules-0.2.0/src/agrules/data/skills/api-design.md +524 -0
  78. agrules-0.2.0/src/agrules/data/skills/backend-patterns.md +599 -0
  79. agrules-0.2.0/src/agrules/data/skills/bug-analysis.md +63 -0
  80. agrules-0.2.0/src/agrules/data/skills/clickhouse-io.md +440 -0
  81. agrules-0.2.0/src/agrules/data/skills/code-review.md +54 -0
  82. agrules-0.2.0/src/agrules/data/skills/coding-standards.md +531 -0
  83. agrules-0.2.0/src/agrules/data/skills/configure-ecc.md +300 -0
  84. agrules-0.2.0/src/agrules/data/skills/content-hash-cache-pattern.md +162 -0
  85. agrules-0.2.0/src/agrules/data/skills/continuous-learning-v2.md +294 -0
  86. agrules-0.2.0/src/agrules/data/skills/continuous-learning.md +120 -0
  87. agrules-0.2.0/src/agrules/data/skills/cost-aware-llm-pipeline.md +184 -0
  88. agrules-0.2.0/src/agrules/data/skills/cpp-coding-standards.md +724 -0
  89. agrules-0.2.0/src/agrules/data/skills/cpp-testing.md +324 -0
  90. agrules-0.2.0/src/agrules/data/skills/database-migrations.md +336 -0
  91. agrules-0.2.0/src/agrules/data/skills/deployment-patterns.md +428 -0
  92. agrules-0.2.0/src/agrules/data/skills/django-patterns.md +735 -0
  93. agrules-0.2.0/src/agrules/data/skills/django-security.md +594 -0
  94. agrules-0.2.0/src/agrules/data/skills/django-tdd.md +730 -0
  95. agrules-0.2.0/src/agrules/data/skills/django-verification.md +470 -0
  96. agrules-0.2.0/src/agrules/data/skills/docker-patterns.md +365 -0
  97. agrules-0.2.0/src/agrules/data/skills/e2e-testing.md +327 -0
  98. agrules-0.2.0/src/agrules/data/skills/eval-harness.md +237 -0
  99. agrules-0.2.0/src/agrules/data/skills/feature-implementation.md +54 -0
  100. agrules-0.2.0/src/agrules/data/skills/foundation-models-on-device.md +244 -0
  101. agrules-0.2.0/src/agrules/data/skills/frontend-patterns.md +643 -0
  102. agrules-0.2.0/src/agrules/data/skills/golang-patterns.md +675 -0
  103. agrules-0.2.0/src/agrules/data/skills/golang-testing.md +721 -0
  104. agrules-0.2.0/src/agrules/data/skills/iterative-retrieval.md +212 -0
  105. agrules-0.2.0/src/agrules/data/skills/java-coding-standards.md +148 -0
  106. agrules-0.2.0/src/agrules/data/skills/jpa-patterns.md +152 -0
  107. agrules-0.2.0/src/agrules/data/skills/liquid-glass-design.md +280 -0
  108. agrules-0.2.0/src/agrules/data/skills/merge-worktree.md +137 -0
  109. agrules-0.2.0/src/agrules/data/skills/nutrient-document-processing.md +167 -0
  110. agrules-0.2.0/src/agrules/data/skills/postgres-patterns.md +148 -0
  111. agrules-0.2.0/src/agrules/data/skills/pr-creation.md +62 -0
  112. agrules-0.2.0/src/agrules/data/skills/project-guidelines-example.md +350 -0
  113. agrules-0.2.0/src/agrules/data/skills/python-patterns.md +751 -0
  114. agrules-0.2.0/src/agrules/data/skills/python-testing.md +817 -0
  115. agrules-0.2.0/src/agrules/data/skills/refactor-safely.md +56 -0
  116. agrules-0.2.0/src/agrules/data/skills/regex-vs-llm-structured-text.md +221 -0
  117. agrules-0.2.0/src/agrules/data/skills/search-first.md +161 -0
  118. agrules-0.2.0/src/agrules/data/skills/security-review.md +496 -0
  119. agrules-0.2.0/src/agrules/data/skills/security-scan.md +166 -0
  120. agrules-0.2.0/src/agrules/data/skills/skill-stocktake.md +177 -0
  121. agrules-0.2.0/src/agrules/data/skills/springboot-patterns.md +315 -0
  122. agrules-0.2.0/src/agrules/data/skills/springboot-security.md +273 -0
  123. agrules-0.2.0/src/agrules/data/skills/springboot-tdd.md +159 -0
  124. agrules-0.2.0/src/agrules/data/skills/springboot-verification.md +232 -0
  125. agrules-0.2.0/src/agrules/data/skills/strategic-compact.md +104 -0
  126. agrules-0.2.0/src/agrules/data/skills/swift-actor-persistence.md +144 -0
  127. agrules-0.2.0/src/agrules/data/skills/swift-concurrency-6-2.md +217 -0
  128. agrules-0.2.0/src/agrules/data/skills/swift-protocol-di-testing.md +191 -0
  129. agrules-0.2.0/src/agrules/data/skills/swiftui-patterns.md +260 -0
  130. agrules-0.2.0/src/agrules/data/skills/tdd-workflow.md +411 -0
  131. agrules-0.2.0/src/agrules/data/skills/verification-loop.md +127 -0
  132. agrules-0.2.0/src/agrules/data/skills/verify-implementation.md +164 -0
  133. agrules-0.2.0/src/agrules/data/skills/visa-doc-translate.md +118 -0
  134. agrules-0.2.0/src/agrules.egg-info/PKG-INFO +599 -0
  135. agrules-0.2.0/src/agrules.egg-info/SOURCES.txt +137 -0
  136. agrules-0.2.0/src/agrules.egg-info/dependency_links.txt +1 -0
  137. agrules-0.2.0/src/agrules.egg-info/entry_points.txt +2 -0
  138. agrules-0.2.0/src/agrules.egg-info/top_level.txt +1 -0
  139. agrules-0.2.0/tests/test_skills_prompts.py +1245 -0
agrules-0.2.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Jinwoo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ include README.md
2
+ include LICENSE
3
+ recursive-include src/agent_rules_sync/data *.md
agrules-0.2.0/PKG-INFO ADDED
@@ -0,0 +1,599 @@
1
+ Metadata-Version: 2.4
2
+ Name: agrules
3
+ Version: 0.2.0
4
+ Summary: 통합 에이전트 규칙 동기화 도구 - 하나의 소스에서 모든 AI 코딩 도구 규칙 생성
5
+ Author: Jinwoo
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/JINWOO-J/agent-rules
8
+ Project-URL: Repository, https://github.com/JINWOO-J/agent-rules
9
+ Project-URL: Issues, https://github.com/JINWOO-J/agent-rules/issues
10
+ Keywords: ai,coding,agent,cursor,kiro,claude,rules
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.7
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Software Development :: Code Generators
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Requires-Python: >=3.7
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Dynamic: license-file
26
+
27
+ # agrules
28
+
29
+ [![PyPI version](https://badge.fury.io/py/agrules.svg)](https://pypi.org/project/agrules/)
30
+ [![Python](https://img.shields.io/pypi/pyversions/agrules.svg)](https://pypi.org/project/agrules/)
31
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
32
+
33
+ 하나의 소스(`content/agent-rules/`)에서 모든 AI 코딩 도구에 맞는 규칙 파일을 자동 생성합니다.
34
+
35
+ ```
36
+ content/
37
+ ├── agent-rules/ ← 원본 규칙 소스 (Single Source of Truth)
38
+ │ ├── ai-coding-dx-agent.md
39
+ │ ├── frontend-agent.md
40
+ │ ├── database-agent.md
41
+ │ └── ...
42
+ ├── cursor-agents/ ← Cursor 전용 커스텀 서브에이전트 소스
43
+ │ └── agent-rules-manager.md
44
+ ├── skills/ ← 스킬 소스 (55개)
45
+ ├── commands/ ← 슬래시 커맨드 소스 (24개)
46
+ ├── prompts/ ← 프롬프트 소스 (5개)
47
+ └── coding-rules/ ← 코딩 규칙 소스 (언어별)
48
+
49
+ ↓ agrules
50
+
51
+ .cursor/rules/*.mdc ← Cursor 규칙 (파일 패턴 기반 자동 적용)
52
+ .cursor/agents/*.md ← Cursor 서브에이전트 (AI 위임 호출용)
53
+ .kiro/agents/*.json ← Kiro (커스텀 에이전트)
54
+ .claude/rules/*.md ← Claude Code 규칙
55
+ .claude/commands/*.md ← Claude Code 슬래시 커맨드 (스킬+커맨드+프롬프트)
56
+ CLAUDE.md ← Claude Code (summary)
57
+ AGENTS.md ← Google Jules
58
+ .windsurfrules ← Windsurf
59
+ .clinerules ← Cline / Roo Code
60
+ ```
61
+
62
+ ## Agent Rules vs Cursor Subagents
63
+
64
+ | 구분 | Agent Rules (규칙) | Cursor Subagents (서브에이전트) |
65
+ |------|-------------------|--------------------------------|
66
+ | **적용 방식** | 파일 패턴에 따라 자동 적용 | AI가 위임하여 호출하는 독립 에이전트 |
67
+ | **출력 경로** | `.cursor/rules/*.mdc` | `.cursor/agents/*.md` |
68
+ | **소스** | `content/agent-rules/*.md` | `content/agent-rules/*.md` + `content/cursor-agents/*.md` |
69
+ | **생성** | 프리셋 기반 에이전트 → 규칙 파일 | 동일 소스에서 자동 변환 + 커스텀 추가 |
70
+
71
+ **핵심:** `content/agent-rules/*.md` 한 소스에서 규칙과 서브에이전트 **양쪽 모두** 자동 생성됩니다. `content/cursor-agents/`에는 규칙에 없는 전용 커스텀 서브에이전트(예: agent-rules-manager)를 보관합니다.
72
+
73
+ ## Installation
74
+
75
+ ### PyPI 패키지 설치 (권장)
76
+
77
+ ```bash
78
+ pip install agrules
79
+ ```
80
+
81
+ ### 개발자용 로컬 설치
82
+
83
+ ```bash
84
+ git clone https://github.com/JINWOO-J/agent-rules.git
85
+ cd agent-rules
86
+ pip install -e .
87
+ ```
88
+
89
+ ## Quick Start
90
+
91
+ ```bash
92
+ # 1. 프리셋 선택 후 실행
93
+ agrules fullstack
94
+
95
+ # 2. 특정 도구만
96
+ agrules fullstack --tools cursor,claude
97
+
98
+ # 3. 에이전트 + 스킬 + 커맨드 + 프롬프트 모두 생성
99
+ agrules fullstack --all-content
100
+
101
+ # 4. 다른 프로젝트 경로에 생성
102
+ agrules fullstack --dir /path/to/project
103
+
104
+ # 5. 홈 디렉토리에 글로벌 설치
105
+ agrules fullstack --global
106
+
107
+ # 6. 코딩 규칙 설치 (언어별)
108
+ agrules install-rules typescript python
109
+ ```
110
+
111
+ ## Usage
112
+
113
+ ```
114
+ agrules <preset> [options]
115
+ ```
116
+
117
+ | 옵션 | 설명 | 기본값 |
118
+ |------|------|--------|
119
+ | `<preset>` | 프리셋 이름 또는 `all` / `list` | (필수) |
120
+ | `--tools <list>` | 대상 도구 (쉼표 구분) | `all` |
121
+ | `--dir <path>` | 출력 프로젝트 경로 | `.` (현재 디렉토리) |
122
+ | `--global` | 홈 디렉토리에 글로벌 설치 | - |
123
+ | `--dry-run` | 실제 파일 생성 없이 미리보기 | - |
124
+ | `--clean` | 기존 생성 파일 삭제 후 재생성 | - |
125
+ | `--always-load` | Claude: paths 제한 없이 전체 에이전트 항상 로드 | - |
126
+ | `--skills` | 스킬 파일도 함께 생성 | - |
127
+ | `--prompts` | 프롬프트 파일도 함께 생성 | - |
128
+ | `--commands` | 커맨드 파일도 함께 생성 | - |
129
+ | `--all-content` | 에이전트 + 스킬 + 프롬프트 + 커맨드 모두 생성 | - |
130
+
131
+ ### 명령 (Commands)
132
+
133
+ | 명령 | 설명 |
134
+ |------|------|
135
+ | `list` | 프리셋 목록 |
136
+ | `list-agents` | 전체 에이전트 목록 |
137
+ | `list-skills` | 전체 스킬 목록 |
138
+ | `list-prompts` | 전체 프롬프트 목록 |
139
+ | `list-commands` | 전체 커맨드 목록 |
140
+ | `list-rules` | 사용 가능한 코딩 규칙 목록 |
141
+ | `install-rules <lang...>` | 코딩 규칙 설치 (common + 언어별) |
142
+ | `status` | 배포 상태 확인 (매니페스트 기반 drift 감지) |
143
+ | `uninstall` | 관리 파일 전체 삭제 + 매니페스트 제거 |
144
+
145
+ ```bash
146
+ # 프리셋 목록 보기
147
+ agrules list
148
+
149
+ # 전체 에이전트/스킬/커맨드/프롬프트 목록 보기
150
+ agrules list-agents
151
+ agrules list-skills
152
+ agrules list-commands
153
+ agrules list-prompts
154
+
155
+ # 프로젝트에 설치 (로컬)
156
+ agrules fullstack --tools cursor,claude
157
+
158
+ # 에이전트 + 스킬 + 커맨드 + 프롬프트 모두 생성
159
+ agrules fullstack --all-content
160
+
161
+ # 홈 디렉토리에 글로벌 설치 (~/.cursor, ~/.claude, ~/.kiro)
162
+ agrules fullstack --global
163
+
164
+ # Claude: 전체 에이전트 항상 로드
165
+ agrules fullstack --always-load
166
+
167
+ # dry-run으로 미리보기
168
+ agrules fullstack --dry-run
169
+
170
+ # 기존 파일 정리 후 재생성
171
+ agrules fullstack --clean
172
+
173
+ # 배포 상태 확인 / 언인스톨
174
+ agrules status
175
+ agrules uninstall
176
+
177
+ # 코딩 규칙 설치 (common + 언어별)
178
+ agrules install-rules typescript python
179
+ agrules install-rules golang --global
180
+ ```
181
+
182
+ ### Local vs Global
183
+
184
+ | 모드 | 명령 | 규칙 경로 | 서브에이전트 경로 | 적용 범위 |
185
+ |------|------|-----------|-------------------|-----------|
186
+ | Local (기본) | `--dir <path>` | `<project>/.cursor/rules/` | `<project>/.cursor/agents/` | 해당 프로젝트만 |
187
+ | Global | `--global` | `~/.cursor/rules/` | `~/.cursor/agents/` | 모든 프로젝트 |
188
+
189
+ Global 모드는 cursor, kiro, claude만 지원 (jules, windsurf, cline은 프로젝트 레벨 전용).
190
+
191
+ ## Presets
192
+
193
+ | 프리셋 | 에이전트 수 | 주요 구성 |
194
+ |--------|-------------|-----------|
195
+ | `minimal` | 5 | DX + 리뷰 + 보안 + QA + 성능 |
196
+ | `frontend` | 11 | + 프론트엔드, i18n, UX, 시각화, 문서, 의존성 |
197
+ | `backend` | 12 | + DB, API, 이벤트, DevOps, 검색, 컴플라이언스 |
198
+ | `fullstack` | 13 | 프론트 + 백엔드 통합, i18n |
199
+ | `infra` | 11 | K8s, EKS, OKE, DevOps, 서버리스, SRE, FinOps, 모노레포 |
200
+ | `mobile` | 10 | 모바일, 애널리틱스, i18n, 의존성 |
201
+ | `data` | 10 | 데이터 파이프라인, MLOps, 시각화, 컴플라이언스 |
202
+ | `gamedev` | 7 | 게임 개발, 모노레포 |
203
+ | `web3` | 8 | 블록체인, 스마트 컨트랙트 |
204
+ | `all` | 36 | 전체 에이전트 |
205
+
206
+ 프리셋별로 스킬, 프롬프트, 커맨드도 자동 구성됩니다. `--skills`, `--prompts`, `--commands` 또는 `--all-content` 옵션으로 함께 생성할 수 있습니다.
207
+
208
+ ## Supported Tools
209
+
210
+ | 도구 | 키 | 출력 경로 |
211
+ |------|-----|-----------|
212
+ | Cursor IDE | `cursor` | `.cursor/rules/*.mdc` + `.cursor/agents/*.md` |
213
+ | Kiro IDE/CLI | `kiro` | `.kiro/agents/*.json` |
214
+ | Claude Code | `claude` | `CLAUDE.md` + `.claude/rules/*.md` + `.claude/commands/*.md` |
215
+ | Google Jules | `jules` | `AGENTS.md` |
216
+ | Windsurf | `windsurf` | `.windsurfrules` |
217
+ | Cline / Roo | `cline` | `.clinerules` |
218
+
219
+ ## Agent Rules 목록 (36개)
220
+
221
+ ### Always Apply
222
+ | 에이전트 | 설명 |
223
+ |----------|------|
224
+ | `ai-coding-dx-agent` | AI 코딩 DX — 에이전트 설정, 컨텍스트 엔지니어링, 프롬프트 패턴 |
225
+
226
+ ### File-pattern Based (파일 패턴 매칭)
227
+ | 에이전트 | 설명 | 파일 패턴 |
228
+ |----------|------|------------|
229
+ | `frontend-agent` | 프론트엔드 아키텍처 | `*.tsx, *.jsx, *.vue, *.svelte` |
230
+ | `mobile-agent` | 모바일 아키텍처 | `*.swift, *.kt, *.dart` |
231
+ | `database-agent` | 데이터베이스 설계 | `*.sql, *.prisma, *.graphql` |
232
+ | `qa-agent` | QA/테스트 전략 | `*.test.*, *.spec.*` |
233
+ | `docs-agent` | 문서 작성 | `*.md, *.mdx, docs/**` |
234
+ | `devops-agent` | DevOps, CI/CD | `Dockerfile*, .github/workflows/**` |
235
+ | `kubernetes-agent` | Kubernetes 설계 | `k8s/**, helm/**` |
236
+ | `eks-agent` | Amazon EKS | `eks/**, aws/**` |
237
+ | `oke-agent` | Oracle OKE | `oke/**, oci/**` |
238
+ | `serverless-agent` | 서버리스 아키텍처 | `serverless.*, lambda/**` |
239
+ | `blockchain-agent` | 블록체인/Web3 | `*.sol, contracts/**` |
240
+ | `embedded-iot-agent` | 임베디드/IoT | `*.ino, firmware/**` |
241
+ | `gamedev-agent` | 게임 개발 | `project.godot, Assets/**` |
242
+ | `monorepo-agent` | 모노레포 | `turbo.json, nx.json` |
243
+ | `i18n-agent` | 국제화/현지화 | `locale*/**, i18n/**` |
244
+ | `data-pipeline-agent` | 데이터 파이프라인 | `dags/**, dbt/**` |
245
+ | `mlops-agent` | MLOps | `models/**, training/**` |
246
+
247
+ ### Agent Requested (요청 시 활성화)
248
+ | 에이전트 | 설명 |
249
+ |----------|------|
250
+ | `security-agent` | 보안 아키텍처, OWASP, Threat Modeling |
251
+ | `reviewer-agent` | 코드 리뷰, 클린 코드, SOLID |
252
+ | `performance-agent` | 성능 최적화, 프로파일링, 캐싱 |
253
+ | `api-designer-agent` | API 설계, REST/GraphQL/gRPC |
254
+ | `refactor-agent` | 리팩토링, Code Smell, 디자인 패턴 |
255
+ | `sre-agent` | SRE, SLO/SLI, Chaos Engineering |
256
+ | `finops-agent` | FinOps, 클라우드 비용 최적화 |
257
+ | `tech-lead-agent` | 테크 리드, Sprint Planning, RFC |
258
+ | `dependency-manager-agent` | 의존성 관리, SemVer |
259
+ | `prompt-engineer-agent` | 프롬프트 엔지니어링, RAG |
260
+ | `event-driven-agent` | 이벤트 기반 아키텍처, CQRS |
261
+ | `compliance-agent` | 컴플라이언스, GDPR, SOC2 |
262
+ | `analytics-agent` | 애널리틱스, A/B 테스트 |
263
+ | `search-agent` | 검색 시스템, Elasticsearch |
264
+ | `ux-reviewer-agent` | UX 리뷰, Nielsen 휴리스틱 |
265
+ | `data-visualization-agent` | 데이터 시각화, 대시보드 |
266
+ | `developer-experience-agent` | 개발자 경험(DX), SDK/CLI 설계 |
267
+ | `deslop-agent` | AI 코드 슬롭 제거, 스타일 정리 |
268
+
269
+ ## 슬래시 커맨드 목록 (24개)
270
+
271
+ 프리셋별로 자동 포함되며, `--commands` 또는 `--all-content` 옵션으로 생성됩니다.
272
+ Claude Code에서는 `.claude/commands/<name>.md`로 배포되어 `/name`으로 호출 가능합니다.
273
+
274
+ ### workflow
275
+ | 커맨드 | 설명 |
276
+ |--------|------|
277
+ | `/plan` | 계획 수립 — 요구사항 분석, 리스크 평가, 단계별 구현 계획 |
278
+ | `/tdd` | TDD 워크플로우 — 인터페이스→테스트→구현→리팩토링, 80%+ 커버리지 |
279
+ | `/code-review` | 코드 리뷰 — 보안, 품질, 베스트 프랙티스 종합 검토 |
280
+ | `/verify` | 검증 — 빌드, 테스트, 린트, 타입체크 종합 실행 |
281
+ | `/build-fix` | 빌드 에러 수정 — 최소한의 안전한 변경으로 점진적 수정 |
282
+ | `/refactor-clean` | 리팩토링 — 데드 코드 제거, 테스트 검증 포함 |
283
+ | `/e2e` | E2E 테스트 — Playwright 기반 테스트 생성/실행 |
284
+ | `/evolve` | 진화 — 인스팅트를 스킬/커맨드/에이전트로 클러스터링 |
285
+ | `/orchestrate` | 오케스트레이션 — 복잡한 태스크를 에이전트 순차 워크플로우로 처리 |
286
+ | `/security` | 보안 감사 — OWASP, 인젝션, 인증, 암호화 취약점 스캔 |
287
+
288
+ ### testing
289
+ | 커맨드 | 설명 |
290
+ |--------|------|
291
+ | `/test-coverage` | 테스트 커버리지 — 갭 분석 및 누락 테스트 생성 (80%+ 목표) |
292
+
293
+ ### docs
294
+ | 커맨드 | 설명 |
295
+ |--------|------|
296
+ | `/update-docs` | 문서 동기화 — 소스 코드 기반으로 문서 자동 생성/업데이트 |
297
+ | `/update-codemaps` | 코드맵 업데이트 — 코드베이스 구조 분석 및 아키텍처 문서화 |
298
+
299
+ ### language
300
+ | 커맨드 | 설명 |
301
+ |--------|------|
302
+ | `/go-build` | Go 빌드 에러 수정 — go vet, 린터 이슈 점진적 해결 |
303
+ | `/go-review` | Go 코드 리뷰 — 관용적 패턴, 동시성 안전성, 에러 처리 |
304
+ | `/go-test` | Go TDD — 테이블 기반 테스트 우선, 80%+ 커버리지 |
305
+
306
+ ### session
307
+ | 커맨드 | 설명 |
308
+ |--------|------|
309
+ | `/checkpoint` | 체크포인트 — 워크플로우 상태 저장/검증 |
310
+ | `/eval` | 평가 기반 개발 — eval 워크플로우 관리 |
311
+
312
+ ### learning
313
+ | 커맨드 | 설명 |
314
+ |--------|------|
315
+ | `/learn` | 학습 — 세션 분석 후 패턴을 스킬로 추출 |
316
+ | `/instinct-export` | 인스팅트 내보내기 — 팀/프로젝트 간 공유용 |
317
+ | `/instinct-import` | 인스팅트 가져오기 — 팀원/다른 소스에서 임포트 |
318
+ | `/instinct-status` | 인스팅트 상태 — 학습된 인스팅트와 신뢰도 표시 |
319
+ | `/skill-create` | 스킬 생성 — git 히스토리에서 코딩 패턴 추출, SKILL.md 생성 |
320
+
321
+ ### utility
322
+ | 커맨드 | 설명 |
323
+ |--------|------|
324
+ | `/setup-pm` | 패키지 매니저 설정 — npm/pnpm/yarn/bun 선택 및 구성 |
325
+
326
+ ## 스킬 목록 (55개)
327
+
328
+ 프리셋별로 자동 포함되며, `--skills` 또는 `--all-content` 옵션으로 생성됩니다.
329
+ Claude Code에서는 `.claude/commands/<name>.md`로 배포됩니다.
330
+
331
+ <details>
332
+ <summary>전체 스킬 목록 펼치기</summary>
333
+
334
+ | 스킬 | 설명 |
335
+ |------|------|
336
+ | `code-review` | 코드 리뷰 절차 — 체크리스트, 심각도, 피드백 |
337
+ | `bug-analysis` | 버그 분석 — 근본 원인 조사 워크플로우 |
338
+ | `feature-implementation` | 기능 구현 — 스펙→코드→테스트 절차 |
339
+ | `pr-creation` | PR 작성 — 제목, 설명, 리뷰 가이드 베스트 프랙티스 |
340
+ | `refactor-safely` | 안전한 리팩토링 — 회귀 방지 패턴 |
341
+ | `api-design` | REST API 설계 패턴 — 리소스 네이밍, 상태 코드, 페이지네이션 |
342
+ | `backend-patterns` | 백엔드 아키텍처 패턴 — API 설계, DB 최적화 |
343
+ | `clickhouse-io` | ClickHouse 데이터베이스 패턴 — 쿼리 최적화, 분석 |
344
+ | `coding-standards` | 범용 코딩 표준 — TypeScript/JavaScript/React/Node.js |
345
+ | `configure-ecc` | ECC 인터랙티브 설치 — 스킬/규칙 선택 설치 |
346
+ | `content-hash-cache-pattern` | SHA-256 콘텐츠 해시 기반 캐싱 패턴 |
347
+ | `continuous-learning` | 자동 패턴 추출 — Claude Code 세션에서 스킬 학습 |
348
+ | `continuous-learning-v2` | 인스팅트 기반 학습 — 후크 관찰, 신뢰도 스코어링 |
349
+ | `cost-aware-llm-pipeline` | LLM API 비용 최적화 — 모델 라우팅, 예산 추적 |
350
+ | `cpp-coding-standards` | C++ 코딩 표준 — C++ Core Guidelines 기반 |
351
+ | `cpp-testing` | C++ 테스팅 — GoogleTest/CTest, 커버리지, 새니타이저 |
352
+ | `database-migrations` | 데이터베이스 마이그레이션 — 스키마 변경, 롤백, 제로 다운타임 |
353
+ | `deployment-patterns` | 배포 워크플로우 — CI/CD, 컨테이너화, 롤백 전략 |
354
+ | `django-patterns` | Django 아키텍처 패턴 — DRF, ORM, 캐싱 |
355
+ | `django-security` | Django 보안 — 인증, 인가, CSRF, SQL 인젝션 방지 |
356
+ | `django-tdd` | Django 테스트 전략 — pytest-django, TDD, factory_boy |
357
+ | `django-verification` | Django 검증 루프 — 마이그레이션, 린트, 테스트, 보안 스캔 |
358
+ | `docker-patterns` | Docker/Compose 패턴 — 로컬 개발, 보안, 네트워킹 |
359
+ | `e2e-testing` | Playwright E2E 테스팅 — POM, CI/CD 통합 |
360
+ | `eval-harness` | 평가 프레임워크 — eval 기반 개발(EDD) 원칙 |
361
+ | `foundation-models-on-device` | Apple FoundationModels — 온디바이스 LLM, iOS 26+ |
362
+ | `frontend-patterns` | 프론트엔드 패턴 — React, Next.js, 상태 관리 |
363
+ | `golang-patterns` | Go 관용 패턴 — 베스트 프랙티스, 견고한 Go 앱 |
364
+ | `golang-testing` | Go 테스팅 — 테이블 기반, 서브테스트, 벤치마크, 퍼징 |
365
+ | `iterative-retrieval` | 점진적 컨텍스트 검색 — 서브에이전트 컨텍스트 문제 해결 |
366
+ | `java-coding-standards` | Java 코딩 표준 — Spring Boot 서비스 |
367
+ | `jpa-patterns` | JPA/Hibernate 패턴 — 엔티티 설계, 쿼리 최적화 |
368
+ | `liquid-glass-design` | iOS 26 Liquid Glass — 동적 유리 머티리얼, SwiftUI |
369
+ | `nutrient-document-processing` | Nutrient DWS API — 문서 변환, OCR, 추출 |
370
+ | `postgres-patterns` | PostgreSQL 패턴 — 쿼리 최적화, 스키마 설계, 인덱싱 |
371
+ | `project-guidelines-example` | 프로젝트 가이드라인 예시 — 스킬 템플릿 |
372
+ | `python-patterns` | Python 관용 패턴 — PEP 8, 타입 힌트 |
373
+ | `python-testing` | Python 테스팅 — pytest, TDD, 픽스처, 모킹 |
374
+ | `regex-vs-llm-structured-text` | 정규식 vs LLM 결정 프레임워크 |
375
+ | `search-first` | 리서치 우선 워크플로우 — 코딩 전 기존 도구/패턴 탐색 |
376
+ | `security-review` | 보안 리뷰 — 인증, 사용자 입력, 시크릿, API 보안 |
377
+ | `security-scan` | 보안 스캔 — .claude/ 설정 취약점, MCP 서버 검사 |
378
+ | `skill-stocktake` | 스킬 감사 — Quick Scan/Full Stocktake 모드 |
379
+ | `springboot-patterns` | Spring Boot 패턴 — REST API, 레이어드 서비스 |
380
+ | `springboot-security` | Spring Security — 인증/인가, 검증, CSRF |
381
+ | `springboot-tdd` | Spring Boot TDD — JUnit 5, Mockito, Testcontainers |
382
+ | `springboot-verification` | Spring Boot 검증 루프 — 빌드, 정적 분석, 테스트 |
383
+ | `strategic-compact` | 전략적 컴팩션 — 논리적 간격에서 컨텍스트 압축 |
384
+ | `swift-actor-persistence` | Swift Actor 기반 영속성 — 스레드 안전 캐시 |
385
+ | `swift-concurrency-6-2` | Swift 6.2 Concurrency — 기본 싱글스레드, @concurrent |
386
+ | `swift-protocol-di-testing` | Swift 프로토콜 DI — 목 파일시스템, 네트워크 테스팅 |
387
+ | `swiftui-patterns` | SwiftUI 패턴 — @Observable 상태 관리, 뷰 조합 |
388
+ | `tdd-workflow` | TDD 워크플로우 — 테스트 우선, 80%+ 커버리지 |
389
+ | `verification-loop` | 종합 검증 시스템 — 빌드/테스트/린트 루프 |
390
+ | `visa-doc-translate` | 비자 문서 번역 — 이미지→영어 번역→이중 언어 PDF |
391
+
392
+ </details>
393
+
394
+ ### 프리셋별 스킬 구성
395
+
396
+ | 프리셋 | 스킬 |
397
+ |--------|------|
398
+ | `minimal` | code-review, coding-standards, security-review |
399
+ | `frontend` | code-review, feature-implementation, pr-creation, coding-standards, frontend-patterns, e2e-testing, tdd-workflow |
400
+ | `backend` | code-review, bug-analysis, feature-implementation, pr-creation, coding-standards, backend-patterns, api-design, security-review, postgres-patterns, tdd-workflow, database-migrations |
401
+ | `fullstack` | code-review, bug-analysis, feature-implementation, pr-creation, refactor-safely, coding-standards, frontend-patterns, backend-patterns, api-design, security-review, tdd-workflow, e2e-testing, deployment-patterns, docker-patterns, database-migrations |
402
+ | `infra` | code-review, pr-creation, coding-standards, docker-patterns, deployment-patterns, security-review |
403
+ | `mobile` | code-review, feature-implementation, pr-creation, coding-standards, tdd-workflow, swift-actor-persistence, swiftui-patterns |
404
+ | `data` | code-review, bug-analysis, pr-creation, coding-standards, python-patterns, postgres-patterns, database-migrations |
405
+ | `gamedev` | code-review, feature-implementation, pr-creation, coding-standards, tdd-workflow |
406
+ | `web3` | code-review, bug-analysis, pr-creation, coding-standards, security-review |
407
+
408
+ ## 프롬프트 목록 (5개)
409
+
410
+ 프리셋별로 자동 포함되며, `--prompts` 또는 `--all-content` 옵션으로 생성됩니다.
411
+
412
+ | 프롬프트 | 카테고리 | 설명 |
413
+ |----------|----------|------|
414
+ | `strict-coder` | system | 엄격한 코딩 표준 시스템 프롬프트 |
415
+ | `helpful-reviewer` | system | 공감적 리뷰어 시스템 프롬프트 |
416
+ | `bug-report-analysis` | templates | 버그 분석 요청 템플릿 |
417
+ | `feature-spec` | templates | 기능 스펙 작성 템플릿 |
418
+ | `plan-code-test` | chains | 계획→구현→테스트 체인 워크플로우 |
419
+
420
+ ## 코딩 규칙 (Coding Rules)
421
+
422
+ `install-rules` 명령으로 언어별 코딩 규칙을 `~/.claude/rules/coding-rules/`에 설치합니다.
423
+ common 규칙은 항상 함께 설치됩니다.
424
+
425
+ ```bash
426
+ # 사용 가능한 규칙 목록
427
+ agrules list-rules
428
+
429
+ # 설치 (common + 지정 언어)
430
+ agrules install-rules typescript python
431
+ agrules install-rules golang --global
432
+ agrules install-rules swift --dry-run
433
+ ```
434
+
435
+ | 언어 | 포함 규칙 |
436
+ |------|-----------|
437
+ | `common` (항상 설치) | agents, coding-style, development-workflow, git-workflow, hooks, patterns, performance, security, testing |
438
+ | `typescript` | coding-style, hooks, patterns, security, testing |
439
+ | `python` | coding-style, hooks, patterns, security, testing |
440
+ | `golang` | coding-style, hooks, patterns, security, testing |
441
+ | `swift` | coding-style, hooks, patterns, security, testing |
442
+
443
+ ## 커스텀 에이전트 추가
444
+
445
+ ### 방법 1: 로컬 프로젝트에 추가
446
+
447
+ 1. 프로젝트에 `content/agent-rules/` 디렉토리 생성
448
+ 2. `content/agent-rules/my-custom-agent.md` 파일 작성
449
+ 3. `agrules` 실행 시 자동 인식
450
+
451
+ ```markdown
452
+ ---
453
+ name: my-custom
454
+ description: "My custom agent description"
455
+ version: "1.0.0"
456
+ tags: ["custom"]
457
+ ---
458
+
459
+ # My Custom Agent
460
+
461
+ 에이전트 규칙 내용...
462
+ ```
463
+
464
+ ### 방법 2: 패키지 확장 (개발자용)
465
+
466
+ 1. 저장소 클론 및 개발 모드 설치
467
+ ```bash
468
+ git clone https://github.com/JINWOO-J/agent-rules.git
469
+ cd agent-rules
470
+ pip install -e .
471
+ ```
472
+
473
+ 2. `content/agent-rules/my-custom-agent.md` 추가 (frontmatter에 메타데이터 포함)
474
+ 3. 원하는 프리셋에 에이전트 이름 추가 (`__main__.py`의 `PRESETS`)
475
+
476
+ 메타데이터는 frontmatter에서 자동 스캔됩니다 (`AGENT_META` 하드코딩 불필요):
477
+
478
+ ```markdown
479
+ ---
480
+ name: my-custom
481
+ description: "My custom agent description"
482
+ short_desc: "Custom agent for X"
483
+ cursor_globs: "*.custom"
484
+ claude_paths: "custom/**"
485
+ ---
486
+ ```
487
+
488
+ ## Cursor 서브에이전트
489
+
490
+ Cursor 도구 선택 시 `agrules`가 다음을 자동 수행합니다:
491
+
492
+ 1. **규칙 → 서브에이전트 변환:** 프리셋에 포함된 `content/agent-rules/*.md`를 `.cursor/agents/*.md` 형식으로 변환하여 배포
493
+ 2. **커스텀 서브에이전트 배포:** `content/cursor-agents/*.md`를 그대로 `.cursor/agents/`에 복사
494
+
495
+ `--global` 사용 시 `~/.cursor/agents/`에 설치되어 모든 프로젝트에서 사용 가능합니다.
496
+
497
+ | 서브에이전트 | 소스 | 설명 |
498
+ |--------------|------|------|
499
+ | (프리셋 에이전트) | `content/agent-rules/*.md` | 규칙과 동일 내용, 서브에이전트 형식으로 자동 변환 |
500
+ | `agent-rules-manager` | `content/cursor-agents/agent-rules-manager.md` | agrules 프로젝트 관리 전문가 (규칙 생성/편집/동기화/확장) |
501
+
502
+ 서브에이전트 파일 형식 (`content/cursor-agents/` 또는 변환 결과):
503
+
504
+ ```markdown
505
+ ---
506
+ name: my-agent
507
+ description: 에이전트 설명 (Cursor가 위임 판단에 사용)
508
+ ---
509
+
510
+ 시스템 프롬프트 내용...
511
+ ```
512
+
513
+ ## 배포 매니페스트
514
+
515
+ `agrules`는 실행 시 `.agrules.lock` 파일을 생성하여 배포 상태를 추적합니다.
516
+
517
+ ```bash
518
+ # 현재 배포 상태 확인 (파일 drift 감지 포함)
519
+ agrules status
520
+
521
+ # 관리 파일 전체 삭제 + 매니페스트 제거
522
+ agrules uninstall
523
+ agrules uninstall --dry-run # 미리보기
524
+ ```
525
+
526
+ 매니페스트에 기록되는 정보:
527
+ - 동기화 시점, 패키지 버전, 프리셋, 도구 목록
528
+ - 배포된 파일 경로 + SHA-256 해시 (drift 감지용)
529
+ - 에이전트, 스킬, 커맨드, 프롬프트 목록
530
+
531
+ `--clean` 옵션은 매니페스트 기반으로 관리 파일만 삭제합니다 (수동 추가 파일은 보존).
532
+
533
+ ## 환경변수
534
+
535
+ | 변수 | 설명 | 기본값 |
536
+ |------|------|--------|
537
+ | `AGENT_RULES_DIR` | 규칙 소스 디렉토리 경로 | `./content/agent-rules` (로컬 우선) |
538
+ | `CURSOR_AGENTS_DIR` | Cursor 서브에이전트 소스 디렉토리 경로 | `./content/cursor-agents` (로컬 우선) |
539
+ | `SKILLS_DIR` | 스킬 소스 디렉토리 경로 | `./content/skills` (로컬 우선) |
540
+ | `PROMPTS_DIR` | 프롬프트 소스 디렉토리 경로 | `./content/prompts` (로컬 우선) |
541
+ | `COMMANDS_DIR` | 커맨드 소스 디렉토리 경로 | `./content/commands` (로컬 우선) |
542
+ | `CODING_RULES_DIR` | 코딩 규칙 소스 디렉토리 경로 | `./content/coding-rules` (로컬 우선) |
543
+
544
+ 패키지는 다음 순서로 규칙 파일을 검색합니다:
545
+ 1. 현재 디렉토리의 `content/agent-rules/` (로컬 커스텀 규칙)
546
+ 2. 패키지 내부 번들 데이터 (기본 규칙)
547
+
548
+ ## 프로젝트 구조
549
+
550
+ ```
551
+ agent-rules/
552
+ ├── content/ ← 콘텐츠 소스 루트
553
+ │ ├── agent-rules/ ← 원본 규칙 소스 (36개 .md)
554
+ │ ├── cursor-agents/ ← Cursor 전용 서브에이전트
555
+ │ ├── skills/ ← 스킬 소스 (55개 .md)
556
+ │ ├── commands/ ← 슬래시 커맨드 소스 (24개 .md)
557
+ │ ├── prompts/ ← 프롬프트 소스 (5개 .md)
558
+ │ │ ├── system/ ← 시스템 프롬프트
559
+ │ │ ├── templates/ ← 요청 템플릿
560
+ │ │ └── chains/ ← 체인 워크플로우
561
+ │ └── coding-rules/ ← 코딩 규칙 소스 (언어별)
562
+ │ ├── common/ ← 공통 규칙 (항상 설치)
563
+ │ ├── typescript/
564
+ │ ├── python/
565
+ │ ├── golang/
566
+ │ └── swift/
567
+ ├── src/
568
+ │ └── agrules/
569
+ │ ├── __init__.py
570
+ │ └── __main__.py ← 메인 로직 (CLI 진입점)
571
+ ├── tests/
572
+ ├── pyproject.toml
573
+ ├── Makefile
574
+ ├── README.md
575
+ └── LICENSE
576
+ ```
577
+
578
+ > `src/agrules/data/`는 빌드 시 자동 생성됩니다 (`make build`).
579
+ > Git에는 포함되지 않습니다.
580
+
581
+ ## Alternative: Manual Setup
582
+
583
+ PyPI 패키지 대신 수동으로 설정하려면:
584
+
585
+ ```bash
586
+ # 1. 저장소 클론
587
+ git clone https://github.com/JINWOO-J/agent-rules.git
588
+
589
+ # 2. 프로젝트에 복사
590
+ cp -r agent-rules/src/agrules/data/content/agent-rules /path/to/your-project/content/
591
+ cp -r agent-rules/src/agrules/data/content/cursor-agents /path/to/your-project/content/
592
+
593
+ # 3. Python 모듈로 직접 실행
594
+ python -m agrules fullstack
595
+ ```
596
+
597
+ ## License
598
+
599
+ MIT