Communitygithub.com

living-websites

A quality bar for websites, landing pages and web UIs that feel alive instead of static. Pressable buttons, motion with a purpose, a logo that tells a story, psychologically checked copy and a strict verification routine (contrast, widths, no-JS, reduced motion). Use when building, redesigning, improving or reviewing a website or page. The project's own rules (CLAUDE.md) always take precedence.

¿Qué es living-websites?

living-websites is a Claude Code agent skill that a quality bar for websites, landing pages and web UIs that feel alive instead of static. Pressable buttons, motion with a purpose, a logo that tells a story, psychologically checked copy and a strict verification routine (contrast, widths, no-JS, reduced motion). Use when building, redesigning, improving or reviewing a website or page. The project's own rules (CLAUDE.md) always take precedence.

Compatible con✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/Munir19281/claude-skills/tree/HEAD/living-websites

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Living Websites

German version: SKILL.de.md

This skill describes how a website should be built so it feels alive, polished and trustworthy. It was developed on a real project, Antritt (workshops for apprentices), and condensed into a method. What carries over is the method and the quality bar, not Antritt's look.

0. Precedence: read the project rules first

  1. Read the current project's CLAUDE.md and NEXT-STEP.md (or similar handoff files). They win every conflict.
  2. Do not copy colors, logo, fonts or copy from another project. Every project has its own brand.
  3. Match the amount of motion to the product, and say up front how much you plan to use:
    • Sales page, offer, young audience: lots of motion.
    • Sensitive content, reports, trust products: calm, little motion.
    • Learning tools: usability first, motion only as feedback.
  4. If something in this skill contradicts a project rule: follow the project rule and name the conflict in one sentence before acting.

1. Working with the user

  • Raise concerns before executing, not afterwards. If the user sticks with the request, carry it out fully.
  • Focus instead of overload: always name exactly one next step, tick off what is done visibly, avoid long lists of equal-weight items.
  • Design is decided by looking: show variants with a switch (a small toggle on the real page) instead of describing them. Remove the toggle once a choice is made.
  • After every round: re-run all checks (section 8) and give a short list of further improvements, sorted by impact.
  • Keep handoff files for new sessions up to date after every round: CLAUDE.md (for Claude) and a short next-step file (for the user).
  • Never publish, buy or send anything without an explicit yes.
  • File finished work in an orderly way: numbered top-level folders, a 00 START HERE.md with the folder map, naming rules and a log. Build in a workshop folder; a script copies finished versions to their place. One file, one location; nothing loose on the desktop; never delete, only archive.

2. Language

  • When writing German: always use ä ö ü ß, never ae oe ue ss.
  • No dashes as punctuation (– or —). Readers recognize them as AI text. Use a comma, colon or period.
  • Non-breaking spaces between number and unit (890 €, 29.7 %, 20 minutes, § 19).
  • Short sentences, active verbs, one term per intent (a button has the same name everywhere).

3. What "alive" means (and what was rejected)

Rejected as "extremely bad, zoomed in, not alive": a huge headline filling the whole first screen, hard edges, heavy type everywhere, almost no motion, no figures, nothing reacts. Also rejected: muted, "dated" palettes.

Alive means:

  • A stage in the first screen: headline, one sentence and two buttons on the left. On the right, a moving scene from the audience's everyday life (for Antritt: chat bubbles with typical apprentice lines typing in one after another), surrounded by floating cards with key facts and a rotating round stamp.
  • Round, soft shapes with one consistent radius system (pills for buttons, 22 to 32 px for cards).
  • One strong accent color on top of the base palette, used as a role token, not scattered around.
  • Varied section shapes instead of three identical boxes three times: timeline, stacked cards, uneven tiles (one large, two small), progress line, pills, expandable FAQs.
  • No marquee of buzzwords ("Give feedback ✦ Resolve conflicts ✦ …"). It reads as inauthentic. Instead show concrete moments from the audience's life, with month, the situation in one sentence and the matching offer. The visitor controls the motion (timeline slides sideways on scroll, swipe on mobile; or flip cards). Original file: momente.astro.
  • Real photos are strongest. Never invented ones. Until real ones exist: illustrative scenes instead of stock photos.

