prongs
GitHub

Project

Changelog

What changed, newest first. Unreleased changes are on main and ship in the next version.

Read https://www.prongs.dev/docs/changelog.md and help me apply it to my app.

Releases

  • Oct 26, 2026Intents · 0.3.5

    Screens, anchors and clearer neighbours

    layout.screen is a whole screen with its own background, such as a maintenance, sign-in or error page; surface.page is the colour it sets for itself

    layout.anchor is a plain box with no look that positions what sits inside it, for a badge or a menu placed over an element

    popover.menu says the Popover places it beside its button, so it is not positioned with className

    action.start says a form’s submit button is action.submit, even when the form begins something like Sign up

    layout.page and layout.section say which one is the outer column of a page and which is a block inside it

  • Oct 26, 2026Docs · 0.3.5

    Install steps

    The install step says to add prongs as a dev dependency first, that add edits the global stylesheet, and that @prongsjs/ui is ESM-only

  • Oct 26, 2026CLI · 0.3.5

    Findings per file

    prongs check --by-file prints the findings per file, most first, instead of one by one, for migrations where the findings spread across many files

  • Oct 26, 2026CLI · 0.3.5

    Check history and insights

    Each full prongs check run leaves one count-only line in .prongs/checks.jsonl: the rules that fired and how often, the escape counts and the style and class findings. No code or file contents, and nothing leaves the machine

    prongs insights summarises those runs: how many, the most frequent findings and the escapes so far. --json is for agents, so they can see where they keep getting stuck

  • Oct 26, 2026Intents · 0.3.5

    Fit, grow, thumbnail and cover sizes

    fit on the width of Action, Text and Field makes a control as wide as its content, and grow takes the spare space in a row and lets its text shrink and truncate

    Media has thumb (a 4:3 list thumbnail) and cover (a 16:9 card cover) sizes, so a thumbnail does not need an escape hatch

  • Oct 26, 2026CLI · 0.3.5

    Binding classes and escape hatches

    prongs check reports a registry class that is neither a Tailwind utility nor defined in the theme, under “Registry classes (report only)”, so a binding cannot quietly depend on the app’s own CSS

    The check summary counts prongs-unsafe and prongs-ignore comments, so escape hatches are visible as they grow

  • Oct 26, 2026CLI · 0.3.5

    Heading overrides in stylesheets

    prongs check reports stylesheet rules that set a size or line height on a heading or an intent element from outside the registry, such as h2 { font-size: … }. It reports only, so nothing fails on its first run; the section is labelled “Styles (report only)”

  • Oct 22, 2026CLI · 0.3.4

    Agent skill and info

    prongs spec --skill writes .claude/skills/prongs/SKILL.md: a short skill Claude Code loads for tasks that touch UI, errors or logs, naming this project’s intent count and import path, and pointing at PRONGS.md for the full reference

    Add prongs info: how Prongs is set up here (framework, registry and intent count, components and import path, profiles, agent files, hooks, baseline). --json for agents and CI; a broken registry is reported, not thrown

  • Oct 22, 2026CLI · 0.3.4

    Helpers folder

    log(), fail() and trackIntents() are installed into lib/prongs/, not components/prongs/, since they are not components. prongs.json has a new helpers setting for it

  • Oct 22, 2026CLI · 0.3.4

    Validate

    Add prongs validate: checks the registry against the spec and exits 1 on an error, for CI

  • Oct 22, 2026CLI · 0.3.4

    Coverage

    Add prongs coverage: the share of markup written with intents, per folder, with escape hatches, baseline debt and the intents nothing uses. --min 80 fails CI below a threshold, and --json feeds dashboards

  • Oct 22, 2026CLI · 0.3.2

    Clearer install errors

    When a registry import is missing, prongs add names the package and the npm install command to run first, instead of only saying the package cannot be found

    The getting-started guide installs @prongsjs/errors and @prongsjs/logs before prongs add logs and prongs add errors, which is the order they need

  • Oct 22, 2026Intents · 0.3.1

    Popover in older TypeScript targets

    The starter’s Popover no longer spreads a NodeList, so prongs add projects with an ES5 TypeScript target type-check again

  • Oct 22, 2026Spec · Draft

    Layout picture, id rules and validate for CI

    A picture of a project's layout at the top, and the error code that enforces each field's constraint in §1.2, next to it.

    Valid and invalid ids beside the grammar (§1.1).

    prongs validate runs the registry checks in §3 on its own, for CI (§3.3).

  • Oct 21, 2026Intents · 0.3.0

    Clearer layout names

    Rename layout.labelled to layout.lockup and layout.facts to layout.details; remove layout.showcase and its items, which were not clear from their names: use layout.collection for equal items

    Put a line of small facts in arrange.row with text.meta items; layout.meta is gone, and layout.details is for label and value pairs

    Remove layout.setting (use arrange.row with a field.switch), layout.locked (use layout.notice with an action.upgrade), and layout.meter and layout.meter.fill (use layout.blocks for an amount shown as blocks)

  • Oct 21, 2026CLI · 0.3.0

    Add one intent

    Add packs and single intents in one command, prongs add saas action.copy, so a setup takes the starter, then one line for the rest

    Add a single intent from the starter or a pack, with the intents it is built from, with prongs add intent action.inspect; it skips any the registry already has, and says which name it meant if you misspell one

  • Oct 21, 2026Intents · 0.3.0

    Logs that agents can follow

    Start a trace with newTraceId() and pass it to log() with the span that caused the entry, parentId, so a chain of work across agents and services can be followed as one

    Record who did the work with actor (user, agent, service or job, with an id and version), in the fourth argument of log(); the id is kept even when data is redacted

    Declare the keys a log intent carries with binding.fields in the logs profile; prongs check warns on keys the intent does not declare (undeclared-log-field)

  • Oct 21, 2026Spec · Draft

    Trace and actor on log entries

    Log entries may carry traceId and parentId, to tie a chain of work together, and actor, to say who did it (§8). All three are optional, so existing entries stay valid.

    A profile may declare the keys its log data carries for an event, and a check warns about other keys (§8).

  • Oct 20, 2026Intents · 0.3.0

    Starter and packs

    The starter is smaller and covers more: 94 intents chosen from how six open-source apps are built, instead of 126 shaped by two of our own. Verbs that look and behave the same are one intent, action.command, and the verb goes in the new verb prop

    Add intents for a kind of app with prongs add saas, editorial, marketing, dashboard or media; run it again and it skips what is there. See /docs/packs

    Show a message that leaves on its own with layout.toast, something working with feedback.busy, a region with nothing in it yet with layout.empty, and a panel from the edge of the screen with dialog.sheet

    Introduce a section with layout.intro, put two parts side by side with layout.split, and list label and value pairs with layout.details (renders <dl>; <Text as="dt"> and as="dd" inside)

    Pick a date or time with field.date, files with field.file, copy a value with action.copy, and name a group in a menu or sidebar with heading.group

    Mark any action as dangerous with tone="danger", not only deletes, and name its verb for analytics with verb; trackIntents() reports it as verb

    Show a password with revealed on field.password, ask field.date for a time with type="time", and let a picker pick many with multiple on popover.picker

    Descriptions say what an intent is for, not how it looks, and the ones agents stretched most now cover what they were stretched for: hover on popover.info, error and expired pages in layout.task, prices in text.stat, sign-in links in nav.page

    The intent reference covers the starter and every pack, and each intent says where it comes from

    Each pack has its own page in the reference at /docs/intents/packs, listing its intents by domain and the starter intents they are told apart from; the sidebar has a Packs section and tags pack intents with their pack, and counts list starter and pack intents apart

    About 100 intent pages show the intent in a real screen, with the code that makes it beside it, so you can see what each one looks like before you use it

    New wordmark logo, with a yellow circle as the mark in the favicon, the 404 page and the share image

  • Oct 17, 2026Intents · 0.3.0

    Layout intents

    Put a title at the start of a line and its buttons at the end, with the buttons dropping below when there's no room, with layout.headline

    Put an icon, avatar or logo beside its text without it shrinking, with layout.lockup; layout.badged now points there for an icon beside its label

    Let a wide table or long code line scroll sideways inside its column, with layout.scroller; layout.table says to wrap wide tables in it

    Give a settings or account page its own section nav beside the content, with layout.subnav

    Sign-in and confirmation pages centre their heading, text and buttons, while a form inside keeps the full width, in layout.task

    Grids fit as many columns as their own width allows, so the same grid works in a sidebar and across a page, in layout.collection; set columns from a breakpoint only when the count matters

    A form's submit bar pinned to the bottom on phones now counts as a use of layout.dock

    Filter pills and other buttons in layout.toolbar keep their own padding and sit apart with a small gap, instead of the first one losing its padding and lines drawn between them

    The libraries are published as @prongsjs/core, @prongsjs/ui, @prongsjs/errors and @prongsjs/logs; the CLI is still npx prongs

    On wider screens dialog.media fits its photo again, instead of stretching to the full height of the screen with empty space below

    Docs site: repeated layout tweaks down from 51 to 40 kinds, and from 396 to 253 class uses

    The README now explains intents, domains and profiles, and the format spec is on its own page at /docs/spec

    The guide now introduces Prongs as a spec, a framework and presets for UI, errors and logs that you extend with your own intents, and the checking page lists the errors and logs rules too

    Links to prongs.dev now show the preview image when shared, and the site description and preview card describe the spec, framework and presets instead of UI alone

  • Oct 17, 2026Spec · 0.3.0

    Spec gaps

    Export your registry as JSON for tools in other languages with prongs export; it matches the spec's schema.json

    Attach your own data to an intent, like an owner or a design link, with meta and prefixed keys such as com.example/owner

    Registry problems now carry a stable code, like unknown-ref, so tools can act on them without reading the message

    Deprecating an intent without saying what replaces it is now a warning

    The spec now covers what each status means, a checker's findings, intents at run time, security and what counts as a breaking change, and has conformance tests any implementation can run and a changelog page

  • Oct 17, 2026Intents · 0.3.0

    Layout tweaks

    prongs check finds the same layout class added to the same <Layout> intent in three or more places, and says whether an intent already has it, whether it does nothing, or whether one is missing; check --suggest lists them too (repeated-tweak)

    Hide or show a region by screen size, or push it to one end of its row, with hideBelow, showBelow and align on <Layout>

    align="end" now pushes an action, field or image to the end of a row as well as a column, the same as on <Layout>; before, in a row it moved it to the bottom instead

    layout.section is now the stack for separate blocks in a region, with or without a title, and layout.group points there for them

    Columns no longer overflow their row or grid when their content is wide, with min-w-0 on every stacking intent

    Pages and panels have less padding on phones and the same on larger screens, and a call site's own padding still wins, in layout.page, layout.article and layout.panel

    A loading placeholder without a size shows as a full-width line instead of nothing, with layout.loading

    Task pages and app shells fill the visible screen on phones, not the height behind the browser's bars, in layout.task and layout.shell

  • Oct 17, 2026Intents · 0.3.0

    Device status

    The analytics guide shows how to turn intent events into decisions, with worked examples and what the events cannot tell you

    Whole table rows that open a record's details on click, with action.inspect on its name

    Show an amount as a row of blocks, like a battery, coloured by level, with layout.blocks and layout.blocks.cell

    An icon with a status dot on its corner, like a device and whether it is online, with layout.badged

    Statuses as colour-coded outlined pills with text.status

    A photo opened large fills a phone screen, with the photo as a full-width square between its title and details, and the page behind stays still while it's open, with dialog.media and media.enlarged

    A status dot pulses while something is in progress with data-busy on text.indicator, and data-off on a table row greys out something switched off

  • Oct 17, 2026Spec · Draft

    First draft

    First draft: intents, profiles, registries, resolution, usage, the agent spec, the registry export and versioning.

    Added terms and principles.

    Added meta, for data the spec does not define, under reverse-DNS prefixed keys (§1.5). Keys under a prongs prefix are reserved.

    Defined what each status means and what tooling does with it (§1.4). A deprecated intent should name its replacement.

    Gave every validation issue a stable code (§3), and added the meta-key, meta-reserved and deprecated-no-instead issues.

    Said that resolution reads only refs and binding, and fails on a cycle even when validation is off (§4).

    Defined the shape of a checker's findings (§5.1).

    Asked for deterministic agent spec output (§6).

    Said what a reader does with an export from a spec version it does not know (§7). prongs export writes an export.

    Added intents at run time (§8), conformance fixtures (§9), security (§10), and what counts as a breaking change, for the spec and for a registry (§11).

    schema.json gained meta, and its $id now resolves.

  • Oct 15, 2026Intents · 0.3.0

    Dashboard intents

    A <figure> frame for charts (layout.chart)

    Sortable table columns (action.sort) and pagination (layout.pager, nav.paging)

    Status colours for text.indicator: data-tone="success", "warning" and more

    Pull quotes (text.quote), standalone links like Learn more with an arrow and no underline (action.more), and layout.teaser and nav.item in the starter registry

    Dashboard and newsroom examples in the home page's examples, built only from intents

    Icon-only buttons no longer squeeze their icon

  • Oct 14, 2026CLI · 0.3.0

    Find intents by purpose

    prongs find "<what it is for>" looks intents up by purpose, with their "not for" guidance and how to write them

    Tables (layout.table), app shells (layout.shell), sign-out (action.signout) and wrong-password errors (auth.signin), added where agents building a SaaS app went looking for them

    An eval suite that builds apps and runs chains of tickets with fresh agents, with and without Prongs

    Menus keep a danger colour on destructive items instead of flattening every row to the same look

    layout.form and layout.disclosure accept form and details attributes like noValidate and open

    prongs check accepts flex-grow ratios like flex-2, which it used to reject

    MIT license, a README for every package, CI and a fresh-install smoke test

  • Oct 13, 2026Intents · 0.3.0

    Whole fields and dark mode

    <Field label hint error> renders the whole field and connects the label, hint and error for screen readers

    The theme follows the system's dark mode, browser-drawn controls included, and focus rings sit on the surface colour

    PRONGS.md is a quarter smaller: the theme and the look intents moved to PRONGS.reference.md, and it shows how each layout arranges its children and the full fail() options

    audit.signedin and audit.signedout for ordinary sign-ins, apart from security.signin

    prongs check warnings are suggestions: agents keep their intent when the suggested one does not fit

  • Oct 9, 2026Intents · 0.3.0

    Popovers and layered surfaces

    <Popover> for menus, pickers and detail, on the browser's own popover, with keyboard navigation and listbox pickers

    theme.css with self-layering surfaces: nesting decides the shade, and quiet text stays readable at every level

    Dividers, status indicators, disclosures and embedded pages as intents

    Every element carries data-intent in production, for analytics, tests and A/B tools