Skip to content
Agentmart
Submit a tool

organize-claude-md

CLAUDE.md를 Lazy Loading 참조 구조 + 프레임워크 특화 템플릿 + Mermaid 아키텍처로 재구성.

Skill by bigbulgogiburger

IndexedMIT★ 3
Write a review

Chalk Labs

Need help deploying organize-claude-md?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bigbulgogiburger-organize-claude-md

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

CLAUDE.md를 Lazy Loading 참조 구조 + 프레임워크 특화 템플릿 + Mermaid 아키텍처로 재구성. Monorepo 분기 + CHANGELOG 분리 + ADR 자동 생성 안내. **반드시 사용:** "CLAUDE.md 정리", "CLAUDE.md 재구성", "claude.md 비대화", "오늘 개발 사항 정리", "Last Updated 정리", "참조 문서 만들어줘", "reference docs", "monorepo CLAUDE 분리", "프로젝트 문서 organize", "AI agent 문서 구조 개선", "organize claude md" 등의 요청. CLAUDE.md 가 120줄(단일) / 150줄(monorepo root) 초과, Last Updated 라인이 3K 토큰 또는 5회 closure 누적, sub-project 추가 후 root 구조 갱신, 기존 reference 가 구식화된 경우에도 트리거. 단일 프로젝트 / monorepo 모두 지원. Spring Boot (Java/Kotlin) / Vue / Nuxt / React / Next.js / Flutter / NestJS / FastAPI / Django / Go 프레임워크별 특화 스캔.

Use cases: frontend, backend, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/organize-claude-md

What's inside

Skill name
organize-claude-md
Description
CLAUDE.md를 Lazy Loading 참조 구조 + 프레임워크 특화 템플릿 + Mermaid 아키텍처로 재구성. Monorepo 분기 + CHANGELOG 분리 + ADR 자동 생성 안내. **반드시 사용:** "CLAUDE.md 정리", "CLAUDE.md 재구성", "claude.md 비대화", "오늘 개발 사항 정리", "Last Updated 정리", "참조 문서 만들어줘", "reference docs", "monorepo CLAUDE 분리", "프로젝트 문서 organize", "AI agent 문서 구조 개선", "organize claude md" 등의 요청. CLAUDE.md 가 120줄(단일) / 150줄(monorepo root) 초과, Last Updated 라인이 3K 토큰 또는 5회 closure 누적, sub-project 추가 후 root 구조 갱신, 기존 reference 가 구식화된 경우에도 트리거. 단일 프로젝트 / monorepo 모두 지원. Spring Boot (Java/Kotlin) / Vue / Nuxt / React / Next.js / Flutter / NestJS / FastAPI / Django / Go 프레임워크별 특화 스캔.
License
MIT
Instructions
358 lines in SKILL.md · view on GitHub

Files (5)

  • SKILL.md
  • adr-template.md · references/
  • frameworks.md · references/
  • monorepo.md · references/
  • reference-docs.md · references/

SKILL.md (first lines)

# Organize CLAUDE.md

CLAUDE.md 를 **Lazy Loading 참조 구조** + **프레임워크 특화 템플릿** + **Mermaid 아키텍처** 로 재구성합니다.

## 인자 (사용자가 함께 전달)

| 인자 | 동작 |
|------|------|
| `(빈 값)` | **git diff 기반 증분**: 마지막 organize (Last Updated 기준) 이후 변경된 파일만 감지하여 영향받는 reference 만 선택적 갱신. CLAUDE.md 부재 또는 Last Updated 없으면 `full` 동일 |
| `full` | 전체 재구성 (CLAUDE.md + 모든 reference — git diff 무시) |
| `main` | CLAUDE.md 만 재구성 |
| `references` | reference 만 생성/갱신 |
| `module:<name>` | 특정 모듈의 reference 만 (monorepo 는 `module:<sub>/<name>`) |
| `scan` | 현황 분석만 (변경 없이 리포트) |
| `diff` | 기존 vs 제안 차이점만 표시 |
| `gap` | 기존 reference GAP 분석 (품질 점수 + 누락/구식 리포트) |
| `<경로>` | 지정 경로만 스캔 + 해당 영역 reference 만 갱신 |

## 왜 이 구조가 필요한가

CLAUDE.md 는 매 세션 시작 시 전체가 컨텍스트에 로드된다. 다음을 알면 결정이 쉬워진다:

- **120줄 이상**이면 에이전트가 핵심을 놓치고 지시 compliance 가 떨어진다 (monorepo root 는 150줄)
- **금지형 규칙 ("NEVER do X")**이 권장형 ("Always prefer Y") 보다 compliance 가 높다
- 상세 정보는 `.claude/docs/reference/` 에 분리 → 작업 맥락에 따라 lazy loading
- 스캔 (Phase 1) 결과가 생성 (Phase 5) 으로 **명시적으로 매핑**되어야 빈약한 문서 생성을 방지
- **Monorepo 는 본질이 다르다** — 단일 CLAUDE.md 가 모든 sub 의 NEVER 를 담으면 sub 단독 작업 시 노이즈. root + sub 분리가 표준 — `references/monorepo.md` 참조

## 실행 흐름

```
Phase 0: 전제 조건 + 신규 생성 여부
Phase 1: 프로젝트 분석 (현황 + 프레임워크 감지 + 딥 스캔 + 매핑)
Phase 2: 콘텐츠 분류 (메인 vs 분리, 규모 분류)
Phase 3: Mermaid 아키텍처 생성
Phase 4: 메인 CLAUDE.md 작성
Phase 5: reference 생성/갱신 + 병합
Phase 6: 사용자 확인 (실행 전 변경 계획 제시)
Phase 7: 검증 + 최종 리포트
Phase 8: 구조 결정 ADR 작성 (해당 시)
```

---

## Phase 0: 전제 조건 확인

### 0-1. 기존 AI 설정 파일 감지

다음 파일이 존재하면 읽어서 Key Rules 이관 후보로 활용:
- `.cursorrules` / `.cursor/rules/*.mdc` → Cursor AI
- `.windsurfrules` → Windsurf AI
- `.aider.conf.yml` → Aider
- `copilot-instructions.md` → GitHub Copilot

감지 시:
1. 규칙 추출 + 프레임워크 감지 단서로 활용
2. 충돌 규칙은 사용자에게 알림
3. 원본 삭제 여부는 사용자 확인

### 0-2. CLAUDE.md 부재 시 신규 생성

CLAUDE.md 가 없으면:
1. `README.md` 가 있으면 → 프로젝트 설명, 명령어, 환경 정보 추출
2. `package.json` / `build.gradle` 등 → Phase 1-2 와 동일한 프레임워크 감지
3. 최소 골격: Project Overview + Architecture (Mermaid) + Commands + Key Rules (3개) + Reference Docs
4. 사용자에게 "신규 생성 모드입니다. 기존 팀 규칙이 있으면 알려주세요" 안내

### 0-3. CLAUDE.local.md 분리 판단

개인별 차이 있는 설정 (Swagger URL, 로컬 포트, 테스트 계정 등) 이 있으면:
1. `CLAUDE.local.md` 로 분리 제안
2. `.gitignore` 추가 확인

---

## Phase 1: 프로젝트 분석

### 1-1. 기존 상태 확인

1. 기존 CLAUDE.md 전체 읽기 (없으면 Phase 0-2 신규 생성)
2. 기존 `.claude/docs/reference/` 파일 목록 + 각 파일 줄 수
3. `.gitignore` 에서 `.claude/docs/reference/` 차단 여부
4. 기존 `.claude/rules/` 파일
5. **작업 산출물 감지** — 다음 경로에 최근 MD 가 있으면 읽어서 Phase 5 병합 활용:
   - `.claude/workflow/dev-guide-*.md`
   - `.claude/workflow/sprint-contract-*.md`
   - `.claude/docs/dev-guide/`
6. **git diff 기반 변경 감지** (`(빈 값)` 인자의 핵심):
   - CLAUDE.md 에 `Last Updated` 가 있으면:
     ```bash
     git log --since="<Last Updated 날짜>" --name-only --pretty=format:""
     ```
     → 변경 파일 목록 → `references/frameworks.md § git diff 역매핑` 으로 영향받는 reference 결정
   - Last Updated 없거나 CLAUDE.md 부재 → `full` 모드
   - `<경로>` 인자 시 → 해당 경로 하위만 스캔 대상

### 1-2. 프레임워크 + 언어 감지

`references/frameworks.md § 프레임워크 + 언어 감지 우선순위` 참조.

핵심:
- 언어 단독 분류 X — 항상 프레임워크와 함께 (`Spring Boot 3.3.8 (Java 21)`)
- **JVM 은 Java vs Kotlin 필수 구분** (Lombok ↔ data class 충돌)
- **복수 스택 감지 → Monorepo** → `references/monorepo.md` 적용

### 1-3. 프레임워크별 딥 스캔

`references/frameworks.md` 의 해당 프레임워크 섹션을 읽고 스캔. 추측 금지, 실제 코드 분석.

### 1-4. 스캔 결과 → reference 매핑

`references/frameworks.md` 의 각 프레임워크별 매핑 테이블 적용. 매핑되지 않은 항목은 `architecture.md` 에 요약 포함.

---

## Phase 2: 콘텐츠 분류

### 프로젝트 규모 분류

From bigbulgogiburger/claude_jira_harness, MIT.

More from bigbulgogiburger/claude_jira_harness

Signals

Stars
3
Forks
1
Open issues
0
Last commit (this folder)
May 15, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from bigbulgogiburger

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get organize-claude-md running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying organize-claude-md?

CallGet help
Cite this page

organize-claude-md skill. Agent Mart. https://agentmart.dev/skills/bigbulgogiburger-organize-claude-md (last updated 2026-10-24)