[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KG6HAD3HPW6HKPC48W59QX":3,"skill-same:01M6KG6HAD3HPW6HKPC48W59QX":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":14,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6KG6HAD3HPW6HKPC48W59QX","structured-document-creation",null,"Create coordinated internal\u002Fexternal documents from reference materials with consistent formatting and cross-references","xyliu-cs\u002FOpenSpace-GDPval","xyliu-cs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89236536?v=4","01M6KF8Z1V4TXS86CKSH48BY8T","xy","01M6KF8Z67443W0SHXM85JEF0B",0,"MIT","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fstructured-document-creation\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34],"document","structured","creation","structured document creation","documents","create","reference","references","formatting","with","materials","2026-11-10 10:12:30",false,"---\nname: structured-document-creation\ndescription: Create coordinated internal\u002Fexternal documents from reference materials with consistent formatting and cross-references\n---\n\n# Structured Document Creation Workflow\n\nThis skill guides you through creating multiple audience-specific documents from a single reference source while maintaining consistency, proper formatting, and cross-references.\n\n## When to Use This Skill\n\nUse this pattern when you need to:\n- Create both internal and external-facing documents from the same source material\n- Maintain consistent information across multiple documents\n- Extract structured requirements (timelines, roles, steps, policies)\n- Ensure proper cross-referencing between related documents\n\n## Step-by-Step Instructions\n\n### Step 1: Read and Analyze Reference Material\n\nFirst, thoroughly read the reference document to understand the source content.\n\n```python\n# Example: Read reference document\nfrom docx import Document\n\ndef read_reference_doc(path):\n    doc = Document(path)\n    content = []\n    for para in doc.paragraphs:\n        content.append(para.text)\n    return '\\n'.join(content)\n\nreference_content = read_reference_doc('Reference_Document.docx')\n```\n\n**Key actions:**\n- Identify all key sections, policies, and requirements\n- Note any timelines, deadlines, or time-sensitive information\n- Extract role definitions and responsibilities\n- Identify process steps and workflows\n- Flag any sensitive\u002Finternal-only information\n\n### Step 2: Extract Structured Requirements\n\nCreate a structured extraction of key information categories:\n\n```python\nstructured_requirements = {\n    'timelines': [],      # Deadlines, timeframes, schedules\n    'roles': [],          # Who is responsible for what\n    'steps': [],          # Process steps in order\n    'policies': [],       # Rules and guidelines\n    'contacts': [],       # Points of contact\n    'internal_only': []   # Information not for external audiences\n}\n```\n\n**Extraction checklist:**\n- [ ] All dates and timeframes captured\n- [ ] All roles and responsibilities identified\n- [ ] All process steps documented in sequence\n- [ ] All policies and rules extracted\n- [ ] Sensitive information flagged for internal documents only\n\n### Step 3: Plan Document Structure\n\nBefore creating documents, plan the structure for each audience:\n\n| Document Type | Audience | Content Focus | Formatting |\n|--------------|----------|---------------|------------|\n| Internal | Staff\u002FTeam | Full details, sensitive info, operational specifics | Detailed, technical |\n| External | Clients\u002FPartners | Public-facing info, guidelines, high-level process | Clear, professional |\n\n**Document planning template:**\n```\nInternal Document:\n- Title: [Descriptive internal title]\n- Sections: [List all sections with subsections]\n- Cross-refs: [References to external document]\n- Sensitive content: [Mark internal-only sections]\n\nExternal Document:\n- Title: [Client\u002Fpartner-friendly title]\n- Sections: [Public-appropriate sections only]\n- Cross-refs: [References to internal document if applicable]\n- Exclusions: [List what's omitted for external audience]\n```\n\n### Step 4: Create Documents with Consistent Formatting\n\nCreate each document maintaining:\n- Consistent terminology across all documents\n- Matching section numbering where applicable\n- Aligned visual formatting (headers, bullets, tables)\n- Clear cross-references between documents\n\n```python\n# Example: Create document with consistent structure\nfrom docx import Document\nfrom docx.shared import Inches, Pt\nfrom docx.enum.text import WD_ALIGN_PARAGRAPH\n\ndef create_document_template(title, sections):\n    doc = Document()\n    \n    # Title\n    heading = doc.add_heading(title, 0)\n    heading.alignment = WD_ALIGN_PARAGRAPH.CENTER\n    \n    # Add sections\n    for section in sections:\n        doc.add_heading(section['title'], level=1)\n        for content in section['content']:\n            doc.add_paragraph(content)\n    \n    return doc\n```\n\n### Step 5: Add Cross-References\n\nEnsure documents reference each other appropriately:\n\n**Internal document should include:**\n- Reference to external document version\n- Notes on what information is shared externally\n- Links to related internal policies\n\n**External document should include:**\n- Reference to internal contact for questions\n- Version\u002Fdate information\n- Clear scope boundaries\n\n**Cross-reference example:**\n```\nFor internal process details, refer to: [Internal Document Name]\nFor customer-facing guidelines, refer to: [External Document Name]\n```\n\n### Step 6: Quality Check\n\nBefore finalizing, verify:\n\n**Consistency checks:**\n- [ ] Same terminology used in both documents\n- [ ] Dates and timelines match across documents\n- [ ] Role definitions are consistent\n- [ ] No contradictory information\n\n**Audience appropriateness:**\n- [ ] Internal document contains all necessary operational details\n- [ ] External document excludes sensitive\u002Finternal-only information\n- [ ] External document is clear and professional\n- [ ] Both documents serve their intended purpose\n\n**Cross-reference validation:**\n- [ ] All cross-references are accurate\n- [ ] Document titles\u002Fnames match in references\n- [ ] Version numbers are consistent\n\n## Example Structure\n\n```\nReference Document: Return_Issues.docx\n    ↓\nStructured Extraction\n    ↓\n┌─────────────────────────┬─────────────────────────┐\n│  Internal_RA_Process    │  Key_Account_RA_Policy  │\n│  (Internal Document)    │  (External Document)    │\n├─────────────────────────┼─────────────────────────┤\n│ • Full process details  │ • Customer guidelines   │\n│ • Internal contacts     │ • External timelines    │\n│ • Sensitive criteria    │ • Public policies       │\n│ • Operational steps     │ • Contact information   │\n│ • Cross-ref to external │ • Cross-ref to internal │\n└─────────────────────────┴─────────────────────────┘\n```\n\n## Tips for Success\n\n1. **Start with extraction** - Don't create documents until you've fully extracted structured requirements from the reference\n2. **Maintain a content map** - Track which content goes in which document to avoid omissions or contradictions\n3. **Use consistent headers** - Same section titles where content overlaps helps maintain alignment\n4. **Review both together** - Always review documents side-by-side to catch inconsistencies\n5. **Version together** - Keep both documents on the same version cycle to maintain alignment\n\n## Common Pitfalls to Avoid\n\n- ❌ Creating documents before fully understanding reference material\n- ❌ Inconsistent terminology between internal and external versions\n- ❌ Missing cross-references between related documents\n- ❌ Exposing internal-only information in external documents\n- ❌ Contradictory timelines or requirements across documents\n- ❌ Forgetting to update both documents when source material changes","# Structured Document Creation Workflow\n\nThis skill guides you through creating multiple audience-specific documents from a single reference source while maintaining consistency, proper formatting, and cross-references.\n\n## When to Use This Skill\n\nUse this pattern when you need to:\n- Create both internal and external-facing documents from the same source material\n- Maintain consistent information across multiple documents\n- Extract structured requirements (timelines, roles, steps, policies)\n- Ensure proper cross-referencing between related documents\n\n## Step-by-Step Instructions\n\n### Step 1: Read and Analyze Reference Material\n\nFirst, thoroughly read the reference document to understand the source content.\n\n```python\n# Example: Read reference document\nfrom docx import Document\n\ndef read_reference_doc(path):\n    doc = Document(path)\n    content = []\n    for para in doc.paragraphs:\n        content.append(para.text)\n    return '\\n'.join(content)\n\nreference_content = read_reference_doc('Reference_Document.docx')\n```\n\n**Key actions:**\n- Identify all key sections, policies, and requirements\n- Note any timelines, deadlines, or time-sensitive information\n- Extract role definitions and responsibilities\n- Identify process steps and workflows\n- Flag any sensitive\u002Finternal-only information\n\n### Step 2: Extract Structured Requirements\n\nCreate a structured extraction of key information categories:\n\n```python\nstructured_requirements = {\n    'timelines': [],      # Deadlines, timeframes, schedules\n    'roles': [],          # Who is responsible for what\n    'steps': [],          # Process steps in order\n    'policies': [],       # Rules and guidelines\n    'contacts': [],       # Points of contact\n    'internal_only': []   # Information not for external audiences\n}\n```\n\n**Extraction checklist:**\n- [ ] All dates and timeframes captured\n- [ ] All roles and responsibilities identified\n- [ ] All process steps documented in sequence\n- [ ] All policies and rules extracted\n- [ ] Sensitive information flagged for internal documents only\n\n### Step 3: Plan Document Structure\n\nBefore creating documents, plan the structure for each audience:\n\n| Document Type | Audience | Content Focus | Formatting |\n|--------------|----------|---------------|------------|\n| Internal | Staff\u002FTeam | Full details, sensitive info, operational specifics | Detailed, technical |\n| External | Clients\u002FPartners | Public-facing info, guidelines, high-level process | Clear, professional |\n\n**Document planning template:**\n```\nInternal Document:\n- Title: [Descriptive internal title]\n- Sections: [List all sections with subsections]\n- Cross-refs: [References to external document]\n- Sensitive content: [Mark internal-only sections]\n\nExternal Document:\n- Title: [Client\u002Fpartner-friendly title]\n- Sections: [Public-appropriate sections only]\n- Cross-refs: [References to internal document if applicable]\n- Exclusions: [List what's omitted for external audience]\n```\n\n### Step 4: Create Documents with Consistent Formatting\n\nCreate each document maintaining:\n- Consistent terminology across all documents\n- Matching section numbering where applicable\n- Aligned visual formatting (headers, bullets, tables)\n- Clear cross-references between documents\n\n```python\n# Example: Create document with consistent structure\nfrom docx import Document\nfrom docx.shared import Inches, Pt\nfrom docx.enum.text import WD_ALIGN_PARAGRAPH\n\ndef create_document_template(title, sections):\n    doc = Document()\n    \n    # Title\n    heading = doc.add_heading(title, 0)\n    heading.alignment = WD_ALIGN_PARAGRAPH.CENTER\n    \n    # Add sections\n    for section in sections:\n        doc.add_heading(section['title'], level=1)\n        for content in section['content']:\n            doc.add_paragraph(content)\n    \n    return doc\n```\n\n### Step 5: Add Cross-References\n\nEnsure documents reference each other appropriately:\n\n**Internal document should include:**\n- Reference to external document version\n- Notes on what information is shared externally\n- Links to related internal policies\n\n**External document should include:**\n- Reference to internal contact for questions\n- Version\u002Fdate information\n- Clear scope boundaries\n\n**Cross-reference example:**\n```\nFor internal process details, refer to: [Internal Document Name]\nFor customer-facing guidelines, refer to: [External Document Name]\n```\n\n### Step 6: Quality Check\n\nBefore finalizing, verify:\n\n**Consistency checks:**\n- [ ] Same terminology used in both documents\n- [ ] Dates and timelines match across documents\n- [ ] Role definitions are consistent\n- [ ] No contradictory information\n\n**Audience appropriateness:**\n- [ ] Internal document contains all necessary operational details\n- [ ] External document excludes sensitive\u002Finternal-only information\n- [ ] External document is clear and professional\n- [ ] Both documents serve their intended purpose\n\n**Cross-reference validation:**\n- [ ] All cross-references are accurate\n- [ ] Document titles\u002Fnames match in references\n- [ ] Version numbers are consistent\n\n## Example Structure\n\n```\nReference Document: Return_Issues.docx\n    ↓\nStructured Extraction\n    ↓\n┌─────────────────────────┬─────────────────────────┐\n│  Internal_RA_Process    │  Key_Account_RA_Policy  │\n│  (Internal Document)    │  (External Document)    │\n├─────────────────────────┼─────────────────────────┤\n│ • Full process details  │ • Customer guidelines   │\n│ • Internal contacts     │ • External timelines    │\n│ • Sensitive criteria    │ • Public policies       │\n│ • Operational steps     │ • Contact information   │\n│ • Cross-ref to external │ • Cross-ref to internal │\n└─────────────────────────┴─────────────────────────┘\n```\n\n## Tips for Success\n\n1. **Start with extraction** - Don't create documents until you've fully extracted structured requirements from the reference\n2. **Maintain a content map** - Track which content goes in which document to avoid omissions or contradictions\n3. **Use consistent headers** - Same section titles where content overlaps helps maintain alignment\n4. **Review both together** - Always review documents side-by-side to catch inconsistencies\n5. **Version together** - Keep both documents on the same version cycle to maintain alignment\n\n## Common Pitfalls to Avoid\n\n- ❌ Creating documents before fully understanding reference material\n- ❌ Inconsistent terminology between internal and external versions\n- ❌ Missing cross-references between related documents\n- ❌ Exposing internal-only information in external documents\n- ❌ Contradictory timelines or requirements across documents\n- ❌ Forgetting to update both documents when source material changes",{"name":5,"description":7},"main","af1b40a42167d09c30b3a63000aa14ace4c1e229","gdpval_bench\u002Fskills\u002Fstructured-document-creation","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval","https:\u002F\u002Fgithub.com\u002Fxyliu-cs","https:\u002F\u002Fxyliu-cs.github.io","PhD Student in CS, CUHK-Shenzhen.","2026-04-06 20:32:15",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add xyliu-cs\u002FOpenSpace-GDPval --skill structured-document-creation",{"tool":54,"command":55},"bunx","bunx skills add xyliu-cs\u002FOpenSpace-GDPval --skill structured-document-creation",{"tool":57,"command":58},"pnpm","pnpm dlx skills add xyliu-cs\u002FOpenSpace-GDPval --skill structured-document-creation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fstructured-document-creation\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},".skill_id","OTHER","其他",42,"https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fstructured-document-creation\u002F.skill_id",[69,82,90,105,130,150],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":35},"01M6KG8MF1S664SWBDENYRSCK8","zip-export-deliverable","Ensures codebase deliverables are properly exported as ZIP archives through a dedicated finalization step","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fzip-export-deliverable\u002FSKILL.md",[],[76,77,78,79,80,81],"zip export deliverable","zip","export","deliverables","codebase","as",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":35},"01M6KG8GAZWHHEK7VNJDW0ME21","zip-deliverable-finalization","Ensure codebase deliverables are properly packaged as ZIP exports in a dedicated final step","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fzip-deliverable-finalization\u002FSKILL.md",[],[89,77,79,80,81],"zip deliverable finalization",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":35},"01M6KG8CMQQ1PYMNTSRZ9VS1MD","zero-iteration-failure-analysis","Identify and handle agent failures with 0 iterations as pre-execution system issues","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fzero-iteration-failure-analysis\u002FSKILL.md",[],[97,98,99,100,101,33,102,103,81,104],"failure analysis","ZeRO","analysis","iteration","zero iteration failure analysis","issues","execution","system",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":116,"publishedAt":35},"01M6KG86W3PA07FT9W58YHHERM","write-file-fallback-report","Generate professional documents using write_file when primary data sources fail, leveraging embedded domain knowledge instead of external retrieval","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fwrite-file-fallback-report\u002FSKILL.md",[111],{"categoryNo":112,"categoryName":113,"taxonomyType":114,"taxonomyTypeDesc":115},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[117,118,119,120,121,122,123,124,125,126,127,28,128,129],"fallback","write","file","report","write file fallback report","domain","professional","sources","retrieval","generate","embedded","data","knowledge",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":139,"publishedAt":35},"01M6KG82GAEY3GG77CMGCK1C2T","fallback-doc-with-delegation","Generate professional documents after tool failures using shell_agent for complex formats or write_file for simple text\u002Fmarkdown","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fwrite-file-fallback-report-enhanced\u002FSKILL.md",[136],{"categoryNo":137,"categoryName":138,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[140,33,117,141,142,143,28,126,119,144,145,146,118,147,123,148,149],"fallback doc with delegation","doc","delegation","shell","markdown","tool","text","simple","formats","for",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":157,"publishedAt":35},"01M6KG7WT7GX5NYCGEFHW22NV7","context-anchored-fallback-report","Generate documents with write_file when retrieval tools fail, with explicit guardrails against task context drift","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fwrite-file-fallback-report-enhanced-4bc5c2\u002FSKILL.md",[156],{"categoryNo":112,"categoryName":113,"taxonomyType":114,"taxonomyTypeDesc":115},[117,120,158,159,126,119,160,161,118,162,163,125,33,164,28],"context","context anchored fallback report","Guardrails","Tools","task","drift","context drift"]