К основному содержанию
скилл CX Codex

cloudflare-app-bootstrap — скилл для Claude Code

Скилл cloudflare-app-bootstrap для Claude Code связывает привязки, секреты и начальные данные Cloudflare Workers для проверки локальных запросов.

Apache-2.0 8 000 установок ★ 3 424 обновлён 2026-10-19

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add cloudflare/skills --skill cloudflare-app-bootstrap -a claude-code
Открыть на GitHub

Что делает cloudflare-app-bootstrap

Скилл настраивает приложение Cloudflare Workers до рабочего состояния на локальной машине без замены существующей структуры проекта. Агент подключает необходимые ресурсы, сохраняет менеджер пакетов и фреймворк, а также применяет миграции базы данных D1 или настройки Durable Objects. Для работы требуются установленные инструменты проекта и конфигурационные файлы Cloudflare.

Перед запуском локальной среды скилл проверяет зависимости и генерирует типы с помощью wrangler types или cf workers types. После настройки агент проверяет работу через реальный запрос к маршруту или компоненту интерфейса. Конфиденциальные учетные данные изолируются от публичных файлов конфигурации.

Какие задачи решает

  • подключить привязки и секреты Cloudflare Workers
  • запустить локальную разработку приложения
  • применить миграции базы данных D1
  • сгенерировать типы для TypeScript

Примеры запросов агенту

  • Настрой локальное окружение для Cloudflare Workers в проекте
  • Подключи привязки и секреты для текущего приложения Cloudflare
  • Проверь рабочий локальный запрос для приложения Workers

Как установить cloudflare-app-bootstrap

1Через Skills CLI (Vercel)

npx skills add cloudflare/skills --skill cloudflare-app-bootstrap -a claude-code

2Вручную: положить файлы

~/.claude/skills/cloudflare-app-bootstrap/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/cloudflare-app-bootstrap/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о cloudflare-app-bootstrap

Как установить cloudflare-app-bootstrap в Claude Code?

Выполните команду npx skills add cloudflare/skills --skill cloudflare-app-bootstrap -a claude-code, а затем используйте путь ~/.claude/skills/cloudflare-app-bootstrap/SKILL.md.

Что делает cloudflare-app-bootstrap?

Скилл переводит проект Cloudflare Workers в рабочее состояние локального запроса, соединяя привязки, секреты и начальные данные.

Что нужно для работы cloudflare-app-bootstrap?

Для работы нужны существующий проект Cloudflare Workers, настроенный пакетный менеджер и файлы конфигурации проекта.

Исходный текст

SKILL.md · Apache-2.0
---
name: cloudflare-app-bootstrap
description: Get a Cloudflare Workers app to a working local request by connecting its bindings, secrets, and initial data, then verifying real application behavior. Use for app setup or onboarding after the project exists; use frameworks-on-cloudflare or cf-cli to create or configure the project, and wrangler or cf-cli for isolated commands.
---

# Cloudflare App Bootstrap

Take the project from its current state to a working local request that exercises the requested application behavior. Preserve the user's framework, package manager, CLI, and existing services. Read the relevant current documentation before choosing configuration or commands, and check support against installed versions with local CLI help and schemas.

## Start from the project

Inspect the app directory, lockfile, scripts, framework and adapter versions, Cloudflare configuration (`cloudflare.config.ts`, or a Wrangler configuration file), and existing setup instructions. In a monorepo, identify the application root before installing or generating files. Install from the existing lockfile and reuse the project's dependency and configuration conventions.

If the project has no Cloudflare configuration yet, set it up first with the `frameworks-on-cloudflare` skill for a framework app, or the `cf-cli` skill otherwise. Identify the source of any framework-generated configuration and edit that source. Do not replace a working app with a starter to resolve a configuration problem.

## Connect only the resources the app needs

Identify each binding used by application code and map it to an existing resource or a new local resource. Keep names consistent across code and configuration. Keep existing resource identifiers: a binding without one is treated as a new resource to provision on the next deploy.

