structured-document-creation
यह क्या करती है
यह स्किल AI एजेंट को एक स्रोत फ़ाइल से अलग-अलग दर्शकों के लिए कई दस्तावेज़ लिखना सिखाती है। यह उन लोगों के लिए है जिन्हें एक ही नीति या प्रक्रिया के आंतरिक और बाहरी संस्करण चाहिए।
कब इस्तेमाल करें
- ✓जब एक ही स्रोत सामग्री से आंतरिक और बाहरी दोनों दस्तावेज़ चाहिए।
- ✓जब कई दस्तावेज़ों में समय-सीमा, भूमिकाएं या नीतियां एक जैसी होनी चाहिए।
- ✓जब संबंधित दस्तावेज़ों में एक-दूसरे के सही संदर्भ लिंक होने चाहिए।
Skill का लिंक
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/structured-document-creation/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस नीति दस्तावेज़ से स्टाफ़ के लिए एक आंतरिक गाइड और सार्वजनिक सारांश बनाइए। दोनों में तारीखें और भूमिकाएं एक जैसी रखिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट संदर्भ फ़ाइल पढ़ता है और उसके खंड, समय-सीमा, भूमिकाएं और प्रक्रिया के चरण सूचीबद्ध करता है। फिर वह इसी संरचित सूची से हर दर्शक का दस्तावेज़ लिखता है, तथ्य एक जैसे रखता है और संबंधित दस्तावेज़ों को आपस में जोड़ता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Structured Document Creation Workflow
This skill guides you through creating multiple audience-specific documents from a single reference source while maintaining consistency, proper formatting, and cross-references.
When to Use This Skill
Use this pattern when you need to:
- Create both internal and external-facing documents from the same source material
- Maintain consistent information across multiple documents
- Extract structured requirements (timelines, roles, steps, policies)
- Ensure proper cross-referencing between related documents
Step-by-Step Instructions
Step 1: Read and Analyze Reference Material
First, thoroughly read the reference document to understand the source content.
# Example: Read reference document
from docx import Document
def read_reference_doc(path):
doc = Document(path)
content = []
for para in doc.paragraphs:
content.append(para.text)
return '\n'.join(content)
reference_content = read_reference_doc('Reference_Document.docx')
Key actions:
- Identify all key sections, policies, and requirements
- Note any timelines, deadlines, or time-sensitive information
- Extract role definitions and responsibilities
- Identify process steps and workflows
- Flag any sensitive/internal-only information
Step 2: Extract Structured Requirements
Create a structured extraction of key information categories:
structured_requirements = {
'timelines': [], # Deadlines, timeframes, schedules
'roles': [], # Who is responsible for what
'steps': [], # Process steps in order
'policies': [], # Rules and guidelines
'contacts': [], # Points of contact
'internal_only': [] # Information not for external audiences
}
Extraction checklist:
- All dates and timeframes captured
- All roles and responsibilities identified
- All process steps documented in sequence
- All policies and rules extracted
- Sensitive information flagged for internal documents only
Step 3: Plan Document Structure
Before creating documents, plan the structure for each audience:
| Document Type | Audience | Content Focus | Formatting |
|---|---|---|---|
| Internal | Staff/Team | Full details, sensitive info, operational specifics | Detailed, technical |
| External | Clients/Partners | Public-facing info, guidelines, high-level process | Clear, professional |
Document planning template:
Internal Document:
- Title: [Descriptive internal title]
- Sections: [List all sections with subsections]
- Cross-refs: [References to external document]
- Sensitive content: [Mark internal-only sections]
External Document:
- Title: [Client/partner-friendly title]
- Sections: [Public-appropriate sections only]
- Cross-refs: [References to internal document if applicable]
- Exclusions: [List what's omitted for external audience]
Step 4: Create Documents with Consistent Formatting
Create each document maintaining:
- Consistent terminology across all documents
- Matching section numbering where applicable
- Aligned visual formatting (headers, bullets, tables)
- Clear cross-references between documents
# Example: Create document with consistent structure
from docx import Document
from docx.shared import Inches, Pt
from docx.enum.text import WD_ALIGN_PARAGRAPH
def create_document_template(title, sections):
doc = Document()
# Title
heading = doc.add_heading(title, 0)
heading.alignment = WD_ALIGN_PARAGRAPH.CENTER
# Add sections
for section in sections:
doc.add_heading(section['title'], level=1)
for content in section['content']:
doc.add_paragraph(content)
return doc
Step 5: Add Cross-References
Ensure documents reference each other appropriately:
Internal document should include:
- Reference to external document version
- Notes on what information is shared externally
- Links to related internal policies
External document should include:
- Reference to internal contact for questions
- Version/date information
- Clear scope boundaries
Cross-reference example:
For internal process details, refer to: [Internal Document Name]
For customer-facing guidelines, refer to: [External Document Name]
Step 6: Quality Check
Before finalizing, verify:
Consistency checks:
- Same terminology used in both documents
- Dates and timelines
अक्सर पूछे जाने वाले सवाल
एजेंट पहले क्या निकालता है?
वह स्रोत से मुख्य खंड, नीतियां, समय-सीमा, भूमिकाएं और प्रक्रिया के चरण निकालता है।
सब कुछ एक जैसा कैसे रहता है?
वह एक ही संरचित सूची से काम करता है, इसलिए हर दस्तावेज़ में एक जैसे तथ्य होते हैं।
संवेदनशील जानकारी का क्या?
स्किल कहती है कि केवल आंतरिक जानकारी को चिह्नित किया जाए, ताकि वह बाहर प्रकाशित न हो।
जानकारी
लेखक का मूल विवरण
Create coordinated internal/external documents from reference materials with consistent formatting and cross-references
repo: HKUDS/AgentPilot
लोकप्रियता
- GitHub स्टार
- 7.8k
- रैंकिंग में स्थान
- #13022
- लाइसेंस
- MIT
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
agentpilot
7.8kआपके एजेंट को AgentPilot से प्रोजेक्ट को चरण-दर-चरण सुधारने में मदद करती है, जिसमें बदलाव सुझाए, परखे और स्कोर किए जाते हैं।
openspace
7.8kआपके एजेंट को OpenSpace सेट करने में मदद करती है, जो एजेंट स्किल्स सहेजता और वापस लाता है, और MCP के ज़रिए आपके AI ऐप से जुड़ता है।
rsi-arena
7.8kआपके एजेंट को AIME और Terminal-Bench जैसे मानक AI बेंचमार्क टेस्ट सेट करने और चलाने में मदद करती है, ताकि सुधार के तरीकों की तुलना हो सके।
experiment-guide
7.8kआपके एजेंट को छोटे प्रयोग बनाने, उनके नतीजे पढ़ने और जाँच के दौरान उपयोगी निष्कर्ष लिखने में मदद करती है।
मिलती-जुलती skills
obsidian-vault-maintainer
394kयह आपके एजेंट को Obsidian के अनुकूल मेमोरी vault व्यवस्थित रखने देती है, जिसमें काम करने वाले wiki लिंक, एक जैसी properties और सुरक्षित जेनरेटेड सेक्शन हों।
wiki-maintainer
394kयह आपके एजेंट को OpenClaw मेमोरी wiki दोहराए जा सकने वाले पेजों, सुरक्षित मैनेज्ड ब्लॉक्स और विरोधाभास या कमियों की जांच के साथ संभालने देती है।
obsidian
394kयह आपके एजेंट को आधिकारिक Obsidian कमांड-लाइन से Obsidian नोट्स, टास्क, लिंक और properties पढ़ने, खोजने, बनाने और बदलने देती है।