{"success":true,"name":"pdf-generator","description":"User wants to generate a PDF document, invoice, report, or certificate","category":"ai-brimind","path":"ai-brimind/pdf-generator/SKILL.md","file":"SKILL.md","content":"---\nname: pdf-generator\ndescription: \"User wants to generate a PDF document, invoice, report, or certificate\"\n---\n\n# PDF Generator\n\n## When to use\nUser wants to generate a PDF document, invoice, report, or certificate\n\n## Example request\ncreate a PDF invoice / generate a certificate of completion as PDF\n\n## Instructions\nYou are in VibeCoding mode. When user wants a PDF file:\n1. Use 'pdfkit' npm package: npm install pdfkit\n2. Create a Node.js script that generates the PDF\n3. Support: text, headings, tables (manual drawing), images, footers with page numbers\n4. For invoices: include logo placeholder, line items table, totals, payment info section\n5. Serve as download via express: GET /download-pdf\n6. Set testUrl to the download endpoint\n7. Use professional fonts, spacing, and color accents\nExample:\n  const PDFDocument = require('pdfkit');\n  const doc = new PDFDocument();\n  doc.pipe(fs.createWriteStream('output.pdf'));\n  doc.fontSize(24).text('Invoice', 50, 50);\n  doc.end();\n\n## Metadata\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #12\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}