geek out on Monospace

Agentic Driven Develop­ment

You don't need to learn the kit's markup. Prompt what you want to implement, and an AI coding agent picks the components, writes the code and checks it against the rules.

Kernel Mono is not a library of components to copy and paste. It is a set of rules, and an agent that follows them.

Prompt your agent in plain words

Say what you want the way you would to a designer. The agent knows which component fits each request:

“Add a page of my past projects that people can filter by type”
Numbered list rows, with filter chips folded in an accordion
“Let people star the projects they like, and filter to just those”
A favorite star on each row, and a Favorites filter
“Add a contact form”
Underlined fields, a select, a switch and one filled Send button
“Put my artwork on the home page”
A hero, with the image beside the title or under it, by its shape
“Add a blog, with one post featured at the top”
A featured post beside its image, the rest by date, and numbered pages
“Keep a list of what changed and when”
A dated list, newest first
“Show the install steps for my tool”
A code block, with commands in bold
“Color the code samples in my posts”
Code in three colors, set up once for every Markdown post

To see each one before you prompt for it, open Components.

Get started

  1. 01Install the skill

    Once, in any agent that takes skills. After that it reaches for the kit whenever a task calls for it.

    $ npx skills add danny-englander/agentic-design-kits --skill kernel-mono
  2. 02Describe your site

    Name the pages and the accent. The agent sets up Astro with Tailwind, installs the kit from npm and builds each page from the components.

    Start a new Astro site with the Kernel Mono design kit.
    Follow "Starting a new site with the kit" in https://github.com/danny-englander/agentic-design-kits/blob/main/kernel-mono/USING.md
    Pages: Home, Notes, About and Contact.
    Add an AGENTS.md for the site that points at the kit's docs.
    Restyling a site you already have? It looks first, then changes one kind of page at a time

    The kit only works as the site's only visual system, so restyling is mostly removing. The agent maps each piece of your pages to a kit component, and shows you the map before it changes anything:

    Restyle this site with the Kernel Mono design kit.
    Follow "Restyling an existing site with the kit" in https://github.com/danny-englander/agentic-design-kits/blob/main/kernel-mono/USING.md
    Start with the survey, and show me the map of our pages to kit components before you change anything.

    It commits after each kind of page, keeps your copy, URLs and features, and asks where content and a rule disagree. The site doesn't have to use Astro or Tailwind.

  3. 03Give the site its own notes

    An AGENTS.md at the top of the project tells the next agent the rules without being told. The prompt above asks for one; for a restyled site, start from this.

    A starting AGENTS.md Points at the kit's docs, and grows with your notes
    # Notes for AI agents
    
    This site uses the Kernel Mono design kit, installed from npm as `@agentic-design-kits/kernel-mono`. Before changing a page, read the kit's rules and component guide:
    
    - https://github.com/danny-englander/agentic-design-kits/blob/main/kernel-mono/DESIGN.md
    - https://github.com/danny-englander/agentic-design-kits/blob/main/kernel-mono/COMPONENTS.md
    
    - Build pages on `BaseLayout`, and open each with a `Hero` or a `PageTitle`. A blog index opens with a `PostFeature`, a post with a `PostHeader`.
    - Page layout is Tailwind utilities; components are kit classes.
    - Markdown code uses Shiki's `css-variables` theme, so it takes the kit's code colors.
    - Colors only through the token utilities (`text-muted`, `bg-bar`, `text-accent-text`), never Tailwind's palette.
    - Before setting `font-feature-settings`, read "OpenType features" in DESIGN.md: it replaces what an element inherits, including the kit's own `ss02` and `dlig`.
    - Check each change against the "Do not" list in DESIGN.md.
    - Don't edit the kit in `node_modules/`. A fix belongs in the kit's repository.
    - Run the axe tests before calling a change done.

    For Claude Code, add a CLAUDE.md beside it that only says @AGENTS.md.

  4. 04Check the result

    Building isn't passing. Have your agent run the kit's check first: npx kernel-mono-check reads the site against the rules and lists each break, with its file and line, to fix.

    Then look at each page on a phone and a desktop, in light and dark, against the "Do not" list in DESIGN.md. The axe tests in TOOLING.md catch contrast and labelling problems.

How the agent finds the rules

In your project USING.md, in the npm package

Coding agents such as Claude Code, Codex and Cursor read an AGENTS.md (or CLAUDE.md) before they start. The kit's own is for changing the kit. Building or restyling a site is in USING.md, which comes with the package in node_modules/@agentic-design-kits/kernel-mono/.

It lists the steps for each job and the files to read first: DESIGN.md for the rules, COMPONENTS.md for each component's markup and tokens.json for every color and size. Read it yourself: USING.md on GitHub.

On the web /llms.txt, a plain-text index of the docs

An agent that reads this site instead of the repository can start at /llms.txt. In the llms.txt format, it says what the kit is and links to the same docs as plain Markdown, plus the pages of this demo.

The kit is open to pull requests. Suggest a feature or report a problem in the issues on GitHub.