Skip to content

lookbkdev/lookbk-skills / skills/story-rail-kit

story-rail-kit

Verified

Build a horizontal rail of rich cards for a website from one rail.json done properly instead of as a janky carousel. Native scroll-snap, Previous and Next buttons that move by exactly one card whatever its width, and a scale under the rail drawn from the cards themselves with a bracket framing what is on screen, so a visitor always knows where they are and how much is left. Five card kinds in a rhythm the build checks (wide, tall, quote, number with its source, and a view-all end card), loops that play only on screen, keyboard support, a mouse drag that never opens a card by accident, and touch that never traps vertical scroll. No auto-advance unless you turn it on. A self-contained page plus a paste-in embed, a check at four widths including keyboard, drag and vertical scrolling, and a frame-by-frame recorder. Use for a home page band of case studies, recipes, articles, collections or products that leads to a "view all" page.

examples/kestle/rail.json

View on GitHub
{
  "site": "https://kestle.example",
  "page": { "brand": "Kestle Varga Architects", "nav": ["Practice", "Work", "Writing", "Contact"] },
  "theme": {
    "mode": "light",
    "bg": "#f1efe9", "surface": "#e9e6de", "ink": "#191a17", "mute": "#55574f", "rule": "#cfccc1",
    "accent": "#2b44c4", "onAccent": "#f4f3ee",
    "display": "geist", "mono": "plex", "radius": 2
  },
  "head": {
    "eyebrow": "Selected work · 2019–2026",
    "title": "Buildings we went back to _measure_.",
    "dek": "{Count} buildings, each with one thing we checked after the keys were handed over."
  },
  "link": "See the project",
  "cards": [
    { "kind": "wide", "name": "Saltmarsh House", "meta": "Residential · 2025",
      "claim": "Sits a metre below the sea wall, so every room borrows the horizon.",
      "href": "/work/saltmarsh-house",
      "media": { "drawn": "saltmarsh", "alt": "A long, low timber house in front of a concrete sea wall, with marsh grass and a strip of standing water in front." } },
    { "kind": "tall", "name": "Kiln Lane", "meta": "Housing · 2024",
      "claim": "One stair, cast in a single pour, carries four floors of flats.",
      "href": "/work/kiln-lane",
      "media": { "drawn": "stair", "alt": "A pale concrete stair climbing a board-marked wall in light from a rooflight." } },
    { "kind": "quote", "label": "Client · 2023",
      "text": "They drew the light in our classrooms before they drew a single wall.",
      "by": "Ruth Okafor", "role": "Head, Ferrier Primary", "href": "/writing/ferrier-light", "link": "Read the story" },
    { "kind": "wide", "name": "Ferrier Library", "meta": "Civic · 2023",
      "claim": "Reading rooms face north, and nobody has drawn a blind since opening day.",
      "href": "/work/ferrier-library",
      "media": { "drawn": "library", "alt": "A terracotta facade of deep vertical fins whose shadows move across the windows as the sun moves." } },
    { "kind": "number", "figure": "41", "unit": "%",
      "label": "less embodied carbon than our 2019 baseline.",
      "source": "Measured at completion, 6 projects, 2021–2025",
      "compare": [["2019", 100], ["2025", 59]],
      "href": "/practice/carbon", "link": "See the method" },
    { "kind": "tall", "name": "Orchard Court", "meta": "Housing · 2022",
      "claim": "Twelve homes around six apple trees that were there first.",
      "href": "/work/orchard-court",
      "media": { "drawn": "orchard", "alt": "A plan of a paved courtyard ringed by homes, with six round tree canopies kept in place." } }
  ],
  "end": { "title": "All 32 projects", "note": "Index by year and type", "href": "/work" },
  "behaviour": { "autoplay": false, "hint": "Drag, swipe or use ← →" }
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall