agents-generator
하는 일
이 에이전트는 프로그래밍 프로젝트를 위한 `AGENTS.md`라는 파일과 다른 규칙 파일을 만듭니다. 프로젝트 코드를 분석해 사용하는 도구를 파악하고, 다른 AI 에이전트가 프로젝트에서 작업하는 데 도움이 되는 맞춤형 지침을 생성합니다.
사용하는 경우
- ✓AI 에이전트를 위해 프로젝트에 대한 상세한 안내서를 만들고 싶을 때.
- ✓테스트, 데이터베이스, 프레임워크 같은 기술에 대한 구체적인 규칙을 생성할 때.
- ✓도구나 구조를 바꾼 뒤 프로젝트 안내서를 업데이트하는 경우.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agents-generator/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 프로젝트를 위한 전체 `AGENTS.md`와 규칙을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
먼저 프로젝트가 사용하는 도구(예: Node.js, React 등)를 파악합니다. 그런 다음 그 정보를 바탕으로 `AGENTS.md` 파일과 `.agents/rules/` 규칙 파일을 작성합니다. 지침이 일반적이지 않고 프로젝트에 맞게 구체적이도록 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Skill: agents-generator
[!WARNING] [Authorized Use Only] This skill writes or updates
AGENTS.md,.agents/rules/, optional platform instruction files, and timestamped backups in the target project. Read the detected inputs and proposed outputs first, obtain approval before changing target files, and use it only inside the user's intended project scope.
When to Use
Use this skill when the user wants to:
- create a complete, project-specific
AGENTS.mdinstead of generic agent rules; - generate companion rules for detected frameworks, tests, databases, styling, or monorepo packages;
- create a minimal
AGENTS.md, preview changes without writing, or update existing instructions after the stack changes.
Do not use it to invent conventions without inspecting the target project, to overwrite instructions outside the user's scope, or to treat generated guidance as a substitute for human review.
Generates a tailored AGENTS.md + .agents/rules/*.md for the target project — not a template with placeholders, but a living document that matches the project's real toolchain.
What you get
From a project that uses Bun + Next.js 16 + Tailwind + Vitest + Server Actions, the skill produces:
AGENTS.md
├── Setup commands: bun install, bun dev, bun run test:run, bun doctor
├── Verification Cycle: bunx tsc --noEmit → bun run lint → bun run test:run → bun doctor
├── Conventions: "Bun always. Plain TypeScript types + guards."
└── Architecture → .agents/rules/architecture.md
.agents/rules/
├── architecture.md ← ASCII diagram with real directories, exact versions
├── frontend-patterns.md ← Component rules, state locations, trust boundaries
├── server-actions.md ← downloadVideo() flow, DownloadResult type, rate limiter
├── testing.md ← "74 tests in 5 files", vitest commands, mock patterns
├── git-workflow.md ← Conventional commits, pre-commit checks
└── sdd-workflow.md ← Preflight defaults, post-apply verification
Rules NOT generated: backend.md (no NestJS), database.md (no ORM), i18n.md (hardcoded Spanish), forms.md (manual inputs), styling.md (Tailwind in frontend rules).
Activation Contract
Generate AGENTS.md + .agents/rules/*.md for the target project. Never guess — read the project's actual files first.
Mode selection
| User says | Mode | Output |
|---|---|---|
| "simple AGENTS.md", "just the basics", "minimal" | Minimal | Single AGENTS.md (~30 lines, no rule files) |
| "full AGENTS.md", "with rules", "complete", or default | Full | AGENTS.md + .agents/rules/*.md |
| "update AGENTS.md", "refresh", "my stack changed" | Update | Diff existing, regenerate only what changed |
Dry-run mode
If the user asks to "preview", "show what would change", "dry-run": run all detection but do NOT write files. Show detection summary, files that would be created, skipped rules, and sample output.
Hard Rules
- Read before writing, but never read secrets. Read
package.json, non-secret config files, and directory structure before generating anything. Never open.env,.env.local, credential stores, or similarly secret-bearing files. Derive environment variable names only from.env.exampleplaceholders and source references such asprocess.env.NAME, without reading or reporting values. - Detect package manager FIRST. Check lockfiles:
bun.lock→bun,pnpm-lock.yaml→pnpm,package-lock.json→npm,yarn.lock→yarn. NEVER default to npm. Every command uses the detected PM. - Generate only what applies. No backend rules for frontend-only. No database rules without ORM.
- Do not execute project scripts by default. Package-manager scripts are repository-controlled shell entry points. Detect and document candidate format/lint commands, but do not run them unless the user separately requests execution after the exact script body and invoked tooling have been reviewed.
- Validate commands. Every command in output must exist as a script key in
package.json. - No placeholders. Scan output for
{{,TODO,add here,.... Reject if any remain. - Backup first. If files exist, copy to
.agents/backups/with timestamp.
Execution Steps
Common
git rev-parse --show-toplevel→ project root.- Detect package manager FIRST: check lockfiles.
bun.lock→bun,pnpm-lock.yaml→pnpm,package-lock.json→npm,yarn.lock→yarn. Never default to npm.
…
자주 묻는 질문
`AGENTS.md`란 무엇인가요?
AI 에이전트가 특정 프로젝트에서 어떻게 작업해야 하는지 알려 주는 지침 파일입니다. 어떤 도구를 쓸지, 프로젝트의 관례를 어떻게 따를지 포함합니다.
`.agents/rules/`에 있는 파일은 무엇인가요?
테스트, 프런트엔드, 백엔드, 작업 흐름 등 프로젝트의 특정 부분에 대한 세부 규칙을 담은 추가 파일입니다.
모든 기술에 대한 규칙을 만들 수 있나요?
프로젝트에서 감지된 기술에 대해서만 규칙을 만듭니다. 프로젝트에 없는 기술에 대해서는 규칙을 만들지 않습니다.
상세 정보
작성자의 원본 설명
Generate project-specific AGENTS.md and companion rules by analyzing a codebase. Supports full, minimal, update, and dry-run modes with package-manager detection, monorepos, backups, managed blocks, confidence scoring, and command validation.
인기도
- GitHub 스타
- 48k
- 순위
- #3689
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.