Read [automatic provisioning](https://developers.cloudflare.com/workers/wrangler/configuration/index.md#automatic-provisioning) before manually creating supported resources, and check which resource types it covers. Provisioning differs by CLI:

- **Wrangler:** `wrangler dev` creates local resources that persist between runs, and `wrangler deploy` creates remote resources and writes their identifiers back to the configuration file.
- **`cf`:** `cf deploy` provisions missing resources but does not write identifiers back to `cloudflare.config.ts` ([Develop, build, and deploy](https://developers.cloudflare.com/cf/projects/index.md)). Record the identifiers it reports in the configuration.

Establish the account, environment, and resource before any required remote creation.

Choose the dev command from the app's scripts and the [local development guide](https://developers.cloudflare.com/workers/local-development/index.md). A local Worker can use remote bindings: identify which resources are simulated and which calls reach real services before exercising writes. Use the framework's supported Workers dev integration; a frontend-only dev server does not establish that server bindings work.

For data-backed features, initialize only the state needed for the first meaningful request. Preserve existing migration tooling. For D1, follow [migrations](https://developers.cloudflare.com/d1/reference/migrations/index.md) and pass `--local` or `--remote` to [`d1 migrations apply`](https://developers.cloudflare.com/workers/wrangler/commands/d1/index.md#d1-migrations-apply) explicitly. `--local` initializes only the simulated database; apply remote migrations only when the requested setup includes that database change. For Durable Objects, check the current [class migration configuration](https://developers.cloudflare.com/durable-objects/reference/durable-objects-migrations/index.md) rather than treating it as a D1 SQL migration.

## Resolve configuration and secrets

Classify required values by consumer: build process, browser bundle, or Worker runtime. Keep private runtime credentials out of public client configuration. Use [Workers secrets](https://developers.cloudflare.com/workers/configuration/secrets/index.md) for runtime secrets, and configure values the build needs in its [build environment](https://developers.cloudflare.com/workers/ci-cd/builds/configuration/index.md#environment-variables).

In Wrangler and Vite projects, follow [local secret loading](https://developers.cloudflare.com/workers/local-development/environment-variables/index.md) for file names, environment precedence, and required-secret declarations. In a `cf` project, find the equivalent with `cf cli search` rather than assuming the Wrangler behavior. Reuse the project's chosen local secret file, make sure files with real values are ignored by Git, and provide names and safe placeholders for missing values. Local secrets are not installed on a deployed Worker. Authenticate only when the selected workflow needs account access; do not make login or deployment a blanket prerequisite for local setup.

## Verify the first application request

After changing configuration, regenerate [binding and runtime types](https://developers.cloudflare.com/workers/languages/typescript/index.md) with the project's script: `wrangler types` in a Wrangler project, or `cf workers types` in a `cf` project. Do not hand-edit generated declarations. Run the relevant existing build and type checks.

Start the actual development workflow and exercise a representative route or UI action, including its binding access when applicable. Check the response and the intended state change, not just that a server started. For missing credentials or unsupported local services, report exactly what remains unverified instead of claiming the app works.

Leave reproducible install, initialization, and dev commands in the project's setup documentation. Report the tested URL or action, which resources are local or remote, required values still missing, and any remaining remote setup. Continue to deployment only when it is part of the user's task.

## Skill feedback

If the user reports that this skill gave incorrect or outdated guidance, or is missing information, read [references/skill-feedback.md](references/skill-feedback.md).

© cloudflare · Apache-2.0 · cloudflare/skills

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

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
cloudflare-deploy github.com/openai/skills Скилл cloudflare-deploy для Claude Code, который берёт на себя деплой приложений и инфраструктуры на Cloudflare через Workers, Pages и связанные сервисы. Активируется, когда нужно опубликовать, захостить или настроить проект на платформе. CX Codex +1 ★ 7 191звёзд репо cloudflare sanjeed5 Задаёт стандарты разработки под Cloudflare Workers и Pages в Cursor. Помогает писать stateless-код для edge-рантайма, подключать базы данных и следить за размером бандла. CX Codex +1 ★ 3 589звёзд репо cloudflare-d1 secondsky Настраивает базу данных Cloudflare D1, генерацию миграций и запросы через Hono или Worker API. Помогает избежать ошибок D1_ERROR и лимитов SQLite на edge. CX Codex +1 424установок cloudflare-development Mindrally Скилл cloudflare-development для Claude Code с правилами разработки на edge-платформе Cloudflare: Workers, Pages, KV, D1, R2 и Durable Objects. Пишет код для воркеров и настраивает wrangler.toml. CX Codex +1 737установок cloudflare-workers devops-skills Помогает писать и деплоить edge-функции на Cloudflare Workers через Wrangler. Закрывает API, cron-задачи и middleware. CX Codex +1 352установок Cloudflare Worker taste f Промпт Cloudflare Worker taste для ChatGPT и Claude.ai, который задаёт инженерные стандарты разработки на Cloudflare Workers. Помогает соблюдать архитектурные принципы при написании кода, управлении секретами и деплое. GP ChatGPT ★ 178 201звёзд репо

Из того же набора23

Весь набор →
k2 Скилл k2 для Claude Code помогает настраивать и диагностировать Cloudflare K2 и K2 Streams. Он подключается к задачам по созданию потоков, записи и чтению событий. CX Codex +1 37 900установок basin Скилл для построения и отладки аналитических workflows в Cloudflare Basin. Помогает потокировать данные в R2 Iceberg-таблицы, управлять каталогами и выполнять распределённые SQL-запросы. CX Codex +1 37 800установок workers-profiling Скилл workers-profiling для анализа использования CPU и памяти в развёрнутых Cloudflare Workers и Durable Objects. Помогает найти узкие места в коде и предложить оптимизацию. CX Codex +1 30 100установок cf-cli Скилл cf-cli для Claude Code помогает агенту находить и запускать команды Cloudflare через cf и выбирать между cf и Wrangler. Из терминала он работает с Workers и ресурсами Cloudflare. CX Codex +1 29 100установок gateway-workers Скилл gateway-workers для разработки, отладки и ревью Cloudflare Workers, которые запускаются в Forward-действиях Gateway HTTP-политик. Помогает работать с GatewayMiddleware, типами контекста и продолжением запроса. CX Codex +1 25 500установок workers-development Скилл workers-development для Claude Code помогает запускать и отлаживать Cloudflare Workers локально и разбирать production-сбои. Включается по запросу о запуске или диагностике Worker. CX Codex +1 8 200установок frameworks-on-cloudflare Скилл frameworks-on-cloudflare для Claude Code помогает собирать и переносить веб-приложения на Cloudflare Workers. Включается, когда проект на Astro, SvelteKit, Nuxt или другом поддерживаемом фреймворке нацелен на Workers. CX Codex +1 8 100установок cloudflare Набор навыков и встроенный MCP-сервер для разработки под стек Cloudflare в Claude Code. Помогает настраивать Workers, Durable Objects, хранилища и правила безопасности. ★ 3 424звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой