Zum Inhalt springen
Skillpedia
Dokumentation55k · #3360

bmad-shard-pro

Was er macht

Diese Fähigkeit macht lange Dokumente für KI-Agenten leichter navigierbar, indem sie sie in beschriftete Teile mit Inhaltsverzeichnis aufteilt. Sie ist für Teams gedacht, deren Spezifikationen oder PRDs zu lang sind, damit ein Agent sie auf einmal liest.

Wann du ihn nutzt

  • ✓Wenn ein Dokument zu lang ist, damit ein KI-Agent es auf einmal lesen kann.
  • ✓Wenn du ein Inhaltsverzeichnis willst, damit Agenten bestimmte Abschnitte finden.
  • ✓Wenn du ein bereits geteiltes Dokument aktualisieren musst.

Link zum Skill

https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-shard-pro/SKILL.md

Kopiere 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

Nutze diesen Skill, um mir zu helfen: https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-shard-pro/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Dieses PRD ist zu lang, damit mein Agent es lesen kann. Teile es in Abschnitte mit einem Inhaltsverzeichnis, das er nutzen kann.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent wählt, wo geschnitten wird und wie jeder Teil heißt. Danach führt ein Skript das Teilen aus, sodass kein Text verloren geht oder verändert wird. Das Ergebnis ist eine Hauptdatei mit Inhaltsverzeichnis und verlinkten Abschnitten.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Shard Pro

You make a long document cheap and safe for an agent to read later. That reader may or may not search, and may see only the first 200 lines of a file before deciding what else to open. From what it sees there, it must be able to tell where any fact lives. Nothing in the source may be lost or changed on the way: you choose where to cut and what to call things, and the script does the cutting. The user maintains the result afterwards, so it must also be easy to update.

Conventions

  • {skill-root} is this skill's folder; {project-root} is the nearest folder containing _bmad/.
  • This skill's script is uv run {skill-root}/scripts/shard_tool.py; run it with --help, or <command> --help, for arguments. The memlog script is uv run {project-root}/_bmad/scripts/memlog.py; without _bmad/, skip memlog writes and say so once.
  • {doc_folder} is the folder that holds the result. For a split, it is the input's own folder when that folder is named after it (prd-x/prd-x.md), otherwise a new folder beside the input, named after its stem; the main file is named after the folder. For a contents list, it is the file's own folder.

On activation

  • The document's main file opens with the sharded-document note, or the document has a contents list this skill made (it starts with <!-- shard-pro:contents -->): read references/update.md fully and follow it.
  • A transcript, chat export, email thread or pile of meeting notes: this is input to process into decisions, actions and notes, not a document to shard. Say so and invoke the bmad-ingest skill on it when it is installed; otherwise tell the user it needs processing first. Then stop.
  • Any other file that is not markdown or plain text (.docx, PDF, HTML): ask the user to convert it to markdown first, with a tool they use or by asking you to, then go on from the converted file.
  • Any other document: go to Assess.

Assess

Run outline on the input. Recommend one outcome with one line on why:

  • Leave it as it is. It is short enough to read whole, or already well signposted.
  • Contents list. The file stays one file and gains a detailed contents list near the top. It is the smaller change, and the one to choose when readers search or follow line ranges, when tools or skills expect the document as one file, or when you cannot tell how it will be read.
  • Faithful split. The source is cut word for word into shards with a map. Choose it when readers load whole files, so each one should load only a part, or when the document will be maintained piece by piece. It loses nothing and is checked by script.

Splitting costs every later reader a hop through the map, so recommend it only when a reader would otherwise pay more. When the user asked for a particular outcome ("shard this", "add a table of contents"), recommend that one unless the outline shows it would make the document worse to read, and then say why.

For Leave it as it is, tell the user why and stop. The other two go on to Plan.

Plan from the outline

Plan from the outline and read only the ranges you need. Holding a long document whole in your context is the expensive mistake. Start from the proposed cut and change it where the content asks:

  • Shards run about 3 to 14 KB, measured in characters, because line lengths vary too much to measure by lines. A shorter shard on one subject beats a merged one that joins unrelated subjects.
  • Never cut inside a table, a step list or a diagram. build refuses cuts inside fenced blocks, tables and numbered lists; watch for the rest yourself.
  • Name each shard from what it covers, in kebab-case. Never start a name with the document type's prefix, because a prd-* glob would load it as another PRD.
  • When a heading is a bare identifier (## 3, ### C-2), name the shard from its content (the outline shows the first line under each such heading) and keep the identifier in the title.
  • Before you use the source's own index or numbering rules, check them against the body. They are often from an older edition.
  • Keep an aggregate view (a matrix, a register, a glossary) whole, because a reader counting rows needs it in one place. Small ones may share a shard.
  • Write each map summary so a reader with a question can tell this is the shard. When a shard's content is later superseded in the source, its summary says so.
  • When the source states two values for one thing, the summary of each shard holding one says so and names the other shard. Never p
Häufige Fragen

Ändert das Teilen einen Text?

Nein. Die Fähigkeit sagt, dass nichts aus der Quelle verloren geht oder verändert wird, weil ein Skript das Schneiden übernimmt.

Kann das Teilen später aktualisiert werden?

Ja. Die Fähigkeit hat einen Aktualisierungsmodus für Dokumente, die sie bereits geteilt hat.

Wohin kommen die geteilten Dateien?

Sie kommen in einen Ordner, der nach dem Dokument benannt ist, oder in einen neuen Ordner daneben.

Details

Originalbeschreibung des Autors

Makes long documents easy for agents to navigate. Use when the user says "shard this document", "this file is too long for agents", "turn this document into a wiki", "add a table of contents so agents can find things", or "update the sharded document".

repo: bmad-code-org/BMAD-METHOD

Beliebtheit

GitHub-Sterne
55k
Platz im Ranking
#3360
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills