From sentry-skills
Creates and maintains concise AGENTS.md and CLAUDE.md project instruction files for coding agents. Inspects project structure, package managers, and conventions to generate minimal actionable docs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sentry-skills:agents-mdThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Goal: concise, actionable agent instructions. Target under 60 lines; never exceed 100.
Goal: concise, actionable agent instructions. Target under 60 lines; never exceed 100.
package.json, Makefile, task runners, CI workflowsREADME.md, CONTRIBUTING.md, docs/, specs/, policies/, SECURITY.md, .github/AGENTS.md: repo-wide defaultsAGENTS.md: only when a subtree has different commands or rulesAGENTS.md at the repository root.CLAUDE.md to AGENTS.md.AGENTS.md and CLAUDE.md copies.Use only sections that add non-obvious value.
# Agent Instructions
## Package Manager
- Use **pnpm**: `pnpm install`
## Commands
| Task | Command |
|------|---------|
| Test file | `pnpm vitest run path/to/file.test.ts` |
| Lint file | `pnpm eslint path/to/file.ts` |
## External References
| Need | File |
|------|------|
| Setup | `CONTRIBUTING.md` |
| Architecture | `docs/architecture.md` |
| Security policy | `SECURITY.md` |
## Key Conventions
- Generated files: update with `pnpm generate`; do not edit by hand.
## Commit Attribution
AI commits MUST include:
```
Co-Authored-By: (the agent's name and attribution byline)
```
Good:
## External References
| Need | File |
|------|------|
| API contract | `docs/api.md` |
| Release process | `docs/releasing.md` |
README.md, CONTRIBUTING.md, or policy docsAGENTS.md files that repeat root instructionsnpx claudepluginhub getsentry/skills --plugin sentry-skillsCreates, updates, and maintains AGENTS.md/CLAUDE.md files with concise agent instructions derived from project toolchain analysis, enforcing minimal high-signal best practices.
Advises on creating, reviewing, and optimizing AI coding agent instruction files (AGENTS.md, CLAUDE.md). Includes best practices, diagnostics, and file generation.
Generates and maintains AGENTS.md files for AI agents using shell scripts that detect project structure, extract commands and CI rules, and validate content freshness.