Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

website-building

БесплатноБез исполняемых скриптовНе проверен

Build and host your company website on your own domain with Cargo: a statically exported Next.js app, one defineApp with its www hostname, and a defineDomain…

cargo-aiот cargo-ai454 установки в других каталогах

Об этом скилле

Website building

The outcome

The company website lives in the company's repository, is hosted by Cargo, and answers on the company's own name. Every change, from a typo to a new page, is a pull request someone reviewed before it deploys. Your coding agent writes those pull requests; nothing is deployed to do it.

Three resources make the site:

  1. An app. defineApp uploads the Next.js package in infra/apps/website/, and Cargo runs its build: every page is exported as HTML with its own URL, title and description. The starter has home and about pages, robots.txt, a sitemap, a theme toggle and shadcn/ui on Tailwind, with the copy in site.json.
  2. A hostname on the app. domains: ["www.example.com"]. Cargo's own *.app.getcargo.run URL is noindex; the company's www host is what search engines index.
  3. A domain, when Cargo holds its DNS. defineDomain publishes the app's records and forwards the apex to www. When the DNS lives at another provider, the file is deleted and the same records are added there.

Two things worth knowing before you start. dnsRecords is merged into the live zone: the deploy adds the app's records and leaves mail and everything else it did not write where it is, but the www CNAME takes over whatever www pointed to, and redirectUrl replaces the apex forward. The plan prints that diff record by record. And a hostname serves nothing until its _cargo-verify TXT resolves, so a successful deploy is not yet a live site.

Example

Build our company website on Cargo from our brand guide and serve it on www.fabrikam.example. Our DNS is hosted elsewhere.

Illustrative output, fictional records:

PR #12  Website: home, about and pricing from the brand guide        merged after review

app:website   deployed
  https://website-1a2b3c4d.app.getcargo.run/pricing/    Pricing | Fabrikam
  www.fabrikam.example                                  pending: _cargo-verify not resolved

DNS is hosted elsewhere, so infra/domains/website.ts was deleted. Add at the provider:
  TXT    _cargo-verify.www   cargo-verify=9c1e4a…
  CNAME  _3f2a91.www         _7b0c44.acm-validations.aws
  CNAME  www                 d1x2y3z4.cloudfront.net
  apex   fabrikam.example  → https://www.fabrikam.example   (provider redirect)

Once the TXT resolves, www.fabrikam.example serves the reviewed pages with their own canonical URLs, and the next change to the site is another pull request.

Put it in your project

This folder is a worked example: real project resources written for some other company. The job is to end up with the code your company would have written, in your project, and an agent does the adapting. If the cargo-project skill is in your session it carries the long form of this, including CI that plans every pull request and deploys on merge; if not, this is enough.

  1. Install it: the CLI does the copy. From inside the project (the folder holding cargo.json), cargo-ai project add cookbook/website-building writes this example to infra/website-building/ and this procedure to .claude/skills/website-building/. No project yet? cargo-ai project init <dir> --cookbook website-building && cd <dir> && npm install does both; this folder never ships a shell. If you are reading this from the project's .claude/skills/, the install already happened; start at step 2.
  2. Reconcile it with what is already declared. An app or website domain the project already has is rewired to, not duplicated. A domain another skill already declares (for example agentic-engagement's sending domain) is one resource: add website.domainRecords and the redirect to that defineDomain and delete this one.
  3. Brief, then build. Follow build and review: agree the brief, capture the design (design-system capture), edit infra/website-building/apps/website/, and build and preview it locally.
  4. Choose the DNS path. Follow domain: which domain, who holds its DNS, what already answers on it, adopt or purchase.
  5. Adapt. Work the sections below in order: What should not change is what you argue back about (say what breaks, then do it if they still want it); What you can change is what you offer unprompted; What you will be asked is the floor, and you derive before you ask. Record what you changed and why under a ## Decisions section in your copy of this file.
  6. Plan, then stop. node --import tsx evals/contract.mjs from this skill's folder, then npm run check && cargo-ai project plan from the project root, show the diff, and deploy only on an explicit yes: cargo-ai project deploy. The first deploy's plan cannot list the app's records, so when www already answers, deploy in two steps (domain). A + create domain:… line is a non-
Полный SKILL.md на ClawHub

Установить website-building в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл website-building?

Build and host your company website on your own domain with Cargo: a statically exported Next.js app, one defineApp with its www hostname, and a defineDomain that publishes the records and forwards the apex, changed only through reviewed pull requests. Triggers: "build our company website", "recreate our website on Cargo", "host our marketing site on Cargo", "put our website on our own domain", "capture our design system for the website", "keep our website updated through pull requests". Cargo project, defineApp, defineDomain, domainRecords, Next.js, Tailwind, shadcn/ui. Skip when: you are researching another company's website, which is research-account; or you want a generic hosted app, dashboard or webhook, which is cargo-hosting in the Cargo skill pack.

Как установить скилл website-building?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл website-building запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить website-building с