Docs

What Sugikit is

Sugikit checks your landing page and writes a report that your coding agent reads and fixes.

It has a CLI, sugikit, and an agent skill that runs the fix loop for you. On sugikit.com you can also swipe landing pages to give your agent your taste.

  1. Check
  2. Your agent fixes
  3. Check again
  4. Green

Install

You need Node.js and a Sugikit plan.

  1. Add Sugikit to your project

    npm install -D sugikit

    With pnpm: pnpm add -D sugikit.

  2. Log in

    npx sugikit login

    It opens sugikit.com in your browser. Confirm the code there, then wait until it prints Logged in.

  3. Add the agent skill

    npx sugikit skills install

    It copies the skill into .claude/skills/sugikit.

  4. Install the browser

    npx sugikit browsers install

    Sugikit checks your page in its own headless Chromium.

Add .sugikit/ to your .gitignore. It holds your reports and screenshots.

Or let your agent do all of it: copy the installation prompt and paste it into your agent.

Your first check

Start your dev server, then check its URL:

npx sugikit check http://localhost:3000
sugikit check http://localhost:3000 (framework: next)
polish 96/100  seo 84/100  geo 72/100  convert 100/100
errors 2  warnings 6  info 3
NOT GREEN: 2 errors; below 90: seo 84, geo 72
report: /your-project/.sugikit/report.json
An example summary. Your numbers will differ.

The full report is in .sugikit/report.json, with screenshots in .sugikit/report-shots/. Your agent reads the report; the summary is for you.

To check the whole site, add --site. Sugikit then crawls up to 200 pages and estimates your Ahrefs Site Audit Health Score.

What it checks

Each check gives a score from 0 to 100.

CheckWhat it looks atDecides green
PerformanceGoogle PageSpeed Insights on phone and desktop. Runs with --psi or sugikit psi, on a public URL.No
AccessibilityContrast, tap targets, reduced motion and an axe scan for serious problems. These run inside design polish.Yes, through design polish
Search optimizationTitle, description, canonical, sitemap, robots.txt, structured data (JSON-LD) and redirects.Yes
AI search optimizationllms.txt, AI crawlers in robots.txt, and text that is in the HTML without JavaScript.Yes
Design polishSideways scroll, text size, type scale, line length, clipped text and dark mode, in a real browser on desktop and phone, light and dark.Yes
ConversionDead links, placeholder text, a way to contact you, form length, a visible price and one clear call to action.Yes

Three more scores, hero, structure and taste, are owner checks. They show on their own line and never decide green. Your agent answers some hero checks itself, such as whether a visitor gets the page in five seconds.

When a page is green

A page is green when both are true:

  • It has no error findings.
  • Design polish, search optimization, AI search optimization and conversion each score 90 or more.

Performance and the owner checks never decide green.

Each finding is an error, a warning or info. In a score an error counts 3, a warning 1 and info 0.

The check exits with code 1 while error findings remain, and with 0 once they are gone.

Fix it with your agent

After the install, ask your agent:

Run sugikit on the landing page and fix what it finds.

The skill then runs this loop:

  1. Saves a baseline report to .sugikit/before.json.

  2. Fixes the findings one rule at a time: errors first, then warnings.

  3. Checks again after each batch of fixes.

  4. Stops at GREEN, or after 5 rounds.

  5. Checks the whole site with --site, then the production build.

  6. Ends with a before and after table, and the questions only you can answer.

It keeps your site's look: no new colors, fonts or layouts. It never invents prices, reviews, customers or other facts. It asks you instead.

To see the before and after as a page, run:

npx sugikit report

It writes .sugikit/report.html and prints its path.

Your taste

  1. Swipe landing pages on sugikit.com. Drag right to keep a page, left to skip it.

  2. Sugikit turns your picks into 3 design directions.

  3. Sign in, pick a direction and press Copy prompt.

  4. Paste the prompt into your coding agent.

The prompt changes type, color, spacing, radius, motion and the hero layout. It changes your copy only when you ask for it.

Later, swipe a few more pages and copy the new prompt. Each round makes the direction closer to your taste.

Keys

The checks need no key. One key is optional:

VariableWhat it is for
PSI_API_KEYGoogle PageSpeed Insights, for --psi and sugikit psi. Get a free key from Google.
PSI_API_KEY=your-key npx sugikit psi https://your-site.com

PageSpeed needs a public URL, such as a deploy preview. A localhost URL does not work.

Troubleshooting

It says "This needs a Sugikit plan".
Buy a plan on sugikit.com, then run npx sugikit login again. npx sugikit whoami shows your account and plan.
Chromium is missing.
Run npx sugikit browsers install. Do not use npx playwright install: it can fetch a different Chromium build than the one Sugikit needs.
It says "could not check" my URL.
The dev server is not running, or the URL is wrong. Open the URL in your browser first.
A local URL fails with a certificate error.
Trust your dev server's certificate authority in your system trust store, then check again.
My fix does not show up.
Dev servers sometimes serve old CSS. Restart the dev server, or check a production build.
The check exits with code 1.
That is expected while error findings remain. It exits with 0 once they are gone.
Does it work offline?
The checks run on your machine. Sugikit checks your plan online at most once a day. After 7 days without a check, the paid commands stop until you are online again.
Where are all the flags and rule ids?
In the Agent version of this page.
docs.md

Install

sugikit 0.5.1

pnpm add -D sugikit
npm install -D sugikit
npx sugikit login

Log in to your Sugikit account in the browser (device code) Details

npx sugikit skills install

Copy the sugikit agent skill into <project>/.claude/skills/ Details

npx sugikit browsers install

Install the headless Chromium build that Sugikit's own Playwright version needs Details

npx sugikit check <url>

Check a URL and write a JSON report; --site also crawls the whole site Details

Installation prompt

/install-prompt.txt

Plan

Every command except login, logout, whoami, browsers install, capture, feedback and --help needs an active Sugikit plan.

Without one it exits 1 with: This needs a Sugikit plan. Buy one at https://sugikit.com/#pricing, then run sugikit login.

Free
sugikit login, sugikit logout, sugikit whoami, sugikit account, sugikit browsers, sugikit capture, sugikit feedback, sugikit --help, sugikit --version
License check
GET https://sugikit.com/api/license
Cached for
1 day
Works offline for
7 days

Commands

