Design Lounge

v0.3.1
io.github.SusanAcharya/design-lounge Checked 1 day ago Published 2 days ago

A UI design library and skill for agents, with a page review for AI giveaways, SEO, AEO, and GEO.

A 93/100 Discovery passed License not confirmed DesignSearch

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

start_design Start a design

Call first for any new website, app, screen, or UI. Reads their request the way the method does (flow, mode, named style, calm words), ranks the recipes, reads the project folder and the recent picks, and returns the brief to fill and the steps, each naming the tool to use.

ParameterTypeDescription
request *stringTheir message, word for word
productstringThe product or brand name, if they gave one
project_pathstringThe folder the build goes in

get_recipe Get a recipe

A recipe (start) with its directions: each a complete look (theme, pairing, family, hero, effect, work, footer). Each direction says whether the recent history blocks it.

ParameterTypeDescription
id *stringRecipe id, such as saas, restaurant, portfolio. browse_library what=recipes lists them
historyarrayRecent pick lines, for a client that keeps its own history. The local server reads ~/.design-lounge/history.jsonl
productstring

pick_direction Pick a direction

Apply rules 3 to 5 of Pick a direction and the Recent picks check: calm words narrow to quiet, editorial, or sharp families; the history blocks recent directions, heroes, and effects; the group check blocks two-of-three matches; the name number breaks the tie. You judge which directions fit the subject (rules 1, 2, 4) and pass them as `fitting`.

ParameterTypeDescription
recipe *string
calmbooleanThey used a calm word: clean, simple, professional, plain, calm, quiet, corporate, serious, trustworthy
fittingarrayDirection ids whose mood names this subject's world
historyarrayRecent pick lines, for a client that keeps its own history. The local server reads ~/.design-lounge/history.jsonl
productstringProduct or brand name, for the name number. Without one, the first noun of their message

check_pick Check a pick against recent sites

The uniqueness check from Recent picks: direction, hero, and effect against this recipe; two of hero, work, footer against the related group; hero shape against the last two; frame against the last three. Returns problems and the Unlike line for the sheet.

ParameterTypeDescription
recipe *string
directionstring
effectstring
footerstring
framearray[header piece, phone piece or "none", find-us piece]
herostring
historyarrayRecent pick lines, for a client that keeps its own history. The local server reads ~/.design-lounge/history.jsonl
productstring
reusebooleanReusing a direction because every fitting one is recent: compares shape, frame, work, and footer only
shapestring
workstring

record_pick Record a pick in the history

Append a line to /home/runner/.design-lounge/history.jsonl: "claimed" right after you lock, "finished" after the check passes. A claimed line is read back: if another product claimed the same recipe and direction in the last hour, yours loses and the result says so.

ParameterTypeDescription
direction *string
pairing *string
product *string
recipe *string
status *string
theme *string
coloursarray
effectstring | null
familystring
folderstring
fontsarray
footerstring
framearray
herostring
modestring
shapestring
workstring

search_pieces Search pieces

Search 600+ piece briefs by words (job, component, style, tag) and filters. Returns ids, summaries, and demo links. Then get_piece for the brief.

ParameterTypeDescription
categorystringbrowse_library what=categories lists them
imagesbooleanAttach thumbnails of the first six, to compare them by eye
limitinteger
platformstring
querystringSuch as "pricing toggle", "sticky mobile cta", "kanban", "footer wordmark"
stylestring

get_piece Get a piece brief

The spec for one piece, with a picture of its demo: structure, counts, sizes, motion timing, states, hit targets, acceptance checklist. By default stops at "Optional below this line"; full=true adds the demo's exact paint and motion notes. demo=true adds the demo's HTML source, the acceptance file. Its colours and fonts are the demo's: translate them onto the locked kit.

ParameterTypeDescription
id *string
demobooleanAdd the demo's HTML source
fullboolean
imagebooleanAttach the demo's thumbnail (default true)

browse_library Browse the library

List themes, pairings, families, recipes, piece categories, collections, or kinds. Themes and pairings can be ranked by a mood ("warm craft", "editorial serif", "dark technical").

ParameterTypeDescription
what *string
limitinteger
modestring
moodstring

get_theme Get a theme

A theme's full CSS (primary, secondary, tertiary, feedback, surfaces, link) and its pair for the other mode. Colour only: fonts come from the pairing, radius and shadow from the family.

ParameterTypeDescription
id *stringTheme id, name, or Lounge link
imagebooleanAttach a board of the theme's roles (default true)

get_pairing Get a type pairing

A pairing's CSS (Google Fonts import, --font-display, --font-text, mono if any), its numbers face, and any caution to say before you write.

ParameterTypeDescription
id *stringPairing id, name, or Lounge link
imagebooleanAttach a type specimen (default true)

get_family Get a component family

A family's rules: radius, button style, density, shadow, and the sentences that lock them. The family wins over a brief for radius, shadow, button, and density.

ParameterTypeDescription
id *string

get_icons Get Lounge Icons

SVG for Lounge Icons by name (24px, stroke 1.75). With no names, lists them by group. Missing names come back as missing: then follow Icon and nav in components.md, never an emoji.

ParameterTypeDescription
groupstring
namesarray

search_wada Search Wada colour combinations

Sanzo Wada's 348 combinations, by colour or material word (russet, slate, "dark warm") or nearest to a hex. Only for Free colour, a brand board no theme fits, or colours they asked for. Take one line whole; the header says how to map it to roles.

ParameterTypeDescription
limitinteger
nearstringA hex like #b14f1c
querystring

read_guide Read the method

