Skip to content

Pagesystem / Agentic design systems

The design system your agent builds with.

Components, page systems, design patterns and best practices for agents and the people they work with. Use each one live, read its contract, take the HTML.

Agent map Live. Choose a travel mode, or take the other way.Inspect the contract

Site audits

Review the whole experience.

Browser evidence, a repair plan,
and the parts to carry it out.

  1. Observe

    Read the actual site.

    Desktop and phone, light and dark. Accessibility checks, screenshots, keyboard evidence, and the interaction journeys you define.

  2. Connect

    Find the shared cause.

    Group related failures by candidate template. Attach the affected pages, quoted evidence, and the relevant component contracts.

  3. Repair

    Hand over an actionable plan.

    Dependencies, definitions, and verification steps. Fix the shared source, check its siblings, then review the site again.

Local browser audit availableRemote audit jobs and MCP are planned.
npm run audit:site -- https://your-site.example --max 25

Run from the repository after npm install. Requires Chrome. Each run writes a private, self‑contained report and plan.json. Supply an explicit URL inventory for unlinked pages; untested interactions and visual judgments stay open for review.

Foundations

The same care, at every scale.

Typography, spacing, behavior.
Shared decisions at every scale.

The task comes first.

A guide helps someone understand. A workspace helps someone act. Their structures should follow their purpose.

The page has a contract.

Content, reading order, states, responsive behavior, and checks. Define what has to hold before choosing a surface.

One decision, one home.

Shared tokens carry the scale. Shared components carry the behavior. The same fact drives every place it appears.

Type and space have roles.

Define text hierarchy, reading width, gutters, panel padding and group spacing. Apply the same rules to every sibling.

Every state tells the truth.

Empty is different from loading. A sample is different from a result. A review is different from a person's approval.

Hand over something usable.

A complete page. A component you can inspect. A revision you can compare and roll back. Built to leave the preview.

Type roles

Measured from the live tokens at this width. Resize the window; fluid roles stay inside their bounds.

    Spacing roles

    Density changes relationships, never text size or targets.

      Typography and spacing foundations

      Every component starts with these relationships. Map them to the host’s tokens, choose a density, and verify the rendered result. The complete rules are included in all four skills.

      Give each text style a role.

      Titles
      Panel, section and page roles. Medium weight, tighter leading as size increases.
      Reading text
      Body role, open leading, bounded line length. Text wraps as space changes.
      Controls and metadata
      Readable labels; captions for supplemental detail. Tabular numbers for comparison.

      Space expresses the relationship.

      Related content
      Keep label and value close; separate independent groups with a larger gap.
      Shared edges
      One page gutter. Consistent header, body and footer padding within each panel.
      Density
      Compact, balanced or open. Change space without shrinking essential text or control targets.

      Check long content, text enlargement, narrow panels and both themes. Token consistency is one check; visual hierarchy and readability still need review.

      Agent skills

      Carry the decisions into your work.

      Four focused skills.
      The same underlying system.

      Claude Code pluginThen type /ps: to see the four commands.
      /plugin marketplace add subinternal/pagesystem/plugin install ps@pagesystem
      Any other agent

      Copy a skill folder, such as pagesystem-finish, from github.com/subinternal/pagesystem into its skills directory, for example .agents/skills/ or ~/.codex/skills/. Each skill is a folder an agent reads a little at a time, so it works in small context windows too.

      Start from something that already works.

      Pick a component, read what it promises, and ship it as one self‑contained file.