d-o-hub/rust-self-learning-memory

agents-update

Update AGENTS.md and agent_docs/ following best practices. Use when modifying agent guidelines, adding new documentation, or restructuring agent instructions.

First seen Mar 27, 2026

Installation

$ npx skills add d-o-hub/rust-self-learning-memory --skill agents-update

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from d-o-hub/rust-self-learning-memory · top by installs.

npx skills add d-o-hub/rust-self-learning-memory

Browse all from d-o-hub/rust-self-learning-memory

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 12
License LICENSE
Default branch main
Open issues 3
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,457 B
  • docs SUMMARY.md 179 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 11 installs

SKILL.md

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 agentdocs/codeconventions.md
Core Invariants agentdocs/codeconventions.md
Common Pitfalls agentdocs/codeconventions.md
Tool Selection agentdocs/codeconventions.md
Atomic Change Rules agentdocs/gitworkflow.md
Required Checks agentdocs/buildingthe_project.md
Git Workflow agentdocs/gitworkflow.md
Feature Flags agentdocs/buildingthe_project.md
Security agentdocs/codeconventions.md
Environment Variables agentdocs/codeconventions.md
Performance Targets agentdocs/codeconventions.md
Disk Space agentdocs/buildingthe_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-agent skill 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/AGENTSUPDATEREFERENCE.md](references/AGENTSUPDATEREFERENCE.md) for detailed workflow.