heymegabyte/agent-skills / 06-build-and-slice-loop
build-and-slice-loop
VerifiedUse when implementing features or streaming OnePrompt site builds. Complete vertical slices with real content, strict TypeScript and Zod. Parallel section/data work, deterministic assembly, granular patches and immediate valid previews.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.2 KB |
| admin-dashboard.md | markdown | 5.5 KB |
| ai-chat-widget.md | markdown | 6.0 KB |
| blog-and-content-engine.md | markdown | 6.2 KB |
| build-breaking-rules.md | markdown | 7.4 KB |
| chat-native-dashboard.md | markdown | 3.6 KB |
| contact-forms-and-endpoints.md | markdown | 6.7 KB |
| copilot-and-ai-features.md | markdown | 7.4 KB |
| custom-error-pages.md | markdown | 4.5 KB |
| data-tables.md | markdown | 7.7 KB |
| domain-provisioning.md | markdown | 4.6 KB |
| easter-eggs.md | markdown | 4.7 KB |
| empty-states-and-loading.md | markdown | 5.7 KB |
| file-uploads-and-storage.md | markdown | 6.7 KB |
| internationalization.md | markdown | 4.3 KB |
| keyboard-shortcuts-and-command-palette.md | markdown | 6.7 KB |
| microcopy-library.md | markdown | 8.0 KB |
| notification-center.md | markdown | 8.4 KB |
| onboarding-and-first-run.md | markdown | 5.0 KB |
| pre-digested-builds.md | markdown | 3.6 KB |
| pwa-kit.md | markdown | 6.8 KB |
| realtime-and-websockets.md | markdown | 7.2 KB |
| rich-text-editor.md | markdown | 7.4 KB |
| site-search.md | markdown | 4.0 KB |
| stripe-first-donations.md | markdown | 10.7 KB |
| web-manifest-system.md | markdown | 11.9 KB |
| webhook-system.md | markdown | 9.5 KB |
easter-eggs.md
View on GitHub---
name: "Easter Eggs"
version: "2.0.0"
updated: "2026-04-23"
description: "MANDATORY: Every website gets at least one hidden Easter egg via URL query parameter. Canvas-based, full-screen, dismissible, delightful. AI chooses what — creative, contextually appropriate, and genuinely fun. Includes QR code flyer generation at /flyer.pdf."
---
# Easter Eggs — Mandatory Hidden Delights
## Rule: Every Website Gets One
This is not optional. Every website deployed through Emdash must include at least one Easter egg accessible via a URL query parameter. The AI chooses what it is — creative, appropriate for the project's tone, and genuinely fun.
## Brian's Personal Motifs (Use in Easter Eggs)
- **Squirrels** — Brian's spirit animal. Animated squirrel collecting acorns, squirrel cursor follower, etc.
- **Turtles** — secondary motif. Can appear as loading animations or hidden games.
- **Space/cosmic themes** — stars, constellations, quantum particles in cyan/purple
## What Works (Proven Patterns)
### Full-screen canvas games/animations
- Squirrel collecting acorns (Brian's personal favorite animal)
- Stick figure shooting things with rainbows coming out of his mouth
- Particle systems that spell out messages (in cyan #00E5FF)
- Retro arcade references
- Physics simulations with turtles
- Generative art that uses the site's brand colors
### What makes a GOOD Easter egg
- **Self-contained** — one `<script>` block, no external assets
- **Full-screen canvas** — overlays the entire page with translucent dark background
- **Immediate visual payoff** — something cool happens within 1 second
- **Continuous action** — it keeps going, not a one-shot animation
- **Dismissible** — ESC key + click on overlay to close
- **Themed** — uses the site's brand colors (cyan, blue) somewhere
- **Has a score/counter** — gives the user something to watch grow
- **Performant** — `requestAnimationFrame`, no heavy computation
## Implementation Template
```javascript
(function(){
if(!new URLSearchParams(location.search).has('EggName'))return;
let on=true;
const o=document.createElement('div');
o.style.cssText='position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,0.92);cursor:pointer;';
o.innerHTML='<canvas id="eggC" style="width:100%;height:100%;display:block;"></canvas>';
const cl=()=>{o.remove();on=false;};
o.addEventListener('click',cl);
document.addEventListener('keydown',e=>{if(e.key==='Escape')cl();});
document.body.appendChild(o);
const cv=document.getElementById('eggC');
const c=cv.getContext('2d');
let W,H;
const resize=()=>{W=cv.width=innerWidth;H=cv.height=innerHeight;};
resize(); addEventListener('resize',resize);
// ... your creative animation here ...
const tick=()=>{
if(!on)return;
// clear, draw, update
requestAnimationFrame(tick);
};
tick();
})();
```
## Ideas by Project Type
### Nonprofit / Mission
- `?Win` — Guy with rainbows + AK-47 shooting clouds (IMPLEMENTED)
- `?Love` — Particle hearts that swarm toward cursor
- `?Stars` — Generative starfield with mission keywords
### SaaS / Tech
- `?Matrix` — Matrix rain with the product's feature names
- `?Hack` — Hollywood hacking terminal with real project stats
- `?CRT` — CRT scanline filter over the whole page
### Creative / Portfolio
- `?Nyan` — Nyan cat trail following the cursor
- `?Paint` — Turns the page into an MS Paint canvas
### Hint
Always leave a comment in the HTML source:
```html
<!-- 🥚 -->
```
Don't reveal the parameter name in the hint. Let people discover it.
## Quality Gate
Before shipping:
1. Watch the FULL animation run for 30+ seconds
2. Verify no freezing, stuttering, or glitching
3. ESC and click-dismiss work at every point
4. No console errors
5. Works at mobile viewport (375px)
6. Doesn't block the page underneath after dismiss
7. Canvas resizes properly on window resize
8. Stars/particles generated ONCE, not re-randomized per frame
9. Score/counter updates smoothly
## What NOT To Do
- Complex game logic that can get stuck (mazes, pathfinding, collision)
- Loading external assets (images, sounds, fonts)
- Anything that modifies the DOM outside the overlay
- Anything that persists after dismiss (intervals, event listeners)
- Anything inappropriate for the project's audience
## QR Code Flyer (Utility Easter Egg)
Auto-generate a printable one-page flyer with:
- QR code linking to the site
- Hotline number (if applicable)
- Brand colors and logo
- "Scan to learn more" CTA
- Generate as PDF on deploy
- Available at `/flyer.pdf`
- Useful for physical distribution (bus stops, community centers, churches)
Include this as part of the Easter egg plan — a useful hidden feature accessible via `?Flyer` or `/flyer.pdf`.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |