bmad-shard-pro
यह क्या करती है
यह स्किल लंबे दस्तावेज़ों को नामित हिस्सों में बाँटकर और उनकी सामग्री सूची बनाकर AI एजेंट्स के लिए उन्हें नेविगेट करने में आसान बनाती है। यह उन टीमों के लिए है जिनकी specs या PRDs एक बार में पढ़ने के लिए बहुत लंबे हैं।
कब इस्तेमाल करें
- ✓जब कोई दस्तावेज़ AI एजेंट के लिए एक बार में पढ़ने के लिए बहुत लंबा हो।
- ✓जब आप चाहते हैं कि एजेंट खास हिस्से ढूँढ सके, इसके लिए एक विषय-सूची हो।
- ✓जब आपको पहले से बाँटे गए दस्तावेज़ को अपडेट करना है।
Skill का लिंक
https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-shard-pro/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“यह PRD मेरे एजेंट के लिए पढ़ने में बहुत लंबा है। इसे हिस्सों में बाँटिए और एक सामग्री सूची दीजिए, जिसका वह इस्तेमाल कर सके।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट तय करता है कि कहाँ काटना है और हर हिस्से का क्या नाम रखना है, फिर एक script बँटवारा करती है, ताकि कोई टेक्स्ट खोए या बदले नहीं। नतीजा एक मुख्य फ़ाइल होती है, जिसमें सामग्री सूची और जुड़े हुए हिस्से होते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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 isuv 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 -->): readreferences/update.mdfully 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-ingestskill 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.
buildrefuses 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
अक्सर पूछे जाने वाले सवाल
क्या बँटवारे से टेक्स्ट बदलता है?
नहीं। स्किल कहती है कि स्रोत का कुछ भी खोता या बदलता नहीं, क्योंकि काटने का काम एक script करती है।
क्या बाद में बँटवारा अपडेट हो सकता है?
हाँ। स्किल में उन दस्तावेज़ों के लिए update मोड है, जिन्हें वह पहले बाँट चुकी है।
बँटे हुए फ़ाइलें कहाँ जाती हैं?
वे दस्तावेज़ के नाम पर बने फ़ोल्डर में, या उसके बगल में एक नए फ़ोल्डर में जाती हैं।
जानकारी
लेखक का मूल विवरण
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".
लोकप्रियता
- GitHub स्टार
- 55k
- रैंकिंग में स्थान
- #3360
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
bmad-advanced-elicitation
55kआपके एजेंट को किसी drafts को critique के तरीकों से गुज़ारकर एक सुधार सुझाने में मदद करती है, जिसे आप स्वीकार या अस्वीकार कर सकते हैं।
bmad-agent-analyst
55kआपके एजेंट को Mary की भूमिका निभाने देती है, एक business analyst जो बाज़ार शोध, प्रतिस्पर्धी विश्लेषण करती है और अस्पष्ट ज़रूरतों को साफ़ requirements में बदलती है।
bmad-agent-architect
55kआपके एजेंट को Winston की भूमिका निभाने देती है, एक system architect जो requirements को व्यावहारिक तकनीकी डिज़ाइन में बदलता है और trade-offs समझाता है।
bmad-agent-dev
55kआपके एजेंट को Amelia की भूमिका निभाने देती है, एक senior software engineer जो स्वीकृत user stories को test-first चरणों से बनाती है और हर acceptance criterion जाँचती है।
मिलती-जुलती skills
technical-documentation
394kयह आपके एजेंट को साफ़ तकनीकी डॉक्स और एजेंट निर्देश फ़ाइलें लिखने और जांचने में मदद करती है, ताकि लोग और AI टूल उन्हें आसानी से समझ सकें।
architecture-decision-records
280kयह आपके एजेंट को project structure से जुड़े ज़रूरी फैसलों को दर्ज करने देता है। इससे पता चलता है कि कोई चुनाव क्यों किया गया, और बदलावों का साफ़ इतिहास बना रहता है।
code-tour
280kआपके एजेंट को exact file और line references के साथ step-by-step code walkthrough बनाने देता है। intro, explanations और reviews के लिए उपयोगी है।