static-assets
Installation
SKILL.md
Cloudflare Static Assets
Serve static files, single-page applications (SPAs), and build hybrid Workers that combine API routes with frontend hosting.
FIRST: Project Setup
Static Assets require a public/ directory and configuration in wrangler.jsonc:
# Create public directory for your build output
mkdir public
# Add your static files
echo "<h1>Hello World</h1>" > public/index.html