@lukeda/nofi
v0.0.2
Published
Low-fidelity mockups for agents. Pug structure, Tailwind layout, instant comparison boards.
Maintainers
Readme
nofi
Let your agent sketch before it builds.
Pug + Tailwind → low-fidelity mockups → choose a layout → build it.
Agent skill · Source format · Themes · Playground · GitHub
Choose a design for one screen. Four sign-in layouts with identical content: Acme, welcome text, email, password, Sign in, and Forgot password. Compare a centered form, split layout, contained card, and wide form.

Wireframe several screens. Explore sign-in, projects, settings, and checkout together to establish the structure of an app.

Made for agents
Ask your agent:
Use nofi to sketch six different layouts for a project dashboard. Render a comparison board and let me choose before implementing it.
The single nofi skill covers writing the mockups, rendering them, and retaining the selected source for implementation. Layouts use familiar Pug and Tailwind. Themes provide deliberately basic buttons, inputs, typography, and image placeholders.
main.flex.flex-col.gap-4.p-8
h1 Welcome aboard
p Make room for your next idea.
input(placeholder="Email address")
button Create accountGive your agent nofi
Install the skill:
npx skills add lukeda/nofi --skill nofiAsk your agent to use nofi to sketch layouts and render a comparison board. The skill handles source files, rendering, and keeping your chosen layout for implementation.
The renderer runs through npx:
npx --yes @lukeda/nofi board board.yaml -o board.htmlFor PNG output, install Chromium once with npx --yes @lukeda/nofi setup.
Agent setup · Local development · Contributing
Compare options
A board can give reusable Pug files names and shared settings:
viewport: [640, 480]
theme: wireframe
columns: 2
items:
- file: sidebar.pug
name: Sidebar navigation
- file: topbar.pug
name: Top navigationThe CLI accepts a board file or YAML on stdin through a heredoc. Items can reference files or contain inline pug; --stdout returns HTML without creating output files. HTML is standalone; PNG export uses Chromium. See the board commands.
The examples include six dashboard layouts, four login layouts, two settings layouts, and two checkout flows. The browser playground includes all of them, with editable source, viewport controls, and themes. Try it in the playground.
Why this approach?
- Familiar source: declarative Pug and Tailwind utilities, without a new layout language.
- Focus on structure: compare navigation, hierarchy, and density before polishing visuals.
- Theme-aware: semantic colour utilities adapt the same source to different themes.
- Portable handoff: retain the selected Pug alongside the implementation brief.
Inspired by PlantUML Salt, Balsamiq, and Mermaid.
