Create PDF Generator
Installation
SKILL.md
Skill: Create PDF Generator for ATLAS
This skill guides the creation of a new PDF generation utility (e.g., specific reports, certificates, or letters).
It ensures the output is consistent with ATLAS branding (fonts, logos) and follows the pdf-lib pattern used in lib/pdf-generator.ts.
Execution Steps
1. Requirements Analysis
Determine:
- Document Type: Letter, Report, Certificate?
- Entity: Is it generic or specific to a business unit (e.g., GALUR, ARM)?
- Dynamic Data: What fields need to be injected (Client Name, Date, Items table)?
2. File Creation
Create a new file in p:\ATLAS\lib\.
Naming convention: [type]-generator-[optional:entity].ts.
Example: audit-report-generator.ts.