本文へスキップ
Skillpedia
ライティング40k · #7133

create-agentsmd

できること

このエージェントは、プロジェクト用のAGENTS.mdというファイルを作成します。このファイルは、ほかのAIエージェント向けの詳しいガイドとして機能し、プロジェクトの仕組み、セットアップ方法、テスト方法など、重要な技術情報を説明します。

使う場面

  • ✓AIエージェント向けに、プロジェクトの技術的な手順をドキュメント化する必要があるとき。
  • ✓新しいプロジェクトを始めるときに、今後のAIとの共同作業のための明確なガイドを用意したいとき。
  • ✓AIツールに特化した開発情報を整理して一元化したいとき。

スキルのリンク

https://github.com/github/awesome-copilot/blob/main/skills/create-agentsmd/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このプロジェクト用にAGENTS.mdファイルを作成してください。依存関係のインストール方法、開発サーバーの起動方法、テストの実行方法を含めてください。”

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

仕組み

プロジェクトの情報、たとえばpackage.jsonのスクリプトや使われているツールを分析し、構造化されたMarkdownファイルを生成します。このファイルには「プロジェクト概要」「セットアップコマンド」「開発ワークフロー」などのセクションが含まれます。

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

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

Create high‑quality AGENTS.md file

You are a code agent. Your task is to create a complete, accurate AGENTS.md at the root of this repository that follows the public guidance at https://agents.md/.

AGENTS.md is an open format designed to provide coding agents with the context and instructions they need to work effectively on a project.

What is AGENTS.md?

AGENTS.md is a Markdown file that serves as a "README for agents" - a dedicated, predictable place to provide context and instructions to help AI coding agents work on your project. It complements README.md by containing detailed technical context that coding agents need but might clutter a human-focused README.

Key Principles

  • Agent-focused: Contains detailed technical instructions for automated tools
  • Complements README.md: Doesn't replace human documentation but adds agent-specific context
  • Standardized location: Placed at repository root (or subproject roots for monorepos)
  • Open format: Uses standard Markdown with flexible structure
  • Ecosystem compatibility: Works across 20+ different AI coding tools and agents

File Structure and Content Guidelines

1. Required Setup

  • Create the file as AGENTS.md in the repository root
  • Use standard Markdown formatting
  • No required fields - flexible structure based on project needs

2. Essential Sections to Include

Project Overview

  • Brief description of what the project does
  • Architecture overview if complex
  • Key technologies and frameworks used

Setup Commands

  • Installation instructions
  • Environment setup steps
  • Dependency management commands
  • Database setup if applicable

Development Workflow

  • How to start development server
  • Build commands
  • Watch/hot-reload setup
  • Package manager specifics (npm, pnpm, yarn, etc.)

Testing Instructions

  • How to run tests (unit, integration, e2e)
  • Test file locations and naming conventions
  • Coverage requirements
  • Specific test patterns or frameworks used
  • How to run subset of tests or focus on specific areas

Code Style Guidelines

  • Language-specific conventions
  • Linting and formatting rules
  • File organization patterns
  • Naming conventions
  • Import/export patterns

Build and Deployment

  • Build commands and outputs
  • Environment configurations
  • Deployment steps and requirements
  • CI/CD pipeline information

3. Optional but Recommended Sections

Security Considerations

  • Security testing requirements
  • Secrets management
  • Authentication patterns
  • Permission models

Monorepo Instructions (if applicable)

  • How to work with multiple packages
  • Cross-package dependencies
  • Selective building/testing
  • Package-specific commands

Pull Request Guidelines

  • Title format requirements
  • Required checks before submission
  • Review process
  • Commit message conventions

Debugging and Troubleshooting

  • Common issues and solutions
  • Logging patterns
  • Debug configuration
  • Performance considerations

Example Template

Use this as a starting template and customize based on the specific project:

# AGENTS.md

## Project Overview

[Brief description of the project, its purpose, and key technologies]

## Setup Commands

- Install dependencies: `[package manager] install`
- Start development server: `[command]`
- Build for production: `[command]`

## Development Workflow

- [Development server startup instructions]
- [Hot reload/watch mode information]
- [Environment variable setup]

## Testing Instructions

- Run all tests: `[command]`
- Run unit tests: `[command]`
- Run integration tests: `[command]`
- Test coverage: `[command]`
- [Specific testing patterns or requirements]

## Code Style

- [Language and framework conventions]
- [Linting rules and commands]
- [Formatting requirements]
- [File organization patterns]

## Build and Deployment

- [Build process details]
- [Output directories]
- [Environment-specific builds]
- [Deployment commands]

## Pull Request Guidelines

- Title format: [component] Brief description
- Required checks: `[lint command]`, `[test command]`
- [Review requirements]

## Additional Notes

- [Any project-specific context]
- [Common gotchas or troubleshooting tips]
- [Performance considerations]

Working Example from agents.md

Here's a real example from the agents.md website:

# Sample AGENTS.md file

## Dev environment tips


…
よくある質問

AGENTS.mdファイルとは何ですか?

AIエージェントがプロジェクトで作業するための、詳細な技術指示をまとめたMarkdownのドキュメントファイルです。プログラミングを行うロボット向けの「取扱説明書」のようなものだと考えてください。

通常のREADME.mdではなく、なぜAGENTS.mdを使うのですか?

README.mdは基本的に人間向けです。AGENTS.mdは、AIエージェントがコードを理解して変更するために必要な具体的な技術情報に焦点を当てており、人向けのドキュメントを煩雑にしません。

提案されたセクションをすべて埋める必要がありますか?

いいえ。プロジェクトに合わせて内容を調整して構いません。大切なのは、AIエージェントが効果的に作業できるよう、必要な情報を含めることです。

詳細

作者による元の説明

Prompt for generating an AGENTS.md file for a repository

repo: github/awesome-copilot

人気

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

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

0

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

コメント

  • …

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

似ているスキル