본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM10k · #11905

review-claudemd

하는 일

이 스킬은 최근 대화를 읽고, 전역 및 프로젝트의 CLAUDE.md 파일을 확인합니다. 에이전트가 더 잘 작업하도록 도울 수 있는 변경을 제안합니다. Claude Code를 쓰며 지침 파일을 관리하는 사람들을 위한 것입니다.

사용하는 경우

  • ✓CLAUDE.md 지침이 실제 세션에서 하는 일을 반영하기를 원할 때.
  • ✓에이전트가 같은 실수를 반복해서 지침을 업데이트하고 싶을 때.
  • ✓전역 및 프로젝트 지침 파일을 검토하고 정리하고 싶은 경우.

스킬 링크

https://github.com/ykdojo/claude-code-tips/blob/main/skills/review-claudemd/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ykdojo/claude-code-tips/blob/main/skills/review-claudemd/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“최근 대화를 검토하고, 제 CLAUDE.md 파일을 개선할 점을 제안해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 프로젝트의 최근 대화 기록을 모으고, 읽기를 도우미 에이전트들에게 나눕니다. 도우미들은 두 지침 파일과 대화를 읽은 뒤 개선안을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Review CLAUDE.md from conversation history

Analyze recent conversations to improve both global (~/.claude/CLAUDE.md) and local (project) CLAUDE.md files.

Step 1: Find conversation history

The project's conversation history is in ~/.claude/projects/. The folder name is the project path with slashes replaced by dashes.

# Find the project folder (replace / with -)
PROJECT_PATH=$(pwd | sed 's|/|-|g' | sed 's|^-||')
CONVO_DIR=~/.claude/projects/-${PROJECT_PATH}
ls -lt "$CONVO_DIR"/*.jsonl | head -20

Step 2: Extract recent conversations

Extract the 15-20 most recent conversations (excluding the current one) to a temp directory:

SCRATCH=/tmp/claudemd-review-$(date +%s)
mkdir -p "$SCRATCH"

for f in $(ls -t "$CONVO_DIR"/*.jsonl | head -20); do
  basename=$(basename "$f" .jsonl)
  # Skip current conversation if known
  cat "$f" | jq -r '
    if .type == "user" then
      "USER: " + (.message.content // "")
    elif .type == "assistant" then
      "ASSISTANT: " + ((.message.content // []) | map(select(.type == "text") | .text) | join("\n"))
    else
      empty
    end
  ' 2>/dev/null | grep -v "^ASSISTANT: $" > "$SCRATCH/${basename}.txt"
done

ls -lhS "$SCRATCH"

Step 3: Spin up subagents

Launch parallel subagents to analyze conversations. Each agent should read:

  • Global CLAUDE.md: ~/.claude/CLAUDE.md
  • Local CLAUDE.md: ./CLAUDE.md (if exists)
  • Batch of conversation files

Give each agent this prompt template:

Read:
1. Global CLAUDE.md: ~/.claude/CLAUDE.md
2. Local CLAUDE.md: [project]/CLAUDE.md
3. Conversations: [list of files]

Analyze the conversations against BOTH CLAUDE.md files. Find:
1. Instructions that exist but were violated (need reinforcement or rewording)
2. Patterns that should be added to LOCAL CLAUDE.md (project-specific)
3. Patterns that should be added to GLOBAL CLAUDE.md (applies everywhere)
4. Anything in either file that seems outdated or unnecessary

Be specific. Output bullet points only.

Batch conversations by size:

  • Large (>100KB): 1-2 per agent
  • Medium (10-100KB): 3-5 per agent
  • Small (<10KB): 5-10 per agent

Step 4: Aggregate findings

Combine results from all agents into a summary with these sections:

  1. Instructions violated - existing rules that weren't followed (need stronger wording)
  2. Suggested additions - LOCAL - project-specific patterns
  3. Suggested additions - GLOBAL - patterns that apply everywhere
  4. Potentially outdated - items that may no longer be relevant

Present as tables or bullet points. Ask user if they want edits drafted.

자주 묻는 질문

어떤 대화를 읽나요?

현재 대화를 제외하고, 프로젝트의 가장 최근 대화를 읽습니다.

제 파일을 묻지 않고 바꾸나요?

스킬은 검토할 수 있도록 개선안을 제안합니다.

어떤 파일을 확인하나요?

Claude 폴더에 있는 전역 CLAUDE.md와 현재 프로젝트의 CLAUDE.md를 확인합니다.

상세 정보

작성자의 원본 설명

Review recent conversations to find improvements for CLAUDE.md files.

repo: ykdojo/claude-code-tips

인기도

GitHub 스타
10k
순위
#11905
라이선스
—
업데이트
2026. 9. 25.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