Przejdź do treści
Biblioteka skilli
AI i agenci · Przegląd i audyt

claude-md-improver

/claude-md-improver

Audytuje pliki CLAUDE.md, ocenia ich jakość, zapisuje raport i wprowadza celowane poprawki w instrukcjach projektu.

Repozytorium
claudex-setup ↗
Licencja
MIT
Ostatnia zmiana repozytorium
08.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
4
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Audytuje pliki CLAUDE.md, ocenia ich jakość, zapisuje raport i wprowadza celowane poprawki w instrukcjach projektu.

Wyzwalacze z opisu

check CLAUDE.mdaudit project instructionsimprove CLAUDE.mdfix CLAUDE.mdCLAUDE.md maintenance
Oryginalny opis (EN)

Audit and improve CLAUDE.md files. Use when asked to "check CLAUDE.md", "audit project instructions", "improve CLAUDE.md", "fix CLAUDE.md", or "CLAUDE.md maintenance". Scans all CLAUDE.md files, scores quality, outputs report, then applies targeted updates.

Jak działa

  1. Workflow
  2. Templates
  3. Common Issues to Flag
  4. User Tips to Share
  5. What Makes a Great CLAUDE.md
  6. Gotchas
Sekcje z nagłówków SKILL.md, w oryginale · 192 linii, 1 069 słów
Podgląd SKILL.md
---
name: claude-md-improver
description: Audit and improve CLAUDE.md files. Use when asked to "check CLAUDE.md", "audit project instructions", "improve CLAUDE.md", "fix CLAUDE.md", or "CLAUDE.md maintenance". Scans all CLAUDE.md files, scores quality, outputs report, then applies targeted updates.
model: inherit
disallowed-tools: Write
---

# CLAUDE.md Improver

Audit, evaluate, and improve CLAUDE.md files across a codebase to ensure Claude Code has optimal project context.

**This skill can write to CLAUDE.md files.** After presenting a quality report and getting user approval, it updates CLAUDE.md files with targeted improvements.

## Workflow

### Phase 1: Discovery

Find all CLAUDE.md files in the repository:

```bash
find . -name "CLAUDE.md" -o -name ".claude.md" -o -name ".claude.local.md" 2>/dev/null | head -50
```

**File Types & Locations:**

| Type | Location | Purpose |
|------|----------|---------|
| Project root | `./CLAUDE.md` | Primary project context (checked into git, shared with team) |
| Local overrides | `./.claude.local.md` | Personal/local settings (gitignored, not shared) |
| Global defaults | `~/.claude/CLAUDE.md` | User-wide defaults across all projects |
| Package-specific | `./packages/*/CLAUDE.md` | Module-level context in monorepos |
| Subdirectory | Any nested location | Feature/domain-specific context |

**Note:** Claude auto-discovers CLAUDE.md files in parent directories, making monorepo setups work automatically.

### Phase 2: Quality Assessment

For each CLAUDE.md file, evaluate against quality criteria. See [references/quality-criteria.md](references/quality-criteria.md) for detailed rubrics.

**Quick Assessment Checklist:**

| Criterion | Weight | Check |
|-----------|--------|-------|
| Commands/workflows documented | High | Are build/test/deploy commands present? |
| Architecture clarity | High | Can Claude understand the codebase structure? |
| Non-obvious patterns | Medium | Are gotchas and quirks documented? |
| Conciseness | Medium | No verbose explanations or obvious info? |
| Currency | High | Does it reflect current codebase state? |
| Actionability | High | Are instructions executable, not vague? |

**Quality Scores:**
- **A (90-100)**: Comprehensive, current, actionable
- **B (70-89)**: Good coverage, minor gaps
- **C (50-69)**: Basic info, missing key sections
- **D (30-49)**: Sparse or outdated
- **F (0-29)**: Missing or severely outdated

### Phase 3: Quality Report Output

**ALWAYS output the quality report BEFORE making any updates.**

Format:

```
## CLAUDE.md Quality Report

### Summary
- Files found: X
- Average score: X/100
- Files needing update: X

### File-by-File Assessment

#### 1. ./CLAUDE.md (Project Root)
**Score: XX/100 (Grade: X)**

| Criterion | Score | Notes |
|-----------|-------|-------|
| Commands/workflows | X/20 | ... |
| Architecture clarity | X/20 | ... |
| Non-obvious patterns | X/15 | ... |
| Conciseness | X/15 | ... |
| Currency | X/15 | ... |
| Actionability | X/15 | ... |

**Issues:**
- [List specific problems]

**Recommended additions:**
- [List what should be added]

#### 2. ./packages/api/CLAUDE.md (Package-specific)
...
```

### Phase 4: Targeted Updates

After outputting the quality report, ask user for confirmation before updating.

See [references/update-guidelines.md](references/update-guidelines.md) for what to add, what to leave out, the diff format and the validation checklist.

**Update Guidelines (Critical):**

1. **Propose targeted additions only** - Focus on genuinely useful info:
   - Commands or workflows discovered during analysis
   - Gotchas or non-obvious patterns found in code
   - Package relationships that weren't clear
   - Testing approaches that work
   - Configuration quirks

2. **Keep it minimal** - Avoid:
   - Restating what's obvious from the code
   - Generic best practices already covered
   - One-off fixes unlikely to recur
   - Verbose explanations when a one-liner suffices

