aws-cdk-blocks
БесплатноБез исполняемых скриптовНе проверенGuides building or extending apps with AWS CDK Blocks (formerly AWS Blocks), an Infrastructure-from-Code framework on CDK. Each Block packages an application…
от aws★ 3 696 звёзд на GitHubОб этом скилле
AWS CDK Blocks
Overview
AWS CDK Blocks (formerly AWS Blocks) is an open-source TypeScript framework that extends the AWS CDK. A Block is an npm package for one application capability, such as a data store, sign-in, file storage, realtime channels, background and scheduled jobs, email or an AI agent. It holds the CDK construct for the infrastructure, the code the app calls, and a local implementation. An app's backend is one cdk-blocks/ folder. It runs on the developer's machine without an AWS account, and the same code deploys to the developer's own AWS account as CloudFormation stacks.
CDK Blocks fits a TypeScript web app, API or mobile backend whose infrastructure should be CDK code in the developer's account. This skill covers the start of a project. Inside an app that already uses CDK Blocks, the app's own AGENTS.md and docs task describe the installed version and take precedence over this skill.
Local development needs no AWS credentials. Deploying does: the AWS MCP server is recommended for AWS API calls (sandboxed execution and audit logging) but is not required; every step here runs with npm and the AWS CLI.
Guardrail — where this skill's own files live (MCP vs local install)
This skill ships only documents (references/*.md), no scripts. It can be loaded two ways, and they resolve those files from different places:
- Loaded through the AWS MCP
retrieve_skilltool: The skill is not installed on the local filesystem. You MUST fetch each reference viaretrieve_skillwith thefileparameter (for examplefile="references/existing-project.md"). Do NOTfile_readthese paths locally: they do not exist on disk. - Installed locally (for example
.kiro/skills/aws-cdk-blocks/or~/.claude/skills/aws-cdk-blocks/): Read the references from the local skill directory using relative paths.
This distinction applies only to the skill's own packaged files. User data and session artifacts are always read from and written to the user's working directory. Never fetch or write customer data through retrieve_skill.
Where to start
Take the first row that matches the request or the project.
| The request or the project | Go to |
|---|---|
| A deploy to AWS | references/deploying.md |
| A production launch or a security review | references/security.md |
| An iOS, Android, desktop or Flutter client for the backend | references/native-clients.md |
| An AWS service that no Block covers, or a Block a team wants to own | references/custom-block.md |
The project has a cdk-blocks/ folder |
Work in an existing app. Never scaffold again. |
The project is an AWS CDK app with its own stacks (cdk.json, cdk deploy) |
references/existing-cdk-app.md |
The project has a package.json and no CDK Blocks: Vite, Next.js, an Express API, Amplify Gen 2 |
references/existing-project.md |
| An empty directory, or a request for a new app | Create an app |
Apps created before the rename have an aws-blocks/ folder and @aws-blocks/* packages: treat them as existing apps and keep their names, or move them with references/migrating-from-aws-blocks.md when the user asks.
Create an app
Choose a template. A template sets the starting frontend and sample code only: every Block can be added to every template later, for example the
DatabaseBlock in anextjsapp that needs PostgreSQL.The user wants --templateTheir own features on a web frontend. The smallest app: Vite and one greet()API methodbareA React frontend: a todo app with sign-in, a data store and realtime reactA Next.js App Router app whose Server and Client Components call the backend nextjsA backend with no frontend and one API method backendA backend for mobile, CLI or third-party clients: a public health check and sign-in-gated CRUD api-onlyA PostgreSQL backend with migrations, foreign keys and transactions sqlA tour of sign-in: email sign-up with a code, groups, a profile authOpenID Connect sign-in, with a stub identity provider for local runs auth-oidcAn AI agent with a tool, and a canned model for local runs agentScheduled jobs, no frontend cronLogs, metrics, traces and a dashboard, no frontend observabilityA larger sample: sign-in and a priority-sorted todo list demoNo preference: Vite with sign-in, a data store and realtime defaultThe scaffolder prints the templates of the installed version:
npx --yes @aws-cdk-blocks/create-blocks-app --helpScaffold. The command never prompts for a new app:
npx --yes @aws-cdk-blocks/cre
Установить aws-cdk-blocks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл aws-cdk-blocks?
Guides building or extending apps with AWS CDK Blocks (formerly AWS Blocks), an Infrastructure-from-Code framework on CDK. Each Block packages an application capability with its infrastructure, the app code that connects to it, and a local implementation, deployed into the developer's own AWS account. Triggers when the user mentions CDK Blocks, AWS Blocks, or the aws-cdk-blocks, @aws-cdk-blocks or @aws-blocks packages, or adding capabilities such as agents, sign-in, a database, background jobs or file uploads to an app using CDK. Does not apply to requests that name neither Blocks nor CDK. Covers starter templates, composing Blocks into app code (KVStore, Agents, Email, Database, Auth, Realtime, AsyncJob, FileBucket, etc.), running locally, deploying to AWS, Swift, Kotlin and Dart clients, and custom Blocks.
Как установить скилл aws-cdk-blocks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aws-cdk-blocks запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic