Agents update

From d-o-hub/rust-self-learning-memory · View interactive version

Agents update is an AI agent skill from the GitHub repository d-o-hub/rust-self-learning-memory. Update AGENTS.md and agent_docs/ following best practices. Use when modifying agent guidelines, adding new documentation, or restructuring agent instructions.

How to use this skill

Skill file

AGENTS.md Update

Keep AGENTS.md under 140 LOC. Move detailed content to agent_docs/, don't just delete.

Core Rule

AGENTS.md ≤ 140 LOC: Quick reference + links only

agent_docs/: Complete instructions with examples

Section Mapping

| AGENTS.md Section | Target agent_docs/ File | Status |

|-------------------|------------------------|--------|

| Quick Reference | scripts/ | ✓ commands |

| Change Workflow | agent_docs/code_conventions.md | ✓ |

| Core Invariants | agent_docs/code_conventions.md | ✓ |

| Common Pitfalls | agent_docs/code_conventions.md | ✓ |

| Tool Selection | agent_docs/code_conventions.md | ✓ |

| Atomic Change Rules | agent_docs/git_workflow.md | ✓ |

| Required Checks | agent_docs/building_the_project.md | ✓ |

| Git Workflow | agent_docs/git_workflow.md | ✓ |

| Feature Flags | agent_docs/building_the_project.md | ✓ |

| Security | agent_docs/code_conventions.md | ✓ |

| Environment Variables | agent_docs/code_conventions.md | ✓ |

| Performance Targets | agent_docs/code_conventions.md | ✓ |

| Disk Space | agent_docs/building_the_project.md | ✓ |

| Planning & Decisions | plans/ROADMAPS/ROADMAP_ACTIVE.md | ✓ |

Workflow

1. Read Current State

2. Move Content (Not Delete!)

3. Update AGENTS.md

4. Validate

wc -l AGENTS.md  # Must be ≤140
ls agent_docs/   # Verify all files exist

Quality Checks

Best Practices

See references/AGENTS_UPDATE_REFERENCE.md for detailed workflow.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.