Create, revise, or audit AGENTS.md files from repository evidence, verified commands, and correctly scoped instructions without overwriting maintainer intent.
64
77%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/agents-md/SKILL.mdCreate or improve agent instructions that help a coding agent change the repository correctly without rediscovering its workflow. Base every repository-specific command, path, and rule on evidence in the current checkout.
Prefer a focused diff over a wholesale rewrite. There is no universal line limit, required section list, symlink layout, or commit-attribution policy; follow the repository's own needs and maintainer intent.
AGENTS.md.AGENTS.md with CLAUDE.md,
.github/copilot-instructions.md, or other repository instruction files.Use @agents-generator instead when the task specifically calls for its
packaged generation modes, assets, or backup workflow. Use this skill when a
maintainer-readable, evidence-first edit is the primary goal.
Before writing, read every instruction file that applies to the target path,
including existing AGENTS.md files and relevant tool-specific files such as
CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, and
.github/instructions/*.instructions.md.
AGENTS.md in place when possible.Inspect only enough of the repository to establish how work is actually done:
README*,
CONTRIBUTING*, and relevant docs.Prefer rg --files and rg for discovery when available. Track the source of
each non-obvious command or rule so unsupported claims do not enter the final
file.
Use the root AGENTS.md for repository-wide guidance. Add or revise a nested
AGENTS.md only when a subtree has materially different commands,
architecture, conventions, or safety boundaries.
Keep shared rules at the root and only differences in nested files. For tools that implement the public AGENTS.md convention, the nearest file in the directory tree controls the working subtree. Do not copy the full root file into every package.
Choose headings that fit the repository instead of forcing a fixed template. Include the following only when supported by evidence:
Write direct, testable statements. Prefer:
- From the repository root, run `npm test -- path/to/file.test.ts` for a focused test.over:
- Make sure tests pass and follow best practices.Link to maintained documentation instead of copying it. Distinguish required checks from optional, slow, privileged, or deployment-only checks.
AGENTS.md completely.Report the files changed, evidence used, checks actually run, and unresolved uncertainty. Never say a command was tested when it was only read from config.
Evidence found:
package-lock.json selects npm.package.json defines lint, typecheck, and test scripts.src/generated/ is produced by npm run generate.A useful result might include:
# Agent instructions
## Commands
- Run commands from the repository root.
- Install with `npm ci`.
- For handoff, run `npm run lint`, `npm run typecheck`, and `npm test`.
## Generated code
- Do not edit `src/generated/` directly; update its source and run `npm run generate`.Do not add a package manager, command, or generated-file rule that the evidence did not establish.
If an existing file has accurate release restrictions but a stale test command, change only the stale command and any directly affected explanation. Preserve the release restrictions, even when a shorter replacement would look cleaner.
@agents-generator - packaged generation, dry-run, update, and backup modes.@folder-specific-claude-and-agents-md - deeper guidance for scoped
Claude/AGENTS instruction layouts.7b534bc
Also appears in
last in sync Apr 14, 2026
last in sync Apr 14, 2026
last in sync Apr 14, 2026
last in sync Mar 11, 2026
last in sync Mar 11, 2026
last in sync Mar 11, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.