update-agents

Update AGENTS.md sections using git diff and commit history.

3|1|Updated Aug 22, 2015
One-click install
npx skills add https://github.com/iimuz/dotfiles --skill update-agents
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-agents
Source: https://github.com/iimuz/dotfiles/tree/main/.config/copilot/skills/update-agents
Command: npx skills add https://github.com/iimuz/dotfiles --skill update-agents

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps maintain AGENTS.md by summarizing recent repository changes and updating guidelines, ensuring AI agents stay aligned with the current project state.

Core Features & Use Cases

  • Detect relevant repo changes using git diff and commit history.
  • Update AGENTS.md sections for Architecture, Commands, Code Style & Conventions, and Important Notes.
  • Validate updates against actual codebase and report changes.

Quick Start

Run this skill after significant repository changes to refresh AGENTS.md with the latest state.

Frequently Asked Questions about update-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep AGENTS.md in sync with repository changes automatically?

To keep AGENTS.md in sync with repository changes, you can use an automation skill that parses git diff and commit history to detect updates, then automatically refreshes relevant documentation sections based on the latest project state.

What is the best way to update AI agent documentation after a refactoring?

Updating AI agent documentation after refactoring is best handled by parsing recent git commit history to identify structural changes, validating affected paths against the codebase, and rewriting the Architecture and Commands sections of your guidance file.

When do I need to update my AGENTS.md file for AI coding agents?

You need to update your AGENTS.md file after significant feature implementation, repository structure changes, or command modifications to ensure AI coding agents receive accurate guidance aligned with the current codebase conventions.

Can I automate AGENTS.md updates using git diff without manual editing?

Yes, you can automate AGENTS.md updates by running a skill that parses git diff output, validates the changed paths against your actual repository structure, and applies targeted updates to the Code Style and Important Notes sections without manual intervention.

Does the AGENTS.md update process validate changed paths against the actual codebase?

The AGENTS.md update process validates affected paths against the actual repository structure by analyzing git diff and commit history, ensuring that documentation updates for Architecture and Commands accurately reflect the current project state.

What sections of AGENTS.md are automatically updated when repository changes occur?

When repository changes occur, the AGENTS.md sections automatically updated include Architecture, Commands, Code Style & Conventions, and Important Notes, ensuring comprehensive alignment between AI agent guidance and the current codebase.