payslip-pdflisted
Install: claude install-skill rajurayhan/ai-agent-framework
# Payslip PDF Rendering
Build natively with `@react-pdf/renderer`. No headless Chromium in serverless environments.
- Use react-pdf primitives (`Document`, `Page`, `View`, `Text`, `StyleSheet.create`) — not HTML tags or Tailwind classes
- Pull data from the **frozen payslip snapshot**, never live salary config
- Single-payslip generation can render on demand; **batch generation for a whole run is a background job** (see `background-jobs` skill)
- Store rendered PDF in object storage once generated — immutable, render once and cache
Cursor equivalent: `examples/erp-mini/rules/payslip-pdf.mdc`