# review-claudemd

This skill examines recent chats and suggests changes to global and project-level CLAUDE.md files. Use it to spot repeated instruction failures and stale rules.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 10273
- Author: ykdojo
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ykdojo/claude-code-tips/tree/HEAD/skills/review-claudemd/SKILL.md
- Updated: 2026-09-25
- HTML: https://affpapa.org/en/nevibecode/skills/review-claudemd

## What it does

The skill gathers recent chat logs from `~/.claude/projects/`, skips the current conversation, and gives batches to subagents alongside the global and local `CLAUDE.md`. The agents look for rules that were broken, project-specific or general guidance to add, and entries that may be out of date. Their findings are grouped into a summary, with a prompt asking whether you want draft edits.

Shell commands and `jq` extract the logs into a temporary directory. The review relies on access to the conversation files and both `CLAUDE.md` files. The documented extraction process will fail if `jq` is unavailable.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ykdojo/claude-code-tips --skill review-claudemd -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/review-claudemd/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/review-claudemd/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ykdojo/claude-code-tips --skill review-claudemd -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/review-claudemd/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ykdojo/claude-code-tips --skill review-claudemd -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/review-claudemd/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ykdojo/claude-code-tips review-claudemd
```

2. **Manually: put the files in place**
- File: `.github/skills/review-claudemd/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ykdojo/claude-code-tips --skill review-claudemd -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ykdojo/claude-code-tips --path skills/review-claudemd
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/review-claudemd/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add ykdojo/claude-code-tips --skill review-claudemd -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ykdojo/claude-code-tips/tree/HEAD/skills/review-claudemd/SKILL.md

## When to use it
- find `CLAUDE.md` rules that conversations repeatedly break
- identify project-specific guidance for the local file
- separate general rules for the global file
- flag instructions that may be outdated

## Example prompts
- Review recent chats and suggest changes to the global and project `CLAUDE.md` files.
- Group repeated instruction failures from the chat history by the relevant `CLAUDE.md` file.
- Read the project's conversations and list guidance that may have gone stale.

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [ykdojo/claude-code-tips](https://affpapa.org/en/nevibecode/by/ykdojo/claude-code-tips.md) — 8 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