CommandPlanWhat it does
sugikit checkNeeds a planCheck a URL and write a JSON report; --site also crawls the whole site
sugikit psiNeeds a planRun PageSpeed Insights only and write a JSON report
sugikit reportNeeds a planWrite a local before/after HTML page from two reports
sugikit judge applyNeeds a planCheck the agent's judge answers ([{ id, pass, reason, quote, item? }]) against the report's judge items, add them as findings and recompute the hero and structure scores. Writes back to <report.json> unless --out is set. Also: sugikit judge merge
sugikit taste applyNeeds a planWrite sugikit.taste.json from a taste code copied on sugikit.com/taste
sugikit taste showNeeds a planPrint the taste sentence, the direction and its tokens
sugikit taste verify-fileNeeds a planRe-derive sugikit.taste.json from its code and direction and list hand edits outside locks
sugikit skills installNeeds a planCopy the sugikit agent skill into <project>/.claude/skills/
sugikit browsers installFreeInstall the headless Chromium build that Sugikit's own Playwright version needs
sugikit snapshotNeeds a planStart a capture run: print its run id and take the before screenshots of up to 10 pages (desktop and phone, light and dark) into the CLI's cache folder, at the start of a restyle
sugikit captureFreeAfter each change: take the after screenshots and upload them with the last ones as before and the user's request for this iteration (sugikit.com/terms#captures). Needs only the login
sugikit feedbackFreeAt the end: send the owner's answer and note for the run. Needs only the login
sugikit loginFreeLog in to your Sugikit account in the browser (device code)
sugikit logoutFreeLog out and delete the saved login and license files
sugikit whoamiFreePrint the account email and plan (also: sugikit account)
sugikit --versionFreePrint the version
sugikit --helpFreePrint this help

sugikit check Needs a plan

sugikit check <url> [--project <dir>] [--out <file>] [--no-browser] [--psi] [--runs <n>] [--page-type <type>] [--timeout <s>] [--site [--max-pages <n>]] [--taste <file>]

Check a URL and write a JSON report; --site also crawls the whole site

Flags: --project, --out, --no-browser, --psi, --runs, --page-type, --timeout, --site, --max-pages, --taste

sugikit psi Needs a plan

sugikit psi <url> [--project <dir>] [--out <file>] [--runs <n>]

Run PageSpeed Insights only and write a JSON report

Flags: --project, --out, --runs

sugikit report Needs a plan

sugikit report [--before <file>] [--after <file>] [--psi-before <file>] [--psi-after <file>] [--out <file>]

Write a local before/after HTML page from two reports

Flags: --before, --after, --psi-before, --psi-after, --out

sugikit judge apply Needs a plan

sugikit judge apply <report.json> <answers.json> [--out <file>]

Check the agent's judge answers ([{ id, pass, reason, quote, item? }]) against the report's judge items, add them as findings and recompute the hero and structure scores. Writes back to <report.json> unless --out is set. Also: sugikit judge merge

Flags: --out

sugikit taste apply Needs a plan

sugikit taste apply <code> --direction A|B|C [--dir <project>] [--force]

Write sugikit.taste.json from a taste code copied on sugikit.com/taste

Flags: --direction, --dir, --force

sugikit taste show Needs a plan

sugikit taste show [--dir <project>] [--json]

Print the taste sentence, the direction and its tokens

Flags: --dir, --json

sugikit taste verify-file Needs a plan

sugikit taste verify-file [--dir <project>]

Re-derive sugikit.taste.json from its code and direction and list hand edits outside locks

Flags: --dir

sugikit skills install Needs a plan

sugikit skills install [--dir <project>]

Copy the sugikit agent skill into <project>/.claude/skills/

Flags: --dir

sugikit browsers install Free

sugikit browsers install

Install the headless Chromium build that Sugikit's own Playwright version needs

sugikit snapshot Needs a plan

sugikit snapshot <url>... [--dir <project>]

Start a capture run: print its run id and take the before screenshots of up to 10 pages (desktop and phone, light and dark) into the CLI's cache folder, at the start of a restyle

Flags: --dir

sugikit capture Free

sugikit capture --request <text> [<url>...] [--run <id>] [--iteration <n>] [--dir <project>]

After each change: take the after screenshots and upload them with the last ones as before and the user's request for this iteration (sugikit.com/terms#captures). Needs only the login

Flags: --request, --run, --iteration, --dir

sugikit feedback Free

sugikit feedback [<url>...] --happy yes|no [--note <text>] [--dir <project>]

At the end: send the owner's answer and note for the run. Needs only the login

Flags: --happy, --note, --dir

sugikit login Free

sugikit login

Log in to your Sugikit account in the browser (device code)

sugikit logout Free

sugikit logout

Log out and delete the saved login and license files

sugikit whoami Free

sugikit whoami

Print the account email and plan (also: sugikit account)

sugikit --version Free

sugikit --version

Print the version

sugikit --help Free

sugikit --help

Print this help

Options

