Communitygithub.com

one-page-site

Build a one-page website or sales page for a small business or a personal brand as a single HTML file ready to upload to a free static host. Use for \"make a website\", \"landing page\", \"sales page\", \"one-pager for this business\", \"redo this page\".

What is one-page-site?

one-page-site is a Claude Code agent skill that build a one-page website or sales page for a small business or a personal brand as a single HTML file ready to upload to a free static host. Use for \"make a website\", \"landing page\", \"sales page\", \"one-pager for this business\", \"redo this page\".

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/etemis/marketing-ai-skills/tree/HEAD/skills/one-page-site

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

One-page site

Follow every line literally. A newer instruction from the user beats this skill.

Output: one page, one file, one action for the visitor. the user may hand it to a client without fixing it, so nothing leaves this skill unchecked.

Inputs

Must have. If one is missing, ask for all missing ones in one message and stop:

  1. Business name.
  2. What it sells, and who it is for.
  3. The one action a visitor should take: buy, book, call or message.
  4. Where that action goes: a payment link, a phone number, an email address, or a booking link.
  5. Contact details to show.

Optional: the Profile - Business name document, logo, photos, prices, real testimonials, languages, a page the user likes.

If a Profile document exists, read it first and take colours, fonts, tone, languages and contacts from it.

Rules for every run

  1. Use only facts the user or the owner supplied. NEVER invent a price, date, statistic, client name, review, guarantee, or policy.
  2. A section with no real content is left out. No filler text and no sample text.
  3. Exactly one action. Every button on the page has the same label and the same destination.
  4. One file named index.html. Styles are inside the file. No framework, no build step, no external script.
  5. No form that needs a server. The action is a link: payment link, tel:, mailto:, or a messaging link.
  6. No tracking, analytics or cookies unless the user asks.
  7. Images: the owner's photos first, then free stock with the source recorded. NEVER AI-generated unless the user asks in that message. NEVER a photo of a person presented as a customer.
  8. NEVER buy a domain, create a hosting account, or publish the site. Spend nothing.
  9. NEVER copy the text or design of another site. A page the user likes is a reference for layout only.
  10. The page must not look like the site of a different real organisation.

Step 1. Write the copy first

Write all text before any HTML. Sections, in this order:

  1. Top: headline of 10 words or fewer that says what the visitor gets. One line under it, 25 words or fewer. The button.
  2. What you get: 3 to 5 items, each 12 words or fewer.
  3. Who it is for: 2 to 3 lines.
  4. How it works: exactly 3 steps.
  5. Proof: real reviews or results the user supplied, with the name as supplied. Leave the section out if the user supplied none.
  6. Price: only if the user supplied it, written exactly as supplied.
  7. Questions: 3 to 5, with answers from their facts only. Leave out any question you cannot answer from their facts.
  8. Closing: one line and the button again.
  9. Footer: business name, contact details, year.

Language: the languages in the Profile, or the language the user writes in. Two languages: build one page per language, index.html and one more file named with the language code, linked to each other at the top. Albanian uses ë and ç. Macedonian is fully in Cyrillic.

Show their the copy and wait for "continue" before building, unless the user said to build in one go.

Step 2. Build

  1. Design for a 375 px wide phone first, then widen.
  2. Colours and fonts from the Profile. With no Profile: 1 background colour, 1 text colour, 1 accent colour, and the device's default fonts.
  3. Body text is 16 px or larger. Text on background contrast is 4.5 to 1 or higher.
  4. Buttons and links are at least 44 px tall.
  5. Every image has alt text, a set width and height, and is 300 KB or smaller. The folder is 2 MB or smaller in total.
  6. In the page head: the lang attribute, a title of 60 characters or fewer, a description of 155 characters or fewer, a viewport tag, and sharing tags for title, description and image.
  7. The logo is used as supplied. Never redrawn, recoloured or stretched.

Step 3. Check

  1. Open the page at 375 px and at 1440 px wide and look at it. If you have no tool to render it, write "Not rendered" in the report.
  2. At 375 px nothing scrolls sideways and no text is cut off.
  3. Click or read every link. Each one has a real destination.
  4. Search the file for: lorem, TODO, example.com, [, xxx. Each must have 0 hits in visible text.
  5. Search for currency signs and codes. Each hit must match a price the user supplied.
  6. Read every sentence once for typos and for letters from the wrong alphabet.

Step 4. Deliver

  1. Show the page as a preview if this session can publish a page. Say that the preview link is private until the user shares it.
  2. Send site.zip containing index.html and the images folder.
  3. Tell them: upload site.zip to a free static host. Netlify accepts a dragged zip. Tell them to confirm the plan is still free before promising a client anything.
  4. Give no click-by-click hosting steps you have not checked today.

Report

In this order, 120 words or fewer:

  1. The preview and site.zip.
  2. What is on the page: headline, button label, button destination, sections included, sections left out and why.
  3. Check before sending to the client: wording you wrote yourself, anything unverified, image sources.
  4. Rendered at 375 and 1440: yes or "Not rendered".

Checklist - every line must pass

  • All 5 must-have inputs were supplied by the user.
  • One index.html per language. External scripts: 0.
  • Exactly 1 button label and 1 button destination on the page.
  • Headline is 10 words or fewer. Line under it is 25 words or fewer.
  • "How it works" has exactly 3 steps.
  • Every price, review, number and name on the page was supplied by the user.
  • Sections with no supplied content are absent.
  • Search hits for lorem, TODO, example.com, [, xxx in visible text: 0.
  • Body text is 16 px or larger. Contrast is 4.5 to 1 or higher.
  • No sideways scroll at 375 px, or the report says "Not rendered".
  • Every link was opened or read, and none is empty.
  • Every image has alt text and is 300 KB or smaller. Folder is 2 MB or smaller.
  • Title is 60 characters or fewer. Description is 155 characters or fewer.
  • AI-generated images: 0, unless the user asked.
  • Nothing was published, bought or signed up for.

Related Skills