Firebase Hosting config with rewrites, redirects, headers, preview channels, custom domains, and CDN cache control
From jm-adknpx claudepluginhub javimontano/jm-adk-alfaThis skill uses the workspace's default tool permissions.
agents/guardian.mdagents/lead.mdagents/specialist.mdagents/support.mdevals/evals.jsonknowledge/body-of-knowledge.mdknowledge/knowledge-graph.mdprompts/meta.mdprompts/primary.mdprompts/variations/deep.mdprompts/variations/quick.mdtemplates/output.docx.mdtemplates/output.htmlSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Configure and optimize Firebase Hosting for production-grade web applications. Set up rewrites for SPAs, custom domains, preview channels for PR review, and CDN cache policies for performance. [EXPLICIT]
firebase hosting:channel:deploy or version rollback in console. [EXPLICIT]firebase.json hosting section:
"public": "dist" — built output directory. [EXPLICIT]"rewrites": [{"source": "**", "destination": "/index.html"}] — SPA routing. [EXPLICIT]"redirects" — for legacy URL migrations (301 permanent). [EXPLICIT]"headers" — cache control for assets, security headers (CSP, X-Frame-Options). [EXPLICIT]www redirect if needed. [EXPLICIT]firebase hosting:channel:deploy pr-$PR_NUMBER --expires 7d. [EXPLICIT]firebase deploy --only hosting. [EXPLICIT]"Cache-Control": "public, max-age=31536000" for hashed assets, "no-cache" for index.html. [EXPLICIT]| Input | Output |
|---|---|
firebase.json hosting config | Configured rewrites, redirects, headers |
Built dist/ directory | Deployed files on Firebase CDN |
| Custom domain + DNS records | SSL-enabled custom domain |
| PR number | Preview channel URL (expires in 7d) |
index.html. [EXPLICIT]"site" field in firebase.json for multiple sites in one project."rewrites": [{"source": "/api/**", "function": "api"}] for SSR or API."i18n" in hosting config for language-based content serving.index.html.index.html has aggressive cache. Set no-cache on HTML.--expires duration or redeploy.Example invocations: