skill-update-memory

Solid

Auto-update .AGENTS.md files based on code changes.

AI & Automation 4 stars 0 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 80/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Update Memory Skill ## Purpose Prevent "Agent Amnesia" by keeping `.AGENTS.md` context files synchronized with code changes. ## When to Use - Before committing code (Developer). - During Code Review (Reviewer). - In `04-update-docs` workflow. ## Strategy: Automated Detection + Manual Description ### Phase 1: Detect Changes **Tool:** `scripts/suggest_updates.py` **Usage:** ```bash python3 .agent/skills/skill-update-memory/scripts/suggest_updates.py ``` **Bootstrap Migration Mode (optional):** ```bash python3 .agent/skills/skill-update-memory/scripts/suggest_updates.py --mode bootstrap --create-missing --development-root src ``` **Output:** - Identifies modified source files (ignoring build artifacts). - Groups them by the closest `.AGENTS.md` (or suggested per-directory target in source folders). - Generates a template for the update. - In bootstrap mode, can create missing `.AGENTS.md` files without overwriting existing ones. - Creation/suggestions are limited to explicit development roots (`--development-root`, default: `src`). - `/.agent/skills/*` and `/.cursor/skills/*` are always excluded from memory target creation. > [!NOTE] > `.AGENTS.md` remains optional. If it does not exist, the helper must not fail. ### Phase 2: Generate Description (`.AGENTS.md` Update) For each file listed by the script: 1. **Identify Change Type:** - New File -> Create entry. - Modified Logic -> Update description/functions. - Deleted -> Mark as `(Deleted)`. 2. **Write De...

Details

Author
MatrixFounder
Repository
MatrixFounder/Agentic-development
Created
7 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category