Oneshot website

From cafe3310/public-agent-skills · View interactive version

Oneshot website is an AI agent skill from the GitHub repository cafe3310/public-agent-skills. Generate immersive, one-shot single-file HTML websites with embedded CSS and JS. No external images. Hostable on CodePen or Vercel. Use for writeup showcases, AI capability demos, and portfolio pieces.

How to use this skill

Skill file

Oneshot Website

Generate a stunning, self-contained single-file HTML website -- fully immersive, scroll-driven, cinematic. No external images, no build step. Drop into CodePen or push to Vercel as-is.

Inspired by high-end digital brand experiences and the kind of creative coding that makes people say "this was done in one shot?"

When to invoke

Use when:

The Generation Prompt

When this skill is invoked, generate the full HTML file using this master approach:


Write complete HTML, CSS, and JavaScript in a single self-contained file for an immersive, cinematic website about [THEME].

The site must feel like a living brand experience -- sections that breathe as you scroll, typography that has weight and presence, and atmosphere you can almost feel.

Theme Selection

If no theme is specified, choose one from the repertoire in references/themes.md that hasn't been recently used. Never default to clockwork, clocks, or time-perception themes.

Recommended defaults (rotate through these):

  1. Elegant restaurant storefront -- dark marble, candlelight, menu sections appearing like courses being served
  2. Luxury perfume house -- mist particles, scent notes drifting, amber and obsidian palette
  3. Antiquarian bookshop at night -- warm amber light, floating text fragments, vellum textures in CSS
  4. Deep sea research station -- bioluminescent creatures via canvas, pressure gauge UI, midnight blue
  5. Jazz club and vinyl lounge -- smoke rings via SVG, waveform visualizations, sepia and amber

Technical Constraints (NON-NEGOTIABLE)

Quality Bar

This is NOT a simple landing page. It should feel like it was commissioned by a world-class brand agency. Include:

Visual craft:

Interaction:

Atmosphere:

Polish details:

Output Format

Produce two files:

1. PROMPT.md -- the exact one-shot prompt that will be used to generate this site.

2. index.html -- the complete single-file website. Start with <!DOCTYPE html> and end with </html>. No explanation before or after the HTML.

Format of PROMPT.md:

# One-Shot Prompt

**Theme**: [theme name]
**Generated**: [date]
**Model**: [model name and version]

## Prompt

[The complete verbatim prompt that would reproduce this exact site if fed to any capable LLM fresh]

## Notes

- [Any notable techniques used]
- [Hosting: CodePen / Vercel / local]

Name fictional brands with restraint: evocative, not punny. Think: "Maison Vorieux", "Sublevel 7", "The Meridian Press", not "Tasty Bistro" or "Cool Restaurant".


Hosting

CodePen

  1. Create new Pen
  2. Paste entire contents into the HTML panel
  3. Enable "Full Page" view

Vercel

mkdir my-site && cd my-site
# save as index.html
vercel --prod

Local preview

open index.html   # macOS
# or
python3 -m http.server 3000

Example Output Names

The generated site should have a real name. Examples by theme:

| Theme | Brand Name | Tagline |

|-------|-----------|---------|

| Restaurant | Maison Vorieux | Fine dining, honest cooking |

| Perfume | Atelier Obscur | Scent as memory |

| Bookshop | The Meridian Press | Est. 1887 |

| Deep Sea | Sublevel 7 | Research below the thermocline |

| Jazz | The Amber Room | Live music every Thursday |

| Botanical | Selva Studio | Plants for considered spaces |

| Mineral | Cabinet Brut | Specimen traders since 1952 |

| Observatory | Station Nuit | Watching since 1901 |

| Night Market | Hawker's Almanac | Every dish has a story |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.