Saltar al contenido
Skillpedia
Escritura7,8 mil · #13022

structured-document-creation

Qué hace

Esta skill guía al agente de IA para redactar varios documentos adaptados a cada público a partir de un único archivo fuente. Es para personas que necesitan versiones internas y externas de la misma política o del mismo proceso.

Cuándo usarla

  • ✓Cuando necesitas tanto un documento interno como uno externo a partir del mismo material de origen.
  • ✓Cuando los plazos, los roles o las políticas deben coincidir en varios documentos.
  • ✓Cuando los documentos relacionados necesitan referencias cruzadas que apunten correctamente unos a otros.

Link de la skill

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/structured-document-creation/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/structured-document-creation/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“A partir de este documento de política, crea una guía interna para el personal y un resumen público. Mantén las mismas fechas y roles en los dos.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente lee el archivo de referencia y enumera sus secciones, plazos, roles y pasos. Después usa esa lista estructurada para redactar el documento de cada público, manteniendo los datos coherentes y enlazando entre sí los documentos relacionados.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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
Preguntas frecuentes

¿Qué extrae el agente primero?

Extrae las secciones clave, las políticas, los plazos, los roles y los pasos del proceso del documento de origen.

¿Cómo mantiene la coherencia?

Trabaja a partir de una única lista estructurada, así que cada documento usa los mismos datos.

¿Se tratan los elementos sensibles?

La skill indica que hay que señalar cualquier información solo interna para que no se publique hacia fuera.

Detalles

Descripción original del autor

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

repo: HKUDS/AgentPilot

Popularidad

Estrellas en GitHub
7,8 mil
Posición en el ranking
#13022
Licencia
MIT
Actualizada
1/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas