agents-authoring

Automate AGENTS.md guideline creation and governance across repositories.

1|Updated Jun 1, 2025
One-click install
npx skills add https://github.com/rcdailey/dotfiles --skill agents-authoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agents-authoring
Source: https://github.com/rcdailey/dotfiles/tree/main/home/dot_config/opencode/exact_skills/agents-authoring
Command: npx skills add https://github.com/rcdailey/dotfiles --skill agents-authoring

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AGENTS.md authoring is streamlined and standardized across repos, ensuring consistent context for AI agents.

Core Features & Use Cases

  • Establishes conventions for AGENTS.md content, including essential sections and constraints.
  • Enables predictable agent behavior with routing rules, permissions, and structure hints.
  • Supports nested AGENTS.md guidelines for monorepos and package-specific rules.

Quick Start

Update AGENTS.md to reflect the standard guidelines described here.

Frequently Asked Questions about agents-authoring

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

FAQPage Schema
How do I create and enforce consistent AGENTS.md guidelines across multiple repositories?

You can standardize AGENTS.md authoring by applying frontmatter-based structures, routing rules, and constraints to your repositories. This ensures consistent context and predictable behavior for AI agents across your codebase.

What is the standard structure for an AGENTS.md file in a monorepo?

AGENTS.md files in a monorepo support nested guidelines for package-specific rules. You establish conventions for essential sections, permissions, and routing rules to provide hierarchical context for AI agents.

Can I add a routing rule to AGENTS.md without affecting my agent definitions or slash commands?

Yes, you can add rules to AGENTS.md safely. The governance process enforces constraints ensuring AGENTS.md guidelines are never applied to SKILL.md, agent definitions, or slash commands.

How do I set up global directives for AI agents without duplicating rules in every package?

You establish global directives in a root AGENTS.md file while using nested AGENTS.md files for package-specific rules. This structure applies shared permissions and routing rules across the entire repository.

Does AGENTS.md authoring work with frontmatter to manage routing and constraints?

Yes, AGENTS.md authoring enforces a frontmatter-based structure to manage constraints and routing rules. This approach ensures predictable agent behavior and maintains consistent guideline formatting.