Skip to content
MCP Servers
Skill

/01-refine

Step 1 (refine) of the Hostinger Headless flow, the first stage the user talks to, run before the Hostinger connection. Turns the user's seed — often just a domain — into a brief through conversation: asks what they want to build (purpose, audience, tone, pages, products,

From plugin
api-mcp-server
17325 skills

Claude Code

$ npx -y skills add hostinger/api-mcp-server --skill 01-refine --agent claude-code

SKILL.md

01-refine.SKILL.md
name: headless-step-refine
description: "Step 1 (refine) of the Hostinger Headless flow, the first stage the user talks to, run before the Hostinger connection. Turns the user's seed — often just a domain — into a brief through conversation: asks what they want to build (purpose, audience, tone, pages, products, must-haves; images, local files, links all welcome), then *infers* the backend that fits (WordPress, Ecommerce, WordPress + Ecommerce, WordPress + WooCommerce for a one-site content+store, or PocketBase for a custom app/SPA or any site whose visitors create its data: accounts, bookings, comments, votes, order requests) — it never asks the user to pick a backend or a technology; it asks for the site name (suggesting a few when the user has none), the user confirms the plan (and the image source) in plain language, and only after their yes it writes brief.md. Hostinger Ecommerce stays the default for selling; WooCommerce is chosen only when the user explicitly asks for it or wants content and a store on one WordPress site."

headless-step-refine

Find out what the user wants to build, guess which backend fits, and write it down. This is a **conversation, not a form**: the pasted prompt names a domain and nothing else, so everything about the site comes from talking to the user.

**Keep it short.** You must know what they are building, whether they sell and whether they'll publish content over time — enough to guess the backend — plus the **site name** the user gave or picked and, when Step 2 found a project in the folder, the **Existing project** confirms. Every other question is optional: the more the user gives, the better the site, but never hold the build hostage to refinement. Fill gaps with sensible defaults (never the site name) and say so in the brief. A skipped question tool is not the user passing on a question; see *When you ask the user* in the top-level `SKILL.md`.

> **Never ask the user to choose a backend or a technology.** Don't ask "WordPress or Ecommerce?", > don't present WordPress/Ecommerce/WooCommerce/PocketBase as options, and don't surface the backend in a > multiple-choice UI. Open with **"What do you want to build?"** and infer the backend yourself in > Step 4 from what they describe (and whether they sell). The backend is a technical decision the flow > makes *for* the user — they confirm the **plan** (what the site is and does), not the plumbing. The > only exception is when the user *volunteers* a backend ("build it on WordPress", "use WooCommerce"): > then honour their choice and note it in the brief.

**In:** the domain (the workspace directory name), plus anything the user already shared. **Out:** `~/.hostinger/<domain>/brief.md`.

Nothing in this step touches Hostinger. It runs before the connection (*Start of a run* in the top-level `SKILL.md`), so it reads only the local workspace and the user; check-state checks the plan against Hostinger afterwards and sends the run back here when the site fixes the backend. Refine is the only writer of `brief.md`. It only asks, decides and writes.

---

Step 1 — Read the workspace, then the resume check

Read everything already in `~/.hostinger/<domain>/` (`state.json`, any notes, images or files the user dropped there) — it all counts as input.

If `brief.md` already exists for this domain, **don't overwrite it**:

  • **Later build artifacts exist too** (`site.json`, `design.md`, `content-model.md`, `src/`): the

build is under way, and check-state offers to resume it once you're connected. Ask nothing here, even when the pasted prompt says to start by asking what to build: `node <skill>/run-log.mjs <domain> stage-end refine skipped --note "build under way"`, and go on.

  • **Only the brief:** show the user a three-line summary (what the site is, its pages, the suggested

backend) and ask: *keep it, or change something?* Keep → go to Step 6, unless the brief has no **Site name** or **Images** section: then ask what's missing first (Round 1 question 4, or the Step 5 images line) and add it. Change → edit only what they asked for, then re-confirm (Step 5). A skipped tool result is not Keep; see *When you ask the user* in the top-level `SKILL.md`.

**A fixed backend.** On the first pass the backend is yours to pick from the conversation: what onboarding set up on Hostinger isn't visible before the connection. It is **fixed** — never change the Suggested backend — in two cases:

  • **The site is already provisioned** (`site.json` exists). Explain that switching backends means a

new domain.

  • **Check-state sent you back because the site fixes it** (an onboarding PocketBase site, or a live

site with a real backend). Re-decide what follows from that backend (Step 4's rendering, the Step 5 images line), then go to Step 5: its message opens by saying the site already runs on that backend and what changes for the user. When the plan needs what that backend can't do (checkout, a CMS the owner writes in), say so in the same message and offer to build on another domain instead.

A `brief.md` whose Suggested backend is **Webapp** is from an older flow: re-decide it in Step 4 (it becomes **PocketBase**, or the user is pointed at the `deploy-to-hosting` skill).

Step 2 — Gather what you already have

Before asking anything, collect what the user has already given you, so you don't ask for it again:

  • **Inspect the directory the command was run in** — this is the biggest signal for the build mode

(Step 3). Look for an existing **frontend / webapp / commerce project**: a `package.json`, a framework config (`next.config.*`, `astro.config.*`, `vite.config.*`, `svelte.config.*`, `nuxt.*`), a `src/` or `app/` tree, `index.html`, a storefront/cart, etc. A real project here usually means the user **already has their own frontend** and mainly needs a Hostinger backend to wire it to — lean toward "bring your own frontend" in Step 3. That is what *Step 2 found a project in the folder* mea

Read more
@hostinger
Ships withapi-mcp-server

Model Context Protocol (MCP) server for Hostinger API.

Stars on GitHub

Momentum

stars in total
173
Star history of hostinger/api-mcp-server on GitHub, a chart by star-history.com

Other skills on api-mcp-server.

audit-hosting

audit-hosting

Audit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website,…

audit-vps

audit-vps

Audit every Hostinger VPS (KVM plans) on the account and report what needs attention: server state and failed actions, CPU,…

connect-domain

connect-domain

Connect a custom domain to a website on Hostinger web hosting (Shared, Cloud or Agency plans) end to end: attach the domain to…

deploy-to-vps

deploy-to-vps

Deploy an existing project to a Hostinger VPS (KVM plans): sets up SSH key access, applies a Hostinger firewall group, runs…

headless

headless

Orchestrator for the Hostinger Headless build flow — build and deploy a real website on the user's Hostinger account from a…

More skills from other plugins.

gitnexus-cli

gitnexus-cli

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…

@abhigyanpatwari@abhigyanpatwariInstall Skill
fastmcp-client-cli

fastmcp-client-cli

Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…

fastmcp8d29k
@prefecthq@prefecthqInstall Skill
n8n-agents

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…

n8n-mcp7d23k
@czlonkowski@czlonkowskiInstall Skill
post-to-xhs

post-to-xhs

小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…

@xpzouying@xpzouyingInstall Skill

Questions about 01-refine.

Which coding agents can use 01-refine?
01-refine installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.