Pack layout
Quiet, editorial chart PNGs for technical blog posts. 15 primitives, six themes, one CLI.
npx -y skills add shuakami/paperchart --skill pack-layoutAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Render a three-panel byte-layout diagram for a binary file format. Panel one shows the proportional byte share of each section, panel two shows a bit-level header breakdown with labelled bits, and panel three shows a full left-to-right entry layout. Use when a technical blog post needs to explain how a custom binary format is packed on disk or in memory.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.0 KB, as published. Nobody here has run it
paperchart — pack layout
A one-page explanation of a binary format. Three stacked panels:
- Proportional section bar. Horizontal strip, each section sized by its share of the total. The accented section is the one the reader should think about.
- Bit-level header breakdown. Eight boxes, one per bit. Type bits get the accent; length bits stay neutral. Each group has a caption naming it and a sub-caption explaining the encoding.
- Entry layout, left to right. The anatomy of a single record in the format, with a bold name and a monospace sub-line for each field.
When to use
- Documenting a custom wire format.
- Explaining a varint / tag / length encoding.
- Showing how a packed index, page, or block is laid out in storage.
Visual rules
- Proportional section bar has the accented section filled with
#C75F3C, others with#D6B99B. Inside the accent, the foreground text flips to the page background (#F6F1EA) for contrast. - Bit boxes use a fixed 110 px square with 12 px gaps; the letters are 48 px / 600 for legibility.
- The full entry strip uses the same two colours; the first field (header byte) is always accented because it drives everything after it.
How to use
- Edit
src/charts/PackLayout.tsx. - Replace
SEGMENTSwith your sections; replace the eight-bit array in the header panel; replace the five-field entry strip at the bottom. npm run dev, open/#/pack-layout.npm run snapto render toout/pack-layout.png.