Skip to content

docs(skill): resync pdf-template-author snapshot from makespdf integration (MAK-455/MAK-467) - #9

Merged
lecstor merged 2 commits into
mainfrom
clanker/783966ea-re-copy-merged-skills-pdf-template-autho
Nov 26, 2026
Merged

lecstor merged 2 commits into
mainfrom
clanker/783966ea-re-copy-merged-skills-pdf-template-autho

Conversation

@lecstor

@lecstor lecstor commented Nov 26, 2026

Copy link
Copy Markdown
Member

What

Re-copies the merged canonical skills/pdf-template-author.md from the
lecstor/makespdf monorepo (origin/integration, tip 73a63ef2) into the
CLI's baked snapshot. scripts/bake-skill.mjs embeds this file into
makespdf skill output at build time, so the copy is verbatim — no hand edits.

Byte-identity with the merged tree:

  • git blob 807be7c27c627fd26481987eff2881f7b145b734 (same in both repos)
  • sha256 299af0e50a1372217619b352feea95247c6794986ad4a2e4aec2f216eca6dd08 (same in both)
  • cmp against git show origin/integration:skills/pdf-template-author.md is clean

Content picked up (from MAK-455 and the newer rotation guidance)

  • Lists: the accessibility note no longer points at doc({ tagged: true }) (there is nothing to opt into — in-flow output is tagged by default) and names list() instead of rebuilding out of r() + s("•").
  • Fillable form fields: same tagging correction; widgets land in the structure tree automatically.
  • Invoice line-item tables: the four-column example writes null for omitted widths, never undefined — the DSL sandbox has no undefined binding, so the old wording produced a script that fails to run.
  • Rotated form fields: new /MK /R whole-quarter-turn guidance for input/select in rotated overlays.

A patch changeset (.changeset/resync-skill-snapshot-mak-455.md) accompanies the snapshot; changeset status reports a patch bump for @makespdf/cli.

Tests

  • pnpm typecheck — clean (pretypecheck bakes the skill: 106941 chars)
  • pnpm test — 5 files / 23 tests passed
  • pnpm build — success
  • CI smoke-test equivalent verbatim: node dist/index.js skill > skill.md; test -s OK; cmp skills/pdf-template-author.md skill.md PASS, both sha256 299af0e5…

CI's Smoke-test bundled binary step (in each test (node 20|22|24) job) runs the same cmp against the committed snapshot.

Byte-identical copy of lecstor/makespdf skills/pdf-template-author.md on
integration (blob 299af0e5, which is also what main carries). Copies the
merged tree rather than hand-editing the snapshot, as MAK-407 requires.

The four content changes since the last refresh (175feb5a):

- Lists: the accessibility note no longer tells authors to put the list in
  doc({ tagged: true }); in-flow output is tagged by default, and it names the
  list() call to use instead of rebuilding a list out of r() + s("•").
- Fillable form fields: same correction - there is nothing to opt into for
  tagging, so widgets land in the structure tree automatically rather than
  requiring a tagged: true option that does not exist.
- Invoice line-item tables: the canonical four-column example writes null in
  an omitted width slot instead of undefined. The DSL sandbox has no
  undefined binding, so the old wording produced a script that fails to run.
- Rotated form fields: new guidance that an input or select inside an
  absolutely positioned overlay supports whole quarter-turns only (a matching
  /MK /R); any other angle leaves the field static-only, while painted
  content and checkboxes are unaffected.

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.
…lob (MAK-467 review)

299af0e5 is the file's sha256 and 807be7c is the git blob; the release note
called the former a blob, pointing re-verification at a non-existent object.
@lecstor
lecstor merged commit d5cc093 into main Nov 26, 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