init-project-rules
Installation
SKILL.md
init-project-rules
Generate AGENTS.md (team-shared agent instructions) in the project root and set up bridge files for agents that cannot natively read it.
AGENTS.md is a tool-neutral standard adopted by 60,000+ open-source projects. Write it once and 30+ agents — Cursor, GitHub Copilot, Windsurf, Codex CLI, and more — read it automatically. This skill doesn't just create a file; it solves agent ecosystem fragmentation through bridges.
Guard Rails
| # | Check | On Failure |
|---|---|---|
| 1 | CWD is a Git repository | "Please run inside a Git repository" |
| 2 | AGENTS.md already exists | "AGENTS.md already exists. Overwrite or merge?" |
On merge: Read the existing AGENTS.md and compare section by section with newly analyzed content. Add only sections that don't already exist and keep existing sections as-is. For conflicting content (e.g., different rules in the same section), ask the user which to keep.