cloudcannon/agent-skills

cloudcannon-bookshop

Use when a CloudCannon site uses Bookshop — .bookshop.yml files, @bookshop/ packages, bookshopname keys, bookshop:live, or partial "bookshop" calls or {% bookshop %} tags.

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/cloudcannon/agent-skills --skill cloudcannon-bookshop

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

CloudCannon Bookshop

Bookshop is CloudCannon's earlier component system: a component library, a build step that generates the editor's structures, and a live-editing engine that re-renders components in the Visual Editor. Editable regions replace it. This skill covers reading a Bookshop site, keeping one running, and moving it off Bookshop.

When to use

  • The site has any signal in § Detecting Bookshop
  • Adding or changing a component on a Bookshop site
  • Migrating a Bookshop site to editable regions
  • Bookshop live editing, structures or builds are misbehaving

When not to use

Detecting Bookshop

Any one signal means the site uses Bookshop.

SignalWhere
bookshop/bookshop.config.{js,cjs}src/ (Astro) or component-library/ (Hugo, Eleventy, Jekyll)
*.bookshop.{yml,yaml,toml,json,js,cjs} beside each componentcomponent-library/components/ or src/components/
@bookshop/* packagespackage.json, in dependencies or devDependencies
npx @bookshop/generate.cloudcannon/postbuild
_bookshop_name keysFront matter, usually under content_blocks; sometimes component code too
The SSG's Bookshop plugin, module or integration, and its template callsSite config and layouts — see the SSG's bookshop.md

SSG support

Migrate when editable regions can re-render the SSG's components. Otherwise the site stays on Bookshop.

SSGBookshop enginePathDocs
Astro@bookshop/astro-engineMigrate — migrating-to-editable-regions.mdastro/overview.md
Hugo@bookshop/hugo-engineMigrate — migrating-to-editable-regions.mdhugo/overview.md
Eleventy@bookshop/eleventy-engineMigrate — migrating-to-editable-regions.mdeleventy/overview.md
Jekyll@bookshop/jekyll-engineStay on Bookshop — maintaining.md. Editable regions have no Jekyll component support yet—

Maintain or migrate?

The user wants…Do
A component added or changed, nothing moremaintaining.md — don't start a migration unasked
Off Bookshop, on an SSG marked Migratemigrating-to-editable-regions.md
Off Bookshop, on an SSG marked StayExplain it isn't possible yet; offer maintaining.md
The site moved onto CloudCannon (migrate-to-cloudcannon)Migrate, inside that journey's phases — the migration file maps the steps
UnclearAsk. A migration rewrites every component and page layout

Contents

FileCovers
SKILL.md (this file)Detection, SSG support, routing
bookshop.mdHow Bookshop works — library layout, *.bookshop.yml, @bookshop/generate, live editing, bindings
maintaining.mdChanging a site that stays on Bookshop
migrating-to-editable-regions.mdThe step order, structures from *.bookshop.yml, the _bookshop_name rename, removing Bookshop
troubleshooting.mdSymptom → cause → fix, on Bookshop sites and partway through a migration

SSG-specific:

Enter through the SSG's overview.md; it gives the reading order for that SSG's files.

SSGDocPurpose
Astroastro/overview.mdStart here for Astro
Hugohugo/overview.mdStart here for Hugo
Eleventyeleventy/overview.mdStart here for Eleventy

Other skills:

SkillWhen to read
cloudcannon-visual-editingDuring a migration — the regions, the census and the completeness checklist
cloudcannon-configurationWriting and validating the _structures that replace generated ones
cloudcannon-dev-serverLetting the user try the migrated site in a local editor

Common mistakes

ExcuseReality
"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.
from this repository

More skills

All skills
cloudcannon
Community

brainstorming

Structured design dialogue before CloudCannon work that has more than one sensible answer — a migration's editability tradeoffs, how to model a collection or page builder, restructuring content or config, or an ambiguous "make this work with CloudCannon". Explores intent and constraints, then presents a design for approval before implementation. Not for single well-defined tasks, clear bug fixes, or a detailed spec.

1h installs
7
GitHub stars
9
Updated
Oct 28
cloudcannon
Community

cloudcannon-cli

Use when running the CloudCannon CLI — logging in, listing or creating sites, reading and writing files on a hosted site, triggering and inspecting builds, changing a site's build configuration, reading form submissions, or finding out which command and flags exist for a task.

1h installs
7
GitHub stars
9
Updated
Oct 28
cloudcannon
Community

cloudcannon-configuration

Use when configuring a site for CloudCannon for any of the following. Download the JSON schemas before writing any configuration (see the top of SKILL.md). - Setting up cloudcannon.config.yml or .cloudcannon/initial-site-settings.json - Generating a baseline with the CloudCannon CLI - Adding or modifying Collections, Inputs, Structures, or Select Data - Setting up Structures for Array and Object Inputs - Configuring Collection URLs - Troubleshooting missing fields or Input types

1h installs
7
GitHub stars
9
Updated
Oct 28
cloudcannon
Community

cloudcannon-dev-server

Use when running a CloudCannon site locally with cloudcannon dev — starting the local editing loop so the user can edit in the CloudCannon editor and see the site rebuild, choosing the build command per SSG, and reading the /api surface the server exposes.

1h installs
7
GitHub stars
9
Updated
Oct 28