Read a method file or one section of it. Files: SKILL.md, app.md, brief.md, components.md, examples.md, flows.md, locale.md, native.md, practice.md, reference.md, search.md, show.md, styles.md, taste.md, website.md. Give a heading ("Look", "Write the idea", "Recent picks") to get only that section; outline=true lists the headings.

ParameterTypeDescription
file *string
outlineboolean
sectionstring

name_number Name number

The tie-break from rule 5 of Pick a direction: the sum of each letter's place in the alphabet, mod the number of fitting directions.

ParameterTypeDescription
name *string
countinteger

review_page Review a page

The all-in-one check for a built page: AI giveaways and kit drift (the Look fails), SEO, AEO, GEO, and, when Chromium is available, a rendered pass at 1280×800 and 390×844 with axe accessibility, measured labels, faces, primaries, tap targets, and saved screenshots. Returns scores, fails first, each with its evidence and fix.

ParameterTypeDescription
formatstring
htmlstringRaw HTML, when there is no file or URL
imagesbooleanAttach the web and phone frames (default true)
kitobjectThe locked kit, by id, name, or Lounge link. Read from DESIGN.md when omitted
out_dirstringWhere to save screenshots (default: a temp folder)
pathstringAn HTML file or a folder with index.html. DESIGN.md beside it or above it is read for the locked kit
renderbooleanOpen it in Chromium (default true)
urlstringA live or local URL, such as http://localhost:4321/ or https://example.com

audit_slop Find AI giveaways

Design only: the tells of a generated page (stock copy, em dashes, buzzwords, icon-card trios, gradients, the indigo palette, emoji icons, numbered eyebrows, placeholder copy, made-up numbers) and drift from the locked kit (faces, colours, radius, shadow). Static by default; render=true adds the measured checks.

ParameterTypeDescription
htmlstringRaw HTML, when there is no file or URL
kitobjectThe locked kit, by id, name, or Lounge link. Read from DESIGN.md when omitted
out_dirstring
pathstringAn HTML file or a folder with index.html. DESIGN.md beside it or above it is read for the locked kit
renderboolean
urlstringA live or local URL, such as http://localhost:4321/ or https://example.com

suggest_schema Suggest JSON-LD

JSON-LD for the page built only from facts on it: the entity (Organization, LocalBusiness subtypes, Person, Product, SoftwareApplication) with name, url, description, image, phone, email, address, sameAs; and FAQPage from its own questions. Lists the fields it could not find. Never invents ratings, reviews, or prices.

ParameterTypeDescription
htmlstringRaw HTML, when there is no file or URL
namestring
pathstringAn HTML file or a folder with index.html. DESIGN.md beside it or above it is read for the locked kit
typestringschema.org type, such as Restaurant, Dentist, Person, SoftwareApplication. Default Organization
urlstringA live or local URL, such as http://localhost:4321/ or https://example.com

check_ai_slop Does it look AI-made?

Check any page or screenshot for AI slop: whether it shows the patterns measured to be far more common on AI-built sites than on hand-made ones (an AI builder's mark, an empty page until JavaScript runs, default component kits and icons, icon-tile cards, star rows), what is broken for visitors, and how Design Lounge would fix it. Give a URL to any site, a local file, pasted HTML, or a screenshot. It never says a page was made by AI without a builder's mark. To hold a page you are building to the Lounge's own rules, use review_page. With crawl: true it checks the whole site: it follows the site…

ParameterTypeDescription
basic_auth_passwordstring
basic_auth_usernamestringFor a staging site behind HTTP authentication
crawlbooleanCheck the whole site from url, following its own links
htmlstringRaw HTML
imagestringA screenshot as base64. Look at it yourself against the checklist this returns
image_pathstringA screenshot file (png, jpg, webp)
imagesbooleanAttach the desktop and phone frames (default true)
login_urlstringThe sign-in page, for a site behind a login. Ask the person first
max_pagesintegerPages to check when crawling (default 8, at most 25)
mime_typestring
passwordstringUsed once to sign in on this machine. Never stored or shown
password_selectorstring
pathstringAn HTML file or a folder with index.html
submit_selectorstring
urlstringAny public page, such as https://example.com
usernamestring
username_selectorstring

match_reference Match a reference site

They showed a site or a screenshot and want that feel. Measures its design language (colour roles, type, corners, shadows, density, hero shape, sections, motion) and returns the closest Lounge theme, pairing, family, and pieces per section, with what does not match. Matches the feel only: never copy the reference's logo, name, words, or photos. For a screenshot, also describe the type you see (`type`) and anything else you can tell (corners, shadows, sections).

ParameterTypeDescription
buttonsstring
cornersstring
imagestringA screenshot as base64, when there is no file
image_pathstringA screenshot file
mime_typestringimage/png, image/jpeg, or image/webp (default png)
sectionsarraySection kinds you see: features, pricing, testimonials, faq, logos, stats, team, gallery, blog, cta, contact, newsletter
shadowsstring
shapestringThe hero shape you see
typestringFor a screenshot: the faces you see, such as "high-contrast serif headline, neutral grotesk body"
urlstringThe reference site

install_skill Install the Design Lounge skill

The server installs the skill for this user when it starts. Use this to put it in a project as well (.claude/skills, .cursor/skills, .agents/skills), for clients that only read project skills, or with replace: true to swap a copy installed another way for this server's.

ParameterTypeDescription
project_pathstringA project folder. Omit to install for this user
replacebooleanReplace a user-level copy that something else installed

install_browser Install the browser for rendered checks

Download the headless Chromium that review_page uses to look at the page: screenshots, axe, measured labels and buttons, and theme boards and type specimens. About 100 MB, once. Ask the person first.