Agent skill
create-agents-md
Create AGENTS.md files for project-specific inline rules. Use when adding small, project-specific instructions that should be committed in repos.
Install this agent skill to your Project
npx add-skill https://github.com/siviter-xyz/dot-agent/tree/main/skills/create-agents-md
SKILL.md
Create AGENTS.md
Guide for creating AGENTS.md files for project-specific inline rules.
When to Use AGENTS.md
- Small, project-specific instructions that should be committed in the repo
- Folder-scoped rules for specific directories
- Package-specific instructions in monorepos
- Test-specific guidance in test directories
When NOT to Use AGENTS.md
- Reusable knowledge across projects → Use skills
- Large documentation → Use skills with references
- Complex workflows → Use skills with scripts
AGENTS.md Structure
AGENTS.md is a simple markdown file without metadata:
# Project Instructions
## Code Style
- Use TypeScript for all new files
- Prefer functional components in React
- Use snake_case for database columns
## Architecture
- Follow the repository pattern
- Keep business logic in service layers
Location
- Project root:
AGENTS.md– Primary, inline instructions and references for the whole project (commands, tech stack, testing, code style, architecture, safety boundaries). - Subdirectories:
subdirectory/AGENTS.md– Folder- or package-scoped instructions when local behavior meaningfully diverges from the root (e.g., a specific package, service, or test tree). - Nested support: Agents typically combine instructions from the closest
AGENTS.mdwith parent ones; keep root general and use nestedAGENTS.mdonly where you truly need more specific rules.
Best Practices
- Keep AGENTS.md files small and focused
- Use for project-specific conventions
- Prefer short, concrete references over long prose:
- Link to project docs, specs, and runbooks
- Point to example files or directories (e.g.,
see src/api/users.ts for canonical pattern) - Include the most important commands with exact CLI invocations
- Reference existing code examples when possible
- Update as project evolves
References
For detailed best practices, see references/best-practices.md.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
frontend-engineer
Frontend development guidelines for React/TypeScript applications. Modern patterns including Suspense, lazy loading, useSuspenseQuery, file organization with features directory, MUI v7 styling, TanStack Router, performance optimization, and TypeScript best practices. Use when creating components, pages, features, fetching data, styling, routing, or working with frontend code.
debugging
Root cause analysis and debugging protocols. Use when encountering errors, test failures, unexpected behavior, stack traces, or when code behaves differently than expected.
code-review
Code review practices emphasizing technical rigor, evidence-based claims, and verification. Use when receiving code review feedback, completing tasks requiring review, or before making completion claims.
cursor-best-practices
Best practices for working with Cursor. Use when learning how to effectively use Cursor features or optimizing your workflow.
create-skill
Guide for creating effective skills following best practices. Use when creating or updating skills that extend agent capabilities.
semantic-git
Manage Git commits using conventional commit format with atomic staging. Always generate plain git commands before running them and offer to let the user run them manually.
Didn't find tool you were looking for?