본문으로 건너뛰기
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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agents-md/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 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

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