hostinger/api-mcp-server/03-provision
Claude Code and agent skill by hostinger/api-mcp-server
- community
Checking that the SKILL.md file is still in the repository.
Step 3 (provision) of the Hostinger Headless flow. Chooses the backend from brief.md (wordpress | ecommerce | webapp), then routes to the matching subfolder to provision it; writes site.json. WordPress + WooCommerce routes to the wordpress subfolder with the WooCommerce store turned on — it is not a separate backend.
Install
npx vskill@latest install hostinger/api-mcp-server/03-provisionSKILL.md
The same SKILL.md was published earlier as hostinger/api-mcp-server/03-provision.
headless-step-provision
Router. The backend is decided in refine and recorded in brief.md; this step only routes to the matching subfolder, which provisions it.
In: brief.md. Out: site.json (written by the subfolder).
Step 1 — Route on the suggested backend
Read the brief's Suggested backend section:
| Suggested backend | Follow | |
|---|---|---|
| WordPress | wordpress/SKILL.md | |
| WordPress + WooCommerce | wordpress/SKILL.md with the WooCommerce store on (its Steps 4–5; site.json → backend stays "wordpress") | |
| Ecommerce | ecommerce/SKILL.md | |
| PocketBase | pocketbase/SKILL.md |
If the section is missing or names something else, go back to refine — don't pick one here. Tell the user the backend and its one-line reason before provisioning.
Supported backends: `wordpress` (optionally with a WooCommerce store), `ecommerce` and `pocketbase`.pocketbaseis a headless website whose backend is PocketBase at/apiand/_/of the samedomain (database, visitor sign-in, file storage, realtime), for any app or site whose visitors createits data; it never installs WordPress. Every backend is a headless website: there is no plainNode.js app host in this flow. A brief that names Webapp is from an older flow: go back torefine. A WordPress + Ecommerce brief (two separatebackends — a WordPress site and a Hostinger Ecommerce store) has no single combinedhosting_websites_createtype yet: stop, tell the user it isn't supported as one site, and offer either to continue with justWordPress or just Ecommerce (route to that one subfolder), or, if they want content and a store onone site, to switch the brief to WordPress + WooCommerce — the one-site path, which routes towordpress/SKILL.mdwith the store on.
Onboarding handoff — swap an existing empty headless shell (do this before creating anything)
Onboarding can create the website before you ever run, as an empty headless shell (hosting_websites_create { type: "headless_empty" }: website_type is headless, but nothing is installed), or, when onboarding already chose PocketBase, as a headless_pocketbase site whose backend may not exist yet. The single-instance gate in Step 2 is the checklist. Every backend goes through it: none of them ever creates a second website for a domain that already has a headless one.
Step 2 — Fire (don't block)
Single-instance gate — pass all four before you create anything:1. Exact-match the domain inhosting_websites_list(substring filter — match the exactdomain).2. A `headless` row already exists → adopt + swap it, never create. Install the backend into thatsame site (WordPress →wordpress_installations_install { type: "headless" }into/cms; Ecommerce→ adopt as the storefront host; PocketBase →hosting_pocketbase_create-backendon it, which turns aheadless_emptysite intoheadless_pocketbase). **Do notcallhosting_websites_createagain** — that makes a second site.3. No row at all → create one fresh with the backend's ownhosting_websites_createtype. Create it for **thisbuild's domain only** — never provision the backend on a different domain than the frontend (the CMSis the/cmspath of the same site, never a separatecms.<domain>).4. A row of a different kind (website_typenotheadless) → stop and tell the user; neveroverwrite it.wordpress/SKILL.mdStep 1,ecommerce/SKILL.mdStep 1 andpocketbase/SKILL.mdStep 1 say how totell an empty shell from an already-provisioned backend.
Follow the chosen subfolder's SKILL.md through detect + create (its hosting_websites_create call, or for a PocketBase shell swap its hosting_pocketbase_create-backend call). The moment the create is accepted and queued, record it in state.json and return — do not wait for it yet:
Now go run the prepare work that doesn't need the backend: content-model prepare and design (at the same time when you have a subagent tool, see Content and design at the same time in the top-level SKILL.md), then the frontend shell. The subfolder's readiness poll, verification and site.json are the join half below.
Step 3 — Join (at the instance barrier)
When an instance-barrier step is about to run (content-model push, frontend data wiring, deploy) — or right away, if the agent can't interleave — finish the subfolder's SKILL.md: run its wait.mjs (setup, cms or pocketbase; it returns at once if the job is already done), run its verification, and write site.json (which records the chosen backend). Then set provision.status to "completed" in state.json with a fresh updated_at.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/headless/steps/03-provision/SKILL.md
Popularity
- Repository stars
- 172
- Repository forks
- 59
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hostinger/api-mcp-server/03-provision)