agent-doc-discipline
Was er macht
Dieser Skill legt einen Schreibstandard für Dokumente fest, die KI-Agenten lesen und danach handeln, etwa Anleitungen, Spezifikationen und Tickets. Er ist für Menschen gedacht, die Anleitungen für Agenten schreiben und wollen, dass sie ohne zusätzliche Erklärung funktionieren.
Wann du ihn nutzt
- ✓Wenn du Anleitungen, Spezifikationen oder Tickets schreibst oder bearbeitest, nach denen ein KI-Agent handeln wird.
- ✓Wenn du Skill-Dateien für Agenten oder Leitfäden für Projekte erstellst.
- ✓Wenn du prüfen willst, ob ein brandneuer Agent ohne Chatverlauf ein Dokument befolgen kann.
Link zum Skill
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/agent-doc-discipline/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
“Bitte schreib diese Einrichtungsanleitung so um, dass ein neuer KI-Agent sie ohne zusätzliche Erklärung befolgen kann.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent wendet eine Reihe von Schreibregeln an: Jede Regel ist prüfbar und enthält ihren Grund, Schritte kommen vor Referenzmaterial, und jede Tatsache hat einen festen Ort. Das Ganze ist für Dokumente gedacht, die Agenten zum Handeln lesen, nicht für Hintergrundlektüre.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Agent Doc Discipline
Use this skill to apply a writing-time discipline while creating or editing any document an agent consumes to act: the five surfaces (CLAUDE.md, GLOSSARY.md, docs/standards/, design-system/, .omc/skills/), specs, tickets, and skill files. The test a document must pass: a fresh agent session can act on it by reading alone.
Mandatory when: drydock generates surface seeds, the launch C5 sediment pass writes a lesson into a slot. Opt-in for every other edit — but any edit to an agent-facing document should survive these rules.
When Not to Use
Documents written for humans only: docs/business/ narrative, ADR decision stories, READMEs for human onboarding. They may still follow the rules where it costs nothing, but they are not held to this discipline.
The Discipline
Write for a reader with no chat history. The document is self-describing: nothing leans on "as discussed", a prior session, or knowledge that lives in someone's head. Test: a brand-new agent session can act on the document by reading alone.
Every rule checkable and carrying a why. No "keep it clean" — write the observable condition and the reason. Test: an agent can decide pass/fail from the text alone, and the why is stated next to the rule.
One meaning, one home. Each rule or definition has a single authoritative place; duplication is drift waiting to happen. Test: changing a behavior is a one-place edit.
Never restate what the environment confesses. Package scripts, directory layouts, --help output are lookups, not documents — a copied lookup goes stale. Document only what cannot be found by looking: the unwritten convention, the reason behind a choice, the gotcha. Test: every line survives "can this be looked up elsewhere?".
Steps first, reference behind, rare material behind a pointer. What to do, in order, at the top; consult-on-demand rules below; low-frequency material pushed behind a pointer whose wording names the branches that should trigger reaching it. Test: the next action is findable within the first screen.
Every step ends on a completion criterion. Done must be tellable from not-done — a vague bound invites premature completion. Test: for each step, "how do I know this is finished?" has an answer in the text.
A procedure longer than two steps is numbered. The numbers are stable references: a reader can name step 3, follow the order, and jump without re-reading. An unnumbered procedure of many steps makes the reader hold the order in their head. Test: every procedure of three or more steps carries its numbers.
A list is capped at what a reader holds in one glance. A list that outgrows the reader's grasp loses its point — nothing in it is findable. A longer enumeration becomes structure (a table, subsections) or splits. This governs the writing of documents; it never touches the machinery of a gate or a batched decision, which lives in the methodology, not the prose. Test: every list in the document fits in one glance, and any longer enumeration has become structure.
Deferred and scheduled work states when. A document that defers work to a later step, session, or release states that timing next to the work it defers — "when" is a fact the reader needs to act, and an unstated deferral reads as an unstarted one. The timing is stated in the prose only; it never rebinds a checkpoint the methodology pushes right deliberately. Test: every deferral in the document carries its when.
Close on a next action a reader can start now. A report, ticket, or session-close pointer ends not with a summary but with the one next step a reader can begin in under two minutes — the destination, the pointer, or the command. A close that only summarizes makes the reader re-derive what to do first. Test: the last line answers "what do I do next?" without scrolling up.
Re-state the position each time the reader rejoins. A document a returning reader touches mid-flight (a long spec, a run report, a map Notes section) opens the new material with where things stand — step, phase, or decision count — before adding anything new. Test: a reader arriving cold can locate the current state in the first two lines of the newest section.
Prompt the positive. State the target behavior; a prohibition is reserved for hard guardrails and is always paired with the positive target. Test: every prohibition in the document names the thing to do instead.
**Scr
Häufige Fragen
Ist das für Dokumente, die Menschen lesen?
Nicht vorrangig. Es ist für Dokumente gedacht, die ein Agent liest, um zu handeln. Unternehmensdarstellungen und Einarbeitungsleitfäden für Menschen gelten nicht als Maßstab.
Was macht eine Regel gut nach diesem Skill?
Eine Regel muss so formuliert sein, dass ein Agent aus dem Text eindeutig Bestanden oder Nicht bestanden ableiten kann, und sie muss sagen, warum es sie gibt.
Warum sollte man Wiederholungen vermeiden?
Jede Tatsache sollte genau einen maßgeblichen Ort haben, weil doppelter Text leicht veraltet.
Details
Originalbeschreibung des Autors
Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and carrying a why, steps before reference, one meaning in one home, no restating what the environment already says. Mandatory at drydock seed generation and the launch C5 sediment pass; opt-in for any other agent-facing doc edit. The companion of minimal-code-discipline: that one disciplines code, this one disciplines papers.
Beliebtheit
- GitHub-Sterne
- 41k
- Platz im Ranking
- #6989
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
ai-slop-cleaner
41kHilft deinem Agenten, von KI geschriebenen Code aufzuräumen, der zwar funktioniert, aber aufgebläht oder repetitiv ist, und entfernt überflüssigen Code, ohne das Verhalten zu ändern.
architecture-survey
41kHilft deinem Agenten, die Struktur einer Codebasis zu prüfen und die Teile aufzulisten, die schwerer zu ändern werden, mit Belegen, ohne selbst etwas zu verändern.
ask-navigator
41kHilft deinem Agenten, ein unklares Projekt in eine Karte klarer Entscheidungsfragen zu verwandeln und sie dann nacheinander abzuarbeiten, bis der Weg klar ist.
ask
41kHilft deinem Agenten, eine Frage oder Aufgabe an ein anderes KI-Tool wie Codex, Gemini oder Claude zu schicken und die Antwort als Datei zu speichern.
Ähnliche Skills
obsidian-vault-maintainer
394kHilft deinem Agenten, einen Obsidian-tauglichen Gedächtnis-Vault ordentlich zu halten, mit funktionierenden Wiki-Links, einheitlichen Eigenschaften und sicheren generierten Abschnitten.
wiki-maintainer
394kHilft deinem Agenten, ein OpenClaw-Gedächtnis-Wiki mit wiederholbaren Seiten, sicheren verwalteten Blöcken und Prüfungen auf Widersprüche oder Lücken zu pflegen.
obsidian
394kLässt deinen Agenten Obsidian-Notizen, Aufgaben, Links und Eigenschaften mit der offiziellen Obsidian-Kommandozeile lesen, durchsuchen, erstellen und bearbeiten.