AGENT SKILL

site-bootstrap

Set up a new Cloudhal site's first pages and navigation from a short brief. Use when a site is empty or the user asks to "set up", "scaffold" or "bootstrap" a site.

License 许可
Apache-2.0
最近更新
2026-11-15
Stars
★ 1
Forks
0

01 前言 Front Matter

name
site-bootstrap
license
Apache-2.0
metadata
{ "cloudhal.scopes": "site:read,content:read,content:write,preview:create", "cloudhal.approval": "", "cloudhal.schemaVersion": "1", "cloudhal.requiresCapabilities": "content" }
description
Set up a new Cloudhal site's first pages and navigation from a short brief. Use when a site is empty or the user asks to "set up", "scaffold" or "bootstrap" a site.
compatibility
Requires the Cloudhal MCP server (tools list_sites, get_site, create_page, update_page, create_snapshot, preview_page).

02 资源文件 2

03 SKILL.md 正文

Site bootstrap

Turn a one-paragraph brief into a usable first version of the site: a home page with a hero and a content list, an about page, and sensible SEO fields. Do not publish; leave everything as drafts for review.

Steps

  1. get_site to learn the default locale, existing pages and the theme. Never create a page whose path already exists.
  2. Ask (or infer from the brief) three things: site purpose, audience, tone. Keep headings in sentence case.
  3. create_page for / with sections: hero (heading = site name or value proposition, subheading = one sentence) and contentList (collection posts, limit 10, newest).
  4. create_page for /about with one richText markdown section of 120–200 words.
  5. Set seo.title and seo.description on both pages (≤ 60 and ≤ 155 characters).
  6. preview_page for each page and read the HTML back; fix anything empty or truncated.
  7. Finish with create_snapshot labelled "Bootstrap: <site name>" and summarise what was created with the preview URLs.

Rules

  • Pages stay draft; publishing is a human decision (publish-article / Studio).
  • Every text must be in the site's default locale.
  • See references/content-guidelines.md for voice and structure.

04 同仓库更多 Skills

cloudhal-dev
cloudhal-dev/cloudhal

stale-review

Review a few published articles that have not been updated for a long time, make small safe fixes in drafts, and leave them as one proposed release for a person to schedule - never publishing anything. Built for a weekly scheduled agent task (begin_run, then end_run) that does not read visitor text. Use for a periodic content review or when asked which old articles need attention.

★ 1
cloudhal-dev
cloudhal-dev/cloudhal

site-design

Design or redesign Cloudhal pages that look modern and follow the site's own design rules (DESIGN.md). Use when asked to build, design, restyle or improve a page, a landing page or a home page, or to write the site's design rules.

★ 1
cloudhal-dev
cloudhal-dev/cloudhal

safe-edit

Make a reviewable change to an existing page or article - snapshot first, edit, preview, report the diff. Use for any edit request on existing content, including re-filing an article under other categories or tags.

★ 1
cloudhal-dev
cloudhal-dev/cloudhal

rollback

Restore a site to an earlier snapshot after confirming the target with the user. Use when something published is wrong and the user asks to revert, undo or roll back.

★ 1
cloudhal-dev
cloudhal-dev/cloudhal

publish-article

Check a draft article, file it under the site's categories and tags, produce a preview and submit it for publication now or at a set time, optionally under an embargo or with an expiry. Use when the user asks to publish, release, schedule or go live with an article.

★ 1
cloudhal-dev
cloudhal-dev/cloudhal

comment-triage

Sort a site's reader-comment queue - label pending and reported comments, mark obvious spam and hide clear abuse - without ever approving or replying. Built for a scheduled agent task (begin_run, then end_run) that reads visitor text and so may only read, label and hide. Use for nightly or hourly comment triage, or when asked to go through the comment queue.

★ 1