agents-generator
Qué hace
Este agente crea un archivo llamado `AGENTS.md` y otros archivos de reglas para tu proyecto de programación. Analiza tu código para entender las herramientas que usas y genera instrucciones personalizadas que ayudan a otros agentes de IA a trabajar en tu proyecto.
Cuándo usarla
- ✓Cuando quieres crear una guía detallada para los agentes de IA sobre tu proyecto.
- ✓Para generar reglas específicas para tecnologías como pruebas, bases de datos o frameworks.
- ✓Para actualizar la guía de tu proyecto si has cambiado herramientas o estructura.
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agents-generator/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Crea un `AGENTS.md` completo y las reglas para mi proyecto.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Primero identifica las herramientas que usa tu proyecto (como Node.js, React, etc.) y después escribe un archivo `AGENTS.md` y archivos de reglas (`.agents/rules/`) basados en esa información. Se asegura de que las instrucciones sean específicas de tu proyecto y no genéricas.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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.
…
Preguntas frecuentes
¿Qué es `AGENTS.md`?
Es un archivo con instrucciones para los agentes de IA sobre cómo trabajar en tu proyecto concreto, incluyendo qué herramientas usar y cómo seguir tus convenciones.
¿Qué hay en los archivos de `.agents/rules/`?
Son archivos adicionales que detallan reglas específicas para partes del proyecto, como pruebas, frontend, backend o flujo de trabajo.
¿Puede crear reglas para cualquier tecnología?
Solo crea reglas para las tecnologías que detecta en tu proyecto. Si una tecnología no está presente, no generará una regla para ella.
Detalles
Descripción original del autor
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.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #3689
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.