← ClaudeAtlas

typeset-auditlisted

Check and fix line breaks in web prose with typeset.us 4.x: short words ("a", "the", "of") stranded at line ends, one-word last lines, ragged right edges, and the same problems in Firefox, which has no text-wrap: pretty. Start with CSS text-wrap: balance for headings and pretty for paragraphs. Then install the pinned go@<version>.js with its integrity hash from https://typeset.us/sri.json, or `npm i -E typeset.us` (mount() for static DOM, TypesetText/TypesetRichText from typeset.us/react for React-owned text), and verify with auditJSON(selector) or `npx typeset-audit`: a pass means a nonempty scope, no hard errors and no unprocessed targets, and every element's outcome (composed:rich, native:fits, ...) is explained in OUTCOMES.md. Use when asked about orphans, widows, bad or ugly line breaks, when text-wrap: pretty or balance is not enough, or for "one word alone on the last line" and "the right edge looks ragged".
speedwarnsf/web-typography · ★ 0 · Web & Frontend · score 66
Install: claude install-skill speedwarnsf/web-typography
# typeset.us > Historical V3 integration guidance below. For the current 4.x release, > use https://typeset.us/for-agents.md and its linked support/migration contract. > The old audit-array, clipboard, API and performance statements below are > not the V4 contract. Do not apply this archived procedure to V4. Paragraph compositor for the browser. Replaces greedy line breaking on English long-form prose with a beam search over whole-paragraph break configurations, re-measures every line it ships against the real content box, and restores the browser's own layout if a composition fails. The browser types. It doesn't read. Definition of done is machine-checkable: `audit()` returns `[]`. **Scope: English long-form prose only.** Weak-word lists are English; quote education mangles `„…“` and `« »`. Never run it on non-English text, UI chrome (buttons, nav, labels), data tables, or text users copy verbatim (code, addresses, keys — copying composed text yields `\n` at each composed line break). ## Install Script tag (defaults to composing prose-ish elements site-wide; scope it): ```html <script src="https://typeset.us/go.js" defer data-typeset-selector="main article p, main article li, main article blockquote"></script> ``` Version-pinned: `https://typeset.us/go@3.5.0.js` with `integrity="sha384-RZw93n+DsSryf1jIeTMdbA4sD4b5AQ9ritormzuuoSxTmYNk7gF5vFjHJ9lE7e/l" crossorigin="anonymous"`. Or npm: ```js import { typeset, audit } from 'typeset.us'; // npm install typeset.u