Skip to content

docs(skill): resync pdf-template-author snapshot (12 MCP tools) - #8

Merged
lecstor merged 2 commits into
mainfrom
clanker/ba217b59-resync-the-baked-pdf-template-author-ski
Nov 21, 2026
Merged

lecstor merged 2 commits into
mainfrom
clanker/ba217b59-resync-the-baked-pdf-template-author-ski

Conversation

@lecstor

@lecstor lecstor commented Nov 21, 2026

Copy link
Copy Markdown
Member

Summary

Resync the baked pdf-template-author skill snapshot into the CLI. skills/pdf-template-author.md is copied byte-for-byte from lecstor/makespdf main (175feb5adbe1667c32428e2933d4194518fd3df8), picking up everything the snapshot had missed since 2026-11-05:

  • MCP: twelve tools, including get_render_download_url; render responses document downloadUrl (15-minute expiry, refresh from artifactId); OAuth sign-in setup alongside the Bearer key.
  • list(opts, items): tagged /L /LI /Lbl /LBody lists.
  • Row spans: rowspan on col() cells across consecutive r({ grid }) rows.
  • Factur-X / ZUGFeRD, align a column without a width (null width slot), "not-last": true headings, chart y/colors fixes, link-scheme restriction.
  • A patch changeset so the next release ships the new skill.

No code changes: scripts/bake-skill.mjs embeds the markdown at build time, and CI compares the baked makespdf skill output against the file byte for byte.

Snapshot sha256: 947d6c7a769e24ea51cb171d9b0dbcb9043b1946ca47876e7fd73cf04158a668 (identical to lecstor/makespdf origin/main:skills/pdf-template-author.md).

Round-1 review raised one SHOULD and two NITs; the reworded row-span changeset bullet (f35e806) was the only CLI-local fix. The two skill-content defects require a monorepo edit and are dispatched upstream as MAK-455 (lecstor/makespdf), including the byte-identical re-copy back into this repo.

Tests

  • pnpm typecheck — pass
  • pnpm test — 5 files, 23 tests passed
  • pnpm build — tsup success, dist/index.js 131.71 KB
  • CI smoke replicated locally: node dist/index.js --help ok; node dist/index.js skill 106403 bytes; cmp skills/pdf-template-author.md on the baked output — identical
  • changeset status --since=origin/main — @makespdf/cli patch, no parse errors

Byte-identical copy of lecstor/makespdf skills/pdf-template-author.md at
main (175feb5a). The baked snapshot was last refreshed on 2026-11-05, so
`makespdf skill` had been advertising eleven MCP tools and was missing
everything the monorepo's skill gained since:

- MCP: the tool table lists twelve tools, adding get_render_download_url
  (GET /api/v1/artifacts/:id/pdf, free); billed renders document the
  downloadUrl they return (15-minute expiry) and how to refresh it from the
  render's artifactId (artifacts kept 7 days); OAuth sign-in is documented
  alongside the Bearer API key (MAK-400, MAK-401).
- list(opts, items): tagged /L /LI /Lbl /LBody lists, ordered, nested and
  task-list forms.
- Row spans: rowspan on col({ grid }) rows, the grid requirement and the
  validator codes.
- Factur-X / ZUGFeRD: options.facturX on /render, profile and relationship
  rules, and what /preview validates without embedding.
- Tables and headings: align a column without sizing it (null in the width
  slot); keep a lead-in paragraph with its heading via "not-last": true.
- Charts: the scatter y example uses the [{ key, label }] shape chart()
  accepts, and colors can be a whole-value data binding.
- Links: only http, https, mailto and #anchor targets stay clickable; other
  schemes render as plain text with a link-scheme-blocked warning.

Also adds a patch changeset, since the change is visible in what
`makespdf skill` prints. No code changes: scripts/bake-skill.mjs reads the
markdown at build time and the CI smoke test compares the baked output to
the file byte for byte.
@lecstor
lecstor merged commit 4584fc7 into main Nov 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant