Communitygithub.com

creative-components

Invent and build truly original, creative, slightly weird but fully usable and interactive web UI patterns and components (cards, carousels, pricing, navigation, buttons, toggles, sliders, steppers, loaders, testimonials, forms, inputs, scroll sections, cursors, empty states) with a realistic 3D or tactile feel — or a non-3D but strongly physical/interactive one — by turning real-world objects and their mechanics into interfaces — luggage tags as pricing, a throttle lever as a CTA, a baggage carousel as testimonials. Concept images first (any image model), then single-file HTML builds with realistic materials, self-review, polish, demo video and social post. Use when the user asks for creative, unique, original, bizarre, premium or "cool" components, a component set around a theme (aviation, coffee, mountain…), ideas for a landing page's carousel/cards/nav/loader, or says "make me creative / unique / original components", "component ideas", or the same in another language ("des composa

O que é creative-components?

creative-components is a Cursor agent skill that invent and build truly original, creative, slightly weird but fully usable and interactive web UI patterns and components (cards, carousels, pricing, navigation, buttons, toggles, sliders, steppers, loaders, testimonials, forms, inputs, scroll sections, cursors, empty states) with a realistic 3D or tactile feel — or a non-3D but strongly physical/interactive one — by turning real-world objects and their mechanics into interfaces — luggage tags as pricing, a throttle lever as a CTA, a baggage carousel as testimonials. Concept images first (any image model), then single-file HTML builds with realistic materials, self-review, polish, demo video and social post. Use when the user asks for creative, unique, original, bizarre, premium or "cool" components, a component set around a theme (aviation, coffee, mountain…), ideas for a landing page's carousel/cards/nav/loader, or says "make me creative / unique / original components", "component ideas", or the same in another language ("des composa.

Funciona com~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/madebysourasith-sudo/creative-components-skill/tree/HEAD/creative-components

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Creative components

The signature: a real object, its real mechanic, turned into a UI pattern people can actually ship. Weird in idea, serious in execution: tactile materials, real light, physical motion, real semantics. Never a gimmick that only works in a screenshot.

Four non-negotiables: 0. A real UI pattern first. Every idea starts from a pattern a web designer actually needs (navbar, hero, tabs, accordion, cards, carousel, pricing table, form input, submit, upload dropzone, toast, modal, delete + undo, pagination, stepper, slider, testimonials, loader, empty state) and keeps its job, layout logic and content (headings, real copy, prices, fields). The object only supplies the material and the gesture. A beautiful 3D object that does not read as a usable pattern on a web page = rejected: it has to be a real part of a website, not just a 3D object.

  1. Original. Not a reskin of a known pattern (no glass card, gradient blob, fill bar, split-flap, typewriter). If a designer has seen it on Dribbble, drop it. Check references/inventory.md.
  2. Interactive. The interaction IS the idea: drag, pull, push, flip, pour, tear, wind, swing, hover reveal, scroll-driven. It must respond to pointer, touch and keyboard, with physics or springs, not just CSS fades.
  3. Realistic, 3D or not. Pick the rendering that serves the object (see references/brief.md → Rendering): true 3D (three.js / raw WebGL with real light, shadows, environment), 2.5D canvas/CSS with photographic materials, or non-3D but physical (paper, ink, fabric, liquid, light, particles, typography that behaves like matter). Flat vector = failure.

Talk to the user in their own language; keep code and UI copy in English unless told otherwise.

0. Before anything

  • Read references/inventory.md (what already exists — never repeat an idea) and references/brief.md (house style every build follows).
  • Folder: components/ in the current project (one HTML file per component). Themed sets keep their concepts + brief in components/.<theme>/.
  • Tools: Node 18+ for the scripts, Python 3 + Pillow for board.py, Google Chrome (or set CHROME_BIN), ffmpeg for demo videos.

1. Ideas (no cost, ask nothing first)

Follow references/ideation.md. Deliver a table of 6–13 ideas grouped by usage on a landing page (hero, carousel, cards, pricing, buttons, nav, loader, form, testimonials…), each with a letter, a name and one line: object → mechanic → what the user does. Mark your 5–6 favourites and say why in one line each. Drop anything déjà-vu. If the user names a category ("give me carousel ideas"), give 2–3 per category asked.

