Skip to content
Agent Orchestration
Command

/revise-claude-md

Update CLAUDE.md with learnings from this session

From plugin
aigc
20019 skills15 agents19 commands10 MCP
$ npx -y skills add xiaoyuge886/aigc --agent claude-code

Command definition

revise-claude-md.md
description: Update CLAUDE.md with learnings from this session
allowed-tools: Read, Edit, Glob

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

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 CLAUDE.md Files

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

Decide where each addition belongs:

  • `CLAUDE.md` - Team-shared (checked into git)
  • `.claude.local.md` - Personal/local only (gitignored)

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: ./CLAUDE.md

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

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

Step 5: Apply with Approval

Ask if the user wants to apply the changes. Only edit files they approve.

@xiaoyuge886
Ships withaigc

基于 Claude AI 的智能对话与任务执行平台,支持自定义技能生态和场景化 AI 解决方案

20029 skills15 agents10 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
200
Star history of xiaoyuge886/aigc on GitHub, a chart by star-history.com

Other commands on aigc.

start

start

Command

Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when…

@xiaoyuge886@xiaoyuge886Install Command
clean_gone

clean_gone

Command

Cleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including…

@xiaoyuge886@xiaoyuge886Install Command

More commands from other plugins.

COMMAND_COMPLIANCE_REPORT

COMMAND_COMPLIANCE_REP…

Command

Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…

@ruvnet@ruvnetInstall Command
ask

ask

Command

This compatibility command keeps `/oh-my-claudecode:ask` available without loading the full `ask` skill description in every…

@yeachan-heo@yeachan-heoInstall Command