agents-md

Create and update AGENTS.md files documenting repository guidance for LLM agents.

9|Updated Aug 15, 2025
One-click install
npx skills add https://github.com/wpfleger96/ai-rules --skill agents-md-wpfleger96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agents-md
Source: https://github.com/wpfleger96/ai-rules/tree/main/src/ai_rules/config/skills/agents-md
Command: npx skills add https://github.com/wpfleger96/ai-rules --skill agents-md-wpfleger96

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AGENTS.md provides repository-specific guidance for LLM agents, focusing on exact commands, patterns, and conventions to document workflows and gotchas.

Core Features & Use Cases

  • Creates or updates AGENTS.md to capture exact commands, task-to-file mappings, and workflow notes for developers, reviewers, and LLM agents.
  • Encourages consistent documentation of patterns, conventions, and potential gotchas to improve automation reliability and knowledge transfer.
  • Enables a compact, human-readable reference at repository root that can be updated incrementally while preserving user customizations.

Quick Start

Generate or update AGENTS.md at the repository root using the workflow described in this skill.

Frequently Asked Questions about agents-md

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

FAQPage Schema
How do I create an AGENTS.md file to provide LLM agents with repository-specific coding guidelines?

To create an AGENTS.md file for LLM agents, you need to document exact commands, project structure, tech stack, key patterns, testing, gotchas, and task-to-file mappings in a concise format under 100 lines at the repository root.

What should I include in AGENTS.md to document workflow conventions and gotchas for AI coding assistants?

Documenting workflow conventions and gotchas in AGENTS.md requires including Quick Commands, Project Structure, Tech Stack, Key Patterns, Testing, and Gotchas sections, plus a mapping of tasks to files to improve automation reliability and knowledge transfer.

Can I update an existing AGENTS.md file without losing my custom workflow notes?

You can update an existing AGENTS.md file without losing custom workflow notes because the update process preserves user customizations while applying new task-to-file mappings, coding guidelines, and repository-specific guidance incrementally.

What is the best way to structure repository documentation for LLM agents to ensure reliable task execution?

The best way to structure repository documentation for LLM agents is maintaining a compact, human-readable AGENTS.md reference at the repository root that captures exact commands, conventions, and task-to-file mappings.

Does AGENTS.md work for any code repository size or are there line limits?

AGENTS.md is designed for code repositories of any size but enforces a strict constraint of staying under 100 lines to ensure the repository-specific guidance, exact commands, and workflow notes remain a compact, human-readable reference.

When do I need to generate an AGENTS.md file for my project?

You need to generate an AGENTS.md file when your team adds documentation for new workflows or patterns and requires explicit commands, task-to-file mappings, and conventions to guide LLM agents and reviewers in a repository.