agents-update
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
- Read AGENTS.md and relevant agent_docs/ files
- Check Section Mapping table
- For complex changes, use
goap-agentskill to decompose
2. Move Content (Not Delete!)
- Find target location from mapping
- Add full content with examples
- Ensure standalone usability
3. Update AGENTS.md
- Replace with brief summary + reference link
- Keep under 140 LOC
4. Validate
wc -l AGENTS.md # Must be ≤140
ls agent_docs/ # Verify all files exist
Quality Checks
-
wc -l AGENTS.md≤ 140 - All sections mapped to agent_docs/
- agent_docs/ files have code examples
- Can follow agent_docs/ instructions independently
- Cross-References table lists all agent_docs/
Best Practices
- Follow agentskills.io spec
- Keep SKILL.md under 250 LOC
- agent_docs/ files must be usable as standalone instructions
See references/AGENTS_UPDATE_REFERENCE.md for detailed workflow.
More from d-o-hub/rust-self-learning-memory
loop-agent
Execute workflow agents iteratively for refinement and progressive improvement until quality criteria are met. Use when tasks require repetitive refinement, multi-iteration improvements, progressive optimization, or feedback loops until convergence.
51web-search-researcher
Research topics using web search and content fetching to find accurate, current information. Use when you need modern information, official documentation, best practices, technical solutions, or comparisons beyond your training data.
46perplexity-researcher-reasoning-pro
Highest level of research and reasoning capabilities for complex decision-making with significant consequences, strategic planning, technical architecture decisions, multi-stakeholder problems, or high-complexity troubleshooting requiring expert-level judgment and sophisticated reasoning chains. Prioritizes actively maintained repositories and validates website sources for 2025 relevance.
44context-retrieval
Retrieve relevant episodic context from memory for informed decision-making. Use when you need past episodes, patterns, or solutions to similar tasks.
44rust-code-quality
Perform comprehensive Rust code quality reviews against best practices for async Rust, error handling, testing, and project structure
43codebase-analyzer
Analyze implementation details, trace data flow, explain technical workings, locate files, and consolidate codebases. Use when you need to understand HOW code works, find file locations, or assess technical debt.
40