3. **Show diffs** - For each change, show:
   - Which CLAUDE.md file to update
   - The specific addition (as a diff or quoted block)
   - Brief explanation of why this helps future sessions

**Diff Format:**

```markdown
### Update: ./CLAUDE.md

**Why:** Build command was missing, causing confusion about how to run the project.

```diff
+ ## Quick Start
+
+ ```bash
+ npm install
+ npm run dev  # Start development server on port 3000
+ ```
```
```

**Re-score before you stop.**

After applying updates, re-score the file against the Phase 2 criteria and print the new score beside the old one. If it is still below 70 (grade C or worse), revise once more against the lowest-scoring criterion specifically, then re-score again. Stop after the second revision and report what is still short and why, rather than looping. A scored rubric with no revise threshold is decorative: without this, a file graded D gets one pass and ships at whatever it reached.

### Phase 5: Apply Updates

After user approval, apply changes using the Edit tool. Preserve existing content structure.

## Templates

See [references/templates.md](references/templates.md) for CLAUDE.md templates by project type.

## Common Issues to Flag

1. **Stale commands**: Build commands that no longer work
2. **Missing dependencies**: Required tools not mentioned
3. **Outdated architecture**: File structure that's changed
4. **Missing environment setup**: Required env vars or config
5. **Broken test commands**: Test scripts that have changed
6. **Undocumented gotchas**: Non-obvious patterns not captured

## User Tips to Share

When presenting recommendations, remind users:

- **`#` key shortcut**: During a Claude session, press `#` to have Claude auto-incorporate learnings into CLAUDE.md
- **Keep it concise**: CLAUDE.md should be human-readable; dense is better than verbose
- **Actionable commands**: All documented commands should be copy-paste ready
- **Use `.claude.local.md`**: For personal preferences not shared with team (add to `.gitignore`)
- **Global defaults**: Put user-wide preferences in `~/.claude/CLAUDE.md`

## What Makes a Great CLAUDE.md

**Key principles:**
- Concise and human-readable
- Actionable commands that can be copy-pasted
- Project-specific patterns, not generic advice
- Non-obvious gotchas and warnings

**Recommended sections** (use only what's relevant):
- Commands (build, test, dev, lint)
- Architecture (directory structure)
- Key Files (entry points, config)
- Code Style (project conventions)
- Environment (required vars, setup)
- Testing (commands, patterns)
- Gotchas (quirks, common mistakes)
- Workflow (when to do what)

## Gotchas

Failure modes this skill must avoid:

- **Never auto-apply changes.** Always output the quality report (Phase 3) and show each change as a diff with a "why", then get explicit user approval before editing any CLAUDE.md.
- **Don't restate code as instructions.** If a fact is obvious from reading the code, it doesn't belong in CLAUDE.md. Add only non-obvious patterns, gotchas, and commands.
- **Keep CLAUDE.md concise, aim under ~200 lines.** Promote only proven, recurring rules; drop one-off fixes and generic best practices. Dense beats verbose.
- **Don't bloat with additions.** When updating, propose targeted additions only; prefer editing or tightening an existing line over appending a new section.
- **Don't invent or assume.** Verify commands actually work and architecture claims match the current codebase before writing them: stale or wrong instructions are worse than none.
- **Preserve existing structure.** Apply Edits that respect the file's current sections and ordering; don't rewrite working content wholesale.
Pliki w paczce (4)
  • SKILL.md 7 KB
  • references/quality-criteria.md 3 KB
  • references/templates.md 4 KB
  • references/update-guidelines.md 3 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · model-bender/claudex-setup100MIT
mrclrchtr/supi100MIT
pleaseai/claude-code-plugins100MIT
anthropics/claude-plugins-official100Apache-2.0
secondsky/sap-skills100GPL-3.0
sandbaseai/sandbase-skills90Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki c55f74b7e1eb (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100claude-md-management
    Audytuje i poprawia pliki CLAUDE.md w repozytoriach: znajduje wszystkie, ocenia jakość względem szablonów, tworzy raport i wprowadza ukierunkowane aktualizacje.
  • 100agents-md-improver
    Audytuje i poprawia pliki AGENTS.md w repozytoriach, utrzymując CLAUDE.md jako jednoliniowe odwołanie @AGENTS.md, żeby ta sama pamięć projektu działała w Claude Code, Codex i Gemini CLI.
  • 100agents-md-improver
    Audytuje i ulepsza pliki reguł projektu (AGENTS.md, CLAUDE.md, .agents/instructions, lokalne nadpisania), aby agent miał aktualny kontekst, skanując repozytorium i oceniając każdy plik.
  • 98claude-context-improver
    Audytuje i poprawia pliki CLAUDE.md, reguły ścieżek i mapy kodu, by kontekst Claude Code był zwięzły i bez konfliktów.
  • 100memory-md-management
    Zarządza plikami pamięci projektu, takimi jak CLAUDE.md: audyt, ocena jakości i ukierunkowane poprawki, a także tworzenie takiego pliku od zera.
  • 100ai-instructions-improver
    Audytuje i skraca pliki instrukcji AI projektu (CLAUDE.md, AGENTS.md), gdy są za długie, powtarzalne lub nieaktualne albo sesje je ignorują, i rozstrzyga, które reguły w nich zostają.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.