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
- 参考文档evals/empty-site.json287 B
- 参考文档references/content-guidelines.md301 B
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
get_siteto learn the default locale, existing pages and the theme. Never create a page whose path already exists.- Ask (or infer from the brief) three things: site purpose, audience, tone. Keep headings in sentence case.
create_pagefor/with sections:hero(heading = site name or value proposition, subheading = one sentence) andcontentList(collectionposts, limit 10, newest).create_pagefor/aboutwith onerichTextmarkdown section of 120–200 words.- Set
seo.titleandseo.descriptionon both pages (≤ 60 and ≤ 155 characters). preview_pagefor each page and read the HTML back; fix anything empty or truncated.- Finish with
create_snapshotlabelled "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.mdfor voice and structure.
04 同仓库更多 Skills
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.
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.
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.
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.
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.
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.