跳到正文
cccskills
免费在 GitHub 公开

structured-document-creation

Create internal and external documents from one reference source. Extract deadlines, responsibilities, procedures, and policies, tailor content for each audience, and check that terminology, formatting, versions, and references stay consistent while internal information remains appropriately restricted.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Create coordinated internal/external documents from reference materials with consistent formatting and cross-references

集成工具Word
查看安装方法

适用场景

  • Creating internal procedures and customer guidelines from one source
  • Organizing deadlines, responsibilities, and process steps
  • Separating internal information from external documents
  • Checking consistency and references across related documents

包含的文件(2)

  • SKILL.md7.0 KB
  • .skill_id42 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 TypeAudienceContent FocusFormatting
InternalStaff/TeamFull details, sensitive info, operational specificsDetailed, technical
ExternalClients/PartnersPublic-facing info, guidelines, high-level processClear, 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 match across documents
  • Role definitions are consistent
  • No contradictory information

Audience appropriateness:

  • Internal document contains all necessary operational details
  • External document excludes sensitive/internal-only information
  • External document is clear and professional
  • Both documents serve their intended purpose

Cross-reference validation:

  • All cross-references are accurate
  • Document titles/names match in references
  • Version numbers are consistent

Example Structure

Reference Document: Return_Issues.docx
    ↓
Structured Extraction
    ↓
┌─────────────────────────┬─────────────────────────┐
│  Internal_RA_Process    │  Key_Account_RA_Policy  │
│  (Internal Document)    │  (External Document)    │
├─────────────────────────┼─────────────────────────┤
│ • Full process details  │ • Customer guidelines   │
│ • Internal contacts     │ • External timelines    │
│ • Sensitive criteria    │ • Public policies       │
│ • Operational steps     │ • Contact information   │
│ • Cross-ref to external │ • Cross-ref to internal │
└─────────────────────────┴─────────────────────────┘

Tips for Success

  1. Start with extraction - Don't create documents until you've fully extracted structured requirements from the reference
  2. Maintain a content map - Track which content goes in which document to avoid omissions or contradictions
  3. Use consistent headers - Same section titles where content overlaps helps maintain alignment
  4. Review both together - Always review documents side-by-side to catch inconsistencies
  5. Version together - Keep both documents on the same version cycle to maintain alignment

Common Pitfalls to Avoid

  • ❌ Creating documents before fully understanding reference material
  • ❌ Inconsistent terminology between internal and external versions
  • ❌ Missing cross-references between related documents
  • ❌ Exposing internal-only information in external documents
  • ❌ Contradictory timelines or requirements across documents
  • ❌ Forgetting to update both documents when source material changes

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Prepare audio stems, the separate parts of a track, for mixing by matching their durations with silence, loops, or crossfades. Verify each generated and processed file before moving to the next production step.

中文简介正在准备中。当前显示英语简介。

  • Match audio parts with different durations
  • Extend drums and melodic parts using suitable methods
  • Check audio specifications before mixing
HKUDS/OpenSpace77572026年8月13日 更新

Produce audio in separate stems, meaning individual instrument tracks, and verify each output as you go. Align track lengths with silence, loops, or crossfades, then apply effects, mix a master, and package the files.

中文简介正在准备中。当前显示英语简介。

  • Align instrument tracks to a reference audio file
  • Choose how to extend tracks that are too short
  • Verify audio properties after generation and effects
HKUDS/OpenSpace77572026年8月13日 更新

Build serverless endpoints that relay external API requests for a dashboard while keeping API keys on the server. Includes Vercel examples for input checks, caching, cross-origin access, and consistent JSON responses.

中文简介正在准备中。当前显示英语简介。

  • Connect a dashboard to external APIs without exposing API keys
  • Create endpoints for stock quotes and news
  • Standardize API responses and error handling
HKUDS/OpenSpace77572026年8月13日 更新

Produce a master track and separate audio parts through a structured Python workflow. Apply filters and reverb, export WAV files with consistent settings, package them in a ZIP archive, and check that the deliverables meet the requested specifications.

中文简介正在准备中。当前显示英语简介。

  • Export a master track with separate audio parts
  • Apply filters and reverb to audio
  • Check duration and format across deliverables
HKUDS/OpenSpace77572026年8月13日 更新

Keep document creation moving when web searches and page retrieval repeatedly fail. The skill preserves the original task, uses the model’s existing knowledge, and clearly identifies information that could not be checked against external sources.

中文简介正在准备中。当前显示英语简介。

  • Continue drafting after repeated web retrieval failures
  • Preserve task requirements during network errors
  • Mark information that could not be externally verified
HKUDS/OpenSpace77572026年8月13日 更新

When Python execution repeatedly fails in execute_code_sandbox, use a file-based alternative: save the script, run it through the shell, and capture results or errors. The guidance covers paths, imports, timeouts, structured output, and optional cleanup.

中文简介正在准备中。当前显示英语简介。

  • Retry Python work through the shell after repeated sandbox failures
  • Run longer tasks with an adjusted timeout
  • Execute Python work that needs multiple files or system utilities
HKUDS/OpenSpace77572026年8月13日 更新

查看 HKUDS 的全部技能

报告此技能的问题