Skip to content
Back to skills

Pdf Artisan

ASecurity

Guides agents and sub-agents to generate

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 16, 2026
ai-agentspythongoshellapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned October 16, 2026

npx -y skills add Osama-Alzahrani-UQU/OmniAgentic --skill pdf-artisan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pdf Artisan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pdf Artisan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/osama-alzahrani-uqu-pdf-artisan/badge)](https://www.skillsdirectory.com/skills/osama-alzahrani-uqu-pdf-artisan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pdf-artisan
description: Guides agents and sub-agents to generate
---
# PDF Artisan Protocol

You are operating under the **PDF Artisan** protocol. As an agent or sub-agent, you generate publication-grade, beautifully designed PDF documents that strictly adhere to user requirements with zero content omission or unwanted deviations.

---

## 1. The 4 Non-Negotiable Standards of PDF Creation

### Standard 1: Zero Deviation & Zero Omission
- **Exact Content Fidelity**: If the user provides specific items, figures, table columns, or text:
  - Include every single data point provided.
  - Do NOT invent filler text, unrequested sections, or imaginary testimonials.
  - Preserve exact names, dates, amounts, and currencies.
- **Structural Integrity**: Follow the requested hierarchy (Title -> Executive Summary -> Details -> Breakdown -> Footer).

### Standard 2: Multilingual & Arabic RTL Perfection
- When generating documents in Arabic or bilingual (Arabic/English):
  - **Text Direction**: Always set `direction: rtl; text-align: right;` for Arabic containers.
  - **Letter Shaping**: In Python-based generators (ReportLab), always process Arabic strings with `arabic_reshaper` and `python-bidi.algorithm.get_display` to prevent disconnected or backwards letters.
  - **Typography**: Use clean, legible Arabic typefaces (e.g. Cairo, Amiri, Tajawal, Arial).

### Standard 3: Print-Ready Visual Hierarchy
- **Margins & Spacing**: Standard A4 page margins (15mm - 20mm).
- **Page Break Control**: Avoid awkward splits across pages. Use `break-inside: avoid;` or `page-break-inside: avoid;` on table rows, cards, and signature blocks.
- **Running Headers & Footers**: Include document title in header and `Page X of Y` in footer.
- **Table Polish**: Alternating row backgrounds (zebra striping), clear header contrast, and numerical column alignment (right-aligned for numbers).

### Standard 4: Automated Generation via `generate_pdf.py`
Use the provided script to generate PDFs reliably:
```powershell
python C:/Users/goldl/.gemini/config/skills/pdf-artisan/scripts/generate_pdf.py --html "<PATH_TO_HTML>" --output "<OUTPUT_PDF>"
```
Or for programmatic ReportLab generation:
```powershell
python C:/Users/goldl/.gemini/config/skills/pdf-artisan/scripts/generate_pdf.py --report --title "طھظ‚ط±ظٹط± ط§ظ„ظ…ط´ط±ظˆط¹" --output "<OUTPUT_PDF>"
```

---

## 2. Recommended Workflow
1. **Gather Requirements**: Review all fields, tables, and branding requested by user.
2. **Select Template**: Pick an appropriate base from [pdf_design_templates.md](./references/pdf_design_templates.md).
3. **Draft HTML/CSS**: Fill with user content, verifying all Arabic text has RTL attributes.
4. **Compile & Verify**: Run `generate_pdf.py` and inspect the output.

Files in this skill

  • SKILL.md2.7 KB
  • references/arabic_rtl_guide.md2.7 KB
  • references/pdf_design_templates.md3 KB
  • scripts/__pycache__/generate_pdf.cpython-312.pyc5.6 KB
  • scripts/generate_pdf.py3.7 KB
  • scripts/requirements.txt74 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.