Loading...
Loading...
Sets up or repairs the AGENTS.md source-of-truth pattern for any project. Creates a well-structured AGENTS.md with real stack info auto-detected from the project, then wires all AI config satellites (.claude/CLAUDE.md, .github/copilot-instructions.md, .agents/rules/, MEMORY.md) to point to it. Eliminates duplication. Always runs in plan mode — asks before acting. Use this skill whenever the user mentions AGENTS.md, agent config, source of truth for AI rules, setting up Claude/Copilot/Cursor for a project, fixing duplicate AI instructions, or wants to consolidate AI configuration files. Trigger even if the user just says "set up agents" or "fix my AI config".
npx skill4agent add patricioosorio/skills-lab agents-setup"Modo plan: Preguntame todo lo que necesites para realizar correctamente esta tarea."
workspacespackage.jsonpyproject.tomlrequirements.txtgo.modCargo.tomlpom.xmlbuild.gradleGemfilecomposer.jsonAGENTS.md.claude/CLAUDE.md.github/copilot-instructions.md.cursorrules.windsurfrules.agents/rules/*.mdMEMORY.md# AGENTS.md — Project Rules
## Stack
[Fill from auto-detection. Be specific: versions, framework names, key libraries.]
[For monorepos: list each package and its role.]
## Commands
[Extract real commands from package.json scripts or equivalent.]
[Group by: dev, build, test, lint/format, any project-specific workflows.]
## Project Structure
[List top-level dirs with one-line purpose each.]
[For monorepos: list packages + roles.]
## Communication Style
Default mode for all AI assistants in this project: **caveman** (full intensity).
Rules:
- Load `/caveman` skill (level: full) before any response
- Apply to: chat replies, planning steps, tool preambles, progress updates, summaries
- Disable only on explicit: `stop caveman` or `normal mode`
- Fallback if skill unavailable: emulate caveman style directly
- Safety override: use clear wording for destructive/irreversible ops, then resume caveman
## Plan Before Act
Always present plan and wait for explicit approval before implementing any non-trivial change.
Non-trivial = anything beyond single-line fix. Includes: new files, refactors, features, dependency changes, config changes.
Format:
1. State what you found
2. List proposed changes (files + what changes)
3. Flag risks or unknowns
4. Wait for "go" / "yes" / "proceed"
Do NOT write code until approved.
## PR Policy
[Fill from project conventions or use sensible defaults:]
- One concern per PR
- Run lint + format before committing
- Tests required for new logic
- No TODO left in merged codebun run devnpm run devStrictly follow the rules in ./AGENTS.mdStrictly follow the rules in ./AGENTS.mdStrictly follow the rules in ./AGENTS.mdStrictly follow the rules in ./AGENTS.md# MEMORY.md — Agent Lessons
Human-reviewed lessons from past sessions. Agent writes candidates; human approves before merging.
---
<!-- Add lessons below. Format: date | lesson | why it matters -->Done. Changes:
- AGENTS.md: [created/updated]
- .claude/CLAUDE.md: [created/updated] → pointer
- .github/copilot-instructions.md: [created/updated] → pointer
- .agents/rules/: [N files deleted, M rules ported to AGENTS.md]
- MEMORY.md: [created/already existed]
- [any other files touched]
Single source of truth: AGENTS.md