From auto-memory
Processes file changes to update CLAUDE.md or AGENTS.md memory sections after edits. Analyzes dirty files, AUTO-MANAGED areas, verifies removals via grep, detects stale commands.
npx claudepluginhub severity1/severity1-marketplace --plugin auto-memoryThis skill uses the workspace's default tool permissions.
Process changed files and update relevant memory file sections (CLAUDE.md or AGENTS.md, whichever is the active file per project config) following official guidelines.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
Process changed files and update relevant memory file sections (CLAUDE.md or AGENTS.md, whichever is the active file per project config) following official guidelines.
MANDATORY: All rules below must be followed exactly. Violations produce incorrect CLAUDE.md content.
@../shared/references/guidelines.md
Parse context: Read context provided by memory-updater agent:
Categorize changes: Map files to CLAUDE.md sections using the tables in "Section Names" below. Match changed files to their update triggers.
Analyze impact: Determine what needs updating:
Verify and update content: Before modifying documented content, verify accuracy:
Key distinction - conventions vs patterns:
conventions: Explicit rules humans decided (naming, imports, formatting)patterns: Implicit patterns AI detected from recurring code structuresRemoval verification:
Stale command detection:
python pytest | Actually worked: python -m pytest → Updatenpm test | Actually worked: npm run test → Updatepytest tests/ | Actually worked: uv run pytest → UpdateExamples:
@decorator removed → search grep -r "@decorator" src/async/await style removed → search for async function or awaitutils/ directory deleted → verify no utils/ references remainnpm run dev removed from package.json → verify script is goneUpdate memory file: Modify relevant sections in the active memory file:
Validate: Ensure updates follow guidelines:
CLAUDE.md uses HTML comment markers for selective updates:
<!-- AUTO-MANAGED: section-name -->
Content that will be automatically updated
<!-- END AUTO-MANAGED -->
<!-- MANUAL -->
Content that will never be touched
<!-- END MANUAL -->
| Section | Purpose | Update Triggers |
|---|---|---|
project-description | Project overview | README changes, major refactors |
build-commands | Build, test, lint commands | package.json, Makefile, pyproject.toml |
architecture | Directory structure, components | New dirs, renamed files, structural changes |
conventions | Naming, imports, code standards | Pattern changes in source files |
patterns | AI-detected coding patterns | Repeated patterns across files |
git-insights | Decisions from git history | Significant commits |
best-practices | From official Claude Code docs | Manual updates only |
| Section | Purpose | Update Triggers |
|---|---|---|
module-description | Module purpose | Module README, major changes |
architecture | Module structure | File changes within module |
conventions | Module-specific conventions | Pattern changes in module |
dependencies | Key module dependencies | Import changes, package updates |
@path/to/file) for detailed specsReturn a brief summary: