oh-my-customcode 0.2.1 → 0.3.0
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 +28 -0
- package/dist/index.js +16 -0
- package/package.json +1 -1
- package/templates/CLAUDE.md.en +23 -0
- package/templates/CLAUDE.md.ko +23 -0
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
[](https://github.com/baekenough/oh-my-customcode/actions/workflows/ci.yml)
|
|
8
8
|
|
|
9
|
+
**[한국어 문서 (Korean)](./README_ko.md)**
|
|
10
|
+
|
|
9
11
|
**The easiest way to customize Claude Code with agents, skills, and rules.**
|
|
10
12
|
|
|
11
13
|
Like oh-my-zsh transformed shell customization, oh-my-customcode makes personalizing your Claude Code experience simple, powerful, and fun.
|
|
@@ -228,6 +230,32 @@ bun run build # Build for production
|
|
|
228
230
|
- Node.js >= 18.0.0
|
|
229
231
|
- Claude Code CLI
|
|
230
232
|
|
|
233
|
+
### Sync Verification
|
|
234
|
+
|
|
235
|
+
oh-my-customcode templates are synced from [baekgom-agents](https://github.com/baekenough/baekgom-agents). To verify templates are in sync:
|
|
236
|
+
|
|
237
|
+
```bash
|
|
238
|
+
# Local verification (requires baekgom-agents checkout)
|
|
239
|
+
./scripts/verify-sync.sh /path/to/baekgom-agents
|
|
240
|
+
|
|
241
|
+
# Or using environment variable
|
|
242
|
+
BAEKGOM_AGENTS_PATH=/path/to/baekgom-agents ./scripts/verify-sync.sh
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
The verification checks 7 content directories:
|
|
246
|
+
- `.claude/agents/` (34 agents)
|
|
247
|
+
- `.claude/skills/` (42 skills)
|
|
248
|
+
- `.claude/rules/` (18 rules)
|
|
249
|
+
- `.claude/hooks/`
|
|
250
|
+
- `.claude/contexts/`
|
|
251
|
+
- `guides/`
|
|
252
|
+
- `pipelines/`
|
|
253
|
+
|
|
254
|
+
CI automatically runs sync verification on:
|
|
255
|
+
- Push to main (when templates change)
|
|
256
|
+
- Weekly schedule (Monday 00:00 UTC)
|
|
257
|
+
- Manual workflow dispatch
|
|
258
|
+
|
|
231
259
|
---
|
|
232
260
|
|
|
233
261
|
## Contributing
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
8
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
9
|
+
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
10
|
+
for (let key of __getOwnPropNames(mod))
|
|
11
|
+
if (!__hasOwnProp.call(to, key))
|
|
12
|
+
__defProp(to, key, {
|
|
13
|
+
get: () => mod[key],
|
|
14
|
+
enumerable: true
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
2
18
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
3
19
|
|
|
4
20
|
// src/core/config.ts
|
package/package.json
CHANGED
package/templates/CLAUDE.md.en
CHANGED
|
@@ -232,3 +232,26 @@ The main conversation acts as the sole orchestrator. Subagents cannot spawn othe
|
|
|
232
232
|
# Verification
|
|
233
233
|
/sauron-watch
|
|
234
234
|
```
|
|
235
|
+
|
|
236
|
+
## Git Workflow (MUST follow)
|
|
237
|
+
|
|
238
|
+
| Branch | Purpose |
|
|
239
|
+
|--------|---------|
|
|
240
|
+
| `develop` | Main development branch (default) |
|
|
241
|
+
| `feature/*` | New features -> PR to develop |
|
|
242
|
+
| `release/*` | Release preparation -> **npm publish here only** |
|
|
243
|
+
| `hotfix/*` | Critical fixes -> tag -> publish -> merge to develop |
|
|
244
|
+
|
|
245
|
+
**Publishing flow:**
|
|
246
|
+
```
|
|
247
|
+
develop → release/x.y.z → npm publish → merge back to develop
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
**Key rules:**
|
|
251
|
+
- Create feature branches from `develop`
|
|
252
|
+
- **npm publish MUST only happen from release branch**
|
|
253
|
+
- Use conventional commits: `feat:`, `fix:`, `docs:`, `chore:`
|
|
254
|
+
- Include "Closes #N" in commit message to auto-close issues
|
|
255
|
+
- Pre-commit hooks run tests automatically
|
|
256
|
+
|
|
257
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed workflow.
|
package/templates/CLAUDE.md.ko
CHANGED
|
@@ -232,3 +232,26 @@ project/
|
|
|
232
232
|
# 검증
|
|
233
233
|
/sauron-watch
|
|
234
234
|
```
|
|
235
|
+
|
|
236
|
+
## Git 워크플로우 (반드시 준수)
|
|
237
|
+
|
|
238
|
+
| 브랜치 | 용도 |
|
|
239
|
+
|--------|------|
|
|
240
|
+
| `develop` | 메인 개발 브랜치 (기본) |
|
|
241
|
+
| `feature/*` | 새 기능 -> develop으로 PR |
|
|
242
|
+
| `release/*` | 릴리스 준비 -> **npm 배포는 여기서만** |
|
|
243
|
+
| `hotfix/*` | 긴급 수정 -> 태그 -> 배포 -> develop 머지 |
|
|
244
|
+
|
|
245
|
+
**퍼블리싱 흐름:**
|
|
246
|
+
```
|
|
247
|
+
develop → release/x.y.z → npm publish → develop 머지
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
**핵심 규칙:**
|
|
251
|
+
- `develop`에서 feature 브랜치 생성
|
|
252
|
+
- **npm publish는 반드시 release 브랜치에서만**
|
|
253
|
+
- Conventional commits 사용: `feat:`, `fix:`, `docs:`, `chore:`
|
|
254
|
+
- 커밋 메시지에 "Closes #N" 포함시 이슈 자동 종료
|
|
255
|
+
- Pre-commit 훅이 테스트 자동 실행
|
|
256
|
+
|
|
257
|
+
자세한 워크플로우는 [CONTRIBUTING.md](CONTRIBUTING.md) 참조.
|