skillmkt 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +213 -2
- package/client/bin/skillmkt.js +84 -0
- package/client/commands/audit.js +34 -0
- package/client/commands/build.js +61 -0
- package/client/commands/config.js +34 -0
- package/client/commands/conflicts.js +14 -0
- package/client/commands/decide.js +19 -0
- package/client/commands/diff.js +52 -0
- package/client/commands/doctor.js +109 -0
- package/client/commands/download.js +35 -0
- package/client/commands/init.js +82 -0
- package/client/commands/install.js +169 -0
- package/client/commands/list.js +56 -0
- package/client/commands/merge.js +49 -0
- package/client/commands/outdated.js +34 -0
- package/client/commands/registry.js +42 -0
- package/client/commands/remove.js +48 -0
- package/client/commands/resolve.js +76 -0
- package/client/commands/rollback.js +30 -0
- package/client/commands/search.js +46 -0
- package/client/commands/serve.js +99 -0
- package/client/commands/show.js +52 -0
- package/client/commands/sync.js +54 -0
- package/client/commands/targets.js +75 -0
- package/client/commands/update.js +39 -0
- package/client/commands/upgrade.js +75 -0
- package/client/lib/ai.js +67 -0
- package/client/lib/audit.js +87 -0
- package/client/lib/autoarb.js +26 -0
- package/client/lib/conflicts.js +65 -0
- package/client/lib/ctx.js +68 -0
- package/client/lib/daemon.js +47 -0
- package/client/lib/dashboard.js +29 -0
- package/client/lib/decide.js +43 -0
- package/client/lib/evidence.js +56 -0
- package/client/lib/githash.js +36 -0
- package/client/lib/hub.js +125 -0
- package/client/lib/llm.js +85 -0
- package/client/lib/package.js +73 -0
- package/client/lib/project.js +97 -0
- package/client/lib/prompt.js +22 -0
- package/client/lib/ref.js +37 -0
- package/client/lib/registries/github.js +106 -0
- package/client/lib/registries/index.js +37 -0
- package/client/lib/registries/rfc.js +42 -0
- package/client/lib/registries/skillssh.js +59 -0
- package/client/lib/render.js +53 -0
- package/client/lib/rules.js +36 -0
- package/client/lib/scanner.js +158 -0
- package/client/lib/state.js +50 -0
- package/client/lib/yamlls.js +14 -0
- package/client/public/app.js +63 -0
- package/client/public/index.html +21 -0
- package/package.json +44 -4
- package/pipeline/lib/env.js +40 -0
- package/pipeline/lib/gh.js +53 -0
- package/pipeline/lib/llm.js +108 -0
- package/pipeline/lib/util.js +103 -0
- package/skill/SKILL.md +270 -0
- package/skill/references/a11y.md +82 -0
- package/skill/references/code.md +415 -0
- package/skill/references/color.md +84 -0
- package/skill/references/copy.md +197 -0
- package/skill/references/imagery.md +157 -0
- package/skill/references/layout.md +404 -0
- package/skill/references/motion.md +104 -0
- package/skill/references/process.md +303 -0
- package/skill/references/type.md +84 -0
- package/skill/rules-manifest.yml +13092 -0
package/skill/SKILL.md
ADDED
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deslop
|
|
3
|
+
description: "Anti-AI-slop design skill. Use when building, redesigning, reviewing, or auditing web/app UI. Distilled from multiple upstream design skills with human-arbitrated conflict resolution; covers aesthetic direction, hard floor rules, motion/a11y craft details."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "0.4.44"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Deslop
|
|
9
|
+
|
|
10
|
+
Rules distilled from upstream design skills by the awesome-skill-market pipeline. **Do not edit this file** — change `decisions/` or upstream and rebuild.
|
|
11
|
+
|
|
12
|
+
## The Floor — never ship a violation
|
|
13
|
+
|
|
14
|
+
- Use only realistic numbers, proof, names, and data the brief gives—verbatim quotes with name and role or town, sourced figures, showable customer logos, real customers, reviews, press, founder names, and product data—never invent figures, jargon nodes, or material, and delete rotated vertical text, scroll cues, version or BETA pills, weather/locale strips, mono-caps strips, and credit captions under stand-ins unless the prompt is a launch, venue, or distributed studio and the text is a fact.
|
|
15
|
+
- Never invent names, roles, companies, quotes, customers, metrics, facts, figures, times, batch numbers, percentages, logo walls, case-study counts, or specific details; use only figures the brief provides with their unit, and carry over every existing fact, claim, name, price, date, quote, figure, logo, review, count, portrait, or award exactly as given.
|
|
16
|
+
- Keep images on the proof side with width and height set on every image, lazy-load below-fold images with decoding=async while making the hero the high-priority LCP, size inline images to the body measure, place hero pictures spanning six of twelve columns and standing at least 440px tall or full-bleed, keep swappable images under 400 KiB (hero) and 250 KiB (others), cap total images under 2400 with the largest single image under 700 KiB, and never place more than four slots in a row.
|
|
17
|
+
- Write specific, slightly literary copy that favors verbs over adjectives, proves craft through concrete detail rather than naming it, and writes no line a competitor could use unchanged.
|
|
18
|
+
- Write unique titles and one-sentence descriptions without reusing words, place a hard fact in every head and the first screen, lead with the true difference and its proof instead of unproven adjectives, pair each label with a hard figure, present the mechanism in verb-led steps, place real commands and file names on the page, and vary card length by how much the brief knows.
|
|
19
|
+
- Write a hero headline of seven words or fewer with one or two actions, pair any bare figure with the line that says what it means, vary what each section contains, show the main action at most twice on one screen, and fail when the page deals no moment.
|
|
20
|
+
- Make section headings a noun phrase or short plain claim of one to six words in at most two lines, title each card with a verb and object in one line using real words, and keep every word as live text with no caption, label, description, name, price, link line, or hashtag under or on any picture, object, render, diagram, or map.
|
|
21
|
+
- For every image, use only the client's own photographs, real captured or built product shots, or properly credited library photos — never demo test pictures, stock mood shots, other makers' products, invented-client logos, drawings, colored placeholder boxes, or SVG/loose-primitive stand-ins, and never hotlink unlicensed free stock.
|
|
22
|
+
- Use exactly one icon library per page with one stroke width and style sized on the grid and colored currentColor (never inside colored tiles, as emojis, or as unrelated/hotlinked marks), exactly one texture artifact family per page, and reserve the single allowed print effect for non-photograph grounds on technology pages.
|
|
23
|
+
- Render only the product the spec supports, built and working as the hero across at most three sections with a new picture each, using real controls and sample values that read as samples not claims; never substitute a video for a photograph, draw a real logo's look-alike, or place a map on a footer-visit, and keep specimen pages picture-free since typography is the imagery.
|
|
24
|
+
- Borrow at most one move from a second register beyond the chosen one, choose a writing register per client from copy-registers.md instead of applying one uniform house voice while never overriding the h1 category, heading nouns, or button verbs defined in copy.md, write direct slightly poetic specific copy in active voice in the client's register avoiding em dashes throughout body copy and abstract category nouns such as power and alignment, do not talk about the page itself its structure or how it was built, and record the chosen voice card on the plan not on the page.
|
|
25
|
+
- Put the photographer's credit in the page's single footer credit line rather than under the picture, paste the single credit line in the footer under 110 characters naming only sources, place the full credits list on its own page, and link the credits list from one footer line only.
|
|
26
|
+
- Exclude hype words and never use emoji as list bullets, and keep copy free of filler, virtue words, puns, boasts, slogans, sign-offs, and exclamation marks.
|
|
27
|
+
- Ensure every image src points to an existing file, credit library photographs in a footer marked data-credits (or a single footer Photographs line), never hotlink free stock, and keep captions as factual text outside the image frame with licence credits in one footer line.
|
|
28
|
+
- Display only the user's own logos or monochrome marks (one treatment per row, 32–48px tall) and real platform marks only for named platforms, keep every logo's own proportions and colours intact, never draw text or logos on the product, and always set quantities in type rather than rendering twenty-four or more identical marks or rows/grids of identical marks.
|
|
29
|
+
- Show only the real team the brief gives with consistent light and grounds and no more than eight people, carry place/product/service pages with the client's own photographs (each used once) and the page's real copy, deal two different compositions and one type moment per place page, keep captions out of close-photos, and limit photographs to at most a third of the page below the hero (up to 45% on photographic shapes) with no two photograph-led sections in a row.
|
|
30
|
+
- Ship stills by default with at most one live context per page, route non-moving effects through still() or fill(...,{still:true}) to draw once and free their context, pause off-screen and hidden-tab effects, drop pixel ratio when frames exceed 21-24ms, and under reduced motion render dither objects as a single still line drawing without WebGL or pause controls.
|
|
31
|
+
- Add a static dither to every dark gradient and use linear gradients only as an edge fade inside a visual never as decoration.
|
|
32
|
+
- Never let gradient ramps or multi-stop gradients stand in for material, and prohibit purple-to-blue, purple-to-pink, cyan-on-dark, gradient text, glass effects, and coloured glow shadows.
|
|
33
|
+
- Keep the footer to facts—brand, year, Privacy, Terms, credits, street, district, place hours, and one short line naming only the sources used that links the credits list—without metaphors, slogans, boasts, questions as headlines, all-caps labels, or per-photograph credit links.
|
|
34
|
+
- Apply aria-selected, aria-controls, aria-expanded, aria-pressed, aria-current, aria-required, and aria-hidden correctly per component, prefer semantic HTML over ARIA roles, and mark decorative icons and hidden maps appropriately.
|
|
35
|
+
- Give fx-photo an empty effects list and ignore data-cx-effect and disable its zoom under reduced motion, for kind=other load no animation library and no WebGL, serve scene photographs from the site itself since a host that sends no CORS headers cannot be printed, ensure the [data-mode] attribute wins over the media query by only applying media overrides when no explicit mode is set, name each feature-card landscape scene via data-cx-scene and composition via data-cx-params so no two panels look identical using day, dusk, meadow, or grain-gradient, and show success only after a real endpoint response and never write thank-you messages on submit or use a modal.
|
|
36
|
+
- Include the footer trademark line and an icons-credits.json entry listing file, set, pinned source commit, licence, and trademark flag, keep the footer factual and free of sign-off jokes or puns, carry the sign-off link at the letter's foot with an explicit verb, and point unknown links at the page section that does most of them.
|
|
37
|
+
- Show client photographs in their natural colour and detail with no print, grading, duotone, dither, halftone, blur, gradient, grain, glitch, shader, or blend mode, never cover more than half of a photograph with a canvas, and maintain one light, one grade, and one register across all photographs on a page.
|
|
38
|
+
- Limit each page to exactly one filled-primary button (one recipe per page, treated as its own page), route quiet variants elsewhere, and never place two filled buttons side by side.
|
|
39
|
+
- Keep exactly one main action per screen, show the CTA button in the sticky pane only after the section's last capture is reached, and never repeat Get directions beyond the hero button and phone bar.
|
|
40
|
+
- Declare every colour in OKLCH and store tokens in a single location named by role (e.g. --color-ink) rather than by literal names such as black; route all colours and font families through tokens declared at :root or a theme block, never emitting raw values outside the token block.
|
|
41
|
+
- Use exactly one accent hue and prohibit introducing a third hue; never ship purple transitioning into blue, never use grain or noise washes as ambience unless the theme earns a budgeted recipe, and never ship a near-black page with a single neon or acid accent unless the brief explicitly requests that direction.
|
|
42
|
+
- Prohibit glass panels, gradient-filled pills, gradient text, glass effects, purple-to-blue gradients, cards inside cards, emojis as icons, hand-drawn browser or OS windows, and repeated stripe or grid backgrounds with nothing under them; never apply a print, dither, grade, or filter over a photograph on any page kind.
|
|
43
|
+
- Keep the back third of the page calm before the close, place each moment in a different section with no two moments that avoid each other, drop the place section on pages over six screens but never the booking, use close-photo with an unused 1:1 photograph and no words on it, keep one height per card row and tile kind across the page with sections at H or 2H, disable scroll-snap scroll-jacking and smooth-scroll libraries keeping everything except big scenes within their own 1H or 2H sections, use a node-and-line diagram only to show how things connect and never to depict a screen or UI fragment, and make text containers handle long content with truncate line-clamp or break-words.
|
|
44
|
+
- Use semantic elements (button for actions, a/Link for navigation, label via element or wrapping) over ARIA when semantics exist, give every control a visible label above it (never placeholder or aria-label alone), and ensure every interactive element has an accessible name.
|
|
45
|
+
- Provide a prefers-reduced-motion fallback for every animation, keyframe, or transform (including transition:all): show a single still frame, keep content visible with scripting disabled, and free animation context immediately.
|
|
46
|
+
- Maintain hierarchical headings progressing one level at a time, mark custom widgets with ARIA roles/states/properties, place a skip-to-content link as the first focusable element pointing to main content, and never let overlays or fixed headers cover focused elements.
|
|
47
|
+
- A still must render once, keep an img, free its context, and remove its canvases, do not use the dropped brands set, brands: ids must fail with an explanatory message, run the icon resolver as the final step never relying on CDNs, runtime tinting, or Simple Icons calls at runtime, and fail when a loaded assets file differs from the skill's copy beyond whitespace, quotes, semicolons, and commas.
|
|
48
|
+
- Ship zero broken requests and zero sideways overflow while keeping total requests under 110, sampling at one WebGL sample per CSS pixel or less with pixel ratio at most 1.5, keeping median long tasks under 20 and blocking time under 4 seconds with WebGL off, pausing every effect off-screen and in hidden tabs with a pause button for independent loops over about 5 seconds, and keeping stat with window:true so the ground shows through its bars.
|
|
49
|
+
- Place every number inside a sentence beside the claim it proves, using only figures the prompt explicitly provides with their unit and a cited source, prefer odd human numbers over round ones, and never present fabricated series.
|
|
50
|
+
- Use plain declaratives with names, dates, and counts, show exclusivity through a rule or fact rather than an adjective, and state product facts as values with units rather than claims or slogans.
|
|
51
|
+
- Only include material cards (hero visual, logo row, three features, testimonials) when the user supplied the exact material named by the Picks block, keep feature cards to at most four lines of text without the kit's sample text, and never print an email or phone the brief does not give; state how to reach them with the form including street and hours.
|
|
52
|
+
- Use one or two eyebrow labels per page and none when the heading already names the thing, write rail headings as dated lines including a count, use non-breaking spaces between units, modifiers, and brand names with ampersands where space is constrained, and never join meta strings with middle dots, glue arrows to link or button text, add decorative status dots before labels, or emit WORD - fragment labels.
|
|
53
|
+
- Attach at most one hover/pointer signal per element, keep feedback on the container, and never make non-interactive elements react to the pointer; linked cards lift 2px and zoom their picture 1.02–1.03 within an overflow-hidden frame over 600ms without growing, dimming, or overlaying.
|
|
54
|
+
- Present content statically: keep the print present from the first frame with no entry animation, load captures instantly leaving remaining content static, omit reveal animations on index-first pages, apply exactly one type-unmask reveal on the first specimen only, and keep footer statements and still diagrams effect-free.
|
|
55
|
+
- Apply hover motion only to fine pointers while keeping identical tap and keyboard focus states everywhere, with linked photographs zooming 1.03 inside their frame and their card lifting 2px, and ensure every interactive element visibly responds to the pointer without tilting.
|
|
56
|
+
- Every field must have a visible label above it, never using placeholder as the label; state changes must never alter border width, padding, height, or animate the ring, reserving a transparent outline at rest so the ring appears without shifting; show the inset outline immediately on focus and never change the border width, keeping floating labels as placeholders at rest; textareas must allow vertical resize with min-height 6rem; range thumbs must take focus and provide a 44px hit target; keep list text at 16px and use 13px only for group labels; use logical properties for spacing, allow room for 30 to 40 percent longer strings, and avoid hard-coded date or number formats.
|
|
57
|
+
- Give every interactive element a visible focus ring via :focus-visible with at least 3:1 contrast against adjacent colors; never remove the outline without replacing it with an equivalent indicator, and draw it immediately without animation.
|
|
58
|
+
- Limit grain to a single non-animated tile made at load, never place it over UI, text, or photographs, use client photographs or renders for texture, logos, transparent glass, draping cloth, freeform organic shells, and anything thinner than a texel, and use still low-contrast grain-gradient inside chips, pills, and bars without silk, glass, or metal sheen.
|
|
59
|
+
- Use only flat colour grounds with at most one brand band, reserve dark pages and dark heroes for tech pages, and never place a dark ground behind dark UI on a dark page.
|
|
60
|
+
- Tune tints toward the accent rather than toward violet, keep --g-alt within 20 degrees of --g-main's hue, 0.06 to 0.15 darker, and never below lightness 0.70; keep the hue constant across modes on every token, treat dark mode as opt-in and derived rather than an inversion of light mode, and derive every dark-mode token from its light value by recipe.
|
|
61
|
+
- Label the sticky bottom bar with an action verb such as 'Start a project', place exactly one typographic verb-led link on the plate under the sentence as the visible action, and keep buttons, primary nav links, CTAs, footer links, tabs, and breadcrumbs single-line across all widths unless a phrase cannot realistically be shortened, using at most ten button labels per page.
|
|
62
|
+
- Headings must name things or use a verb and the thing the reader acts on, name the product category in the h1 rather than a vague benefit, pair each number in the sentence it proves, write buttons as a verb and object, and allow at most two hero actions with one on a place.
|
|
63
|
+
- Label forms and everything else by what users understand in plain language, never by how the system is built, and write form errors that name the field and what to type with a fix or next step.
|
|
64
|
+
- Keep an action's name identical across the whole flow so button labels match the resulting status or toast, make the hero primary action a verb and object matching the nav, close, and phone bar word for word with at most one quieter action on a place, never repeat a single action more than once per screen, use plain labels, and never use Learn more, Read more, Discover, Explore, More, or Click here as button labels.
|
|
65
|
+
- Start about, story, and dated sections in a concrete moment the brief gives using named streets, furniture, people, dates, places, and plate numbers rather than marketing copy or old-photograph captions, and on a redesign never skip a step the old page had nor ask for copy, an action, or a visual the old page did not have.
|
|
66
|
+
- Never use sample, examples, illustrative, or asterisk footnote tags anywhere, use every named room plan blend or model identically throughout the page, and write Privacy and Terms as small pages adding Imprint only when the brief gives the company's own details.
|
|
67
|
+
- Use the file-type icon for document cards rather than a brand mark, exclude light marks that vanish on a light tile, give named client assets their own finished frames named in a comment for the client's file, keep the parts section showing the client's exploded model or close-up photographs of parts, and never leave asset slots empty.
|
|
68
|
+
- Build pages with six to nine sections including hero and footer (five on a thin prompt), deal at most two section moments per page each in its own section with at most one non-scroll moment in the hero or data-visual window, keep each section to one or two screens tall with nothing of the next section showing at load, and order sections by the argument the shape makes rather than a fixed pattern.
|
|
69
|
+
- Apply negative tracking to display faces (never letting two letters touch on condensed or heavy faces), apply text-wrap balance to headings and pretty to body copy, give uppercase wrapping hero headings a line-height of 1.0 or greater, and set manifesto headings as uppercase display type tilted between -2deg and -4deg or left straight using exactly one weight and one colour throughout.
|
|
70
|
+
- Ship responsive layouts down to mobile, respect prefers-reduced-motion everywhere (including identical textures and no-motion fallbacks), and ensure content remains readable and visible without motion.
|
|
71
|
+
- Every hover or pointer affordance must have a keyboard focus equivalent and never be hover-only; interactive elements must include keyboard handlers, and gesture-only actions must provide tap, click, and keyboard alternatives unless truly essential.
|
|
72
|
+
- Give every control an accessible name (aria-label for icon-only buttons), keep labels visible, ensure shared hit targets without dead zones for checkboxes/radios, and always allow pasting while keeping submit buttons live until pressed.
|
|
73
|
+
- Provide captions, transcripts, or descriptions for meaningful media; mark decorative SVG, canvas, CSS art, and texture overlays as aria-hidden with pointer-events:none; and ensure text contrast meets thresholds against textured backgrounds.
|
|
74
|
+
- Never use tabs, sync stateful UI to the URL when state drives behavior, force each state in the preview with a helper class the component's CSS targets beside the real pseudo-class, and do not use CSS-only radio tabs at position:absolute;top:0 without a JS guard—put radios in flow at zero size or use preventScroll and use flex and grid for layout instead of JavaScript measurement.
|
|
75
|
+
- Judge object modules by count, ensuring more object modules are not loaded than canvases or fallback hosts drawn; keep at most four live WebGL contexts per page counting scenes with grounds and effects, and at most one per product page; mount an object or raymarched canvas when its panel nears the screen and destroy it when it leaves, keeping one per card group and rendering at most 1 CSS px per pixel, always showing a poster first and mounting each WebGL context at load or lazily as its section nears the screen.
|
|
76
|
+
- Provide a paired ink token whenever button text sits within 5% lightness and 0.05 chroma of its fill, ensure an accent-ink token exists where accent carries text, and verify the accent passes 4.5:1 on its label and 3:1 on both grounds; keep accent coverage under roughly 5% of any viewport (never above 8% in the render tier) without a declared posture, and apply exactly one accent hue only to the canvas treatment, focus rings, and small tags, never to display text unless the theme's type names an accented word.
|
|
77
|
+
- Render every ground and panel on product, service, and place pages as a flat CSS colour with no gradients, textures, glass, filters, or shadows on the interface; place paper-2 cards on paper so cards are lighter than the canvas, change grounds only at section edges, and derive elevation through lightness or an inset hairline ring in dark mode with drop shadows disabled.
|
|
78
|
+
- Style pill controls as filled and outlined variants with an ink-filled primary beside an outlined secondary, and set html data-radius to one of sharp, soft, or round applying the matching radius family to cards, panels, controls, and buttons; implement every button with all eight states using the provided CSS variables and transitions; maintain consistent visual variants across reused components.
|
|
79
|
+
- Pass all pages built this session to the linter together and break shared cadence, jokes, or opening phrases between them; place a verbed link at each rail's edge while avoiding a global CTA so the fold's single visible action is the first rail's link; name Xbox and Nintendo consoles in type instead of drawing a mark; write foundry-voice copy that names the face, its weights, and its use in short phrases; and place a sold item's name and price inside its card padding rather than as a line under a bare picture.
|
|
80
|
+
- Use a single ellipsis character instead of three dots, and make loading-state labels end with an ellipsis.
|
|
81
|
+
- Write every button as a verb plus its real object in one to five words; keep 'Continue' only as a flow's second step and describe errors without exclamation marks or 'Oops'.
|
|
82
|
+
- Compose the hero as the first screen (100svh) with the primary action alongside name, descriptor, and email, keeping the visual centre within 60px of the text block and no more than 120px from the viewport edge, and ensure nothing from the next section shows above the fold.
|
|
83
|
+
- The first screen must state what is sold, who it is for or where it applies, and include one hard fact, with the hero filling the screen alone at every width and its main button inside it; fill short heroes with only the visual or headline, never extra copy, and never leave more than 160px of empty space between the hero's lowest content and the fold or hero foot.
|
|
84
|
+
- Give stamped-position heroes full screen height and unstamped heroes less than 92dvh, keeping the headline, one sentence, and primary action visible at 1280x800 without scrolling, and never slice a custom wrapper at the fold.
|
|
85
|
+
- Never move, fade, or parallax anything because the page scrolled, and never use scroll-jacking.
|
|
86
|
+
- Run exactly one loop per bento with only the wide card looping, cycle card loops in 2.5–4 seconds, loop only the open item via data-ui-loop while keeping the list still, and render counts once per page without script.
|
|
87
|
+
- Under reduced motion, resolve all motion instantly: collapse spatial transitions to a 150ms opacity crossfade while keeping functional state changes intact, keep everything static, and never loop.
|
|
88
|
+
- Run loops only over finished images/text (never empty windows or greyed text), cap loops at 5 seconds with a pause button, start timed loops on load via IntersectionObserver mounting lazily, keep loops to 2.5–4 seconds restarting on hover, and never chain or stagger them.
|
|
89
|
+
- Keep the hero fold visually static and provide a reduced-motion fallback that shows its finished composition, with accent motion kept small and the asset under 2 MB.
|
|
90
|
+
- Never auto-deal effects marked random:false unless the content calls for it, never use a photo print on local business pages, never run pick.mjs for product/service/place pages, never create a new .taste-skill folder from a hook call, and wait for stills to finish baking before capturing a screenshot.
|
|
91
|
+
- Use at most three font families (at most four font files) with fixed jobs, prefer free variable fonts from Google Fonts or Fontshare, and only use paid foundries after the user confirms the licence; choose the pairing via the trade tool when available.
|
|
92
|
+
- Give every interactive element an instantly visible :focus-visible state, keep tab order matching reading order with skip links reachable first and never below the header, and ensure all functionality is operable via keyboard without a mouse.
|
|
93
|
+
- Validate on submit with aria-invalid and aria-describedby errors named per field, move focus to the first failed field, show errors inline, and expose all eight control states including :active and :disabled unless the control is not a form control and has no aria-disabled anywhere.
|
|
94
|
+
- Mute, loop, and playsinline autoplay videos; preload LCP video posters and mark LCP images high priority; pause turning product frames via a bottom-right button; keep focus rings on compound controls; and expose interactive media to keyboard while hiding decorative media from assistive tech.
|
|
95
|
+
- Make tab switchers keyboard-operable with aria-selected and aria-controls, flip aria-expanded on menu toggles, use a/Link for navigation to support modifier clicks, and apply scroll-margin-top to heading anchors so targets remain visible.
|
|
96
|
+
- Overlays and dialogs must inert the page behind them, move initial focus to the first interactive element, close on Escape and backdrop click, include a visible close control, announce their state, and expose pause/stop/hide controls for motion longer than five seconds.
|
|
97
|
+
- Use fx-prompt only for the hero prompt box of an AI or developer product, fx-bars only for monthly figures on a labelled scale with no more than sixteen bars, and a plain accent fade under a line or still ruled-grounds inside data, never an effect that draws its own grid or moving traces, never halftone-screen in a chart area, fx-tabs only for a product tour or dashboard preview, fx-avatar only for calls, presence, or a team list, and fx-headline only for hero or closing lines of two to three words.
|
|
98
|
+
- Ship no map when there is no build-time network or no street the brief gives, showing the visit's photograph instead, use fx-map only for visit or contact sections showing the real streets around the door, baked and still, use fx-icon-tiles only for a feature grid with drawn glyphs, never for brand logos, and use fx-spotlight only for a row of plain feature cards such as security or admin sections.
|
|
99
|
+
- Give every img data-source and data-subject attributes describing its origin and subject, wrap leading photographs in an <a class="m-zoom"> around its <img> or place img.frame__img inside a linked frame, and ensure page CSS clears a .frame[data-product]'s ground so it does not render on white.
|
|
100
|
+
- Never block paste via onPaste with preventDefault, apply overscroll-behavior: contain inside modals, drawers, and sheets, prefer native HTML elements over custom implementations when possible, and never set data-moments-over or data-moments-repeat on html.
|
|
101
|
+
- Build exactly one effect per page as either one live ground, one WebGL part, one object, or one big scene, never place it in a fixed layer, behind body copy, or as a page-long canvas, allow one card group to hold still grounds from the effect's family but never a second live effect, use only the system's, cards.css's, and the kit's classes and tokens, place any extra rule inside a visual or a place visit panel only, and never introduce a second grid, spacing scale, type scale, radius family, button shape, card recipe, hairline, corner-control size, link style or fade.
|
|
102
|
+
- Footer links must point only to existing pages and every link must land; forms must send, confirmations must appear only after a real send, each error must sit under its own field, and never emit success states for controls with no request behind them—keep an empty data-endpoint and proper empty states until the form is wired.
|
|
103
|
+
- Provide a real or absent play control, a stand-in poster that reads as the film's first frame, and no dead control bar or missing source; always show a poster before the live picture fades in, never an empty ground; hero images must use sizes="100vw", fetchpriority="high", and eager loading with a 4:5 phone crop in a picture element, never a vh term.
|
|
104
|
+
- Render steps as a real ordered list with numerals, never a 01 label over a head; every nav word, button, and footer link must point to an #id on the page, the logo to #top, the main action to where it is done, Contact to #contact, and Privacy/Imprint to written pages or leave them out; and only the middle plan may use .btn--primary.
|
|
105
|
+
- Tint every grey surface and ink toward the anchor hue, keeping default palettes soft and low-chroma (ground chroma under 0.12) unless a Full-palette or Drenched posture is declared.
|
|
106
|
+
- Maintain 4.5:1 contrast for body text and 3:1 for icons, focus rings, and field edges, swapping the text colour on every dark surface and avoiding grey text on coloured surfaces.
|
|
107
|
+
- In dark mode, progressively lighten elevation tokens by +3% lightness per level, reduce accent chroma by 0.02-0.04, and raise accent lightness by 5-10% to prevent glare.
|
|
108
|
+
- Build paper, ink, five to nine tinted neutrals, and one accent with a derived focus colour on the accent hue, keeping the brand present at every depth by reading its values from project files; use a single accent series for emphasis with every other series neutral, rendering context or reference series via a fixed-order lightness ramp on the accent hue and muted colour.
|
|
109
|
+
- Keep all labels, values, and axis text in ink or muted colour, identify series with a swatch beside the label rather than coloured text, and render ranges, keywords, numbers, today's dot, and status chips as ink tints, never shipping a row of green dots; keep small inline marks beside text in ink and never mix brand colours with ink marks.
|
|
110
|
+
- Keep saturated colour in accents and pictures, never use a mid-tone section as the main ground, deal palettes by trade and take the first unless it clashes with the client's own colours, and keep third-party and real logos in their owner's own full colours without recolouring, redrawing, or tinting them.
|
|
111
|
+
- Anchor all page and accent colours on the recorded spec primary instead of memory-derived values; when fetching is impossible, ask once for the primary hex and fonts or to build free, and never guess brand colours from memory; derive --g-main from the client palette rather than a fixed off-white, and derive --g-alt within 20 degrees of --g-main's hue, 0.06 to 0.15 darker, and never below lightness 0.70.
|
|
112
|
+
- Never include a line about missing photographs, and never invent metrics, testimonials, logo walls, case-study counts, facts, figures, names, prices, hours, or details the brief or client files do not supply.
|
|
113
|
+
- Aim for about 80 words per screen, vary card length by how much the brief knows while keeping titles as a verb and an object, and keep heroes to seven words or fewer in the head with one lead sentence and one or two actions.
|
|
114
|
+
- Give forms without known endpoints an empty data-endpoint and state nothing was sent without ever printing a success state, state what was sent using the button's own words, and make loading-state labels end with an ellipsis.
|
|
115
|
+
- Use one plain buyer-word label per nav link within the wrap width, open directions with the street and district, require a street for directions and a district for See the area, and never use a town only for a map link.
|
|
116
|
+
- Avoid the middle dot, arrow suffix, and coloured dot as universal separators, allowing them only as a single byline dot, a marquee separator, or a live-state dot, and never glue arrows to link text or use decorative status dots.
|
|
117
|
+
- Use curly quotes, true ellipses, and apostrophes, avoid all dashes, place non-breaking spaces before units, use slightly raised exact vocabulary with sensory lists by name, never an exclamation mark, and place the price plainly on the button.
|
|
118
|
+
- Do not use negation runs unless each item is a checkable refusal, and do not close with an email sign-up unless the page job is native to a mailing list or the stamp names a job; end on the action the job takes.
|
|
119
|
+
- State one response-time figure from the brief worded identically wherever it repeats.
|
|
120
|
+
- Only include Steam, PlayStation, and Epic Games marks in a game's store row via apps --tag gaming, never draw Xbox or Nintendo marks but name the console in type, name key art via a comment referencing assets/client/key-art.jpg, and give every picture slot a real src with width and height so no visual shows only its ground.
|
|
121
|
+
- Use CSS Grid for pages and Flexbox inside components, shrinking flex children with min-width zero, giving image-bearing grid tracks minmax(0,1fr), and giving display heads overflow-wrap:break-word with min-width:0.
|
|
122
|
+
- Neighbouring sections must never share a layout or composition, and each section must use a different view.
|
|
123
|
+
- Build bento layouts with four to six tiles spanning six or twelve columns in mixed spans, structure content as card > panel > fragment without nesting patterned panels with white UI cards or cards inside cards, and use the specified tile classes for layout.
|
|
124
|
+
- Add a nav.actionbar fixed at the foot on places with one main action or two half-width buttons, showing only after the hero button scrolls off; on split navs place links in the left third, the logo on the center line, and actions in the right third, keeping four words that never wrap at 1024.
|
|
125
|
+
- Declare one motion character per system with durations scaled accordingly and defaulting to still when motion adds nothing, and ensure the hero enters exactly once on load within about 1.1s.
|
|
126
|
+
- Under reduced motion or small screens, hold one still frame, rest everything, and keep nothing hidden; pause loops and freeze motion, and disable reveal animations on catalogue pages.
|
|
127
|
+
- Allow at most one pointer effect and one loop per page or card group, lift linked cards 2px on hover with a darkened border and optional soft shadow capped at 24px blur and 10% ink, and never use replaced cursors, magnetic buttons, rotate, skew, glow, shine, tilt, or pointer-following effects.
|
|
128
|
+
- Lift a linked card by 2px on hover and keep unlinked cards motionless with .m-nolift; a dealt moment may pin its section with position:sticky only inside its own data-moment box.
|
|
129
|
+
- Nothing may move because the page scrolled except a dealt moment inside its own section or the big scene for tech; never animate objects by scroll, never reveal cards/rows/tiles by fade/rise/stagger/mask-wipe on scroll, and never capture the wheel for scene motion.
|
|
130
|
+
- Move the tab indicator by transform only (never width), and never animate height, max-height, padding, width, top, or left.
|
|
131
|
+
- Identify the product, audience, and primary job from the brief or memory before designing, confirm them with the client if the brief omits them, and when signals conflict, name the conflict, state which side is preserved, and ask for confirmation before proceeding.
|
|
132
|
+
- Use exactly one display face and one body face, or a single family for both, plus at most one outlier that serves exactly one role; never use faces from banned or saturated lists, or any face a catalog theme sets, and confirm the display face is not already used by the active catalog theme before writing its token.
|
|
133
|
+
- Keep section heads to six words or fewer at --text-section with at most one lead line beneath, keep the grid heading to a short line above the grid without display typography, never place one italic word inside an otherwise roman heading, treat a number typed beside or above the heading as an eyebrow rather than an ordinal counter, and never use an eyebrow or set labels, captions, table heads, tags or nav links in tracked capitals or small caps, rendering them in the body or theme label face one step smaller in sentence or lower case without tracking.
|
|
134
|
+
- Permit hairline rules, fleurons, drop caps, double rules, and italic text inside running body copy; use monospace type only inside code blocks and keep tab labels and captions in the body face; allow a second icon source only when it is a brand or platform mark used in at most two slots; and empty states must state what is empty, why it matters, and one action, never a bare No results.
|
|
135
|
+
- Use at most two type families, with a single third family reserved for exactly one role; load faces from Google Fonts with display=swap and request only the weights actually used.
|
|
136
|
+
- Keep interactive targets at least 44px tall with visible labels, ensure compound controls group focus rings via focus-within, and prevent clickable targets closer than 8px from both being targets.
|
|
137
|
+
- Keep input border widths constant, ensure panels remain visible when scripting is absent, expose async updates like toasts and validation as aria-live polite, and mark tabs with proper roles and aria-controls.
|
|
138
|
+
- Render named tools, apps, and file types as real, correctly colored icons fetched via icons.mjs only when the product integrates them, paste fragments from their slot at true size from meta.json without scaling, and cap cards at five tiles.
|
|
139
|
+
- Never place a live effect or moving canvas inside a card, never animate a card on scroll, keep shaders and WebGL effects off place, product, and service pages, and keep image-mode pages free of canvas and WebGL contexts.
|
|
140
|
+
- Render noise, particles, and ray marching at half resolution and 30fps or less, render menus as whole text with visible prices and never as images, PDFs, tabs, or accordions, and suppress page rubber-band with overscroll-behavior none on html inside fine-pointer media while keeping coarse-pointer defaults.
|
|
141
|
+
- Reference colour tokens exclusively; never hardcode hex values in markup or component files, and never use pure absolute, pure black, or pure white paper/ink.
|
|
142
|
+
- Never rely on colour alone to convey information or state; always pair colour changes with an additional visual cue such as shape, pattern, or text.
|
|
143
|
+
- Ship all eight interactive states—default, hover, focus-visible, active, disabled, loading, error, and success—for every stateful control, using a 1px drop or one colour step darker on active press.
|
|
144
|
+
- Never default any effect, accent, ground, gradient, or tint colour to violet or lavender, except preserving real third-party logo colours.
|
|
145
|
+
- Allow only a single mark band behind the x-height and at most two fixed, non-animated radial blooms sized 20-30% of the canvas, with no radial spotlight behind the hero.
|
|
146
|
+
- Maintain 4.5:1 contrast for body text and APCA Lc 60, and 3:1 or Lc 45 for large text, icons, focus rings, and field edges; error state must apply the error colour to the border, message, and aria-invalid, never relying on colour alone; provide visible focus indicators for all interactive elements.
|
|
147
|
+
- Choose the light or evening grade once on load or by click and never by scrolling; render tool marks in their own colours and never as a letter inside a circle, and make a core without an icon a pill containing its name; set misregistration offsets between 1 and 3px and derive echo colours from the theme's declared spot inks.
|
|
148
|
+
- Treat copy as design content: write every line with the same intentionality and minimalism applied to spacing and color, and give each line its own voice.
|
|
149
|
+
- Ship only the client's own words, pictures, and objects in every scene, credit photographs in the footer line, and mark adapted for crops beyond their frame; do not add a credit line for the client's own photographs.
|
|
150
|
+
- Reject the generated voice and all named banned phrases in marketing copy, and never use banned marketing words (delve, tapestry, seamless, robust, etc.) unless the word is literal to the trade or part of the client's registered name.
|
|
151
|
+
- Write errors that explain what went wrong and how to fix them in the interface's voice without apologizing or being vague, name fields and what to type in error messages, and coin names that are not dictionary words or existing businesses, searching them before using them.
|
|
152
|
+
- Do not add a caption under a scene or print that explains or apologises for the effect, and never reveal that an image is a print.
|
|
153
|
+
- Restate the hero's promise with one brief fact and the main action word in the close; never print an email address, domain, social handle, or phone number the brief does not give, and keep socials empty unless the brief gives accounts.
|
|
154
|
+
- Never use square brackets, lorem ipsum, 'to be added', 'TODO', kit sample text, or empty hrefs, and end placeholders with an ellipsis showing an example pattern; do not place lists of three in consecutive sentences.
|
|
155
|
+
- Cap and centre the container between 1360 and 1520px at 1920x1080 while holding column counts and clipping overflow, let gutters grow at 1920 while measure and grids stay fixed, keep every edge 24px clear or cut by 24px or more with a fade at 1440, 1280, 1024, and 768 adjusting --ax/--ay until it holds, and use .fit with --fit-max and .wide with --w for panel width control.
|
|
156
|
+
- Use at most one strong object, print, scene moment, or diagram per page, treat anything busier than eight spokes and twelve nodes as a list, and keep the bottom-right scene corner clear for the shared pause disc.
|
|
157
|
+
- Show a card layout at most twice per page, stamp at most one container recipe on fewer than six selectors, apply pill radius to fewer than five non-control/tag/badge selectors, and keep place pages effect-free with flat grounds, square photographs, one button style, and 16px list text.
|
|
158
|
+
- Keep the fixed opaque nav at 72px (56px on mobile) with a 1px hairline identical at every depth, sized to real destinations and kept to one line between 56 and 80px.
|
|
159
|
+
- Never let two consecutive sections both lead with photographs, always let the client's own photographs and screenshots lead (an object never takes their place), and place the visit section as screen two directly after the hero with data-place="visit" and id="visit".
|
|
160
|
+
- Close the page with the visitor's job, not a generic form, permit a masthead, quiet edge-aligned bar, colophon, and letter close, and permit a solid pill as chrome since it does not fight the register.
|
|
161
|
+
- Animate only transform and opacity; list properties explicitly and never use transition:all or animate width, height, top, or left, and never animate icons.
|
|
162
|
+
- Use non-user-triggered motion sparingly to draw attention or confirm state, keeping it interruptible and responsive to input mid-animation, and never remove an animation whose removal would lose clarity, guidance, or state confirmation.
|
|
163
|
+
- On tech pages, limit scroll-animated elements to the dealt moment's section and the tech big scene, use at most one scroll-choreography pattern family per page, and never hold or steer the page with script, smooth-scroll libraries, or scroll-snap.
|
|
164
|
+
|
|
165
|
+
_…and 154 more floor rules in references/ — load the scope file you're working in._
|
|
166
|
+
|
|
167
|
+
## Reflex defaults — apply unless the brief says otherwise
|
|
168
|
+
|
|
169
|
+
- Make destructive actions undoable or confirmed, and open command palettes immediately on shortcut with focus retained and highlight moved by transform without shifting rows.
|
|
170
|
+
- Make hairline ledgers 1px repeated sibling rules at 12-15% ink and never between sections, and declare animation-timeline and animation-range after the animation shorthand because the shorthand resets them.
|
|
171
|
+
- Have the thirteen section grounds set the page tokens so cards and buttons render unchanged.
|
|
172
|
+
- Mark rhythm-made bands with id:dark, id:band and id:surface before building what the deal command prints and build from the scaffold using the depth in the stamp and tokens filled from the pre-flight palette and faces.
|
|
173
|
+
- Disable text selection and mark dragged elements inert during drag operations.
|
|
174
|
+
- Use .btn.btn--primary at the single button height from <html data-buttons> for all nav and footer actions, reserve fx-button for the single primary call to action, include exactly one outlined call-to-action button at the foot of the FAQ, use one filled primary control per page, keep secondaries quieter, and match each input's width to its adjacent button.
|
|
175
|
+
- Build from starter.html by setting lang, data-type, data-radius, data-buttons, and data-motion, adding the three metas and head block, copying only the hero section, making each section main > section with one wrap and h2 first, then scan named icon ids with icons.mjs and copy the scene folder plus shared scenes.js, lib.js, scenes.css, and print.js into assets/scenes as the final step.
|
|
176
|
+
- Write stills, fallback renders, and stills.json beside the spec.
|
|
177
|
+
- Use a statement hero on .ground-brand only when the library holds no frame of the region and no lead, add data-moment="picture-develops" to sections containing photographs whose moment fits, and set touch-action manipulation to prevent double-tap zoom delay.
|
|
178
|
+
- Above-fold critical images must use priority or fetchpriority high.
|
|
179
|
+
- State any change to a region's medium during the build in a single line rather than changing it silently.
|
|
180
|
+
- For Tailwind v4, place every color, font, text, tracking, radius, shadow, and ease token inside a single @theme static block so each becomes both a utility and a usable CSS variable.
|
|
181
|
+
- Give a button's fill an even, low-contrast grain that moves only while pointed at, with no blobs that settle at one end.
|
|
182
|
+
- When the project already names its tokens, map Hallmark roles onto those existing names instead of adding a parallel set.
|
|
183
|
+
- Virtualize lists longer than fifty items using virtualization or content-visibility auto, and add data-glow edge-glow to the one featured object with its own quiet accent hairline, running a light round the edge on hover or focus for about 4.6s and then fading.
|
|
184
|
+
- Export a fluid size as its maximum value and keep the clamp() in CSS, and framework projects must follow the framework's file conventions.
|
|
185
|
+
- Swatches must set data-product-color on the named frames and swap to that colour's still; set sizes, spacing, widths, and gaps to the design's needs and keep their names, treating the written scale as a starting point rather than a fixed style.
|
|
186
|
+
- Link the client logo or dealt mark as favicon.svg and set theme-color to the page ground.
|
|
187
|
+
- Expose data-product-mode, data-product-state, data-product-view, data-product-color-shown, and window.__tpProduct on every product frame for checkers and tests.
|
|
188
|
+
- Place the stamp block at the top of the stylesheet and add no further comments beyond it.
|
|
189
|
+
- Use correct input type and inputmode values for each field.
|
|
190
|
+
- Treat the links themselves as the buttons and avoid separate button elements.
|
|
191
|
+
- Choose buttons from solid, pill, tonal, arrow, or block on html data-buttons.
|
|
192
|
+
- Apply exactly one accent colour consistent with the overall posture, keeping it under 5% of viewport area under the default Restrained posture and restricting its use to the light surface and what it reaches.
|
|
193
|
+
- Declare the colour posture in the stamp and honour its surface and accent footprint, moving declared Committed, Full-palette, or Drenched colours into surface tokens while rejecting undeclared colour sprawl.
|
|
194
|
+
- Use one primary button style, one container width, one column gap below the hero, one radius per nesting level, and never more centred heading groups than left-aligned ones; ensure every offered colour is shown at least once on the page by swapping the product picture per swatch.
|
|
195
|
+
- When a Full-palette or Drenched posture is declared, lift chroma to 0.24 across three or four named roles and assign each role a distinct job; keep product, service, and place grounds as flat CSS colours with no gradients, textures, glass, filters, or shadows on the interface.
|
|
196
|
+
- Use surface white on light and #1c1d20 on dark with a 1px border at 12% and radius 12, keeping the layered shadow only inside the panel; use at most one lit border per page, provided by fx-prompt or fx-pricing, use quiet grounds to hold UI and focal grounds to stand alone in the hero, and never place content over a noise or fog ground.
|
|
197
|
+
- Write manifesto openings and stage headings as committed declarations without hedging; keep section headings to two to eight words that name things so headings alone tell the client's story.
|
|
198
|
+
- Name the main transaction the same way in the nav, hero, close, and phone bar and nowhere else; repeat the product's own name instead of cycling through generic terms; never repeat a close-word in a footer wordmark; and keep a place's sub-line to the fact plus today's hours within 80 characters.
|
|
199
|
+
- Write field hints only for what the brief promises.
|
|
200
|
+
- Use title case for headings and buttons following Chicago style.
|
|
201
|
+
- Use at most one brand line per page, never as the h1, and pair it with a factual line beneath it.
|
|
202
|
+
- Express values as behaviours with numbers rather than adjectives.
|
|
203
|
+
- Add a numbered footnote of thirteen pixels or larger near the footer for real brief claims needing a source.
|
|
204
|
+
- Write the hero sub-line in fifteen to thirty words as one to two sentences describing how it works and the main benefit with one fact or mechanism and never a row of adjectives.
|
|
205
|
+
- Print each fact once where it works; never repeat a price, time, date, count, or restate a section heading in its last line across four or more sections.
|
|
206
|
+
- State the mission in one measurable sentence, admit its own harm, and back it with numbers and reports.
|
|
207
|
+
- Write declarative, specific, technical copy and only use 'Built for X' when X is concrete.
|
|
208
|
+
- Write the product statement as one plain paragraph with the first sentence in ink and the rest muted, and never place it straight after a hero of the same width.
|
|
209
|
+
- Only use a brand-name word like 'Elevate' when the brief explicitly provides that name as the client's name.
|
|
210
|
+
- Include failure and luck in the plot when the brief contains them.
|
|
211
|
+
- Name the specific street or thing instead of using dead metaphors like 'landscape', 'ecosystem', or 'journey'.
|
|
212
|
+
- Ensure every line is picturable, falsifiable and specific to this business, treating puns as rare second-draft moves.
|
|
213
|
+
- End paragraphs on information, not a joke; move humor to microcopy.
|
|
214
|
+
- Admit limits in the FAQ such as platform availability, and write the 404 page pointing to the menu and hours.
|
|
215
|
+
- List public-domain frames with the Public Domain Mark page and still name the photographer.
|
|
216
|
+
- Lead features with the outcome and use the feature as its proof.
|
|
217
|
+
- Use exactly one underline style per page for links and nav words.
|
|
218
|
+
- Build the comp prompt from the Picks block and the stamp's idea line rather than from the page prompt.
|
|
219
|
+
- Admit exactly one limit per page, drawn from the brief or plain trade facts, never an invented flaw.
|
|
220
|
+
- Label sample data with a data: sample stamp, ensure totals sum and dates sequence, and represent missing facts as text slots in muted colour within dashed outlines, two per page, cutting rows that would hold only missing facts.
|
|
221
|
+
- Ship no testimonials when craft, luxury, or a small place relies on photographs and facts, and let other people state superlatives with full attribution rather than claiming them yourself.
|
|
222
|
+
- Write opening lines as date ranges, sort-and-scope statements, or short role summaries without preamble, and keep each answer to one or two short paragraphs placed directly under its question.
|
|
223
|
+
- Keep small eyebrow type only when it carries a fact, destination, or identifier the reader would otherwise lack, never leave it bare, and when its heading is figurative promote the plain label to the heading rather than deleting the eyebrow alone.
|
|
224
|
+
- Show only text from the markup in a fragment's script and keep its finished picture as the markup as written.
|
|
225
|
+
- Use step numbers only where the order itself is the content, such as a booking flow.
|
|
226
|
+
- Make every photograph that leads somewhere a link, show its hover effect across every section, place a scene where the copy promises it, and offer a low-pressure exit for browsers where the register fits.
|
|
227
|
+
- Spend each signature device at most once per page, where it lands hardest, and never repeat two in a row.
|
|
228
|
+
- Put proof from named outsiders beside each claim, or a strip of plain brief facts, or nothing.
|
|
229
|
+
- Name the submit button with the action, state the reply time under the form, and drop to fact tone in prices, FAQ and booking because the reader is anxious.
|
|
230
|
+
- Keep humour self-directed, bracketed and inside microcopy, never at the end of every paragraph and absent on serious purchases beyond microcopy.
|
|
231
|
+
- Limit the call to action to one action and ask once near the footer with 'Subscribe' or 'Sign up' plus an email field only; write prices, the FAQ, booking, and forms in plain, calm copy, reserving voice for the hero and story.
|
|
232
|
+
- Use a brand-derived metaphor at most once or never, ensure each statement carries one fact and one wording, and never use question-then-answer, colon-reveal, or 'serves as'/'plays a key role' phrasing where 'is' or 'has' would suffice.
|
|
233
|
+
- Keep small bento card copy to two to four words and never place text in different positions across bento cards; describe features as verb-led steps that show the mechanism.
|
|
234
|
+
- Place numbers inside sentences with their units and vary their distribution like real figures; list each photographer, licence and source page in the credits, and place licence credits in a single footer line.
|
|
235
|
+
- Avoid number-pair headings; state what each section holds and give every heading a noun naming a thing, a section, or a digit; cut any region the comp invented but the copy does not support instead of building it.
|
|
236
|
+
- Treat empty screens as invitations to act: name the next action, keep placeholders to two per page, and ensure panels read correctly without transient content.
|
|
237
|
+
- Respect word budgets for headings, section heads, intros, paragraphs and lists, cap pages at 450 visible words, keep paragraphs to five lines at 1440, and cap lines at 62 characters with nothing below 13px.
|
|
238
|
+
- Use 'Since [year]' at most once, where it matters, and only from the brief; open user-named-but-empty sections with their heading, one line and one text slot, or merge them into a neighbour.
|
|
239
|
+
- Write copy conversationally in plain verbs and sentence case with no filler, matching the brand and audience, and choosing one register per client; ensure the copyright line reflects the current year, and keep the legal row to the brand, year, Privacy, Terms, and credits, adding an Imprint link only when the brief gives company details.
|
|
240
|
+
- Write opening lines that name the volume and era, such as a date range or counts without adjectives, and mark every assumed price, hour, date, or place with data-assumed on its own element.
|
|
241
|
+
- Suppress 'not X but Y' and its substitutes and state the positive fact alone, and avoid value pillars by using anecdotes, a timeline, or questions.
|
|
242
|
+
- Limit landing pages to about 80 words per 900px window with the hero reduced to a headline, one sentence, and its actions, keep copy to short lines and one idea per sentence preferring verbs over adjectives and avoiding adjective triads, vary section and paragraph lengths to follow the material, and keep one line to two sentences under headings and card bodies to two sentences of at most twenty-five words.
|
|
243
|
+
- Phrase FAQ questions in the buyer's words staying at most 60 characters, start answers with the answer staying under 50 words, and include a FAQ contact link only as mailto: or tel: when the brief provides an address or number.
|
|
244
|
+
- When a subagent is available give it only the page text and fix what it cannot use to identify the product, buyer, cost, and differentiator, treat copy as half the design, and write the first place a generated page gives itself away with care.
|
|
245
|
+
- Replace drawings, colored placeholder boxes, counted mark rows, filler stat strips, check-icon lists, customer-logo walls, and product mocks where a real capture or built product belongs with real photographs, built products, large-set numbers, or full-scale type; a stand-in photograph for a product's kind must not be reused by another section, and hardware without photographs or renders must use stand-in photographs of the same machine at work.
|
|
246
|
+
- Build tables with four or five rows of 56 to 72px and tabular numerals, and draw bars with a baseline at zero, thickness of 24px or less, gaps of 2-4px, and rounding of 2px or less only at the data end.
|
|
247
|
+
- Build .grid as 12 columns with a 24px gap (12px under 640), keep picture walls as their own gapless grid, build the body as a responsive grid of project cards sized uniformly or with only slight size variation, and maintain adequate whitespace between adjacent interactive elements.
|
|
248
|
+
- Make the feature-card UI window's content run out through the panel's bottom edge with no empty space under the last row, open the offer with a head row and deal its composition from pair, strip or tall-small, align buttons across pricing tiers using subgrid rows at 1024px and wider emphasising one tier with its button and a word and never using negative margins for taller featured tiers, and fill wide canvases with larger visuals, wider body text, section-sized heads, and large statements rather than more words or smaller gaps.
|
|
249
|
+
|
|
250
|
+
_…and 172 more reflex rules in references/ — load the scope file you're working in._
|
|
251
|
+
|
|
252
|
+
## Finish & Direction
|
|
253
|
+
|
|
254
|
+
9 finish rules and 319 direction notes live in `references/` — read the scope file matching your task instead of loading everything.
|
|
255
|
+
|
|
256
|
+
## References — load on demand for the scope you're working in
|
|
257
|
+
|
|
258
|
+
- `references/color.md` — 82 rules on color
|
|
259
|
+
- `references/type.md` — 82 rules on type
|
|
260
|
+
- `references/layout.md` — 402 rules on layout
|
|
261
|
+
- `references/motion.md` — 102 rules on motion
|
|
262
|
+
- `references/a11y.md` — 80 rules on a11y
|
|
263
|
+
- `references/copy.md` — 195 rules on copy
|
|
264
|
+
- `references/imagery.md` — 155 rules on imagery
|
|
265
|
+
- `references/code.md` — 413 rules on code
|
|
266
|
+
- `references/process.md` — 301 rules on process
|
|
267
|
+
|
|
268
|
+
## Lint
|
|
269
|
+
|
|
270
|
+
Mechanizable floor/reflex rules are encoded in `lint/rules.json` next to this file's source repo — run `node lint/run.mjs <paths>` for a deterministic pass before shipping.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# a11y
|
|
2
|
+
|
|
3
|
+
- **(floor)** Ship responsive layouts down to mobile, respect prefers-reduced-motion everywhere (including identical textures and no-motion fallbacks), and ensure content remains readable and visible without motion.
|
|
4
|
+
- **(floor)** Give every interactive element an instantly visible :focus-visible state, keep tab order matching reading order with skip links reachable first and never below the header, and ensure all functionality is operable via keyboard without a mouse.
|
|
5
|
+
- **(floor)** Use semantic elements (button for actions, a/Link for navigation, label via element or wrapping) over ARIA when semantics exist, give every control a visible label above it (never placeholder or aria-label alone), and ensure every interactive element has an accessible name.
|
|
6
|
+
- **(floor)** Validate on submit with aria-invalid and aria-describedby errors named per field, move focus to the first failed field, show errors inline, and expose all eight control states including :active and :disabled unless the control is not a form control and has no aria-disabled anywhere.
|
|
7
|
+
- **(floor)** Keep interactive targets at least 44px tall with visible labels, ensure compound controls group focus rings via focus-within, and prevent clickable targets closer than 8px from both being targets.
|
|
8
|
+
- **(floor)** Apply aria-selected, aria-controls, aria-expanded, aria-pressed, aria-current, aria-required, and aria-hidden correctly per component, prefer semantic HTML over ARIA roles, and mark decorative icons and hidden maps appropriately.
|
|
9
|
+
- **(floor)** Mute, loop, and playsinline autoplay videos; preload LCP video posters and mark LCP images high priority; pause turning product frames via a bottom-right button; keep focus rings on compound controls; and expose interactive media to keyboard while hiding decorative media from assistive tech.
|
|
10
|
+
- **(floor)** Ensure text on effects reads at least 4.5:1 contrast, keep copy in its finished place so content reads without motion, and never hide a headline on load.
|
|
11
|
+
- **(floor)** Make tab switchers keyboard-operable with aria-selected and aria-controls, flip aria-expanded on menu toggles, use a/Link for navigation to support modifier clicks, and apply scroll-margin-top to heading anchors so targets remain visible.
|
|
12
|
+
- **(floor)** Give every interactive element a visible focus ring via :focus-visible with at least 3:1 contrast against adjacent colors; never remove the outline without replacing it with an equivalent indicator, and draw it immediately without animation.
|
|
13
|
+
- **(floor)** Provide a prefers-reduced-motion fallback for every animation, keyframe, or transform (including transition:all): show a single still frame, keep content visible with scripting disabled, and free animation context immediately.
|
|
14
|
+
- **(floor)** Every hover or pointer affordance must have a keyboard focus equivalent and never be hover-only; interactive elements must include keyboard handlers, and gesture-only actions must provide tap, click, and keyboard alternatives unless truly essential.
|
|
15
|
+
- **(floor)** Give every control an accessible name (aria-label for icon-only buttons), keep labels visible, ensure shared hit targets without dead zones for checkboxes/radios, and always allow pasting while keeping submit buttons live until pressed.
|
|
16
|
+
- **(floor)** Maintain hierarchical headings progressing one level at a time, mark custom widgets with ARIA roles/states/properties, place a skip-to-content link as the first focusable element pointing to main content, and never let overlays or fixed headers cover focused elements.
|
|
17
|
+
- **(floor)** Overlays and dialogs must inert the page behind them, move initial focus to the first interactive element, close on Escape and backdrop click, include a visible close control, announce their state, and expose pause/stop/hide controls for motion longer than five seconds.
|
|
18
|
+
- **(floor)** Provide captions, transcripts, or descriptions for meaningful media; mark decorative SVG, canvas, CSS art, and texture overlays as aria-hidden with pointer-events:none; and ensure text contrast meets thresholds against textured backgrounds.
|
|
19
|
+
- **(floor)** Keep input border widths constant, ensure panels remain visible when scripting is absent, expose async updates like toasts and validation as aria-live polite, and mark tabs with proper roles and aria-controls.
|
|
20
|
+
- **(reflex)** Make destructive actions undoable or confirmed, and open command palettes immediately on shortcut with focus retained and highlight moved by transform without shifting rows.
|
|
21
|
+
- **(floor)** Ship stills by default with at most one live context per page, route non-moving effects through still() or fill(...,{still:true}) to draw once and free their context, pause off-screen and hidden-tab effects, drop pixel ratio when frames exceed 21-24ms, and under reduced motion render dither objects as a single still line drawing without WebGL or pause controls.
|
|
22
|
+
- **(floor)** Add a static dither to every dark gradient and use linear gradients only as an edge fade inside a visual never as decoration.
|
|
23
|
+
- **(reflex)** Disable text selection and mark dragged elements inert during drag operations.
|
|
24
|
+
- **(floor)** Give fx-photo an empty effects list and ignore data-cx-effect and disable its zoom under reduced motion, for kind=other load no animation library and no WebGL, serve scene photographs from the site itself since a host that sends no CORS headers cannot be printed, ensure the [data-mode] attribute wins over the media query by only applying media overrides when no explicit mode is set, name each feature-card landscape scene via data-cx-scene and composition via data-cx-params so no two panels look identical using day, dusk, meadow, or grain-gradient, and show success only after a real endpoint response and never write thank-you messages on submit or use a modal.
|
|
25
|
+
- **(floor)** A still must render once, keep an img, free its context, and remove its canvases, do not use the dropped brands set, brands: ids must fail with an explanatory message, run the icon resolver as the final step never relying on CDNs, runtime tinting, or Simple Icons calls at runtime, and fail when a loaded assets file differs from the skill's copy beyond whitespace, quotes, semicolons, and commas.
|
|
26
|
+
- **(reflex)** Use a statement hero on .ground-brand only when the library holds no frame of the region and no lead, add data-moment="picture-develops" to sections containing photographs whose moment fits, and set touch-action manipulation to prevent double-tap zoom delay.
|
|
27
|
+
- **(floor)** Add the phone sheet, Esc handling, and aria-expanded via system.js only, never writing a second handler.
|
|
28
|
+
- **(floor)** Ship zero broken requests and zero sideways overflow while keeping total requests under 110, sampling at one WebGL sample per CSS pixel or less with pixel ratio at most 1.5, keeping median long tasks under 20 and blocking time under 4 seconds with WebGL off, pausing every effect off-screen and in hidden tabs with a pause button for independent loops over about 5 seconds, and keeping stat with window:true so the ground shows through its bars.
|
|
29
|
+
- **(floor)** Render noise, particles, and ray marching at half resolution and 30fps or less, render menus as whole text with visible prices and never as images, PDFs, tabs, or accordions, and suppress page rubber-band with overscroll-behavior none on html inside fine-pointer media while keeping coarse-pointer defaults.
|
|
30
|
+
- **(floor)** Warn before navigation when changes are unsaved via beforeunload or a router guard.
|
|
31
|
+
- **(floor)** Make the scene section a direct child of main with data-big-scene and data-big-scene-opts hold, set the scene's restH as --h, and point aria-labelledby at its heading.
|
|
32
|
+
- **(floor)** Never block paste via onPaste with preventDefault, apply overscroll-behavior: contain inside modals, drawers, and sheets, prefer native HTML elements over custom implementations when possible, and never set data-moments-over or data-moments-repeat on html.
|
|
33
|
+
- **(floor)** Footer links must point only to existing pages and every link must land; forms must send, confirmations must appear only after a real send, each error must sit under its own field, and never emit success states for controls with no request behind them—keep an empty data-endpoint and proper empty states until the form is wired.
|
|
34
|
+
- **(floor)** Render steps as a real ordered list with numerals, never a 01 label over a head; every nav word, button, and footer link must point to an #id on the page, the logo to #top, the main action to where it is done, Contact to #contact, and Privacy/Imprint to written pages or leave them out; and only the middle plan may use .btn--primary.
|
|
35
|
+
- **(floor)** Do not crop file-set icons, and when printing read the largest embedded srcset size while preserving alt text and object-position.
|
|
36
|
+
- **(reflex)** Expose data-product-mode, data-product-state, data-product-view, data-product-color-shown, and window.__tpProduct on every product frame for checkers and tests.
|
|
37
|
+
- **(floor)** Maintain 4.5:1 contrast for body text and 3:1 for icons, focus rings, and field edges, swapping the text colour on every dark surface and avoiding grey text on coloured surfaces.
|
|
38
|
+
- **(floor)** Never rely on colour alone to convey information or state; always pair colour changes with an additional visual cue such as shape, pattern, or text.
|
|
39
|
+
- **(floor)** Ship all eight interactive states—default, hover, focus-visible, active, disabled, loading, error, and success—for every stateful control, using a 1px drop or one colour step darker on active press.
|
|
40
|
+
- **(floor)** Maintain 4.5:1 contrast for body text and APCA Lc 60, and 3:1 or Lc 45 for large text, icons, focus rings, and field edges; error state must apply the error colour to the border, message, and aria-invalid, never relying on colour alone; provide visible focus indicators for all interactive elements.
|
|
41
|
+
- **(floor)** Style pill controls as filled and outlined variants with an ink-filled primary beside an outlined secondary, and set html data-radius to one of sharp, soft, or round applying the matching radius family to cards, panels, controls, and buttons; implement every button with all eight states using the provided CSS variables and transitions; maintain consistent visual variants across reused components.
|
|
42
|
+
- **(floor)** Write the scene's words as real text in reading order so the finished composition says everything the scene says even without script.
|
|
43
|
+
- **(floor)** Contacts must include street number, postcode, coordinates, company number, and phone number as specified in rule 9.
|
|
44
|
+
- **(floor)** Write errors that explain what went wrong and how to fix them in the interface's voice without apologizing or being vague, name fields and what to type in error messages, and coin names that are not dictionary words or existing businesses, searching them before using them.
|
|
45
|
+
- **(floor)** Use one plain buyer-word label per nav link within the wrap width, open directions with the street and district, require a street for directions and a district for See the area, and never use a town only for a map link.
|
|
46
|
+
- **(floor)** Include the footer trademark line and an icons-credits.json entry listing file, set, pinned source commit, licence, and trademark flag, keep the footer factual and free of sign-off jokes or puns, carry the sign-off link at the letter's foot with an explicit verb, and point unknown links at the page section that does most of them.
|
|
47
|
+
- **(floor)** Put the photographer's credit in the page's single footer credit line rather than under the picture, paste the single credit line in the footer under 110 characters naming only sources, place the full credits list on its own page, and link the credits list from one footer line only.
|
|
48
|
+
- **(floor)** Do not use negation runs unless each item is a checkable refusal, and do not close with an email sign-up unless the page job is native to a mailing list or the stamp names a job; end on the action the job takes.
|
|
49
|
+
- **(floor)** Make section headings a noun phrase or short plain claim of one to six words in at most two lines, title each card with a verb and object in one line using real words, and keep every word as live text with no caption, label, description, name, price, link line, or hashtag under or on any picture, object, render, diagram, or map.
|
|
50
|
+
- **(reflex)** Phrase FAQ questions in the buyer's words staying at most 60 characters, start answers with the answer staying under 50 words, and include a FAQ contact link only as mailto: or tel: when the brief provides an address or number.
|
|
51
|
+
- **(reflex)** Build .grid as 12 columns with a 24px gap (12px under 640), keep picture walls as their own gapless grid, build the body as a responsive grid of project cards sized uniformly or with only slight size variation, and maintain adequate whitespace between adjacent interactive elements.
|
|
52
|
+
- **(floor)** Keep the proof on the same side throughout the page allowing at most one mirror and never a zigzag, pin paired navigation with position sticky top space-2xl and release it below 60rem, use schedules only for times visitors pick or plan around never processes or workdays, and apply data-product-fill between 0.3 and 1.2 over the place's share.
|
|
53
|
+
- **(floor)** Limit each page to exactly one filled-primary button (one recipe per page, treated as its own page), route quiet variants elsewhere, and never place two filled buttons side by side.
|
|
54
|
+
- **(floor)** Use at most one strong object, print, scene moment, or diagram per page, treat anything busier than eight spokes and twelve nodes as a list, and keep the bottom-right scene corner clear for the shared pause disc.
|
|
55
|
+
- **(floor)** Keep exactly one main action per screen, show the CTA button in the sticky pane only after the section's last capture is reached, and never repeat Get directions beyond the hero button and phone bar.
|
|
56
|
+
- **(floor)** At 320px nothing may extend past the screen or overlap anything else; on tablet stack the list above the open item and hide the list on phone while keeping the open item's own header as chrome.
|
|
57
|
+
- **(reflex)** Make rails hold five or more items, cutting by the edge, scrolling by touch and keyboard, built with grid auto-flow column, scroll-snap mandatory, inline gutters, and focus-visible outlines.
|
|
58
|
+
- **(floor)** Keep the fixed opaque nav at 72px (56px on mobile) with a 1px hairline identical at every depth, sized to real destinations and kept to one line between 56 and 80px.
|
|
59
|
+
- **(floor)** Every region that loads data must implement four states (loading, empty, error, full), and build tables with sentence-case unwrapped heads, horizontal rules only and full width, restacking or pinning key columns on mobile.
|
|
60
|
+
- **(floor)** Ensure every page renders correctly across all widths from 320 to 1920 CSS pixels without relying on desktop-only interactions, and keep content visible at 1440px from being hidden on phones.
|
|
61
|
+
- **(floor)** Under 60rem, make the map scroll horizontally inside a wrapper or collapse it into an ordered list of its nodes.
|
|
62
|
+
- **(floor)** Add a nav.actionbar fixed at the foot on places with one main action or two half-width buttons, showing only after the hero button scrolls off; on split navs place links in the left third, the logo on the center line, and actions in the right third, keeping four words that never wrap at 1024.
|
|
63
|
+
- **(floor)** Under reduced motion or small screens, hold one still frame, rest everything, and keep nothing hidden; pause loops and freeze motion, and disable reveal animations on catalogue pages.
|
|
64
|
+
- **(floor)** Never hide text already being read during entrances or behind loaders or delays, and keep final data figures present in the markup so they render with scripting off and under reduced motion.
|
|
65
|
+
- **(floor)** Under reduced motion or with scripting off, keep all motion targets visible at their end state using one still frame, and stop decorative loops.
|
|
66
|
+
- **(floor)** Run exactly one loop per bento with only the wide card looping, cycle card loops in 2.5–4 seconds, loop only the open item via data-ui-loop while keeping the list still, and render counts once per page without script.
|
|
67
|
+
- **(reflex)** Play video only in the tech hero or data-visual window, muted with a poster first, looping 6–12 seconds or playing once holding its last frame, with a pause button and separate phone and desktop files; run voice as its group's loop since a held voice loses its orb.
|
|
68
|
+
- **(floor)** Under reduced motion, resolve all motion instantly: collapse spatial transitions to a 150ms opacity crossfade while keeping functional state changes intact, keep everything static, and never loop.
|
|
69
|
+
- **(floor)** Nothing may move because the page scrolled except a dealt moment inside its own section or the big scene for tech; never animate objects by scroll, never reveal cards/rows/tiles by fade/rise/stagger/mask-wipe on scroll, and never capture the wheel for scene motion.
|
|
70
|
+
- **(floor)** Run loops only over finished images/text (never empty windows or greyed text), cap loops at 5 seconds with a pause button, start timed loops on load via IntersectionObserver mounting lazily, keep loops to 2.5–4 seconds restarting on hover, and never chain or stagger them.
|
|
71
|
+
- **(floor)** Keep the hero fold visually static and provide a reduced-motion fallback that shows its finished composition, with accent motion kept small and the asset under 2 MB.
|
|
72
|
+
- **(reflex)** Use exponential ease-out for UI state transitions, reserving bounce or overshoot exclusively for declared spring postures on the primary action and a single character moment.
|
|
73
|
+
- **(floor)** Include exactly one functional loop per page, one dealt moment per section (two on long pages), and a single hero entrance, with every loop paused off-screen and still under reduced motion.
|
|
74
|
+
- **(floor)** Pause any content moving longer than five seconds with a visible pause control, and never autoplay audio or video without user interaction.
|
|
75
|
+
- **(floor)** Move the tab indicator by transform only (never width), and never animate height, max-height, padding, width, top, or left.
|
|
76
|
+
- **(floor)** Apply hover motion only to fine pointers while keeping identical tap and keyboard focus states everywhere, with linked photographs zooming 1.03 inside their frame and their card lifting 2px, and ensure every interactive element visibly responds to the pointer without tilting.
|
|
77
|
+
- **(floor)** Draw split-reveal, dot-object, and exploded-layers once at rest and only redraw while the pointer moves them, and under reduced motion, no script, or a failed module render the finished composition with pause buttons hidden.
|
|
78
|
+
- **(reflex)** On a redesign, state what the old page did better and anything now harder to do, read, or find; share no more than three of the six fingerprint axes with any of the last three logged entries.
|
|
79
|
+
- **(floor)** Run the full gate sweep on both modes, including numeric contrast checks on dark pairings and pure black/white gates on the dark block.
|
|
80
|
+
- **(reflex)** Set form inputs to 48px minimum height with focus-visible outlines and error borders, position labels 4-8px above fields with helpers 4px below at label size replacing errors in that line, and make body-adjacent UI larger on phones and tighter at 60rem.
|
|
81
|
+
- **(reflex)** Set body line height to at least 1.5, balance paragraphs and multi-line heads to avoid orphans and stubs, and never underline links by default, using color and spacing instead.
|
|
82
|
+
- **(floor)** Every field must have a visible label above it, never using placeholder as the label; state changes must never alter border width, padding, height, or animate the ring, reserving a transparent outline at rest so the ring appears without shifting; show the inset outline immediately on focus and never change the border width, keeping floating labels as placeholders at rest; textareas must allow vertical resize with min-height 6rem; range thumbs must take focus and provide a 44px hit target; keep list text at 16px and use 13px only for group labels; use logical properties for spacing, allow room for 30 to 40 percent longer strings, and avoid hard-coded date or number formats.
|