2. Concept images before code (the user wants to SEE first)

  • Use whatever image-generation tool is connected (an MCP like Fil or Higgsfield, Nano Banana, GPT Image…), 16:9, one image per idea named <Theme> <letter> · <name>. If none is available, describe each concept in 3 lines instead and let the user pick.
  • Always get the price first (most tools have a quote / max_credits: 0 mode) → announce the exact total → generate only after the user says yes (or within a budget they gave).
  • Prompt template (one plain paragraph), always showing the pattern IN a web page with real content, never an isolated object close-up: "Website screenshot of a () on a landing page: <the pattern's real layout and content — heading, copy, fields, prices, nav links>. The is designed as , , shown in . Clean modern web layout around it, Switzer-like sans serif and small mono labels, premium, restrained, photoreal materials."
  • Wait for the results, save each image to components/.<theme>/concept-<letter>.jpg, build one board with scripts/board.py, send it, then comment honestly: the strongest ones, and what you'd change when coding (AI text, generic illustration, wrong scale).
  • Ask which ones to build ("toutes" is a valid answer). Never build what was rejected.

3. Build in parallel

  • Write/refresh components/.<theme>/BRIEF.md from references/brief.md (adapt only the theme line).
  • One general-purpose background agent per 1–2 related components (≤ 7 agents at once). Each prompt: "Read BRIEF.md first", file name, concept image path, a precise spec of object, materials, interaction, CONFIG, events/API, mobile, and the quality bar ("must look like X, not Y").
  • Agents must look at their own renders with scripts/ctest.mjs and iterate ≥ 3 visual passes. Mid-animation states: scripts/demorec.mjs (virtual clock).
  • While they work, tell the user what is running (table: agent → components).

4. Verify every return yourself (never trust the report)

For each finished component: ctest.mjs at 1440×900 (DPR 2 for details), plus 375×812, drive the main interaction through its API or real clicks, read the PNGs and crops. Check references/review-checklist.md. Then tell the user in a short paragraph per component: what it does, the weak spots that remain (honest), link to the file. When a common failure shows up (labels over geometry, empty spotlight, scene too small, AI-looking flatness), send it back right away (see 5) instead of reporting it as done.

5. Polish rounds

  • Before any change: cp -n file.html file-v1.html (keep the first version).
  • Resume the ORIGINAL builder with SendMessage (it keeps its context) with a numbered review: its own listed weaknesses + your observations with coordinates/states + "verify X, Y, Z at DPR 2, zero errors, report what changed and what's left".
  • Recheck on return; small follow-ups go back to the same agent. Finish with a before/after board (board.py --pairs).

6. Deliver

  • Final board of all components + links table grouped by usage, the CONFIG keys/events worth knowing, and what is not verified (real phone, sound, GPU load).
  • Optional demo video: scenario JSON + scripts/demorec.mjs (DPR 2, FPS 30) → encode with ffmpeg -framerate 30 -i DIR/f%05d.jpg -c:v libx264 -pix_fmt yuv420p -crf 18 OUT.mp4. X needs < 10 MB: 1920 wide at ~4.4 Mbps for 16 s.
  • Optional post: casual, natural, one line, lowercase is fine ("made a pricing section out of luggage tags. no idea why. kinda love it"). Never publish without an explicit yes; put the link in the first reply, not in the post.
  • Save a one-line project memory (set name, folder, board, what the user loved/rejected).

Tools

ScriptUse
scripts/ctest.mjs <page.html> <outdir> '<json steps>'env W H DPR. Steps: {move:[x,y]} {click:[x,y]} {drag:[x0,y0,x1,y1,n]} {key:'Tab'} {type:'123'} {wait:ms} {shot:'name'} {eval:'js'}. Prints page errors.
scripts/demorec.mjs <scenario.json> <outdir>Frame-perfect film of a live page: virtual clock + real mouse + drawn cursor. env DPR FPS Q FROM TO ROOT. Scenario: `{page, dur, start:[x,y], steps:[{t,to:"selector"
`scripts/board.py OUT.jpg "Label=a.png" … [--pairs "Label=before.pngafter.png"]`

Habilidades Relacionadas