A way to build client websites with Claude Code that come out structured, secure and findable, instead of looking like every other AI website. You make the calls; the AI builds one section at a time; scripts check every piece.
For websites: portfolios, landing pages, funnels and small business sites. Not for web apps with logins or a database.
| Part | What it is |
|---|---|
skill/kape-web/ |
The Claude Code skill. It runs the whole method in five steps and stops for your approval at each one. |
starter/ |
The website every new site is copied from: Astro + Tailwind + TypeScript, security headers for four hosts, SEO markup, legal pages, a protected contact form, and the build checks. |
| brewedops.cloud/webframework | The framework page: the whole method, step by step, with what each stage looks like. |
install.mjs |
Installs the skill into Claude Code. |
- Claude Code, with a Claude subscription or an API account.
- Node.js LTS, version 22 or newer. The installer tells you if yours is too old.
- git.
- Optional: a free GitHub account, and a free Cloudflare account to host the sites.
-
Download the kit (zip, or the green Code button > Download ZIP), unzip it, and put it somewhere you keep projects. On Windows, unzipping can leave a folder inside a folder with the same name: use the inner one, the one with
install.mjsin it. Do not move it after installing: the skill remembers where it is. If you move it, run the installer again. -
Open Claude Code inside that folder and type:
Run node install.mjs, then install whatever else the kape-web skill needs: claude-seo, Ponytail and Stageshow.
Claude runs the installer and adds the three helpers it is built on:
- claude-seo - SEO audits the way Google and AI search see a site.
- Ponytail - keeps the code small and reviews every change.
- Stageshow - builds real-looking product screens for the design.
-
Restart Claude Code once (new skills and plugins load on start), then type
/seo setuponce.
Prefer a terminal? node install.mjs does step 2's first part; the helper commands are on the framework page and
in skill/kape-web/SKILL.md.
In Claude Code, from any folder, type:
kape web - new site
It asks whether you start from scratch or from an inspiration (paste a screenshot), recommends the stack, then walks through foundation, wireframe, design, checks and launch. It never deploys until you say "deploy".
Run inside a site folder (the skill runs them for you):
| Command | Proves |
|---|---|
npm run build && npm run check:dist |
No secrets, source maps or dotfiles in the build; the form works on this host |
npm run check:launch |
No demo content, [CONFIRM] placeholders or test keys left before go-live |
npm run check:headers -- https://your-domain |
The home page answers 200 and every security header is live, grade A or better |
npm run check:ratelimit -- https://your-domain |
The contact form's rate-limit rule is really on (Cloudflare Pages form only) |
npm test |
36 tests: the contact form refuses what it should (wrong site, oversized, bad email, no or borrowed anti-spam token) and forwards only good submissions; the security headers are the same in all four host files; the two live checks above fail when they should. Runs in CI |
- The design is yours. This framework does not pick how your site looks. You are the web developer: the look, the layout and the taste are your choice (and your client's). The design rules and the "no AI slop" list are reminders so the result does not look AI-made, and Stageshow is a guide for the interface parts. If you want something the list warns about, say so and the AI builds it your way.
- Contact form hosting: the starter's form handler runs on Cloudflare Pages (free). On Vercel, Netlify or
your own server, point
site.forms.actioninsrc/config/site.tsat a form service instead;check:diststops the build if you forget. - Never invented facts: anything the AI does not know (prices, addresses, reviews, legal details) is written as
[CONFIRM: ...], andcheck:launchblocks the launch until every one is filled in. - Security list:
starter/docs/SECURITY-CHECKLIST.mdhas 97 checks with the file that handles each one. It is a checklist, not 97 automated tests: the scripts above prove what a script can, the starter's code handles others, and the rest you set in the host dashboard or review by hand. Each row says which.
Download the new version, replace this folder, and run node install.mjs again. Sites you already built are not
touched; they are separate copies.
Made by BrewedOps. Licensed under the MIT license (see LICENSE). Third-party parts and
their licenses are listed in NOTICE.md.