Loading...
Loading...
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
npx skill4agent add cloudcannon/agent-skills cloudcannon-configurationcloudcannon.config.yml.cloudcannon/initial-site-settings.jsoncloudcannon.config.yml.cloudcannon/initial-site-settings.jsoncloudcannon-visual-editingcloudcannon-snippetsmigrate-to-cloudcannoncloudcannon-climkdir -p .cloudcannon/migration
curl -sL "https://github.com/cloudcannon/configuration-types/releases/latest/download/cloudcannon-config.latest.schema.json" \
-o .cloudcannon/migration/cloudcannon-config.latest.schema.json
curl -sL "https://github.com/cloudcannon/configuration-types/releases/latest/download/cloudcannon-initial-site-settings.schema.json" \
-o .cloudcannon/migration/cloudcannon-initial-site-settings.schema.json.gitignoreyaml-language-servercloudcannon.config.{yml,yaml,json,js,cjs,mjs}.ymlconfigure generate--dry-run--dry-runcloudcannon.config.yml| Wrong | Correct |
|---|---|
| |
| Omit |
| |
| |
| |
| |
| |
| The full path, |
| A top-level IANA name such as |
| |
| No such key: the build tool sets the output directory. |
A Material Symbols name outside the schema's enum, such as | A name from the enum, such as |
_inputsnpx @cloudcannon/cli validate| File | Read when |
|---|---|
| configuration.md | Always, first, when writing config — the steps and the shared verification checklist. |
| json-schemas.md | Before writing any key, to check it exists in the schema. |
| cloudcannon-cli-guide.md | Generating the baseline step by step, or validating; the rest of the CLI is |
| schemas.md | Before adding a collection or writing its |
| inputs.md | Before writing |
| structures.md | Any field holds an array or an object, since editors can't add items without a structure. |
| collection-urls.md | Any collection produces pages, or a page fails to load in the Visual Editor. |
| build-commands.md | The build has generators or post-build steps. |
| configuration-gotchas.md | Looking up a cross-SSG pitfall while configuring. |
| troubleshooting.md | Configuration is already wrong and you're working from a symptom. |
overview.md| The site uses | Start at |
|---|---|
| Astro | astro/overview.md |
| Hugo | hugo/overview.md |
| Eleventy | eleventy/overview.md |
| Skill | Read when |
|---|---|
| make-site-multilingual | Configuring a multilingual site: locale datasets, per-locale collections and locale-prefixed URLs. |
| cloudcannon-dev-server | The user wants to open the configured site in CloudCannon and try the collections and inputs. |