4. Design system

  • Colors as roles, not names: --bg, --ink, --surface, --emphasis, --lead/--on-lead, --accent/--on-accent, --button… Variants can then be switched with an attribute on <html>.
  • One variable-width font family (Antritt: Archivo), self-hosted and preloaded. Wide and bold for headings, regular for body. No fonts from third-party servers.
  • Scales as tokens for type (--fs-0 to --fs-6, using clamp) and spacing (--sp-1 to --sp-6). No fixed px values in body text.
  • Grids with minmax(0, 1fr); every multi-column layout has a mobile version. Headings with text-wrap: balance.
  • Font sizes that depend on a card's width use container queries (cqi) on the element that holds the text, not on the whole card.

5. Building blocks

BlockWhat it doesOriginal file
Pressable buttoncolored bottom edge, lifts on hover, colors swap, light streak, sinks in on press and springs back, click ripple from the click point, slight magnet towards the cursorknoepfe.css, ripple and magnet in bewegung.ts
Tabs with pillsa white pill marks the current page, a second pill glides springily to the cursor; mobile: menu button turns into an X, items fly in staggered, Escape closesheader.astro, kopf.css
Logo with meaninga mark that tells a story and moves (Antritt: a three-step staircase, a dot jumps up, "the jumping point"). On load, on touch, and now and then a small hoplogo.astro, logo.css
Reveal on scrollelements glide in staggered (IntersectionObserver, only transform and opacity)bewegung.ts
Countersnumbers count up when they come into view, formatted with Intl.NumberFormatbewegung.ts
Word swapone word in the stage changes every 2.8 sbewegung.ts
Word by worda key sentence fills in word by word while scrollingbewegung.ts
Stacked cardscards slide over each other on scroll (sticky), the covered one shrinks slightlybewegung.ts
Progress linea line fills while scrolling, steps get markedbewegung.ts
Finder / quizthree questions, a recommendation with price, then pre-fills the contact formpaket-finder.astro
Pause buttonstops all continuous motion and remembers the choice (WCAG 2.2.2)bewegung.ts
Progress bar, page transitionsreading progress under the header, soft transitions between pages, CSS onlykopf.css
Jumping dot (physics)a real jump: wind-up (squash), a parabola sampled at 15 points, stretch in flight, squash on landing, a short settle. Step by step, also backwards, jumps chained (never two at once)sprung.ts
Moments instead of a marqueea timeline of real situations that slides sideways on scrollmomente.astro
Clickable pricingformats as cards, packages as check cards with rules, group size with a stepper; on the right a price that softly counts to its new value, price per person, a single button carries everything into the form. Without JS a normal GET formpreiswahl.astro
Inquiry formtwo numbered parts, choices as large chips instead of dropdowns, labels on top, check marks for valid input, errors only after leaving a field or submitting, a carried-over selection is announcedanfrage.astro
Mobile barafter the first screen a bottom bar "From 890 € · Inquire", hidden wherever an inquiry path is already visiblebewegung.ts, antritt-global.css

Rules for every animation:

  • Only transform, opacity, rarely clip-path. Never transition: all.
  • Hover only inside @media (hover: hover) and (pointer: fine).
  • One orchestrated entrance on load, not separate effects everywhere.
  • prefers-reduced-motion: everything still and visible. Without JS: everything visible (never reveal content only via script).
  • Anything that gets paused and has an entrance animation (for example a logo dot) gets animation: none when paused, not paused, otherwise it freezes invisibly.
  • Balls and jumps never as CSS keyframes with few points: it looks like the ball "jumps up weirdly". Sample a real parabola with the Web Animations API (sprung.ts), squash and stretch, then commit style.transform and discard the animation. Measure it: record the path with requestAnimationFrame; rise and fall must be even.
  • Rhythm: build several jumps in a row as ONE animation on a beat grid (takt() in sprung.ts), not as a chain of separate animations, or the timing drifts. Antritt: 4/4 at 125 BPM, an upbeat from the side tapping on "and", landings exactly on 1, 2, 3, 4. Ground contact and flight time equal for every jump. Measure it: the gaps between landings must be equal (measured 476 to 483 ms).
  • Elements that appear via script need a CSS safety net (visible after 2.5 s if the script is missing).

