cafe3310/oneshot-website
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.
npx skills add https://github.com/cafe3310/public-agent-skills --skill 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?"
Use when:
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.
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):
.html fileindex.html or paste into CodePenThis 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:
font-display: swap on any web fontswill-change: transform on animated elementshtmlprefers-reduced-motion media query to disable animations for accessibilityProduce 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".
mkdir my-site && cd my-site
# save as index.html
vercel --prod
open index.html # macOS
# or
python3 -m http.server 3000
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 |
Take cafe3310/oneshot-website from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.