Prompt Library
Battle-tested prompts you can reuse.
React Component Generator
Frontend#react#tsx
Generate a typed, accessible React component
Generate a modern React 19 component in TypeScript using Tailwind CSS. Include prop types, accessibility, and stories.
Framer Motion Landing Animations
Animations#motion#landing
Cinematic landing page motion set
Design a Framer Motion animation choreography for a hero: staggered fade+slide, mouse parallax, glow pulse, and section reveal on scroll.
Supabase RLS Policy Auditor
Backend#supabase#security
Audit RLS policies for a table
Given this Postgres table and RLS policies, list every access path, potential privilege escalation, and suggest hardened policies.
Next.js Server Action Refactor
Backend#nextjs#server-actions
Move client fetches to server actions
Refactor these client fetches to Next.js Server Actions with input validation via Zod, error handling, and revalidatePath.
Three.js Scene Blueprint
Frontend#three#webgl
Blueprint a Three.js scene
Create a Three.js scene: dark studio, HDR environment, floating glass panels, subtle post-processing bloom, and orbit controls.
Firebase Auth Setup
Firebase#firebase#auth
Bootstrap Firebase Auth in a React app
Wire Firebase Auth with email, Google, and Apple providers, guarded routes, and a custom claims-based role system.
Python Automation Script
Python#python#automation
Batch process files with Python
Write a Python 3.12 script that watches a directory, transcodes new videos with ffmpeg, uploads to R2, and posts a Slack notification.
AI Agent System Prompt
AI Agents#agents#prompt
Rigorous agent system prompt
Draft a system prompt for a tool-using agent: identity, guardrails, tool call protocol, self-critique loop, and refusal policy.
SQL Query Optimizer
SQL & Databases#sql#performance
Explain and rewrite a slow query
Explain this SQL query plan, identify bottlenecks, and rewrite for optimal index usage on Postgres 16.
Flutter Widget Blueprint
Mobile Development#flutter#ui
Design a Flutter widget
Build a Flutter widget with Material 3, animated state transitions, adaptive layout, and null-safe API.
DevOps CI/CD Pipeline
DevOps#ci#cd
GitHub Actions pipeline
Create a GitHub Actions workflow: test, build, container image, push to GHCR, deploy to Cloudflare Workers on tag.
Playwright E2E Suite
Testing & QA#playwright
E2E test scaffold
Scaffold a Playwright suite: auth fixture, page objects, network mocking, and visual regression snapshots.
Data Cleaning Notebook
Data Science & ML#pandas#ml
Clean a messy CSV
Write a pandas notebook cell that profiles the CSV, imputes missing values, encodes categoricals, and outputs a train/test split.
Prompt Injection Defense
Security#llm#security
Defend an LLM app from injection
Given a chat app with tool calls, list all prompt injection vectors and design defenses: content isolation, allowlists, and output filtering.
UI Design Critique
UI Design#ui#critique
Critique a UI screenshot
Critique this UI: visual hierarchy, contrast, spacing rhythm, typographic system, and accessibility. Suggest 3 concrete improvements.