pca-docs

Generate formal .docx documents from PCA data using templates and tracked changes.

Updated Dec 9, 2025
One-click install
npx skills add https://github.com/narcisolcf/skills_claude_narciso --skill pca-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pca-docs
Source: https://github.com/narcisolcf/skills_claude_narciso/tree/main/pca-docs
Command: npx skills add https://github.com/narcisolcf/skills_claude_narciso --skill pca-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, ooxml, and includes scripts (resource) components.

What problem does it solve?

This Skill provides Claude with tools to generate and analyze official PCA Camocim documents (.docx), transforming raw data into formally formatted artifacts and speeding up bureaucratic workflows.

Core Features & Use Cases

  • Automated Document Creation: Generate official documents (DFDs, TRs, technical studies) from templates while preserving formal formatting.
  • Content Extraction & Analysis: Leverage Pandoc to extract text from legacy documents for reuse and analysis.
  • Redlining & Comments: Support for tracked changes and comments to streamline legal and technical reviews.

Quick Start

Use the internal script to generate a DFD from a dataset: python scripts/document.py --create --template "templates/dfd_template.docx"

Frequently Asked Questions about pca-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Word document generation from templates?

Automate Word document generation by using template-driven scripts to transform raw data into formatted .docx files. This Skill applies Python scripts with OOXML compatibility to generate official documents like DFDs and technical reports while preserving formal formatting and template structure.

Can I add tracked changes and comments to Word documents programmatically?

Yes, tracked changes and comments are supported through redlining integration. The Skill applies RSID, author, and date stamping via WordML to enable legal and technical reviews with full change tracking in .docx format.

What's the best way to extract text from legacy .docx files for reuse?

Extract text from legacy documents using Pandoc integration to read and convert .docx content for analysis and reuse. This enables content migration and repurposing while maintaining compatibility with existing document formats.

Does this support template-driven document creation for formal reports?

Yes, template-driven document creation is core functionality. The Skill generates formal reports like DFDs, technical requirements, and studies from predefined templates, ensuring consistent formatting and compliance with official document standards.

Can I use this for processing multiple document formats in a workflow?

The Skill handles .docx processing and legacy format conversion via Pandoc. It integrates with workflows requiring document transformation, redlining, and format conversion while maintaining OOXML and WordML compatibility across the pipeline.