FlagWhat it does
--project <dir>Project directory for framework detection (default: cwd)
--out <file>Output path (default: .sugikit/report.json, sugikit psi: .sugikit/psi.json, sugikit report: .sugikit/report.html, sugikit judge apply: the <report.json> it reads); sugikit check screenshots go to <name>-shots/ next to the report (.sugikit/report-shots/) sugikit check compares the first screen with before.json next to the report, when it exists
--no-browserSkip the headless browser polish checks
--psiAdd PageSpeed Insights (needs a public URL and the PSI_API_KEY environment variable)
--page-type <type>product, launch or waitlist; overrides the detected page type for the convert checks
--timeout <s>sugikit check: soft time budget in seconds (default: 120); when it runs out, the dark, reduced motion and CTA click checks are skipped and reported as polish/slow-page
--sitesugikit check: also crawl the site (start URL, sitemap URLs, same-origin links) and run the site-wide checks; prints an estimated Ahrefs Site Audit health score. --timeout is then the budget for the whole run (default: 600)
--taste <file>sugikit check: the sugikit.taste.json for the taste/* checks (default: <project>/sugikit.taste.json when it exists). Taste findings are warnings and tips; they never change the exit code or green
--max-pages <n>sugikit check --site: most URLs to crawl (default: 200, at most 1000)
--runs <n>PageSpeed runs per strategy, the best score per category is kept (default: 3)
--before <file>sugikit report: baseline report (default: .sugikit/before.json, skipped when missing)
--after <file>sugikit report: latest report (default: .sugikit/report.json)
--psi-before <file>sugikit report: sugikit psi report for the baseline
--psi-after <file>sugikit report: sugikit psi report for the latest run
--dir <project>sugikit skills install, sugikit taste, sugikit snapshot, sugikit capture, sugikit feedback: project directory (default: cwd)
--request <text>sugikit capture: what the user asked for in this iteration, in their words, at most 1000 characters (no code, no secrets)
--run <id>sugikit capture: the run id sugikit snapshot printed (default: the run in progress)
--iteration <n>sugikit capture: the iteration number, 1 to 30 (default: the last one plus 1)
--happy <yes|no>sugikit feedback: the owner's answer to "Are you happy with the result?" (asked on a terminal when missing)
--note <text>sugikit feedback: the owner's optional note, at most 2000 characters

Exit codes

CommandCodeWhen
sugikit check0No error findings (page and site)
sugikit check1Error findings exist, or the check could not run
sugikit psi1No PageSpeed scores, or an error finding
Every gated command1No login, no active plan, or the plan's updates ended
sugikit taste2Usage errors, a bad code or a missing --direction
sugikit taste1A refused overwrite, a missing or invalid file, or drift

Checks

polish

Sugikit loads the page in headless Chromium in four states: desktop-light (1440 px wide), desktop-dark, phone-light and phone-dark, plus phone-light-reduced-motion. Screenshots of each state are in <report name>-shots/ next to the report (.sugikit/report-shots/, .sugikit/before-shots/). Look at them before and after a visible fix.

Rule and levelWhat it measures
polish/horizontal-scroll errorOn phone-light, the page is wider than the viewport, so it scrolls sideways.
polish/tap-targets warnOn phone-light, links, buttons, inputs, selects, summaries and ARIA buttons, links, tabs and menu items with a hit area smaller than 24x24 CSS px, with the WCAG 2.5.8 exceptions: links inside a line of text, unstyled native controls the browser sizes, and controls spaced so a 24 px circle centered on each does not touch another control or another small control's circle.
polish/contrast errorText with contrast below 4.5:1 (3:1 for large text: 24 px, or 18.66 px bold) in any of the four states.
polish/axe warnSerious or critical axe-core violations in desktop-light and phone-light (so phone-only controls such as the menu button are checked), except color contrast (that is polish/contrast).
polish/type-scale warnMore than 12 font size steps on desktop-light (visible paragraphs, list items, headings, link and button labels, quotes and table cells; sizes within 1 px count as one step).
polish/body-text-size warnOn phone-light, the share of body paragraph text (paragraphs of 60+ characters outside footer, aside, nav, small and figcaption, counted by characters) under 15 px.
polish/line-length warnParagraphs at 1440 px with more than 85 characters per line.
polish/spacing-scale warnDistinct padding, margin and gap values on desktop-light.
polish/img-dimensions warnImages with no width and height (they cause layout shift) and images whose file is more than 2x their displayed size (wasted bytes).
polish/dark-mode info, or warn when half doneWhether the page background and text color change between desktop-light and desktop-dark (prefers-color-scheme: dark).
polish/reduced-motion warnAnimations that are endless or long, and videos that play (autoplay and muted, or started by a script), when prefers-reduced-motion: reduce is on.
polish/text-clippedFix: Let each listed text fit its box at that width: allow wrapping (flex-wrap: wrap on the row, white-space: normal), let the box shrink or grow (min-width: 0, no fixed width or height), or give the text less to fit (a shorter layout at that width).
polish/floating-text-panel errorOn desktop-light, headings (h1 to h3 next to a visible paragraph or button) and text blocks (more than 40 characters of their own text) that sit on a box of their own: a background color, gradient or backdrop-filter that differs from the section behind it, or an outer box-shadow.
polish/eyebrow-label errorOn desktop-light, a short line (1 to 8 words, 60 characters at most) right above an h1 or h2 (its bottom within 48 px of the heading's top, overlapping it across), set at 60% of the heading's size or smaller, and in uppercase, letter-spaced (0.05em or more), a monospace face, or an accent color unlike the heading's.
polish/long-description error for the hero line, warn for section introsThe hero line (the first paragraph of 6 or more words after the h1, in its block) fails over 2 lines at 1440 px, over 4 lines at 390 px, or over 20 words (the same limit the copied prompt gives).
polish/bare-hero-background errorOn desktop-light and desktop-dark, the band behind the hero copy (the h1 with its paragraph and CTA, 48 px above and below, full width).
polish/lost-product-visual errorThe baseline report (.sugikit/before.json, same page path) recorded a product visual in its first screen (a screenshot, video, embed or HTML UI mockup of 40,000 px or more, firstScreen.productVisual), and the page now has none.
polish/lost-hero-background errorThe baseline report (.sugikit/before.json, same page path) recorded the hero backdrop on desktop-light (firstScreen.heroBackdrop) and it was not bare (a visual, or 15% or more changed pixels, or 0.5% or more edges, as in polish/bare-hero-background), and the hero is bare now.
polish/focus-visible warnOn desktop-light and desktop-dark, after one real Tab press, keyboard focus moves through the first 40 focusable elements.
polish/paste-blocked errorOn desktop-light, a paste event goes into each visible text, email, password, search, tel and url field.
polish/clickable-not-focusable warnOn desktop-light, visible elements with cursor: pointer of their own (not inherited) that are not a link, a button, a form control, a label or a summary, have no interactive role and no tabindex, and are not inside or around a control.
polish/focus-under-sticky warnOn desktop-light and phone-light, each focused element (the first 40 in Tab order) is scrolled into view the way a Tab press does.
polish/anchor-under-header warnOn desktop-light, when a fixed or sticky header shows at the top, each in-page link target (href="#id", at most 8) is scrolled to as the browser does for a fragment.
polish/autoplay-pause warnOn desktop-light, before any motion is finished: a playing video (autoplay and muted, or started by a script) of 2% of the screen or more that loops or runs over 5 s, and endless motion (or motion over 5 s) on an element that holds text (a marquee, an autoplay slider) or covers 10% of the screen or more, with no controls attribute and no pause, stop or play button near it (WCAG 2.2.2).
polish/autofocus warn on phones, info on desktopThe element focused right after load is a text field, select or editable box.
polish/color-scheme warnIn each state with a dark page background (a dark theme, or a dark-only page in the light states), the color scheme the browser uses (the root color-scheme, else the color-scheme meta) is not dark.
polish/input-typable warnOn desktop-light, one character is typed with the keyboard into each visible text, email, search, tel and url field (at most 6) that is not readonly or disabled.
polish/hydration-error warnConsole errors, uncaught errors and rejections during load on desktop-light that are React hydration errors (minified #418, #423 or #425, "Hydration failed", "did not match") or another framework's hydration mismatch.
polish/heading-orphan infoH1 to h3 with 4 words or more on 2 lines or more whose last line holds one word, at 1440 px and 390 px.
polish/hover-state infoOn desktop-light, the real mouse hovers each button and nav or header link style (one per tag and class list, at most 12).
polish/transition-all infoOn desktop-light, visible elements whose transition-property is all with a duration.
polish/layout-animation infoOn desktop-light, transitions, CSS animations (their @keyframes) and script animations of width, height, top, left, right, bottom, inset, margin, padding or font size.
polish/theme-color infoIn each state with a theme-color meta that matches it (its media query), the color differs from the page background by more than 12 in a channel, so the phone browser bar shows another color.
polish/turkish-uppercase-iFix: In Turkish text the browser uppercases "i" to "İ", so an English word in uppercase shows as CHAMPİON: wrap each listed English word in an element with lang="en" (for example <span lang="en">Champion</span>).
polish/small-body-textFix: Raise paragraph and list text to 16 px or more on phones and labels (captions, badges, notes) to 12 px or more, with steps of the existing type scale.
polish/body-line-heightFix: Set the line height of the listed paragraphs to 1.4 to 1.8 (1.5 is a safe default), on the paragraph style, not per element.
polish/display-line-heightFix: Set the line height of large text (40 px or more) to 0.85 to 1.2, for example 1 or 1.1 on the heading style.
polish/clipped-glyphsFix: Let the listed heading show every letter and accent: raise its line height (at least 1 for display text, more with accents such as İ or Ü), or remove overflow: hidden from the heading or its wrapper, or add a little padding inside the clipping box.
polish/squeezed-rowFix: Product and content cards keep their names inside the card: wrap a name to at most 2 lines, then end it with an ellipsis, and never let it run over the next card.
mobile/zoom-blockedFix: Let visitors zoom: remove user-scalable=no and maximum-scale from the viewport meta, so it reads <meta name="viewport" content="width=device-width, initial-scale=1">.
mobile/input-zoomFix: Give the listed inputs, selects and text areas a font size of 16 px or more on phones, so iOS does not zoom in when they get focus.
mobile/safe-areaFix: The viewport meta has viewport-fit=cover, so the page draws under the notch and the home indicator.
mobile/nav-thumb-sideFix: Put the logo on the left and the cart and the menu button on the right of the phone header, and let the menu drawer open from the right, so the right thumb reaches them.
keep/sticky-headerFix: Keep the original feature, restyle it: the header or nav was sticky or fixed before the change and is not now.
keep/menuFix: Keep the original feature, restyle it: the page had a menu toggle or drawer (a menu button, an aria-expanded control or a details element in the header) and it is gone.
keep/formsFix: Keep the original feature, restyle it: a form, search field or cart link the page had is gone.
keep/animationsFix: Keep the original feature, restyle it: the first screen had motion (CSS animations or transitions, a canvas, a video or WebGL) and has none now.
keep/product-zoomFix: Keep the original feature, restyle it: the product images zoomed on hover or click (a zoom or lightbox library, a zoom-in cursor or a hover scale) and do not now.
polish/slow-page infoThe check ran past its time budget (--timeout, default 120 s), so it skipped the optional browser checks named in evidence (dark states, axe on phone-light, the keyboard and mouse checks, the reduced motion run, CTA click tests).
polish/browser errorSugikit could not start headless Chromium, so no polish checks ran.
polish/tailwind-no-unknown-classesFix: Tailwind generates no CSS for the listed classes, so they do nothing.
polish/tailwind-require-static-classesFix: Optional: the linter cannot read the className given to the listed component (a variable, a map lookup or a template string), so its other Tailwind checks skip it.
polish/tailwind-no-arbitrary-valuesFix: Optional: swap an arbitrary value for the theme step only when the evidence names one with the same value (for example "p-[13px]" to "p-3.25").
polish/tailwind-no-raw-colorsFix: Optional: use a theme color only when one renders the same color as the raw palette class.
polish/tailwind-no-restyleFix: Optional: where a component is restyled with className, use one of its existing variants or sizes only when it looks the same.
polish/tailwind-no-inline-stylesFix: Optional: move a static inline style to the equal Tailwind class (for example marginTop: 12 to mt-3).
polish/tailwind-unparsed infoSource files that Oxlint could not parse.
polish/tailwind-notes infoWarnings that @shadcn/lint printed during the check, in evidence.
polish/tailwind-lint infoSugikit could not run its Tailwind class lint.

seo

Sugikit reads the server HTML of the page (no JavaScript), the response headers, /robots.txt and the sitemap. A tag that only appears after client JavaScript runs does not count. Put meta tags in the framework's head API, which renders them on the server.

Rule and levelWhat it measures
seo/title errorThe page has exactly one <title> (inline SVG titles do not count), and it is not empty.
seo/title-length warnThe title is 30 to 60 characters.
seo/meta-description error<meta name="description"> exists with content, and only once.
seo/meta-description-length warnThe description is 70 to 160 characters.
seo/html-lang error<html> has a lang attribute, and it is a well-formed BCP 47 language tag (en, en-US, pt-BR, zh-Hant).
seo/viewport error<meta name="viewport"> exists.
seo/canonical error<link rel="canonical"> exists and its href is an absolute http(s) URL.
seo/open-graph warnog:title, og:description, og:url, og:type and og:image all exist, and og:image is an absolute http(s) URL.
seo/og-url warnog:url exists and names the same URL as <link rel="canonical"> (the page URL when there is no canonical; fragments are ignored).
seo/twitter-card warn<meta name="twitter:card"> exists with a known type (summary, summary_large_image, app, player), and the card is complete: a title for every type, plus a description and an image for summary and summary_large_image, and twitter:player for player.
seo/og-image warnThe page has an og:image with an absolute http(s) URL that answers 200 with an image content type.
seo/og-image-size warnThe image is at least 1200 px wide with a ratio of 1.91:1 (1.86 to 1.96 passes, so 1200x630, 1200x628 and 2400x1260 pass; 16:9 and squares fail).
seo/og-image-weight warnThe file is 1 MB (1,048,576 bytes) or less.
seo/og-image-alt warnog:image:alt or twitter:image:alt is set.
seo/twitter-large-card warntwitter:card is summary_large_image, and X has an image: twitter:image, else og:image (the message says which one counts).
seo/og-image-small-print warnLines of 3 or more words under half the headline's height (the tallest line) or under 4.5% of the image height.
seo/json-ld warnThe page has at least one <script type="application/ld+json"> and every block parses as JSON.
seo/json-ld-type warnSome JSON-LD node has @type Organization, WebSite, SoftwareApplication, MobileApplication or Product.
seo/h1 errorExactly one <h1> on the page (error), and it is not empty (warn; text, an image alt or an aria-label count).
seo/heading-order warnHeading levels do not skip (no h2 followed by h4).
seo/img-alt warnEvery <img> has an alt attribute (an empty alt="" passes).
seo/favicon warnA <link rel="icon"> (or rel="shortcut icon") exists.
seo/noindex errorNo noindex or none in <meta name="robots">, <meta name="googlebot"> or the X-Robots-Tag header.
seo/robots-txt error/robots.txt returns 200 with a plain text body.
seo/robots-syntax errorEvery robots.txt line (comments and blank lines aside) is one a crawler reads as meant.
seo/robots-sitemap warnRobots.txt has a Sitemap: line.
seo/sitemap errorThe sitemap (from robots.txt, else /sitemap.xml) returns 200 and is a <urlset>, a <sitemapindex> or a text sitemap (one URL per line).
seo/sitemap-scope warnEvery absolute <loc> in the sitemap is on the site's origin (or the sitemap's).
seo/sitemap-limits errorThe sitemap file has at most 50,000 entries (<url>, or <sitemap> in an index) and at most 50 MB (52,428,800 bytes) uncompressed, the limits of the sitemap protocol.
seo/sitemap-lastmod warnEvery sitemap entry has a <lastmod>.
seo/sitemap-host infoOn a local run (localhost, 127.0.0.1, *.localhost, [::1] or 0.0.0.0), robots.txt lists the sitemap on another host, so the same path on the tested origin was checked instead.
seo/sitemap-localFix: Make the robots.txt Sitemap: line use the production URL, not a local host.
seo/redirects errorThe URL you checked, followed one redirect at a time (at most 10 hops).
seo/double-slash errorNo internal link (and not the page URL itself) has // in its path, such as https://example.com/blog//post.
seo/html-size errorThe uncompressed size of the page HTML.
seo/broken-resources errorSugikit requests each image (src and the first srcset candidate), script src and stylesheet href on the page, same-site and third-party: HEAD, GET when HEAD answers 405, at most 40 files, 4 at a time, 5 seconds each.
seo/image-weight errorThe file size of each image seo/broken-resources checked that answered 2xx, from Content-Length of that answer.
seo/hreflang errorOnly when the page has <link rel="alternate" hreflang>; otherwise not applicable (info).
seo/http-status errorThe page URL returns a 2xx status.
seo/fetch-blocked infoThe plain HTTP request for the page got 403, 429, 503 or a bot challenge page, but the headless browser loaded it.

geo

GEO (generative engine optimization) is about AI assistants and AI search: ChatGPT, Claude, Perplexity, Google AI Overviews. They read the raw HTML, /robots.txt and /llms.txt. Most of their crawlers do not run JavaScript.

Rule and levelWhat it measures
geo/llms-txt error/llms.txt returns 200 with a plain text body.
geo/llms-txt-format warn/llms.txt starts with a # heading and contains at least one markdown link [text](url).
geo/llms-full-txt warn/llms-full.txt returns 200 with a plain text body.
geo/ai-crawlers warnRobots.txt does not block / for GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, PerplexityBot, Google-Extended or Applebot-Extended.
geo/faq-schema warnSome JSON-LD node has @type FAQPage.
geo/ssr-content errorThe server HTML (no JavaScript run) has at least 400 characters of visible text in <body>.
geo/hero-statement warnA <p> with text follows the <h1>.
geo/hero-length infoThe first sentence of the paragraph after the <h1> is 30 words or fewer, so AI answers can quote it.

convert

Convert checks look at what makes a visitor trust the page and act: working links, a way to reach a human, a short sign-up form, a visible price. Each finding carries engine (what measured it), confidence (high, medium, low), source (the study or guide behind the rule) and, when only the site owner can fix it, needsOwner: true.

The convert score weights checks by confidence: high 3, medium 2, low 1. info findings weigh 0.

Rule and levelWhat it measures
convert/input-type warn, highVisible inputs with no type or type="text" whose name, id, autocomplete, placeholder, aria-label or label says email or phone, so phones show the letter keyboard.
convert/form-autocomplete info, mediumVisible email, name, phone, address and one-time code fields with no autocomplete value (a deliberate autocomplete="off", on the field or the form, passes).
convert/submit-disabled info, mediumSubmit buttons in visible forms that are disabled (disabled or aria-disabled="true") in the page HTML, before the visitor typed anything.
convert/generic-filler warn, mediumGeneric filler in the visible text (forms ignored):
convert/placeholder-text error, highLeftovers in the visible text and links:
convert/contact-visible warn, highThe header, footer or nav has a mailto: link, or a link whose href or text mentions contact, support or help.
convert/form-fields warn or error, highThe visible fields (inputs other than hidden and buttons, selects, textareas) of sign-up and lead forms: forms with an email field or a submit label like sign up, join, waitlist, subscribe, get started or request.
convert/price-visible warn, mediumA currency amount on the page ($, € or £ before a number, or a number with USD, EUR or GBP), or a same-origin link whose text or href says pricing, plans or price.
convert/hero-in-first-screen error, highSource: NN/g scrolling and attention.
convert/mobile-fold error or warn, highSource: NN/g Fold Manifesto; NN/g scrolling and attention.
convert/primary-cta-one error or warnSource: NN/g: keep major CTAs above the fold; Wiebe: remove other calls to action.
convert/cta-salient error or warnSource: WCAG 1.4.3 and 1.4.11; Kadavy via CXL (secondary): contrast matters, not hue.
convert/cta-tap-size warn, highSource: WCAG 2.5.5 and 2.5.8 target size.
convert/arrival-popup error, highSource: Google Search Central intrusive interstitials; NN/g popups.
convert/cta-works error, highSource: Stanford credibility: "Avoid errors of all types".
convert/hero-lcp warn or info, highSource: web.dev Core Web Vitals: LCP within 2.5 s.

hero

Hero checks look at the first screen: does the header say what is sold, does the subheader say how it works, does the CTA continue the promise, does the visual show the product. Structure checks look at the page as a whole: navbar, social proof near the top, 3 to 6 feature blocks, a repeated CTA, a footer. The ids are hero/* and structure/*. Severity is warn or info only; aliased convert rules keep their own severity.

Rule and levelWhat it measures
hero/in-first-screen errorReports convert/hero-in-first-screen, convert/mobile-fold
hero/headline-what judge, warn, mediumThe header alone says exactly what is sold, and it is not a slogan.
hero/vague-verbs static, warn or info, mediumVague slogan words in the header and subheader ("supercharge", "empower", "revolutionize", "improve your workflow" warn; "unlock", "seamless", "next-gen", "cutting-edge", "leverage", "robust", "world-class", "game-changing", "transform your", "elevate your" are info).
hero/subheader-length static and render, warn, mediumA subheader exists under the header, with 1 or 2 sentences and 45 words or fewer.
hero/subheader-how judge, warn, mediumThe subheader says how the product works, or names a fact that makes the header believable.
hero/hook judge, info, lowThe header and subheader carry a specific claim, or answer the main buying objection.
hero/plain-words static and judge, warn, mediumThe Flesch-Kincaid grade of the header and subheader (brand words and code tokens removed) is 8 or lower, measured with 15 words or more.
hero/visual-shows-product render and judge, warn, high for render, medium for judgeAt 1440x900 a visual covers 20% of the first screen or more (on a phone, info when it does not show within 2 screens).
hero/slop-patterns judge, warn, mediumA reader looks at the screenshots for the patterns that make a generated page look cheap: eyebrow labels, muddy or unrelated colors, a flat hero, long lines and added text boxes.
hero/one-primary-cta warnReports convert/primary-cta-one
hero/cta-continues-promise static and judge, warn, mediumThe primary CTA label is not generic ("Submit", "Sign up", "Learn more", "Request a demo" warn; "Get started" is info).
hero/cta-unmissable warnReports convert/cta-salient, convert/cta-tap-size
hero/five-second-test judge, warn, mediumA stranger who sees only the first screen knows what this is, what they get, and what to click.

structure

Rule and levelWhat it measures
structure/navbar static, info, mediumA header, nav or banner with a link to the home page, a logo or the product name.
structure/hero warn
structure/social-proof-near-top static, render and judge, warn, mediumProof candidates (a logo row with a cue like "trusted by", a testimonial with a name, a count of 100 or more, a rating, a GitHub stars badge).
structure/cta-incentive render and judge, warn, mediumA short line (2 to 25 words) within 120 px below or beside the primary CTA (searched in the CTA's form and up to 2 ancestors of it, else in its section), or a label that says free, trial, no card, open source, minutes or one-time.
structure/features-count static, warn below 3, info above 6, mediumThe feature blocks after the hero: a group of 2 or more siblings with the same tag and classes, each with a heading and a paragraph, or a run of sections with one h2 and a paragraph each.
structure/feature-headers static and judge, warn, mediumFeature headings with vague words, generic labels ("Features", "Why us", "Benefits") or more than 10 words.
structure/feature-image static, render and judge, warn, mediumMore than half of the feature blocks have no image, video, canvas, svg (64 px or more), iframe or HTML visual.
structure/feature-paragraph static and judge, info, lowA feature block with no paragraph, or one over 80 words.
structure/cta-repeat render, warn, mediumOn a page taller than 3 screens at 1440x900, a primary-style CTA in the last 2 screens, or pinned in view at the end.
structure/order static, info, lowThe order hero, proof, features, repeated CTA, footer.
structure/keep-stronger-section judge, warn, mediumAfter a restyle, the judge compares each main section in .sugikit/before-shots/ with the same section in the new screenshots and says which is stronger, with an exact reason.
structure/keep-features-and-motion judge, warn, mediumThe judge lists every interactive feature and animation of the before page and confirms each is present after the restyle.

taste

sugikit check: the sugikit.taste.json for the taste/* checks (default: <project>/sugikit.taste.json when it exists). Taste findings are warnings and tips; they never change the exit code or green

Rule and levelWhat it measures
taste/display-font warnFix: Set the hero headline in tokens.font.display from sugikit.taste.json: load the face and point the display font variable at it (--font-display in :root, or --font-display in the Tailwind v4 @theme block), then use that variable on the h1.
taste/body-font infoFix: Set body text in tokens.font.body: point the body font variable at it (--font-body in :root or --font-sans in the Tailwind v4 @theme block) and use it on body.
taste/hero-size infoFix: Set the hero headline size to tokens.type.hero (a clamp() value): one --text-hero variable in :root or the Tailwind v4 @theme block (--text-hero), used by the h1.
taste/hero-weight infoFix: Set the hero headline weight to tokens.type.heroWeight (within 100): a --font-weight-hero variable in :root or @theme, used by the h1.
taste/hero-lines infoFix: Keep the hero headline within tokens.type.heroMaxLines lines at 1440 px wide and never leave one word alone on its last line: set text-wrap: balance (tokens.type.heroWrap) on the h1, then adjust its max-width.
taste/palette warnFix: Set the page colors from tokens.color (for tokens.scheme both: tokens.colorLight in light mode and tokens.colorDark in dark mode): --color-bg, --color-text and --color-accent (with --color-accent-ink for the CTA label) in :root or the Tailwind v4 @theme block, then use them on body, the hero text and the primary CTA. accentMode is a label, not a color: emit no variable for it.
taste/corners infoFix: Set the button radius to tokens.radius.control (--radius-control in :root, or --radius-control in the Tailwind v4 @theme block) and use it on the primary CTA and the other controls.
taste/hero-layout warnFix: Keep the page's own hero layout. layout.hero is a hint only for a page without its own hero layout: then lay out the hero as it says, centered (text and CTA centered), left (text starts in the left quarter, left-aligned) or split (text left, the hero visual right).
taste/hero-visual infoFix: Keep every visual the page had in its hero. layout.heroVisual is a hint only for a page without its own hero visual: then show the product (a real screenshot), an illustration, a photo or an abstract visual in the first screen, or no media for none; layout.visualRecipe says how to build it (product-ui: the page's real product UI or screenshot).
taste/density infoFix: Match the density the taste names: airy (fewer elements and more space in the first screen, tokens.space.section and --spacing values up) or dense (more content up top).
taste/motion infoFix: Keep the page's own animations as they are (hero text effects, a live canvas or 3D hero, marquee loops): the motion level only governs the motion the restyle adds, and an animation the page ran before the changes (before.json) is never flagged.
taste/strong-first-screen warnFix: Keep one element that dominates the first screen and carries the brand: the hero headline at tokens.type.hero (2.5x the body text size or more, covering 6% of the 1440x900 screen), or a real product visual that covers 25%.
taste/color-roles warnFix: Use only the direction's colors: give each listed text, surface, border and gradient a color from tokens.color by its job (background and text, button and its label, surface and its text, border), or a mix of two of them.
taste/file

pagespeed

npx sugikit psi <url> (or sugikit check <url> --psi) runs PageSpeed Insights (Lighthouse on Google's servers) for mobile and desktop, keeps the best score of 3 runs, and stores scores.pagespeed with performance, accessibility, best practices and SEO per strategy. It needs PSI_API_KEY and a public URL. Localhost does not work.

Each failing Lighthouse audit (score under 0.9) becomes a finding with id pagespeed/<audit-id>, for example pagespeed/render-blocking-resources. Severity is error under 0.5, else warn. fix.summary holds Lighthouse's own text and, for common audits, a framework hint. Look up the audit id below.

Rule and levelWhat it measures
pagespeed/local-url infoThe URL is localhost or a private address.
pagespeed/no-key infoPSI_API_KEY is not set.
pagespeed/api-error warnPSI returned no result for mobile or desktop.

site

--site runs the page checks on the start URL, then crawls the site and checks it as a whole. The crawl starts at the start URL, follows same-origin <a href> links and same-origin canonical targets breadth first, and only then crawls the URLs found only in the sitemaps (robots.txt Sitemap: lines, else /sitemap.xml; sitemap index entries are read only on the same site). It follows redirects one hop at a time, and checks an off-site redirect target with HEAD only (no further hops). It stops at --max-pages (default 200, at most 1000) or when the --timeout budget (default 600 seconds) runs out. On a local run (localhost and similar) the production origin named by the start page canonical, robots.txt or the sitemap is treated as the same site.

Rule and levelWhat it measures
site/4xx errorCrawled internal URLs that answer 4xx (401, 403 and 429 do not: they are in site/unchecked).Ahrefs Error: 4XX page, 404 page, 403 page
site/5xx errorCrawled internal URLs that answer 5xx (503 does not: it is in site/unchecked).Ahrefs Error: 5XX page, 500 page
site/timeout errorCrawled internal URLs that gave no answer within 10 seconds, or no answer at all.Ahrefs Error: Timed out
site/redirect-loop errorInternal URLs whose redirects come back to a URL already in the chain.Ahrefs Error: Redirect loop
site/redirect-chain errorInternal URLs that redirect through more than 5 hops.Ahrefs Error: Redirect chain too long
site/broken-redirect errorInternal URLs that redirect to a URL that answers 4xx, 5xx or nothing.Ahrefs Error: Broken redirect
site/redirects warnInternal URLs that redirect.Ahrefs Warning: 3XX redirect, 302 redirect, HTTPS to HTTP redirect
site/redirects-notice infoInternal URLs that redirect from http to https, and crawled URLs whose redirects take 2 to 5 hops (more is site/redirect-chain, a loop is site/redirect-loop).Ahrefs Notice: HTTP to HTTPS redirect, Redirect chain
site/orphans errorSitemap URLs that answer 2xx and that no crawled page links to (the start URL is never an orphan).Ahrefs Error: Orphan page (has no incoming internal links)
site/canonical-target errorCrawled HTML pages whose canonical names another URL that answers 4xx or 5xx, or redirects.Ahrefs Error: Canonical points to 4XX, Canonical points to 5XX, Canonical points to redirect
site/canonical-non-canonical warnCrawled pages whose canonical target names yet another URL as its canonical (a canonical chain).Ahrefs Warning: Non-canonical page specified as canonical one
site/canonical-protocol infoAn https page with an http canonical, or an http page with an https canonical.Ahrefs Notice: Canonical from HTTPS to HTTP, Canonical from HTTP to HTTPS
site/double-slash errorCrawled internal URLs with // in the path (/blog//post); sources lists the pages that link to them.Ahrefs Error: Double slash in URL
site/html-size errorCrawled HTML pages with more than 2 MB of HTML, counted uncompressed (Googlebot reads only the first 2 MB for Google Search).Ahrefs Error: Page size exceeds Googlebot's 2 MB crawl limit
site/html-large warnCrawled HTML pages with more than 1 MB and at most 2 MB of uncompressed HTML.Ahrefs Warning: HTML file size too large
site/duplicates errorIndexable 2xx HTML pages with the same visible text and no canonical between them (one page names the other as canonical).Ahrefs Error: Duplicate pages without canonical
site/sitemap-urls errorSitemap URLs that redirect, answer 4xx or 5xx, time out, are noindex, or name another URL as canonical.Ahrefs Error: 3XX redirect in sitemap, 4XX page in sitemap, 5XX page in sitemap, Page from sitemap timed out, Noindex page in sitemap, Non-canonical page in sitemap
site/not-in-sitemap infoCrawled 2xx HTML pages that are indexable (no noindex, no canonical to another URL) and that no sitemap lists.Ahrefs Notice: Indexable page not in sitemap
site/title-missing errorCrawled HTML pages with no <title> or an empty one.Ahrefs Error: Title tag missing or empty
site/title-multiple errorCrawled HTML pages with more than one <title>.Ahrefs Error: Multiple title tags
site/title-duplicate warnIndexable, canonical pages that share their title with another page.Ahrefs Warning: Title tag duplicate (pages with the same title)
site/description-multiple errorCrawled HTML pages with more than one meta description.Ahrefs Error: Multiple meta description tags
site/html-lang errorCrawled HTML pages whose <html lang> is not a valid BCP 47 tag (en_US, english).Ahrefs Error: HTML lang attribute invalid
site/html-lang-missing warnPages with no <html lang> (an invalid one is site/html-lang).Ahrefs Warning: HTML lang attribute missing
site/h1 warnPages with no <h1> or an empty one.Ahrefs Warning: H1 tag missing or empty
site/h1-multiple infoPages with more than one <h1>.Ahrefs Notice: Multiple H1 tags
site/description warnPages with no meta description, or one outside 70 to 160 characters.Ahrefs Warning: Meta description tag missing or empty, Meta description too short, Meta description too long
site/title-length warnPages whose title is outside 30 to 60 characters (a missing title is site/title-missing).Ahrefs Warning: Title too short, Title too long
site/h1-not-indexable infoThe same as site/h1 on pages search engines do not index (noindex, or a canonical to another URL).Ahrefs Notice: H1 tag missing or empty
site/description-length-not-indexable infoPages search engines do not index (noindex, or a canonical to another URL) with a meta description outside 70 to 160 characters.Ahrefs Notice: Meta description too short, Meta description too long
site/title-length-not-indexable infoThe same as site/title-length on pages search engines do not index (noindex, or a canonical to another URL).Ahrefs Notice: Title too short, Title too long
site/img-alt warnPages with <img> tags that have no alt attribute.Ahrefs Warning: Missing alt text
site/noindex warnPages that block indexing (robots meta or X-Robots-Tag).Ahrefs Warning: Noindex page
site/social-tags warnPages whose Open Graph set is incomplete (og:title, og:description, og:type, og:url, absolute og:image), whose og:url differs from the canonical URL, or whose X card is incomplete.Ahrefs Warning: Open Graph tags incomplete, Open Graph URL not matching canonical, X (Twitter) card incomplete
site/social-tags-missing infoPages with no Open Graph tags at all, or no twitter:card.Ahrefs Notice: Open Graph tags missing, X (Twitter) card missing
site/hreflang errorThe seo/hreflang checks on every crawled page that has hreflang, with the alternates' status, canonical and hreflang taken from the crawl (no extra requests).Ahrefs Error: Hreflang annotation invalid, Missing reciprocal hreflang (no return-tag), Hreflang to broken page, Hreflang to redirect, Hreflang to non-canonical, Hreflang and HTML lang mismatch
site/broken-resources errorImages and scripts that answer 4xx or 5xx on every crawled HTML page (same-origin only).Ahrefs Error: Page has broken image, Page has broken JavaScript, Image broken, JavaScript broken
site/image-weight errorCrawled HTML pages that load an image over 100 KB (102,400 bytes).Ahrefs Error: Image file size too large
site/robots-syntax errorThe seo/robots-syntax checks on the robots.txt the crawl read (after its redirects): lines with no colon, a misspelled key (within 2 letters of User-agent, Allow, Disallow, Sitemap or Crawl-delay; other keys are ignored, as RFC 9309 says), a rule before any User-agent line, an empty User-agent, a path that does not start with / or *, a Crawl-delay that is not a number, a Sitemap that is not absolute.Ahrefs Error: Robots.txt has syntax error
site/robots-redirects errorRobots.txt redirects more than 5 times or in a loop (the crawl follows it with redirect "manual", one hop at a time).Ahrefs Error: Robots.txt has too many redirects or redirect loop
site/sitemap-syntax errorEach sitemap file the crawl read (200, not HTML) is well-formed XML and every <loc> is an absolute http(s) URL.Ahrefs Error: Sitemap has syntax error
site/sitemap-scope warnSitemap files that list absolute URLs of another site: another origin, a CDN host, http on an https site, www on an apex site.
site/sitemap-limits errorEach sitemap file the crawl read has at most 50,000 entries and 50 MB uncompressed.Ahrefs Error: Sitemap larger 50MB, Sitemap with over 50K URLs
site/unchecked infoCrawled URLs that answered 401, 403, 429 or 503 (a login, bot protection or a rate limit).
site/start-redirect errorThe start URL redirects to another site (not only its www, apex or https twin).
site/not-covered infoNothing.Ahrefs Not covered: 4XX page receives organic traffic, 3XX page receives organic traffic, Noindex page receives organic traffic, Non-canonical page receives organic traffic

Scores

CategoriesWeighted byWeights
polish, seo, geoseverityerror 3, warn 1, info 0
convert, hero, structure, tasteconfidencehigh 3, medium 2, low 1, info 0
score = round(100 * passed weight / total weight); 100 when no check applies

GREEN: no error findings (page and site) and polish, seo, geo and convert all at 90 or more

Hero, structure and taste: owner checks, shown on their own line, never decide green. PageSpeed does not decide green.

site.health estimates the Ahrefs Site Audit Health Score: crawled internal URLs with no Error-level site finding, divided by all crawled internal URLs, times 100. Only Error-level issues count; warnings and notices do not. One URL with five errors costs the same as one URL with one error, so 100 needs every crawled URL clean. A robots.txt or sitemap file with an Error-level finding (site/robots-syntax, site/robots-redirects, site/sitemap-syntax, site/sitemap-limits) counts as one more crawled URL with an error; clean files are not counted. It is an estimate: Ahrefs confirms on its next crawl, and a project can change which issues count as errors.

Report

Files

PathWritten by
.sugikit/report.jsonsugikit check
.sugikit/report-shots/sugikit check
.sugikit/before.jsonsugikit check --out .sugikit/before.json
.sugikit/psi.jsonsugikit psi
.sugikit/report.htmlsugikit report
sugikit.taste.jsonsugikit taste apply

Fields

ObjectFields
report.jsonversion, target, framework, startedAt, finishedAt, scores, pageType, findings, states, screenshots, site, sets, judge, firstScreen, green, greenReasons
scorespolish, seo, geo, convert, pagespeed, siteHealth, hero, structure, taste
findings[]id, category, rule, severity, message, selector, url, evidence, fix, engine, confidence, source, needsOwner
sitestart, health, healthNa, healthNote, pagesCrawled, htmlPages, errorPages, maxPages, stopped, startRedirect, notCrawled, sitemapUrls, sitemapFiles, blockedByRobots, aliases, notes, findings, passed, pages
site.findings[]id, severity, ahrefsLevel, ahrefs, message, count, urls, sources, details, fix
judge answersid, pass, reason, quote, item

Values

FieldValues
frameworknext, tanstack-start, astro, unknown
categorypolish, seo, geo, pagespeed, convert, hero, structure, taste
severityerror, warn, info
enginestatic, render, psi, judge
confidencehigh, medium, low
pageTypeproduct, launch, waitlist

Keys and calls

Environment

VariableUse
PSI_API_KEYPageSpeed Insights key for --psi and sugikit psi
SUGIKIT_API_URLAccount server (default https://sugikit.com)
SUGIKIT_NO_OPEN1: sugikit login does not open the browser
XDG_CONFIG_HOMEFolder for sugikit/auth.json and sugikit/license.json (default ~/.config; Windows: APPDATA)
XDG_CACHE_HOMEFolder for the capture run and its screenshots, sugikit/captures/ (default ~/.cache; Windows: LOCALAPPDATA)

Calls

  • https://sugikit.com/api/auth/device/code
  • https://sugikit.com/api/auth/device/token
  • https://sugikit.com/api/auth/revoke
  • https://sugikit.com/api/license
  • https://sugikit.com/api/captures/iterations
  • https://sugikit.com/api/captures/feedback
  • https://www.googleapis.com/pagespeedonline/v5/runPagespeed

Skill

The fix loop

  1. 1 Find the URL and the framework
  2. 2 Save a baseline (first run only)
  3. 3 Read the report and fix
  4. 3b Judge the hero
  5. 3c Judge the result
  6. 4 Measure again
  7. 4b Check the whole site
  8. 5 Check the production build
  9. 6 PageSpeed
  10. 7 Summary
  11. 8 Feedback

Stop when the summary prints GREEN (report green: true: no error findings and polish, seo, geo and convert at 90 or higher; hero and structure are owner checks and do not decide it), or after 5 rounds. Five rounds is the limit, even if findings remain.

Never game the check

  • Do not hide elements from the checker or from crawlers.
  • Do not sniff the user agent or serve different content to bots.
  • Do not add fake or filler content to pass a length or text rule.
  • Do not disable a rule, edit Sugikit, or edit the report.

Conversion policy

  • Never invent proof, testimonials, user counts, logos, ratings, prices, guarantees, deadlines or urgency. No countdowns, no "only N left", no made up quotes or contact details. If a fact is not in the repo (README, pricing config, checkout setup, package.json, llms.txt), ask the owner.
  • Keep the buyer's style. Fix conversion inside the existing palette, type and voice. Make a button stand out with contrast and space within the palette, never with a new loud color.
  • Ask the owner for missing facts in one batched message (see Questions). Do not ask one at a time.
  • Findings with needsOwner: true go to the "your turn" list in the final summary. Do not retry them.
  • Copy edits (headlines, button labels, link text) are suggestions only. Apply them only when the owner allowed copy changes. Else list the suggested text in the summary.
  • One exception: shortening a long hero line or section intro (polish/long-description) from its own words. In taste mode apply it, even in a looks-only restyle, and list the old and new text for the owner. Outside taste mode it stays a suggestion unless the owner allowed copy changes.

Taste

Taste mode

  • If the owner gave you a taste code, run npx sugikit taste apply <code> --direction A|B|C first. It writes the file.
  • If sugikit.taste.json exists, you are in taste mode. Read references/taste.md before step 3 and apply the direction: its fonts, colors, type, spacing, radius, motion and hero layout. This replaces the "no new palette, no new fonts, no layout rewrites" rule in Taste rules.
  • All other rules stay: keep the owner's copy and sections, the Conversion policy, and contrast and a11y over taste.
  • If the file does not exist, Taste rules apply as written.
  • Next round: after you apply a direction, end the summary by suggesting one more round, even when the owner is happy with the result. The owner swipes a few more pages on sugikit.com, copies the new prompt or taste code, and you apply it again, so the taste gets sharper each time.
  1. 1 Read the file
  2. 2 Apply the tokens
  3. 3 Hero layout
  4. 4 Color
  5. 5 Theme (light, dark, system)
  6. 6 Sections and copy
  7. 7 Check loop