Langsung ke konten
Skillpedia
Agen48k Β· #3689

agents-generator

Fungsinya

Agent ini membuat file bernama `AGENTS.md` dan file aturan lainnya untuk proyek pemrograman Anda. Agent ini menganalisis kode Anda untuk memahami alat yang Anda gunakan, lalu membuat instruksi khusus agar AI agent lain bisa bekerja di proyek Anda.

Kapan dipakai

  • βœ“Saat Anda ingin membuat panduan rinci untuk AI agent tentang proyek Anda.
  • βœ“Untuk membuat aturan khusus untuk teknologi seperti testing, database, atau framework.
  • βœ“Untuk memperbarui panduan proyek Anda jika Anda sudah mengubah alat atau strukturnya.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agents-generator/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBuatkan `AGENTS.md` lengkap dan aturan untuk proyek saya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent ini pertama-tama mengidentifikasi alat yang digunakan proyek Anda (seperti Node.js, React, dll.), lalu menulis file `AGENTS.md` dan file aturan (`.agents/rules/`) berdasarkan informasi tersebut. Agent ini memastikan instruksinya spesifik untuk proyek Anda, bukan generik.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.md instead 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.example placeholders and source references such as process.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

  1. git rev-parse --show-toplevel β†’ project root.
  2. Detect package manager FIRST: check lockfiles. bun.lock→bun, pnpm-lock.yaml→pnpm, package-lock.json→npm, yarn.lock→yarn. Never default to npm.

…

Pertanyaan umum

Apa itu `AGENTS.md`?

Itu adalah file berisi instruksi bagi AI agent tentang cara bekerja di proyek spesifik Anda, termasuk alat yang harus digunakan dan cara mengikuti konvensi Anda.

Apa saja file di dalam `.agents/rules/`?

Itu adalah file tambahan yang merinci aturan khusus untuk bagian tertentu dari proyek, seperti testing, frontend, backend, atau alur kerja.

Apakah agent ini bisa membuat aturan untuk teknologi apa pun?

Agent ini hanya membuat aturan untuk teknologi yang terdeteksi di proyek Anda. Jika suatu teknologi tidak ada, aturan untuknya tidak akan dibuat.

Detail

Deskripsi asli dari pembuat

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.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#3689
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa