This skill produces receipts as
packages. Follow the
k2f skill for authoring: unpack or init a workspace, edit the semantic tree, run pack/verify, then export. K2F keeps agents on
meaning (parties, line roles, totals, attribution rows)—not pixel coordinates—while the engine compiles layout, typography, and theme into consistent output across PDF and other formats.
Before you build, install the core skill:
npx skills add suzheng/k2f --skill k2f
.
Single blueprint for semantic content and aesthetic intent. Use labeled blocks the k2f skill can map to regions later.
-
Receipt type & reader — Payment (sale), refund, void/reissue, donation/subscription acknowledgment, or period summary (impact). Note audience: customer-facing (warm, minimal legalese), finance/AP (neutral, reference-heavy), or internal/manager (outcomes first). Omit sections the type does not need (e.g., skip “change due” on card-only digital receipts).
-
Header identity — Merchant or org: legal name, location, contact, logo intent. Recipient name
only if user supplied. For impact receipts, personalize with provided display name and state the covered period (
–
) plus active vs calendar days when both exist.
-
Transaction or period metadata — Receipt/transaction ID, date-time (timezone if known), register or terminal, order/invoice link, payment method labels verbatim from user (e.g., “Visa”, “Cash”, “Wallet”—never full PAN or CVV). One currency; flag missing receipt number or ambiguous period before layout.
-
Body architecture — Payment: table-first lines (description, qty, unit price, line total); optional short notes. Impact: What shipped (rounded approximates, labeled), then by project rows in source order—no re-ranking. Keep provenance stats (scan counts) out of the achievement block.
-
Totals & attribution story — Payment: subtotal → tax/fees → tip → total paid → cash tendered/change when applicable; write the math so it reconciles. Impact: headline totals (sessions, prompts, active days) then table columns the source actually provides; document which columns do not sum across rows (e.g., sessions spanning projects, commits deduped globally). Use share columns (e.g., % of compute) as shares only—never fabricate dollar costs from local estimates.
-
Closing & credibility — Thank-you or return policy only if provided. Manager impact: 2–3 sentences—shipped output first, self-reported scope, room for one user-supplied win. No invented hours saved or revenue. Surface verbatim project names for redaction before share.
-
Design intent — Tone, hierarchy, density, palette for the engine:
- Tone: factual and reassuring; a receipt is proof, not a pitch deck.
- Hierarchy: receipt title + total paid or period headline strongest; transaction ID and date in the header band; line table or project table secondary; footnotes and policy tertiary.
- Density: airy row rhythm for tables; right-align money; tabular numerals; one footnote block under multi-row tables explaining non-additive columns.
- Palette: neutrals, one accent on total; readable small or mobile; WCAG AA.