Repository navigation
docs(skill): resync pdf-template-author snapshot (12 MCP tools) - #8
Merged
lecstor merged 2 commits intoNov 21, 2026
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resync the baked
pdf-template-authorskill snapshot into the CLI.skills/pdf-template-author.mdis copied byte-for-byte fromlecstor/makespdfmain(175feb5adbe1667c32428e2933d4194518fd3df8), picking up everything the snapshot had missed since 2026-11-05:get_render_download_url; render responses documentdownloadUrl(15-minute expiry, refresh fromartifactId); OAuth sign-in setup alongside the Bearer key.list(opts, items): tagged/L/LI/Lbl/LBodylists.rowspanoncol()cells across consecutiver({ grid })rows.nullwidth slot),"not-last": trueheadings, charty/colorsfixes, link-scheme restriction.No code changes:
scripts/bake-skill.mjsembeds the markdown at build time, and CI compares the bakedmakespdf skilloutput against the file byte for byte.Snapshot sha256:
947d6c7a769e24ea51cb171d9b0dbcb9043b1946ca47876e7fd73cf04158a668(identical tolecstor/makespdforigin/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— passpnpm test— 5 files, 23 tests passedpnpm build— tsup success,dist/index.js131.71 KBnode dist/index.js --helpok;node dist/index.js skill106403 bytes;cmp skills/pdf-template-author.mdon the baked output — identicalchangeset status --since=origin/main—@makespdf/clipatch, no parse errors