/agent-builder-skills:cdkd-deployfrom agent-builder-skills
Manages AWS CDK deployments via the community CDKD CLI for development and test environments, handling deploy, diff, bootstrap, rollback, and state operations while preserving safe production boundaries.
Ships in agent-builder-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use CDKD for fast development and test iteration without treating it as a transparent replacement for CloudFormation. CDKD calls AWS APIs directly and stores its own state in S3.
cdkd deploy against an existing CloudFormation-managed stack as an implicit migration. Continue using cdk deploy, or discuss and explicitly approve cdkd import --migrate-from-cloudformation first.cdkd export without explicit approval. Import and export change the system of record.--no-wait by default. Use it only when no subsequent step requires the resources to be ready, and verify readiness separately.CDKD changes quickly. Before installing, upgrading, migrating state, or relying on a flag:
Read the current project README and relevant reference page.
Query npm registry metadata for the published version and Node.js requirement:
npm view @go-to-k/cdkd version engines --json
Compare the installed version with the registry version:
cdkd --version
Do not auto-upgrade a working environment during an unrelated deployment. Pin an exact CDKD version in shared automation and CI.
Use these primary sources:
Read repository instructions, cdk.json, package scripts, stack definitions, and deployment runbooks. Establish:
Before any AWS mutation, verify the effective identity:
aws sts get-caller-identity --profile <profile>
Pass the selected profile and region consistently. Never infer production safety from a stack name alone.
Verify Node.js 20 or newer, the CDK app's normal synth command, and the installed CDKD version. If CDKD is absent, propose the official installation command and get approval before changing the user's global tool installation:
npm install --global @go-to-k/cdkd@<version>
Prefer an exact version when reproducibility matters.
CDKD uses its own bootstrap resources. Before the first cdkd bootstrap, show the resolved account and region and explain that the command creates CDKD state and asset storage in AWS. Do not replace or remove an existing CDK bootstrap stack merely because CDKD does not require it.
Use the app's existing dependency installation and synth workflow first. Then run CDKD's non-mutating checks, limiting stack-aware commands to an explicit stack:
cdkd synth
cdkd diff <stack>
cdkd deploy <stack> --dry-run
cdkd synth synthesizes the whole app and does not accept a stack selector. Limit the following diff, dry-run, and deploy commands to the intended stack.
Review the complete diff for replacements, deletions, IAM changes, security-group changes, and stateful resources. Confirm every resource type is supported by either a dedicated provider or the Cloud Control API fallback. Stop on unsupported resources or properties instead of adding broad compatibility bypasses.
If a stack with the same identity is already managed by CloudFormation and has not been imported into CDKD state, do not deploy it with CDKD.
Deploy named stacks instead of using --all unless the requested scope is genuinely every stack:
cdkd deploy <stack>
Use default wait behavior for ordinary development deployments. Choose deliberately when readiness semantics matter:
--full-wait when a smoke test or downstream step needs CloudFormation-like completion--no-wait only when asynchronous completion is acceptable and a separate readiness check followsDo not add --yes, --force, --no-rollback, unsupported-property bypasses, or concurrency overrides merely to make a failing command continue.
Treat only exit code 0 as full success. Exit code 2 is partial failure and requires investigation. Verify:
aws cloudformation describe-stacks contains them--no-waitUseful inspection commands include:
cdkd state info
cdkd state show <stack>
cdkd events <stack>
Report the CDKD version, AWS account and region, stack, wait mode, and verification performed.
CDKD rolls back failed deployments by default. On failure:
cdkd events <stack>.cdkd state show <stack> and any rollback journal before retrying.cdkd rollback, or destroy the failed development stack.2 as incomplete even if most resources were deleted or updated.Use cdkd force-unlock only after proving that no deployment is still active. Never delete a lock merely because a command is slow.
Before destroy, state destroy, orphan, import, export, rollback options that may delete resources, or any --force operation:
Prefer recoverable operations and preserve evidence needed to reconcile partial failures.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub minorun365/agent-builder-skills --plugin agent-builder-skills8 skills in this plugin
/kb-agentcore-cdkAgentCore CDK・デプロイ・ランタイム統合のナレッジ。Runtime作成、JWT認証、SSE、Dockerfile、コンテナ管理、Browser Tool等/kb-agentcore-identityAgentCore Identity(アウトバウンド認証)のナレッジ。3LO/M2M/デコレータ分離/callback等/kb-agentcore-observabilityAgentCore の Observability ナレッジ。OpenTelemetry 必須4点セット(OTEL_EXPORTER設定・StrandsTelemetry・traceable デコレータ・Langfuse連携)、EMF メトリクス、Jaeger/コンソールエクスポーターでのトレース確認、トレースが出ない・繋がらない場合のデバッグ手順等/kb-agent-webapp-cdkAIエージェントのWebアプリを「AWS CDK(デプロイはCDKD)+ S3 + CloudFront + AgentCore Runtime」で組むときの全体構成。画面は S3 から静的に配信し、サーバー側の処理が要るときだけ Lambda Web Adapter(または Lambda Web Functions)を足す判断基準。スタックの分け方、BucketDeployment での配置とキャッシュ指定、SPA の振り分け、runtime-config.json で環境値を渡す型、Lambda を足すときの Function URL と CloudFront OAC の権限、フロントから AgentCore を直接呼ぶ配線、ローカル開発、デプロイ前後の検証。新しくエージェントのWebアプリを作るとき、Amplify Hosting 以外の配信基盤を選ぶとき、画面の配信に Lambda が要るか迷ったとき、CloudFront 経由の Function URL が 403 になるときに読む。/kb-demo-app-authデモアプリ・Webアプリの Cognito 認証のおすすめ構成。「Googleで続ける」か「メール(パスキーかメールのワンタイムコード。パスワードなし)」の2経路をCDKとフロントでどう組むか、パスキーが動かない設定の罠、Google client secret の置き場、ログイン画面のUX規約、Googleの同意画面に出るアプリ名の扱い。新しくデモアプリを作るとき、既存アプリの認証を作り直すとき、パスキーやGoogleログインが動かないときに読む。/kb-frontend-sseSSEストリーミング処理のナレッジ。基本パターン/タイムアウト/リトライ/モック/PDF生成等Other plugins' skills for the same job