Templates and resources

Besides the tools, Sajto gives the assistant ready-made templates, conversation scenarios and a guide to good site design.

Starter templates

When creating a site (site_create) the assistant can start from one of four templates. They are small, valid, responsive skeletons: plain HTML, a single css/styles.css file, no JavaScript and no external requests, with light and dark colours stored as CSS variables at the top of the stylesheet. Apart from the site name, all text is placeholder text and the assistant is to replace it with yours.

  • Name
    landing
    Type
    Landing page
    Description

    A one-page offer: a start section with a call to action, three benefit cards and a closing call. For a single offer and a single action (sign-up, phone call, purchase).

  • Name
    business-card
    Type
    Business card
    Description

    A single centred card with a name, tagline, contact details and opening hours. For local businesses, freelancers and everyone who simply needs to be found.

  • Name
    portfolio
    Type
    Portfolio
    Description

    An intro, a grid of project cards, one project page as an example of describing a piece of work, and a contact section. For designers, photographers, developers and agencies.

  • Name
    blog
    Type
    Blog
    Description

    A list of posts, one sample post and an “about the author” page. Posts are plain HTML files in the posts/ folder. You add a new post by copying posts/hello-world.html and linking it from index.html.

You can ask: “Start from the portfolio template”.

The new_site and review_site commands

Ready-made conversation scenarios that lead the assistant through a good process instead of improvising.

  • Name
    new_site
    Type
    new site
    Description

    An interview (purpose, audience, sections, tone, facts, examples), analysis of reference sites, a plan for your approval, building, checking and publishing. Optional arguments: goal (the purpose of the site), audience, language, tone and references (addresses of examples). The assistant asks about missing information.

  • Name
    review_site
    Type
    site review
    Description

    A review of an existing site against the guide and the validator, a short list of improvements and applying the ones you approve. Arguments: slug (required) and an optional focus, i.e. what matters most to you, for example “phone layout” or “SEO”.

How to start them in Claude Code is described in the chapter Writing prompts.

Materials for the assistant

The server also provides reference materials that a client can load into a conversation (if it supports them):

  • Name
    sajto://design-guide
    Description

    A guide to a good static site: content before decoration, a phone-first layout, typography, spacing, colour and contrast, accessibility, performance, search engines and sharing, what a site without a server cannot do, and common mistakes.

  • Name
    sajto://templates
    Description

    A catalogue of starter templates: what they are for and which files they contain.

  • Name
    sajto://templates/{name}
    Description

    The full source code of one template.

The assistant uses them by itself. You do not need to read them, but you can ask: “Read the Sajto design guide before you start”.

Was this page helpful?