agents-md
Was er macht
Dieses Tool hilft dir, eine Datei namens AGENTS.md zu erstellen oder zu verbessern. Die Datei enthält Anweisungen für einen KI-Agenten, wie er in einem Programmierprojekt korrekte Änderungen vornimmt. Die Anweisungen stammen aus dem Projekt selbst.
Wann du ihn nutzt
- ✓Wenn du eine neue AGENTS.md-Datei erstellen möchtest.
- ✓Wenn bestehende Anweisungen in der AGENTS.md veraltet sind.
- ✓Wenn du sicherstellen willst, dass die Anweisungen für Agenten den Projektregeln entsprechen.
Link zum Skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agents-md/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Erstelle eine AGENTS.md für dieses Projekt, mit Schwerpunkt auf Build- und Testanweisungen.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Das Tool liest die Dateien des Projekts, um zu verstehen, wie es funktioniert. Danach schreibt oder passt es die AGENTS.md auf Basis dieser Informationen an, damit die Anweisungen korrekt und für den KI-Agenten hilfreich sind.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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.mdwithCLAUDE.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.mdin 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:
- Read the project overview and contribution guidance, such as
README*,CONTRIBUTING*, and relevant docs. - Read manifests, lockfiles, workspace files, task runners, and build config to identify supported tools and exact commands.
- Read CI workflows to learn required checks. Do not assume every CI or deployment job is safe or appropriate to run locally.
- Inspect representative source and test files for naming, layout, and test conventions.
- 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.
…
Häufige Fragen
Was ist eine AGENTS.md?
Das ist eine Datei mit konkreten Anweisungen für einen KI-Agenten. Sie erklärt, wie er mit einem Programmierprojekt arbeiten und Änderungen daran vornehmen soll.
Warum ist eine aktuelle AGENTS.md wichtig?
Eine aktuelle AGENTS.md sorgt dafür, dass der KI-Agent die richtigen Regeln und Befehle des Projekts befolgt. So vermeidest du Fehler und unnötige Nacharbeit.
Ersetzt dieses Tool die Arbeit des Programmierers?
Nein, es hilft dir, klare Anweisungen zu erstellen, damit ein KI-Agent dich unterstützen kann, indem er die Projektrichtlinien befolgt.
Details
Originalbeschreibung des Autors
Create, revise, or audit AGENTS.md files from repository evidence, verified commands, and correctly scoped instructions without overwriting maintainer intent.
Beliebtheit
- GitHub-Sterne
- 48k
- Platz im Ranking
- #3690
- Lizenz
- MIT
- Aktualisiert
- 15.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
00-andruia-consultant
48kHilft deinem Agenten, KI-Projekte zu starten oder zu verbessern. Er analysiert Code, schlägt Tools vor und erstellt Aktionspläne auf Spanisch.
007
48kLässt deinen Agenten Sicherheitsaudits und Bedrohungsmodellierung durchführen. Nützlich, um Projekte vor Angriffen und Schwachstellen zu schützen.
10-andruia-skill-smith
48kHilft deinem Agenten, KI-Tools zu erstellen oder zu verbessern. Er legt fest, wie Tools funktionieren, schreibt die Dokumentation und prüft die Struktur.
20-andruia-niche-intelligence
48kLässt deinen Agenten eine Branchenzusammenfassung erstellen. Nützlich, um Kontext, Regeln, Nutzungsmuster und Risiken anhand verlässlicher Quellen zu verstehen.
Ähnliche Skills
add-model-provider
394kLässt deinen Agenten einen neuen KI-Modellanbieter mit sicheren Befehlen an OpenClaw anbinden, API-Schlüssel nicht im Klartext speichern und einen Live-Test starten.
acp-router
394kHilft deinem Agenten, eine Aufgabe über OpenClaw an einen Coding-Assistenten wie Claude Code oder Cursor zu senden, damit die Arbeit in diesem Tool läuft.
browser-automation
394kBringt deinem Agenten bei, Webseiten Schritt für Schritt zu steuern, einschließlich Anmeldungen, Tabs und Wiederherstellung, wenn eine Seite nicht mehr reagiert.