5a. Forms and choices

Dropdowns (<select>) for questions like "How many people?" look very cheap. Guidelines based on Baymard and web.dev:

  • A few fixed options (up to about 6) as large chips or cards, not a dropdown. Real radio/checkbox inputs stay underneath (invisible but focusable), focus ring via :focus-visible + span or :has().
  • Label above the field, never a placeholder as the label. Examples go in a hint line under the label.
  • Validate on blur (leaving a field empty is not an error) or on submit; after that on every input. Errors disappear right after correction, valid input gets a small check mark.
  • Fields at least 48 px high, font at least 16 px (otherwise iOS zooms), autocomplete, inputmode, spellcheck=false for email.
  • Split into parts (1 Your request, 2 Your contact details), promises right at the button ("Reply within two business days").
  • Carry earlier choices (pricing, finder) over via the URL and announce them: "Your selection is already filled in. You can still change everything."
  • Pricing: everything clickable, one result field, one button. Not three price boxes you cannot take anything from.
  • Set the global rule [hidden] { display: none !important; }. Otherwise display: flex overrides the attribute and error messages show from the start (this happened on Antritt).

6. Psychological check of the copy

Read every page twice: as the decision maker who pays, and as the user.

  1. Don't accuse. No sentence implying the buyer is doing something wrong. No examples where the buyer is the bad guy.
  2. Ability over endurance ("handle criticism" instead of "put up with criticism").
  3. Make the price tangible: price per person, real savings on packages, fixed prices before the inquiry.
  4. Lower the barrier right at the button: "free, 20 minutes, no obligation".
  5. Answer objections in a FAQ section before they slow the decision.
  6. An honest limit after numbers or promises ("A half day alone won't solve this …").
  7. A small commitment before the big one: a finder or quiz that then pre-fills the form.
  8. Forbidden: invented testimonials, logos or numbers, countdown timers, artificial scarcity, "today only". Every number has a source, checked against the original.

7. Law and data (short version)

  • No trackers, no cookies, no Meta pixel, no fonts or scripts from third-party servers without need.
  • No unsolicited marketing emails (in Germany § 7 (2) UWG), not even to companies.
  • Legal notice (Impressum) and privacy policy before any launch, noindex until approved.
  • Never copy other websites 1:1; only adopt techniques and credit sources.

8. Verification routine after every change

  1. Build without errors, no errors in the browser console.
  2. Contrast of every text ≥ 4.5:1 (large text 3:1), measured by script over all text nodes, with semi-transparent backgrounds blended. Write the script once and reuse it.
  3. Widths 320, 390, 768, 1280, 1440: no text overflows the page and none overflows its own box (the second case was found late on Antritt).
  4. All internal links and anchors reachable.
  5. Play through interactions: form empty, wrong, right; finder all paths; menu with keyboard and Escape; pause button.
  6. Without JS (iframe with sandbox="allow-same-origin") and with reduced motion (chrome --headless --force-prefers-reduced-motion --screenshot).
  7. Look yourself: screenshots at 1440 and 390, animations frame by frame (pause the animation, set a negative animation-delay).
  8. Pitfalls while checking:
    • Chrome pauses animations and transitions in background tabs. Before measuring, run document.getAnimations().forEach(a => a.finish()) and disable transitions, otherwise things look invisible.
    • Start long checks (many iframes) in the background, store the result on window and collect it later.
    • Invisible screen-reader text and horizontal swipe tracks cause false overflow alarms.
    • Inject the check script only once per loaded page, otherwise the old result stays.
    • Check draft toggles (variant A/B) too: on Antritt exactly that toggle shifted the page sideways at 320 px.
    • Files with Windows line endings: if the edit tool struggles, work line by line.
    • If a result is not as expected, measure instead of guessing.

9. About the file names

The file names in section 5 (knoepfe.css, bewegung.ts, sprung.ts …) refer to the original project and are not included in this repo. They show how the code can be split up. Build each block fresh for the new project, following the descriptions above, with its own colors, copy and logo motif.

Skills relacionados