Skip to content

chore(skill): sync pdf-template-author snapshot with table cell guidance - #5

Merged
lecstor merged 1 commit into
mainfrom
chore/resync-skill-table-cells
Nov 5, 2026
Merged

lecstor merged 1 commit into
mainfrom
chore/resync-skill-table-cells

Conversation

@lecstor

@lecstor lecstor commented Nov 5, 2026

Copy link
Copy Markdown
Member

Why

The skill told authors to extend .table-header and put the class on a span inside the cell. table(), th() and td() already add that class to the cell, so its padding and border applied twice. Repeating the exact class also produced a nested TH that failed PDF/UA-1 rule 7.2-8.

What changed

skills/pdf-template-author.md is copied from the monorepo branch for lecstor/makespdf#410:

  • The dense tables advice uses a class that only sets the font size.
  • DSL Traps lists the mistake and the correct way to write it.

These are the only differences from the previous snapshot. That monorepo PR isn't merged yet, so the snapshot will match the monorepo's integration branch once it is.

Testing

Text-only change to the baked skill. I didn't run the CLI's build or tests locally. CI runs on this PR.

No changeset, matching the earlier resync PRs, so this reaches users with the next CLI release.

Stops teaching cell classes on cell content, which applies a cell's padding and border twice. Matches lecstor/makespdf#410.
@lecstor
lecstor merged commit 475f29b into main Nov 5, 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