skills/generic/create-agents-files/SKILL.md
Create and maintain hierarchical AGENTS.md documentation from real package structure, dependencies, and call-site evidence. Use for any request to create or update an agents file, AGENTS.md, agents.md, or AGENTS hierarchy.
npx skillsauth add rapid-recovery-agency-inc/agents-skills create-agents-filesInstall 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.
For AGENTS.md specification guidance, read references/agents-spec.md first.
If additional AGENTS specification details are needed, review the official documentation at https://agents.md/.
agents and file/doc creation, this skill MUST be selected before generic file creation flows.Treat these as direct activation cues:
need an agents filecreate agents filemake agents.mdadd AGENTS.mdcreate agentsset up AGENTS hierarchywe need AGENTS docsAlso activate for close variants including punctuation/plurals (for example agents doc, agents docs, agents guidance file).
AGENTS.md file, use this skill.agents file or agents.md (case-insensitive), use this skill.Where should I create or update AGENTS.md? (project root, specific module path, or only missing files)If path/scope is missing, do not write files yet. Ask:
Where should I create or update AGENTS.md? (project root, specific module path, or only missing files)If user answers with a directory, treat it as scoped mode.
If user answers project, treat it as full-tree mode.
Create AGENTS.md hierarchy for nested packages in a project while preserving parent-child authority semantics and evidence-first content quality.
Accepted scope values:
project for whole repositoryIf scope is missing, ask for scope before creation.
When asking for missing scope, ask for target location in concrete terms (path/module/root) and do not start file edits until scope is confirmed.
Before writing any AGENTS.md, collect evidence for each target package:
tree or equivalent repository map).For detailed investigation strategies when evidence gathering is complex, see references/module-research.md.
If evidence is insufficient, stop and request clarification.
After collecting evidence, run a synthesis pass before writing:
sequential-thinking is available, use it to structure this reasoning.sequential-thinking is unavailable, use an equivalent agent thinking mode.Each non-root AGENTS.md includes:
Inherits: <relative parent AGENTS.md>Overrides: (optional)Additions: (optional)Each parent AGENTS.md includes:
Lower levels may narrow scope and must not weaken parent constraints.
Do not duplicate parent policy unless narrowing or overriding.
Preferred pattern:
# <package_path>: <primary runtime role>
AGENTS.md files follow patterns, not templates. Use the reference documents to guide creation based on file type and module characteristics.
Root files onboard contributors to the entire project with narrative, domain-rich content.
See: references/root-agents-patterns.md for:
Characteristics: 400-600+ lines, narrative flow, project-wide domain context, onboarding-focused.
Non-root files document individual modules with scoped domain understanding and technical depth appropriate to complexity.
See: references/non-root-agents-patterns.md for:
Characteristics: 50-400 lines based on complexity, module-scoped domain, balanced reference + context, task-focused with Inherits/Overrides.
Required sections for non-root files: Scope and Authority & Precedence MUST appear before operational sections (see references/technical-writing.md Section 3).
Critical: Patterns are guidelines, not requirements. Let evidence guide what to include.
tests/ directories: Test-specific details belong in the parent package's AGENTS.md. Only create a separate tests AGENTS.md if the test conventions are substantially different from the project baseline.Purpose practical, concrete, and evidence-backed.Root AGENTS.md files serve a different purpose than child files - they onboard AI agents and human contributors to the entire project. Consider these patterns when creating root files:
Root files benefit from narrative structure:
Help readers learn in stages:
Root files can go deeper on "why":
If the project works with AI agents, consider:
Patterns that improve scannability:
______________________________________________________________________)### and #### for depth`path/to/file.py::function_name()`Remember: These are patterns, not requirements. Adapt based on project needs and evidence. See references/root-agents-patterns.md for annotated examples.
After initial creation, revise each AGENTS.md with technical depth:
Run these checks after creation:
references/agents-spec.md and references/technical-writing.mdmdformat, markdownlint, or project hooks when availableIf lint tooling is unavailable, continue without failing creation.
development
How to use the @rapid-recovery-agency-inc/sloth-ui-mobile design system library in a React Native app. Covers theming, styling, components, responsive design, and conventions. Activate for any request involving UI components, styling, theming, text, buttons, modals, cards, or visual presentation when this library is in use.
tools
Create, set up, bootstrap, or scaffold modern Python projects with best-in-class tooling. Use when users want to initialize Python projects, create FastAPI apps, build CLI tools, or set up project tooling (poetry, uv, ruff, mypy, pytest, pre-commit).
testing
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
development
This skill provides instructions on how to add new environment variables and ensures robust, testable, and maintainable environment variable usage across both TypeScript and Python projects.