Loading...
Loading...
Use when a CloudCannon site uses Bookshop — `*.bookshop.yml` files, `@bookshop/*` packages, `_bookshop_name` keys, `bookshop:live`, or `partial "bookshop"` calls or `{% bookshop %}` tags. Covers how Bookshop works, maintaining a site that stays on it, and migrating it to editable regions.
npx skill4agent add cloudcannon/agent-skills cloudcannon-bookshopcloudcannon-visual-editingcloudcannon-visual-editingcloudcannon-configuration| Signal | Where |
|---|---|
| |
| |
| |
| |
| Front matter, usually under |
| The SSG's Bookshop plugin, module or integration, and its template calls | Site config and layouts — see the SSG's |
| SSG | Bookshop engine | Path | Docs |
|---|---|---|---|
| Astro | | Migrate — migrating-to-editable-regions.md | astro/overview.md |
| Hugo | | Migrate — migrating-to-editable-regions.md | hugo/overview.md |
| Eleventy | | Migrate — migrating-to-editable-regions.md | eleventy/overview.md |
| Jekyll | | Stay on Bookshop — maintaining.md. Editable regions have no Jekyll component support yet | — |
| The user wants… | Do |
|---|---|
| A component added or changed, nothing more | maintaining.md — don't start a migration unasked |
| Off Bookshop, on an SSG marked Migrate | migrating-to-editable-regions.md |
| Off Bookshop, on an SSG marked Stay | Explain it isn't possible yet; offer maintaining.md |
The site moved onto CloudCannon ( | Migrate, inside that journey's phases — the migration file maps the steps |
| Unclear | Ask. A migration rewrites every component and page layout |
| File | Covers |
|---|---|
| SKILL.md (this file) | Detection, SSG support, routing |
| bookshop.md | How Bookshop works — library layout, |
| maintaining.md | Changing a site that stays on Bookshop |
| migrating-to-editable-regions.md | The step order, structures from |
| troubleshooting.md | Symptom → cause → fix, on Bookshop sites and partway through a migration |
overview.md| SSG | Doc | Purpose |
|---|---|---|
| Astro | astro/overview.md | Start here for Astro |
| Hugo | hugo/overview.md | Start here for Hugo |
| Eleventy | eleventy/overview.md | Start here for Eleventy |
| Skill | When to read |
|---|---|
| cloudcannon-visual-editing | During a migration — the regions, the census and the completeness checklist |
| cloudcannon-configuration | Writing and validating the |
| cloudcannon-dev-server | Letting the user try the migrated site in a local editor |
| Excuse | Reality |
|---|---|
| "It's a Bookshop site, so I'll migrate it" | Only if the user asked and the SSG is marked Migrate. A component change on a Bookshop site is a Bookshop change. |
| "This new component can be an editable-regions one" | On a site staying on Bookshop, new components are Bookshop components — maintaining.md § Adding a component. |