by DXBMark
A professional ChatGPT Skill for creating, editing, reviewing, extracting, validating, and visually improving production-ready PDF files.
# Add to your Claude Code skills
git clone https://github.com/DXBMark/pdf-proUse this skill to handle PDF work as a verified production workflow, not a one-step file operation. Prioritise accuracy, visual verification, safe PDF operations, and clean design.
Always use this loop unless the user only asks for a high-level explanation:
pdf-pro CLI interface when the package is installed.scripts/validate_pdf.py when a file is produced or modified.Never claim a PDF is correct without checking the output file exists and can be opened or inspected. For final deliverables, follow references/validation-protocol.md and record any limitation clearly.
Use these scripts when they fit the task. Run scripts from inside the skill folder or pass absolute paths.
PDF Pro is a production-ready PDF workflow package for AI assistants and local automation.
It is designed first as a ChatGPT Skill and structured to be adaptable for Claude Skills, Claude Code, Gemini Gems, VSCode, GitHub Copilot, Antigravity, and other coding-agent or CLI workflows.
PDF Pro helps assistants and developers create, edit, inspect, extract, render, validate, redact, and visually improve PDF files through a verification-first process. It combines practical PDF operations with design-system guidance so final documents are usable, visually checked, accurate, and ready to share.
A professional AI workflow package for creating, editing, reviewing, extracting, validating, redacting, and visually improving production-ready PDF files across ChatGPT Skills, Claude Skills, and CLI-based coding agents.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
scripts/pdf_ops.pyscripts/create_visual_pdf.py: generate a polished PDF from a JSON content specification using design tokens.scripts/validate_pdf.py: validate a final PDF by checking file existence, parser readability, page count, optional text extraction, forbidden/required phrases, and optional page renders.scripts/validate_package.py: validate that the repository contains the expected skill, platform, CLI, script, reference, and asset files.README.md: user and maintainer documentation, including ownership, licence, dependencies, platform compatibility, CLI usage, and examples.LICENSE: MIT licence for PDF Pro.NOTICE.md: attribution and third-party dependency notices, including UI/UX Pro Max by NextLevelBuilder.references/pdf-workflows.md: exact workflows for creation, editing, extraction, forms, redaction, conversion, and verification.references/visual-design-system.md: UI/UX Pro Max inspired design rules for high-quality PDF layouts.references/quality-checklist.md: final QA checklist before delivery.references/validation-protocol.md: formal verification rules for final PDF outputs.references/cli-integration.md: CLI and editor integration guidance for VSCode, Antigravity, Claude Code, Copilot, and other coding agents.references/platform-compatibility.md: platform-specific usage guidance for ChatGPT Skills, Claude Skills, Gemini Gems, CLI agents, and local LLM workflows.references/compatibility-checklist.md: checklist for release validation across supported targets.assets/design-tokens-starter.json: reusable colour, spacing, type, radius, and shadow tokens.assets/pdf.png: skill icon.For a new PDF:
references/visual-design-system.md when the user expects professional visual design, branding, layout polish, colour palette, typography, charts, or a PDF that should look presentation-ready.scripts/create_visual_pdf.py for quick fixed-layout PDFs from structured JSON, or use a richer document/slide workflow when the content is complex.scripts/pdf_ops.py render and check the images for clipped text, overlaps, broken glyphs, poor margins, and weak hierarchy.scripts/validate_pdf.py. Use --render for visual or client-facing PDFs.references/quality-checklist.md.Default visual standard: restrained, readable, accessible, and polished. Avoid decoration that makes the document harder to scan.
For an existing PDF:
python scripts/pdf_ops.py inspect input.pdf
python scripts/pdf_ops.py render input.pdf --out-dir renders/input --dpi 160
For true redaction, never cover text with a black rectangle only. Use a redaction-capable workflow that removes underlying text or pixels, then verify by text extraction and rendering.
For review, summary, or extraction:
Use design-system thinking for any PDF with a visible layout. Apply these priorities:
For premium visual PDFs, treat text as part of the composition. Use short headings, clear callouts, and purposeful visual rhythm instead of dense paragraphs.
When the package is installed locally, the same helpers can be called with the pdf-pro command:
pdf-pro inspect input.pdf
pdf-pro render input.pdf --out-dir renders/input --dpi 160
pdf-pro validate output.pdf --render --out-dir validation/output
pdf-pro visual examples/visual-spec.json --out output.pdf
For VSCode, Antigravity, Claude Code, Copilot, and other coding agents, load AGENTS.md, CLI.md, and references/cli-integration.md when the user asks for editor automation, terminal workflows, package installation, or repository integration.
Use this package directly as a ChatGPT Skill. For Claude Skills, Claude Code, Gemini Gems, Copilot, Antigravity, and local agent workflows, use the platform notes in CLAUDE.md, GEMINI.md, AGENTS.md, CLI.md, and platforms/.
Do not overclaim a platform feature. If the target assistant cannot execute code, provide the commands for a local terminal or coding-agent environment instead.
Use this structure in the final message when a PDF is created or edited:
Keep the user-facing summary concise. Do not expose internal script logs unless the user asks.
| Target | Status | How to use |
|---|---:|---|
| ChatGPT Skills | Direct support | Use the root SKILL.md, agents/openai.yaml, references/, scripts/, and assets/ |
| Claude Skills | Adaptable | Use CLAUDE.md or platforms/claude.md with the same scripts and references |
| Claude Code | CLI-ready | Use AGENTS.md, CLI.md, and terminal commands |
| VSCode | CLI-ready | Use .vscode/tasks.json or integrated terminal commands |
| GitHub Copilot | CLI-ready | Use AGENTS.md, CLI.md, and repo scripts as project context |
| Antigravity | CLI-ready | Use AGENTS.md, CLI.md, and references/cli-integration.md |
| Gemini Gems | Instruction/reference adaptation | Use GEMINI.md and platforms/gemini.md |
| Local LLM agents | Adaptable | Load AGENTS.md, SKILL.md, references/, and run the CLI locally |
Compatibility depends on whether the target platform supports instruction files, uploaded references, filesystem access, and code execution.
PDF Pro follows a production-style workflow:
The goal is to avoid treating PDF work as a one-step file operation. Every final PDF should be checked before delivery.
pdf-pro/
โโโ SKILL.md
โโโ README.md
โโโ LICENSE
โโโ NOTICE.md
โโโ AGENTS.md
โโโ CLAUDE.md
โโโ GEMINI.md
โโโ CLI.md
โโโ pyproject.toml
โโโ agents/
โ โโโ openai.yaml
โโโ assets/
โ โโโ design-tokens-starter.json
โ โโโ pdf.png
โโโ examples/
โ โโโ visual-spec.json
โโโ platforms/
โ โโโ chatgpt.md
โ โโโ claude.md
โ โโโ gemini.md
โ โโโ cli-agents.md
โโโ references/
โ โโโ pdf-workflows.md
โ โโโ quality-checklist.md
โ โโโ validation-protocol.md
โ โโโ visual-design-system.md
โ โโโ cli-integration.md
โ โโโ platform-compatibility.md
โ โโโ compatibility-checklist.md
โโโ scripts/
โ โโโ create_visual_pdf.py
โ โโโ pdf_ops.py
โ โโโ validate_pdf.py
โ โโโ validate_package.py
โโโ src/
โ โโโ pdf_pro/
โ โโโ __init__.py
โ โโโ cli.py
โ โโโ create_visual_pdf.py
โ โโโ pdf_ops.py
โ โโโ validate_pdf.py
โโโ tests/
โโโ test_cli_smoke.py
SKILL.md is the primary ChatGPT Skill instruction file.
It defines:
Use CLAUDE.md and platforms/claude.md.
Use GEMINI.md and platforms/gemini.md.
Use CLI.md, AGENTS.md, and references/cli-integration.md.
From the repository root:
python -m pip install -e .
Install optional PDF dependencies:
python -m pip install pypdf pymupdf reportlab
Or install with the package extras:
python -m pip install -e ".[pdf]"
Inspect a PDF:
pdf-pro inspect input.pdf
Extract text:
pdf-pro extract-text input.pdf --out extracted.txt
Render pages for visual review:
pdf-pro render input.pdf --out-dir renders/input --dpi 160
Merge PDFs:
pdf-pro merge output.pdf first.pdf second.pdf
Split pages:
pdf-pro split input.pdf --pages 1-3,7 --out selected-pages.pdf
Rotate pages:
pdf-pro rotate input.pdf --pages 1,3-5 --angle 90 --out rotated.pdf
Crop pages:
pdf-pro crop input.pdf --box 36,36,559,806 --out cropped.pdf
Add a watermark:
pdf-pro watermark input.pdf --text "DRAFT" --out watermarked.pdf
Redact matched text:
pdf-pro redact input.pdf --text "Confidential" --out redacted.pdf
Validate a finished PDF:
pdf-pro validate output.pdf --expected-pages 5 --render --out-dir validation/output
Create a visual PDF from JSON:
pdf-pro visual examples/visual-spec.json --out output.pdf
The same operations are available without installing the package:
python scripts/pdf_ops.py inspect input.pdf
python scripts/pdf_ops.py render input.pdf --out-dir renders/input --dpi 160
python scripts/pdf_ops.py merge output.pdf first.pdf second.pdf
python scripts/validate_pdf.py output.pdf --render --out-dir validation/output
python scripts/create_visual_pdf.py examples/visual-spec.json --out output.pdf
Before a final PDF is delivered, verify at minimum:
See references/validation-protocol.md for the full protocol.
Before delivering a visual PDF, check:
See references/quality-checklist.md for the complete checklist.
PDF Pro includes redaction workflow guidance and a text redaction command using a redaction-capable PDF engine where available. Do not treat a visual black box as safe redaction. True redaction must remove underlying text or pixels and must be verified through text extraction and rendering.
See references/validation-protocol.md for redaction validation rules.
Validate the repository structure:
python scripts/validate_package.py .
Run smoke tests:
python -m pytest
Compile Python files:
python -m compileall scripts src
This package includes original PDF workflow instructions authored for PDF Pro.
Its visual design guidance is inspired by UI/UX Pro Max by NextLevelBuilder, which is identified as MIT-licensed. This package does not claim ownership of UI/UX Pro Max or its upstream project.
See NOTICE.md for full attribution details.
This project is released under the MIT Licence.
See LICENSE for details.
Created and maintained by Tariq Said.
PDF Pro is part of DXBMarkโs pr