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.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/cloudcannon/agent-skills --skill cloudcannon-bookshop

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

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.
同じリポジトリから

関連する Skills

すべての Skills
cloudcannon
コミュニティ

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.

1時間の導入数
7
GitHub Stars
9
更新日
10月28日
cloudcannon
コミュニティ

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.

1時間の導入数
7
GitHub Stars
9
更新日
10月28日
cloudcannon
コミュニティ

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

1時間の導入数
7
GitHub Stars
9
更新日
10月28日
cloudcannon
コミュニティ

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.

1時間の導入数
7
GitHub Stars
9
更新日
10月28日