Skip to content
Back to skills

Revise Claude Md

ASecurity

Capture this session's learnings (commands, gotchas, patterns) into CLAUDE.md or .claude/rules/

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 24, 2026
toolsgobashtestinggit

Works with

  • claude code

Security analysis

A100/100

Scanned September 24, 2026

npx -y skills add bengous/claude-code-plugins --skill revise-claude-md --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Revise Claude Md?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Revise Claude Md
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bengous-revise-claude-md/badge)](https://www.skillsdirectory.com/skills/bengous-revise-claude-md)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: revise-claude-md
description: Capture this session's learnings (commands, gotchas, patterns) into CLAUDE.md or .claude/rules/
disable-model-invocation: true
allowed-tools:
  - Read
  - Edit
  - Write
  - Glob
---

Review this session for learnings about working with Claude Code in this codebase. Update project memory with context that would help future Claude sessions be more effective.

Scope boundary: this skill captures **current-session learnings**. Auditing agent docs against git history and codebase evolution is `/agent-docs-drift`'s job.

## Step 1: Reflect

What context was missing that would have helped Claude work more effectively?
- Bash commands that were used or discovered
- Code style patterns followed
- Testing approaches that worked
- Environment/configuration quirks
- Warnings or gotchas encountered

## Step 2: Find Memory Files

Use Glob: `**/CLAUDE.md`, `.claude/CLAUDE.md`, `.claude/rules/**/*.md`, `CLAUDE.local.md`. Also check discovered files for `@path` imports pointing to other memory files.

Decide where each addition belongs:
- `CLAUDE.md` - Team-shared, always-on (checked into git); nested ones scope to their directory
- `.claude/rules/<topic>.md` - Team-shared thematic rules; an existing rules file covering the topic wins over CLAUDE.md, and prefer a new one over growing an already-long CLAUDE.md
- Personal/local only - gitignored `CLAUDE.local.md` (loads alongside CLAUDE.md; append to it if present); for prefs shared across worktrees, a home-dir file imported via `@~/...`. Note: `@path` imports are composition, not privacy: a versioned import target is team-visible.

## Step 3: Draft Additions

**Keep it concise** - one line per concept. CLAUDE.md is part of the prompt, so brevity matters.

Format: `<command or pattern>` - `<brief description>`

Avoid:
- Verbose explanations
- Obvious information
- One-off fixes unlikely to recur

## Step 4: Show Proposed Changes

For each addition:

```
### Update: [target file]

**Why:** [one-line reason]

\`\`\`diff
+ [the addition - keep it brief]
\`\`\`
```

## Step 5: Apply with Approval

Ask if the user wants to apply the changes. Do not call Edit or Write before approval; only touch files they approve.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.