structured-document-creation
Skill by HKUDS
Guides an AI assistant through creating internal and external documents from one reference source. It keeps terminology, formatting and cross-references consistent across both documents.
Install structured-document-creation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/HKUDS/OpenSpace /tmp/OpenSpace && mkdir -p ~/.claude/skills && cp -r /tmp/OpenSpace/benchmarks/gdpval/skills/structured-document-creation ~/.claude/skills/structured-document-creationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install structured-document-creation in Claude Code
git clone --depth 1 https://github.com/HKUDS/OpenSpace /tmp/OpenSpace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/OpenSpace/benchmarks/gdpval/skills/structured-document-creation ~/.gemini/antigravity-cli/skills/structured-document-creationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install structured-document-creation in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill sets out a step-by-step workflow for turning one reference document into several audience-specific documents. It starts by reading the source and extracting timelines, roles, process steps, policies and contacts. It then plans a detailed internal document and a public-appropriate external document, creates both with matching formatting, and adds cross-references between them.
The workflow includes a quality check for consistent terminology, matching dates, and no internal-only information in external documents. The examples use Python with the python-docx library to read and write .docx files. The skill is intended for teams that need to maintain internal and external documents from the same source material.
Written from the project's SKILL.md and checked against it.
What it can do
- Read reference materialReads a reference document and identifies key sections, policies, timelines and roles.
- Extract structured requirementsSorts timelines, roles, steps, policies, contacts and internal-only information into categories.
- Plan document structurePlans sections and exclusions for an internal document and an external document.
- Create consistent documentsBuilds each document with matching headings, bullets, tables and terminology.
- Add cross-referencesAdds references from the internal document to the external one, and back.
- Quality checkChecks for contradictions, mismatched dates, and sensitive content in external documents.
What you need
- Python
- python-docx library
Try asking
- Create an internal and an external document from this reference file
- Extract timelines, roles and steps from my policy document
- Check my two documents for contradictions and mismatched dates
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: benchmarks/gdpval/skills/structured-document-creation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to structured-document-creation
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
structured-document-creation: common questions
Who is this skill for?
It is for people who need to create both internal and external-facing documents from the same source material. The source says it helps keep information consistent across those documents.
Does it check that external documents exclude internal information?
Yes. The quality check includes steps to confirm the external document excludes sensitive or internal-only information.
What file format do the examples use?
The code examples use the python-docx library to read and create .docx Word documents.
How do I install structured-document-creation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is structured-document-creation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is structured-document-creation safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to structured-document-creation?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
