本文へスキップ
Skillpedia
エージェント48k · #3690

agents-md

できること

このツールは、AGENTS.md というファイルの作成や改善を支援します。このファイルには、プログラミングプロジェクトに対してAIエージェントが正しく変更を加えるための指示が書かれています。内容はプロジェクト自体の情報をもとに作られます。

使う場面

  • ✓新しい AGENTS.md ファイルを作成したいとき。
  • ✓AGENTS.md の既存の指示が古くなっているとき。
  • ✓エージェントへの指示がプロジェクトのルールに沿っているか確認したいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agents-md/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agents-md/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このプロジェクト用に AGENTS.md を作成してください。ビルドとテストの手順を中心にしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールはプロジェクトのファイルを読み取り、仕組みを把握します。その情報をもとに AGENTS.md を新しく書いたり修正したりします。指示が正確で、AIエージェントにとって役立つ内容になるように作成します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Maintain AGENTS.md from repository evidence

Overview

Create 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.

When to Use

  • The user asks to create, update, shorten, or audit AGENTS.md.
  • A monorepo needs root instructions plus narrower package-level overrides.
  • Existing agent instructions contain stale commands, duplicated policy, or unsupported claims.
  • The user wants to reconcile 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.

How It Works

1. Preserve existing intent

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.

  • Improve an existing AGENTS.md in place when possible.
  • Preserve accurate maintainer-authored rules and repository-specific policy.
  • Do not replace another tool's instruction file with a symlink unless the user requests it and repository evidence shows identical content is desired.
  • Do not silently choose between conflicting instructions. Follow the higher-priority applicable rule, or ask when the intended policy cannot be established from the repository.

2. Build a bounded evidence map

Inspect only enough of the repository to establish how work is actually done:

  1. Read the project overview and contribution guidance, such as README*, CONTRIBUTING*, and relevant docs.
  2. Read manifests, lockfiles, workspace files, task runners, and build config to identify supported tools and exact commands.
  3. Read CI workflows to learn required checks. Do not assume every CI or deployment job is safe or appropriate to run locally.
  4. Inspect representative source and test files for naming, layout, and test conventions.
  5. Identify generated files, migrations, vendored code, large fixtures, secrets boundaries, and production-only operations.

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.

3. Choose the instruction scope

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, apply root/ancestor guidance and narrower subtree instructions according to the target host's precedence. The nearest file does not silently erase unrelated ancestor rules. Do not copy the full root file into every package.

4. Write high-signal guidance

Choose headings that fit the repository instead of forcing a fixed template. Include the following only when supported by evidence:

  • Repository map: the few directories and boundaries an agent must know.
  • Setup and commands: exact install, development, build, lint, type-check, and test commands, with the working directory when it is not obvious.
  • Focused validation: targeted checks for a small change and broader checks required before handoff.
  • Change rules: generated-file ownership, migrations, schemas, APIs, dependencies, and cross-package coordination.
  • Safety boundaries: secrets, production data, destructive commands, deployments, and operations that require explicit authorization.
  • Contribution rules: repository-specific naming, formatting, commit, or pull-request requirements that affect implementation or handoff.

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.

…

よくある質問

AGENTS.md とは何ですか?

AIエージェントに対して、プログラミングプロジェクトとどのようにやり取りし、どのように変更を加えるかを伝える、具体的な指示を書いたファイルです。

AGENTS.md を最新の状態に保つことが重要なのはなぜですか?

最新の AGENTS.md があれば、AIエージェントがプロジェクトの正しいルールやコマンドに従うため、ミスややり直しを防げます。

このツールはプログラマーの仕事を置き換えますか?

いいえ。プロジェクトのガイドラインに沿った明確な指示を作ることで、AIエージェントがプログラマーの作業を手伝えるようにするツールです。

詳細

作者による元の説明

Create, revise, or audit AGENTS.md files from repository evidence, verified commands, and correctly scoped instructions without overwriting maintainer intent.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#3690
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル