Agent skill
create-agents-md
Create concise, repository-specific AGENTS.md files with operational contract, precedence rules, and drift-control guidance.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/create-agents-md
Metadata
Additional technical details for this skill
- source prompt
- prompts/create-agents-md.prompt.md
- workflow type
- generation
SKILL.md
Create AGENTS.md
Purpose
Generate a complete root AGENTS.md file that acts as an operational entrypoint while preserving source-of-truth and repository governance rules.
When To Use
- Use this skill when adding or refreshing repository
AGENTS.md. - Use this skill when repository map, precedence, and session controls must be documented concisely.
- Do not use this skill for project/user instruction file generation.
Required Inputs
- Repository purpose and canonical paths.
- Source precedence and key references.
- Session-state defaults and command namespace rules.
- Drift-control requirements.
Workflow
- Run seven-phase discovery using
references/discovery-phases.md. - Apply required element contract from
references/required-elements.md. - Generate artifact using
references/output-format.md. - Validate result against
references/quality-checklist.md. - Ensure links/paths remain relative and repository-accurate.
Output Expectations
- One complete root
AGENTS.mdfile. - Includes purpose, precedence, repo map, command policy, and drift-control.
- Uses provider-neutral wording and valid relative links.
- Remains scannable and operationally actionable.
- Output contract and summary format follow
references/output-format.md.
Resources
- Discovery workflow:
references/discovery-phases.md - Required element contract:
references/required-elements.md - Output contract:
references/output-format.md - Quality checklist:
references/quality-checklist.md - Canonical template:
../../templates/AGENTS_template.md - Repository example:
../../AGENTS.md
Constraints And Safety
- Do not duplicate full normative specs in AGENTS.
- Preserve canonical path stability.
- Keep guidance deterministic and testable.
- Use relative path references only.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?