/anglesite:startfrom anglesite
Guides first-time setup of a new Anglesite website: discovery interview, project scaffolding, design, tool installation, and local preview.
Ships in anglesite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Welcome a new site owner. This is the first command they'll run — it combines discovery, project scaffolding, design, and tool installation into one guided session.
These decisions shape how the site is built. Read when you need to explain why to the owner:
.mdoc files, not a hosted CMSKeep each step conversational. Celebrate progress. If something fails, read ~/.anglesite/logs/setup.log and explain plainly.
Anglesite practices PII data minimization: don't ask for the owner's name during setup. Names are PII and there's nothing in start (or in design, tool install, GitHub backup, or preview) that genuinely needs one. Collect it only when a downstream skill produces an output that requires it — copyright footer, About-page byline, h-card / IndieAuth identity, print materials, handoff documentation.
When such a skill runs, it should:
OWNER_NAME from .site-config. If present, use it..site-config with the Write tool so subsequent skills don't ask again.The same principle extends to other PII (email, phone, address): collect at the moment of use, not speculatively.
Introduce yourself: "Hi! I'm your webmaster. I'll help you build a website. Let's start with what kind of site you need."
Don't ask for the owner's name yet. Names are PII and there's nothing in this step that needs one — ask later if and when a specific output requires it (copyright footer, About page, IndieAuth identity, print materials, handoff doc). See "On-demand owner name" above.
Ask:
"What kind of website are you looking for?"
Let them describe it naturally. Map their answer to a site type:
SITE_TYPE=businessSITE_TYPE=personalSITE_TYPE=blogSITE_TYPE=portfolioSITE_TYPE=organizationIf unclear, ask a follow-up. Don't offer a multiple-choice list — let their words guide you.
Before branching, surface the first-run education prompts. Read ${CLAUDE_PLUGIN_ROOT}/docs/education-prompts.md section 1 ("First Run / Site Type Selection") and share the LAUNCH_NOT_FINISH and THREE_PAGES topics — one brief aside, not a lecture. Then write both EDUCATION_LAUNCH_NOT_FINISH=shown and EDUCATION_THREE_PAGES=shown to .site-config after scaffolding (Step 1), alongside all other config values.
Then branch based on site type:
SITE_TYPE=business)"What's the name of your business?"
"Tell me about your business in a sentence or two — what do you do?"
Let them describe it in their own words. Then match their description to one or more files in ${CLAUDE_PLUGIN_ROOT}/docs/smb/. Check the "Business types" table in ${CLAUDE_PLUGIN_ROOT}/docs/smb/README.md for all types — you only need the table for type matching, not the cross-cutting references or other sections.
Examples of how to map natural descriptions:
artist, restaurant (see food-as-craft in multi-mode.md)tradesfitnessretail, artisthealthcarehouse-of-worship, food-bankrestaurant (cottage food), farmphotographyfood-truckevent-venuepre-launch.md, discuss options, then assign type(s)hospitality or museum depending on the experienceIf the description spans multiple types, ask which activity is the primary one. Save all types comma-separated, primary first. See ${CLAUDE_PLUGIN_ROOT}/docs/smb/multi-mode.md for how to merge guidance.
If the owner is still forming their business — no name yet, no customers, just an idea — that's fine. Read ${CLAUDE_PLUGIN_ROOT}/docs/smb/pre-launch.md for how to adjust the session. Build a simple site with what they have now and share relevant startup resources at the end.
"What do you want your website to do for your business?" Listen for concrete goals — get phone calls, book appointments, sell products online, build credibility, share news. These goals shape every design decision.
"How do customers find you today?" — word of mouth, Google, social media, events, referrals. This tells you which pages and content matter most.
"Are you already using any tools or apps for your business?" — anything counts: Etsy, Square, Venmo, Instagram for sales, a booking app, a spreadsheet. If they already have tools, don't replace them — integrate with the website. Recognize informal tools (Venmo, PayPal, Cash App, Zelle) as valid starting points — suggest professional invoicing (Square, Stripe) when they're ready, not as an immediate replacement.
6b. Business and organization sites only: "Where do your customers leave reviews? Google, Yelp, your booking platform?" — Save as REVIEW_PLATFORMS=google,yelp,fresha (comma-separated slugs) in .site-config. If they mention Google Business Profile and GOOGLE_REVIEW_URL is not already set, ask for their business name to construct the direct review link: https://search.google.com/local/writereview?placeid=PLACE_ID. Find the Place ID via Google's Place ID Finder and save as GOOGLE_REVIEW_URL in .site-config. Skip this question for personal, blog, and portfolio site types.
If the business has a physical location, ask:
This is the business's public contact info that the owner wants on their website — not customer data.
SITE_TYPE=personal)OWNER_NAME — that's collected later, on-demand, when a flow actually needs the legal/preferred name.)SITE_TYPE=blog)SITE_NAME only — don't double-save it as OWNER_NAME.)SITE_TYPE=portfolio)"What's the name of your portfolio?" — studio name, brand, or their name as a title. (Treat as SITE_NAME only; OWNER_NAME is collected later if needed.)
"What kind of work will you showcase?" — photography, design, illustration, writing, code, music, etc.
If their work is interactive or code-based (creative coding, generative art, web experiments, data visualization, WebGL, shaders), add web-artist to BUSINESS_TYPE. This enables the creative-canvas skill for full immersive setup — ImmersiveLayout, experiment gallery at /lab, and curated creative coding library support (p5.js, Three.js, GSAP, Tone.js, D3.js). Read ${CLAUDE_PLUGIN_ROOT}/docs/smb/web-artist.md for design and structure guidance.
"Where else do you share your work?" — Instagram, Behance, Dribbble, GitHub, SoundCloud, OpenProcessing, Shadertoy. These become featured links on the site.
SITE_TYPE=organization)${CLAUDE_PLUGIN_ROOT}/docs/smb/ if applicable (e.g., nonprofit, house-of-worship, youth-org, food-bank). Save as BUSINESS_TYPE.Ask everyone:
"What web address would you like? For example, yourname.com."
If they're unsure, help them think it through. Read ${CLAUDE_PLUGIN_ROOT}/docs/domain-guide.md for evidence-based TLD guidance — the right domain depends on who they are. For co-ops, suggest .coop. For nonprofits, suggest .org. For environmental orgs, mention .eco. For general businesses, .com is the safe default. See the quick reference table in the domain guide.
If they know what they want, save it and derive the local hostname: DEV_HOSTNAME=example.com.local.
If they don't know yet, derive from the site name. Slugify (lowercase, hyphens, no special characters) and append .local: "Pairadocs Farm" → DEV_HOSTNAME=pairadocs-farm.local. Tell them: "No problem — we'll use that for now. You can pick a real domain later when you're ready to go live."
"Are you on Bluesky, or interested in joining? It's a social network where your domain becomes your handle — so people see @yourdomain.com instead of a platform username. It's free and aligned with the idea that you should own your online identity."
If yes and they have an account: save BLUESKY_HANDLE=@current-handle to .site-config. They can verify their domain as their handle later with /anglesite:domain bluesky.
If yes and they want to sign up: point them to https://bsky.app and note it for the domain setup step.
If not interested, that's fine — don't push.
"One more thing — as I work on your website, I can either explain each step before I do it, or just get things done quietly. Which do you prefer?"
Save the answer as EXPLAIN_STEPS=true (explain each step) or EXPLAIN_STEPS=false (just do it). Default to true if the owner seems unsure.
Before moving on, mention costs — but read the room. If the owner is clearly technical or building a developer/software site, keep it brief: "Hosting is free on Cloudflare Workers. A custom domain is ~$10–15/year, or you can use a free .workers.dev address." For everyone else, be warmer: "Quick note on cost — building and hosting your website is free. The only thing that costs money is a custom domain name (like yourname.com), which is about $10–15 a year. You can also use a free address. We'll get to that later."
Hold all answers in memory — they'll be saved to .site-config after the project files are set up in the next step.
Tell the owner: "Great — I know enough to get started! Now I'll set up the project files for your website. You may see a prompt asking to allow this — go ahead and click Allow."
Then run:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/scaffold.sh" --yes .
This copies the website template (source code, docs, scripts, configuration) into the current directory. All subsequent steps work with these scaffolded files.
The scaffold has already created .site-config and stamped ANGLESITE_VERSION into it. Read the file, then add the answers from Step 0 with the Edit tool — not shell commands — keeping the existing ANGLESITE_VERSION line untouched:
SITE_TYPE=business
SITE_NAME=Business Name
BUSINESS_TYPE=restaurant
DEV_HOSTNAME=businessname.com.local
AI_MODEL=Claude Opus 4.6
SITE_ADDRESS=128 Pullets Dr, Central, SC 29630
SITE_PHONE=(555) 123-4567
SITE_HOURS=Mon-Fri 9am-5pm
EXISTING_TOOLS=vagaro,square
EXPLAIN_STEPS=true
Only include keys that have values. SITE_NAME, SITE_TYPE, DEV_HOSTNAME, AI_MODEL, and EXPLAIN_STEPS are always present. For AI_MODEL, write the model name and version you are running as (e.g. Claude Opus 4.6). BUSINESS_TYPE is present for business and organization sites. EXISTING_TOOLS is present if the owner mentioned tools (business) or social platforms (portfolio). The rest — including OWNER_NAME — depend on the conversation. Do not write OWNER_NAME here. It's PII and is only collected later, on-demand, by skills that genuinely need it (see "On-demand owner name" above). For multi-mode businesses, comma-separate BUSINESS_TYPE (primary first).
All content collections are registered unconditionally in content.config.ts and keystatic.config.ts. The Astro Content Layer glob loader is happy with empty or missing directories, so the template ships no pre-created content folders — Keystatic creates them on demand the first time the owner adds an entry. If the design interview (Step 2) adds collections or singletons not already present, regenerate anglesite.config.json to match.
Offer the owner a choice between three design paths, with the fast path first:
Now for the look and feel. There are three ways to do this:
- Pick a pre-made design system (fastest — about 30 seconds). I'll show you a few from freedesignmd.com, a free catalog of 121+ curated design systems. You pick one and we're done.
- Quick-pick from 9 built-in themes (fast — one decision). I'd suggest one based on your business type, but you can pick whichever feels right.
- Bespoke interview (5–10 minutes, uniquely yours). A guided conversation about your brand, voice, and audience. We build the design together.
Which would you prefer? When in doubt, the pre-made catalog is a great place to start — you can always switch later.
Branch based on the choice:
${CLAUDE_PLUGIN_ROOT}/skills/freedesignmd/SKILL.md. After it returns, continue with the post-design tasks below.${CLAUDE_PLUGIN_ROOT}/skills/themes/SKILL.md and pick the built-in path (Step 3 of that skill). After it returns, continue with the post-design tasks below.${CLAUDE_PLUGIN_ROOT}/skills/design-interview/SKILL.md — it conducts a 4-stage conversational design discovery (Intent → Mood → Brand anchoring → Axis confirmation) and generates src/design/design.json, src/design/tokens.css, src/design/DESIGN.md, and an updated layout import. It also covers structured data and docs sync.Post-design tasks (run for any of the three paths):
public/favicon.svg to match the identity (the template no longer ships a placeholder — write a brand-aligned SVG here so the <link rel="icon"> tag in BaseLayout.astro activates)public/manifest.webmanifest with brand colors (theme_color from --color-primary, background_color from --color-bg)npm install in Step 3 (dependencies aren't installed yet), run npm run ai-images to regenerate apple-touch-icon.png and og-image.png. For the same reason, skip any npm run build verification the design skills ask for — Step 3 covers it.LocalBusiness for physical businesses, Organization for online-only, Person for personal sites)rel="me" links to social profilesApart from npm run ai-images and any build check — both deferred to Step 3 as noted above — these design edits are plain file changes that don't need tools installed yet.
Before collecting content, help the owner know what photos they'll need. Frame it as:
"Before we fill in your pages, let's make sure you have the photos you'll need. Your phone camera is all you need — I'll show you exactly what to shoot."
Read and follow the photography guidance instructions in ${CLAUDE_PLUGIN_ROOT}/skills/photography/SKILL.md. It generates a prioritized shot list based on the site type and delivers practical phone tips.
If the owner wants to skip this ("I already have photos" / "I'll figure it out later"), that's fine — move on. The photography skill is also available on demand via /anglesite:photography.
Your design is saved. Before running setup, present the wizard summary so the owner knows exactly what's coming.
The setup script auto-detects whether the environment supports admin/sudo access. If it doesn't (typical for Claude Cowork, web-based shells, or sandboxed containers), HTTPS preview setup is skipped entirely and the dev server runs on http://localhost:4321 instead. No password prompts, no certificate trust dialogs — the site still works, just without a padlock locally.
Tailor your wizard summary to the environment:
If the owner is in Claude Cowork (or any non-admin environment), tell them: "Your website design is ready! I'll install the tools to run it on your computer. Your preview will run at http://localhost:4321 — fully functional, just without the padlock icon. Ready?"
On macOS (with admin access), tell the owner: "Here's what will happen — I'll walk you through each step:
On Linux (with admin access), tell the owner: "Here's what will happen:
On Windows, tell the owner: "Here's what will happen:
First install project dependencies (needed to run the setup script):
npm install
Then run the setup script:
npm run ai-setup
The setup script installs Xcode CLI tools, fnm, Node.js LTS, npm dependencies, the GitHub CLI, and initializes git. When admin/sudo access is available, it also installs mkcert, generates a locally-trusted HTTPS certificate, and configures hostname resolution and port forwarding. It writes HTTPS_AVAILABLE=true|false to .site-config and skips anything already present.
After setup finishes, read HTTPS_AVAILABLE from .site-config:
HTTPS_AVAILABLE=true (admin access was available), read DEV_HOSTNAME and tell the owner: "Everything is installed! Your website now runs securely at https://DEV_HOSTNAME — just like a real website, but only visible on your computer."HTTPS_AVAILABLE=false (no admin access — e.g., Claude Cowork), tell the owner: "Everything is installed! Your website previews at http://localhost:4321. The local padlock isn't available in this environment, but the site is fully functional and the live version on your real domain will be HTTPS once you deploy."If it fails, use the Read tool to open ~/.anglesite/logs/setup.log and explain what went wrong in plain language.
Tell the owner: "I'm saving a snapshot of your website so you can always get back to this point."
Run git add -A then git commit -m "Setup: SITE_NAME website" (replace SITE_NAME with the actual name from .site-config). Do not ask the owner to run these — just do it.
Tell the owner: "Now let's back up your website to the cloud so your work is always safe, even if something happens to your computer."
First, verify that the GitHub CLI is available:
gh --version
If gh is not found, run npm run ai-setup to install it. If setup fails (e.g., on Windows where manual install is needed), tell the owner: "I need the GitHub CLI installed first. On Windows, run winget install GitHub.cli in a terminal, then let me know when it's done." Wait for confirmation before continuing.
Ask: "Do you have a GitHub account, or should we create one?"
If they need one, tell them to open https://github.com/signup in their browser. Walk them through: pick a username, enter email, set password. Wait for them to confirm they're signed in.
Tell the owner: "I need to connect your computer to GitHub. Your browser will open asking you to authorize the connection — just click Authorize."
gh auth login --web --git-protocol https
Wait for authentication to succeed. If it fails, run gh auth status and try again.
Derive a repo name from SITE_NAME in .site-config — slugify it (lowercase, hyphens, no special characters). Create a private repo and push:
gh repo create REPO_NAME --private --source . --remote origin --push
This creates the private GitHub repository, adds it as the origin remote, and pushes the draft branch. The --private flag ensures the website source is not publicly visible.
Now create the main branch (used for production deploys) and push it:
git branch main
git push origin main
Stay on draft — all day-to-day work happens there. The main branch is only updated during /anglesite:deploy.
Save GITHUB_REPO=OWNER/REPO_NAME to .site-config using the Edit tool (add the line to the existing file; leave the other lines untouched). Get the owner/repo value by running:
gh repo view --json nameWithOwner --jq .nameWithOwner
Set up labels for bug tracking:
gh label create bug --description "Something is broken" --color d73a4a
gh label create accessibility --description "WCAG or usability issue" --color 0075ca
gh label create security --description "Security or privacy concern" --color e4e669
gh label create content --description "Content error or missing content" --color 0e8a16
gh label create build --description "Build or deploy failure" --color fbca04
Tell the owner: "Your website is backed up to GitHub! Every time we make changes, they'll be saved there automatically. If anything ever happens to your computer, your website is safe."
Throughout setup, give the owner a clear sense of where they are and what's left. After each major milestone, summarize completed steps and what comes next as a short markdown checklist:
Update once early and again after each major milestone. Keep it tight — a 6-line list, not a paragraph.
Tell the owner: "Let's see your website! Click the Preview button in the toolbar above — it will start your site and show it right here in the app."
The dev server is pre-configured in .claude/launch.json. Wait for them to confirm the preview is showing before continuing.
Once they see it, branch on HTTPS_AVAILABLE in .site-config:
true: "That's your website running securely on your computer — see the https:// and the padlock? Only you can see it right now — it's not on the internet yet." If they want a regular browser: "You can also visit https://DEV_HOSTNAME in your browser." (Replace DEV_HOSTNAME with the actual value from .site-config.)false: "That's your website running on your computer. Only you can see it right now — it's not on the internet yet." If they want a regular browser: "You can also visit http://localhost:4321 in your browser."Ask: "What do you think? Want to change anything?"
If they want changes, make them now. If they want to redo the whole design later, they can just ask you to redo the visual identity — say something like "I want to change the design" or "let's start the design over."
Content education prompts: During iteration, watch for the content misconceptions in ${CLAUDE_PLUGIN_ROOT}/docs/education-prompts.md section 4 ("Content Phase"). If the owner says "I'll write the copy later," surface COPY_LATER. If the homepage scope keeps expanding, surface HOMEPAGE_OVERLOAD. If they ask for pages "for SEO," surface PAGE_COUNT_SEO. Check .site-config for the EDUCATION_<KEY>=shown flag before each — only surface once.
Be upfront about costs: "Before we go further, here's what running your website costs:"
Summarize what the owner now knows:
/anglesite:deployTell the owner what they can do now:
/anglesite:deploy — when ready to put the site on the internet (walks through Cloudflare account, domain purchase or transfer, and publishing). On the first deploy, if the owner has access to more than one Cloudflare account (common for agencies and freelancers), /anglesite:deploy shows a picker so the site is locked to the right account — no silent deploys to the wrong place later.HTTPS_AVAILABLE in .site-config for the address: if true, navigate to https://DEV_HOSTNAME/keystatic (replace DEV_HOSTNAME with the actual value from .site-config); if false, navigate to http://localhost:4321/keystatic/anglesite:domain — set up email, verify your Bluesky handle, and other domain settings — available after deploying with a custom domainNo rush to publish. They can edit and preview locally as long as they like.
After this command, docs/brand.md and docs/architecture.md should exist and reflect the design decisions.
What SKILL.md sets; muted values are Claude Code's defaults
Use when someone wants to create a new website, or the current folder has no Anglesite site yet.
npx claudepluginhub anglesite/anglesite-skills --plugin anglesite56 skills in this plugin
/bookingEmbed appointment scheduling (Cal.com or Calendly) into the siteOther plugins' skills for the same job