coding-tools/copilot/skills/create-agents-md/SKILL.md
Create or update AGENTS.md files for projects. Audits a monorepo or codebase, identifies cross-project conventions, and produces a structured AGENTS.md that guides AI agent behavior. Use when the user wants to create AGENTS.md, set up agent rules, bootstrap a new project's AI context, or improve existing agent instructions.
npx skillsauth add mia-cx/rule-composer create-agents-mdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Build an AGENTS.md file that gives AI coding agents the context they need to work correctly in a project.
Before writing anything, gather evidence:
package.json, tsconfig.json, config files, directory layout. Understand what tools are in play.For each potential rule, ask: "Would the agent likely get this wrong without it?"
workspace:* in pnpm monorepos), things enforced by tooling (prettier/eslint), and conventions that don't exist yet (don't invent rules the user hasn't established).Use this structure, dropping sections that don't apply:
## Approach
<!-- How to interact: plan-first vs dive-in, mode preferences -->
## Problem-Solving Protocol
### Before Writing Code
### When Debugging
### When Building Features
### Testing & Verification
<!-- Optional: Dependabot / Security Branches if relevant -->
## Workspace Conventions
### Standard Project Shape
### New Project Setup
### Adding an App
### Rules and Skills
## Technology Preferences
### Frontend
### Backend & Data
### Tooling
## Coding Conventions
### UI Library Conventions (if applicable)
## Communication
## Long Conversations
## Reference Links
<!-- Direct doc URLs the agent should fetch instead of web searching -->
oklch(0.141 0.005 285.823) beats "use OKLCH format." [data-theme='dark'] beats "use data attributes for theming."tools
Splits uncommitted changes into a small set of logical, single-concern git commits. Use when the user wants to organize changes into logical commits, split a large change into multiple commits, or create a series of conventional commits from the current working tree.
data-ai
Optimizes agent rule files (AGENTS.md, AGENTS.global.md, .cursor/agents/*.md) to follow prompt engineering best practices. Use when creating, editing, or reviewing agent rules, or when the user asks to optimize prompts for AI agents.
development
Create or update AGENTS.md files for projects. Audits a monorepo or codebase, identifies cross-project conventions, and produces a structured AGENTS.md that guides AI agent behavior. Use when the user wants to create AGENTS.md, set up agent rules, bootstrap a new project's AI context, or improve existing agent instructions.
tools
Splits uncommitted changes into a small set of logical, single-concern git commits. Use when the user wants to organize changes into logical commits, split a large change into multiple commits, or create a series of conventional commits from the current working tree.