sunxiayi/agents-md-starter-kit/create-agentsmd

Claude Code and agent skill by sunxiayi/agents-md-starter-kit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create, revise, or audit repository AGENTS.md files using codebase evidence, verified commands, and correctly scoped monorepo instructions.

Install

npx vskill@latest install sunxiayi/agents-md-starter-kit/create-agentsmd

SKILL.md

The same SKILL.md was published earlier as sunxiayi/agents-md-starter-kit/create-agentsmd.

Create or improve AGENTS.md

Produce an AGENTS.md that helps a coding agent make correct changes without rediscovering the repository workflow. Base every repository-specific claim on files or safe checks in the current checkout.

Preserve intent

  • Treat the user's request as the editing scope. Do not add unrelated policy or

reorganize the repository.

  • Read existing AGENTS.md, CLAUDE.md, GEMINI.md,

.github/copilot-instructions.md, and relevant .github/instructions/*.instructions.md files before writing.

  • If an AGENTS.md exists, improve it in place. Preserve accurate

maintainer-authored rules and make a focused diff.

  • Do not silently resolve conflicting instructions. Preserve the

higher-priority rule or ask when repository evidence cannot establish the intended behavior.

Build an evidence map

Inspect only the files needed to establish how the repository works:

  1. Read the project overview and contribution guidance (README*,

CONTRIBUTING*, and relevant documentation).

  1. Read package and workspace manifests, lockfiles, task runners, and build

configuration to identify the supported package manager and exact commands.

  1. Read CI workflows to learn the checks maintainers require. Do not assume

every CI job is appropriate to run locally.

  1. Inspect representative source and test files for naming, layout, and testing

conventions. Avoid exhaustive scans when a few files establish the pattern.

  1. Check for generated files, migrations, vendored code, large fixtures,

secrets boundaries, and deployment-only operations that an agent should not modify or run casually.

Prefer rg and rg --files for discovery when available. Keep track of the source for each command, path, or non-obvious rule so unsupported claims do not enter the final file.

Choose the right scope

Use a root AGENTS.md for repository-wide instructions. Add or revise a nested AGENTS.md only when a subproject has materially different commands, architecture, safety boundaries, or conventions.

Keep shared rules at the root and put only differences in nested files. When multiple files apply, the nearest AGENTS.md in the directory tree takes precedence for implementations that follow the public AGENTS.md convention. Do not duplicate the complete root file in every package.

Write high-signal instructions

Use headings that fit the repository instead of forcing a fixed template. When the evidence exists, cover:

  • Repository map: the few directories and boundaries an agent must know.
  • Setup and commands: exact install, development, build, lint, type-check,

and test commands, including working directory and targeted-test forms.

  • Change rules: generated-file ownership, migrations, API or schema

contracts, dependency policy, and cross-package coordination.

  • Validation: the smallest relevant check for a focused change and broader

checks required before handoff.

  • Safety: secrets, production data, destructive commands, deployment, and

operations that require explicit authorization.

  • Contribution conventions: repository-specific naming, formatting,

pull-request, or commit rules that affect implementation or handoff.

Write direct, testable statements. Prefer:

markdown
-Run `npm test -- path/to/file.test.ts` for a focused test from the repository root.

over:

markdown
-Make sure the tests pass and follow best practices.

State where each command runs when that is not obvious. Distinguish required checks from optional or expensive checks. Link to maintained documentation instead of copying it into AGENTS.md.

Exclude low-value or unsafe content

Do not include:

  • placeholder commands, guessed paths, or claims inferred only from a tool's

popularity;

  • long project descriptions already maintained in the README;
  • style advice already enforced by a formatter or linter unless an agent needs

a non-obvious invocation or exception;

  • secrets, credentials, internal URLs, personal data, or environment values;
  • instructions to deploy, publish, delete data, rewrite history, or run other

consequential operations without the authorization they require;

  • blanket mandates such as "fix every failing test" when failures may be

pre-existing or unrelated.

Validate the result

Before finishing:

  1. Re-read every changed AGENTS.md completely and remove duplication,

contradictions, placeholders, and stale claims.

  1. Confirm every mentioned file and directory exists.
  2. Cross-check commands against manifests or CI. Run safe, proportionate checks

when useful; do not run deployments or destructive commands merely to validate documentation.

  1. If nested files were added, confirm each contains only rules needed for its

subtree and does not accidentally conflict with the root.

  1. Review the diff as a maintainer would: each added line should change an

agent's decision or prevent a realistic mistake.

Report the files changed, repository evidence used, checks performed, and any unresolved uncertainty. Never claim a command was tested when it was only read from configuration.

Optional independent check

For a browser-local second opinion, paste the finished file into the free Repo Agent Kit checker. This is optional and must not replace repository evidence or local validation.

Primary format guidance: agents.md. GitHub Copilot support and precedence details: GitHub Docs.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sunxiayi/agents-md-starter-kit/create-agentsmd/badge)](https://verified-skill.com/skills/sunxiayi/agents-md-starter-kit/create-agentsmd)

Something wrong with this skill or its page? Tell us.