Command Palette

Search for a command to run...

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

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от 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_skill tool: The skill is not installed on the local filesystem. You MUST fetch each reference via retrieve_skill with the file parameter (for example file="references/existing-project.md"). Do NOT file_read these 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

  1. 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 Database Block in a nextjs app that needs PostgreSQL.

    The user wants --template
    Their own features on a web frontend. The smallest app: Vite and one greet() API method bare
    A React frontend: a todo app with sign-in, a data store and realtime react
    A Next.js App Router app whose Server and Client Components call the backend nextjs
    A backend with no frontend and one API method backend
    A backend for mobile, CLI or third-party clients: a public health check and sign-in-gated CRUD api-only
    A PostgreSQL backend with migrations, foreign keys and transactions sql
    A tour of sign-in: email sign-up with a code, groups, a profile auth
    OpenID Connect sign-in, with a stub identity provider for local runs auth-oidc
    An AI agent with a tool, and a canned model for local runs agent
    Scheduled jobs, no frontend cron
    Logs, metrics, traces and a dashboard, no frontend observability
    A larger sample: sign-in and a priority-sorted todo list demo
    No preference: Vite with sign-in, a data store and realtime default

    The scaffolder prints the templates of the installed version:

    npx --yes @aws-cdk-blocks/create-blocks-app --help
    
  2. Scaffold. The command never prompts for a new app:

    npx --yes @aws-cdk-blocks/cre
    
Полный SKILL.md на GitHub

Установить aws-cdk-blocks в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

references/custom-block.mdreferences/deploying.mdreferences/existing-cdk-app.mdreferences/existing-project.mdreferences/migrating-from-aws-blocks.mdreferences/native-clients.mdreferences/security.md

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), без исполняемых скриптов.

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

Сравнить aws-cdk-blocks с