{"data":{"slug":"discovered-203ed0c927c5064dee0b730d94896329a5156682d3c92bf9","title":"Hosting Configuration Setup","summary":"Ask the user where the product should be hosted (Cloudflare, Vercel, optional Supabase), record the choice, scaffold the config, and print a deploy plan without running it.","url":"https:\/\/skillshunter.net\/skills\/discovered-203ed0c927c5064dee0b730d94896329a5156682d3c92bf9","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-203ed0c927c5064dee0b730d94896329a5156682d3c92bf9","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-203ed0c927c5064dee0b730d94896329a5156682d3c92bf9.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-203ed0c927c5064dee0b730d94896329a5156682d3c92bf9\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before making any changes, run `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/hosting.mjs\" show --project \"<dir>\"` to display the current hosting choice. If a choice exists, ask the user if they want to keep it or change it. Use the `--change` flag when changing the hosting configuration. The first time, inform the user of their choice and let them know they can change it anytime with `\/lilac:hosting`.","instructions":"---\nname: hosting\ndescription: Ask the user where the product should be hosted (Cloudflare, Vercel, optional Supabase), record the choice, scaffold the config, and print a deploy plan without running it.\ndisable-model-invocation: false\n---\n# Hosting\n\nCode is always on GitHub. That is not a question, and the hosting choice never changes it.\n\n**Step 0: run `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/hosting.mjs\" show --project \"<dir>\"` and tell the human the current choice in plain words BEFORE asking anything.** If a choice exists, ask \"Keep it or change it?\" Changing needs `--change` on `choose`; it never deletes their files or the old host's config, it only adds missing ones and keeps a history. The first time, tell them: \"You chose <host>. You can change it any time with \/lilac:hosting.\"\n\n**Ask first, before writing any hosting config.** Use the AskUserQuestion tool if you have it, otherwise ask a plain numbered question. Do not pick for the user.\n\n1. **Cloudflare (recommended default).** Good for static sites and light apps close to users; static asset requests are free per its docs. Worker request limits and paid plans: see REFERENCE.md.\n2. **Vercel.** Good for frameworks like Next.js with one-click previews. The free Hobby plan has usage limits; paid plans cost money.\n3. **Cloudflare + Supabase database.** Cloudflare hosting plus a Postgres database with sign-in. Supabase free projects pause when idle (UNVERIFIED for today); paid is from $25\/month.\n4. **Vercel + Supabase.** Vercel hosting plus the same Supabase database and the same caveats.\n5. **Something else.** Recorded as manual; Lilac scaffolds no host config.\n\nFree-tier numbers are UNVERIFIED unless REFERENCE.md shows the vendor URL and date; any limit not listed there is UNKNOWN. Say so.\n\nAfter the answer run (`<dir>` is the project folder):\n`node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/hosting.mjs\" choose --host cloudflare|vercel|manual --db none|d1|supabase --project \"<dir>\"`, then `check`. `deploy-plan` refuses until the human has previewed the site and approved it (skill `preview`, `\/lilac:preview`).\n\n`choose` also copies a GitHub Actions workflow to `.github\/workflows\/lilac-checks.yml` (never overwrites; no secrets, no deploy step). It has NOT yet been run on GitHub: UNVERIFIED until pushed and a run passes.\n\nNever do these yourself: deploy, buy a domain, create an account, change DNS, spend money. Print the `deploy-plan` output and ask for the human's explicit approval for each action. Never put keys in files; the service-role key never goes to a browser.\n","use_cases":["Setting up hosting for a new project","Changing the hosting provider for an existing project","Generating a deployment plan without executing it"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/DevPatel128\/lilac-plugin\/blob\/7e77aadbd31442412fba6856e43e4a2d8b781a6d\/skills\/hosting\/SKILL.md","source_commit":"7e77aadbd31442412fba6856e43e4a2d8b781a6d","license":null,"version":null,"listing_approved_at":"2026-11-29","created_at":"2026-11-28T18:58:07.000000Z","updated_at":"2026-11-29T10:54:05.000000Z","seo_title":"Hosting Configuration Setup Tool","seo_description":"A tool to ask the user where their product should be hosted, record the choice, scaffold the configuration, and print a deploy plan without executing it.","seo_keywords":["hosting setup","deployment plan","configuration scaffolding","Cloudflare hosting","Vercel hosting","Supabase hosting"]}}