Communitygithub.com

AWS CDK ビルダー

TypeScript の L2/L3 コンストラクトと Well-Architected フレームワークパターンを使用した AWS CDK インフラストラクチャビルダー。対象: AWS CDK、CDK construct、CDK stack、CDK pipeline、AWS IaC TypeScript、L2 construct、CDK パターン。非対象: Terraform IaC(terraform-module-builder を使用)、Kubernetes マニフェスト(kubernetes-manifest-generator を使用)、Serverless Framework(devops-automator を使用)。

AWS CDK ビルダー とは?

このスキルは、TypeScript を使用して AWS CDK でインフラストラクチャを構築するための専門的なアシスタントです。L2/L3 コンストラクトと Well-Architected フレームワークパターンを活用し、高品質でセキュアな AWS インフラストラクチャをコードとして管理できます。主な機能には、スタックの状態管理(ステートフルとステートレスの分離)、cdk-nag による準拠チェック、自己変更型 CDK Pipelines による CI/CD パイプラインの構築が含まれます。このスキルは Claude Code などの AI エージェントプラットフォームで動作し、ユーザーが CDK アプリを初期化したり、L2 コンストラクトを選択したり、アンチパターンを回避したりする際にガイダンスを提供します。品質チェックリストとアーキテクチャパターン例を含む詳細なベストプラクティスドキュメントが付属しており、開発者は AWS のベストプラクティスに沿ったインフラストラクチャを迅速に構築できます。Terraform や Kubernetes マニフェストなどの他の IaC ツールには適用されないため、適切なユースケースで使用することが重要です。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/curiositech/windags-skills/tree/HEAD/skills/aws-cdk-builder

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

AWS CDK ビルダー は何をしますか?

TypeScript を使用した CDK による AWS インフラストラクチャ構築のエキスパートです。L2/L3 コンストラクトと Well-Architected フレームワークパターンを活用します。

起動トリガー

対象: 「AWS CDK」「CDK construct」「CDK stack」「CDK pipeline」「AWS IaC TypeScript」「L2 construct」「CDK パターン」「cdk deploy」「cdk synth」

非対象: Terraform IaC → terraform-module-builder | Kubernetes マニフェスト → kubernetes-manifest-generator | Serverless Framework → devops-automator

クイックスタート

  1. CDK アプリを初期化 — npx cdk init app --language typescript
  2. スタック構造を設計 — ステートフル(データベース、バケット)とステートレス(コンピュート、API)を分離
  3. L2 コンストラクトを使用 — L1 CloudFormation リソースよりも高レベルコンストラクトを優先
  4. CDK Nag を追加 — Well-Architected 準拠チェックの自動化
  5. CDK Pipelines でデプロイ — 自己変更型 CI/CD パイプライン

コア機能

ドメインテクノロジー
CDK CoreCDK 2.180+、Constructs ライブラリ、CDK CLI、cdk.json
L2/L3 Constructsaws-lambda、aws-apigateway、aws-ecs-patterns、aws-rds
準拠cdk-nag(AwsSolutions、NIST、HIPAA、PCI パック)
CI/CDCDK Pipelines、CodePipeline、CodeBuild、自己変更
パターンECS Fargate パターン、API Gateway + Lambda、S3 + CloudFront

アーキテクチャパターン

スタック構成(ステートフル vs ステートレス)

// bin/app.ts — 環境分離を伴うトップレベルアプリ
const app = new cdk.App();

// ステートフルスタック — めったに変更せず、更新に注意
const dataStack = new DataStack(app, 'Data-Prod', {
  env: { account: '123456789', region: 'us-east-1' },
});

// ステートレススタック — 頻繁にデプロイ、破棄/再作成しても安全
const apiStack = new ApiStack(app, 'Api-Prod', {
  env: { account: '123456789', region: 'us-east-1' },
  database: dataStack.database,
  bucket: dataStack.bucket,
});

// パイプラインスタック — 自己変更型 CI/CD
new PipelineStack(app, 'Pipeline', {
  env: { account: '123456789', region: 'us-east-1' },
});

ベストプラクティスに沿った L2 コンストラクト

// lib/api-stack.ts
export class ApiStack extends cdk.Stack {
  constructor(scope: Construct, id: string, props: ApiStackProps) {
    super(scope, id, props);

    const handler = new lambda.Function(this, 'Handler', {
      runtime: lambda.Runtime.NODEJS_22_X,
      handler: 'index.handler',
      code: lambda.Code.fromAsset('lambda/'),
      memorySize: 256,
      timeout: cdk.Duration.seconds(30),
      tracing: lambda.Tracing.ACTIVE,       // X-Ray
      insightsVersion: lambda.LambdaInsightsVersion.VERSION_1_0_229_0,
      environment: {
        TABLE_NAME: props.table.tableName,
        POWERTOOLS_SERVICE_NAME: 'api',     // Lambda Powertools
      },
    });

    props.table.grantReadWriteData(handler); // 最小権限

    const api = new apigw.RestApi(this, 'Api', {
      deployOptions: {
        tracingEnabled: true,
        metricsEnabled: true,
        throttlingRateLimit: 1000,
        throttlingBurstLimit: 500,
      },
    });

    api.root.addResource('items').addMethod('GET',
      new apigw.LambdaIntegration(handler));
  }
}

CDK パイプライン(自己変更型)

ソース (GitHub) → 合成 (cdk synth) → 自己変更
    │                                      │
    ▼                                      ▼
パイプライン更新 ─── ステージングデプロイ ─── 手動承認 ─── 本番デプロイ
                        │                                      │
                    統合テスト                          スモークテスト

アンチパターン

  1. L1 コンストラクトの多用 — s3.Bucket の代わりに CfnBucket を使用。L2 コンストラクトはデフォルトでベストプラクティス(暗号化、ログ記録、アクセス制御)をエンコードします。
  2. モノリシックスタック — 200 以上のリソースを 1 つのスタックに詰め込むと、CloudFormation の制限に達し、デプロイが遅くなります。ステートフル/ステートレススタックに分割し、クロススタック参照を使用します。
  3. cdk-nag の欠如 — 準拠チェックなしでデプロイする。Aspects.of(app).add(new AwsSolutionsChecks()) を追加して、セキュリティ問題をデプロイ前に検出します。
  4. アカウント/リージョンのハードコーディング — コンストラクトコード内で account: '123456789' と記述する。移植性のために cdk.json コンテキストまたは cdk.Environment ルックアップを使用します。
  5. スナップショットテストなし — CDK が生成する CloudFormation テンプレートは予期せず変更される可能性があります。expect(template).toMatchSnapshot() テストを追加して意図しない変更を検出します。

品質チェックリスト

[ ] スタックの分離: ステートフル(データ) vs ステートレス(コンピュート)
[ ] L2/L3 コンストラクトの使用(生の CloudFormation L1 ではない)
[ ] cdk-nag を AwsSolutions パックで有効化
[ ] 全スタックのスナップショットテスト
[ ] 自己変更型 CI/CD のための CDK Pipelines
[ ] grant メソッド(grantRead、grantWrite)による最小権限 IAM
[ ] cdk synth が有効な CloudFormation を生成する
[ ] クロススタック参照にエクスポートされた出力を使用
[ ] 削除ポリシーの設定(本番データは RETAIN、開発は DESTROY)
[ ] コスト配分のために Aspects 経由でタグを適用
[ ] デプロイ前に必ず cdk diff を確認
[ ] Lambda 関数は可観測性のために Powertools を使用

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

curiositech/windags-skills

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

curiositech/windags-skills

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

curiositech/windags-skills

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

curiositech/windags-skills

Implement WCAG 2.2 AA/AAA compliance with automated testing, keyboard navigation, screen reader support, and focus management. Activate on: accessibility audit, WCAG compliance, keyboard navigation, screen reader, aria attributes, axe-core, focus trap. NOT for: design-level accessibility review (use design-accessibility-auditor), color contrast only (use css-in-js-architect).

curiositech/windags-skills

Time-blind friendly planning, executive function support, and daily structure for ADHD brains. Specializes in realistic time estimation, dopamine-aware task design, and building systems that actually work for neurodivergent minds.

curiositech/windags-skills

Designs digital experiences for ADHD brains using neuroscience research and UX principles. Expert in reducing cognitive load, time blindness solutions, dopamine-driven engagement, and compassionate design patterns. Activate on 'ADHD design', 'cognitive load', 'accessibility', 'neurodivergent UX', 'time blindness', 'dopamine-driven', 'executive function'. NOT for general accessibility (WCAG only), neurotypical UX design, or simple UI styling without ADHD context.

curiositech/windags-skills

>- Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

curiositech/windags-skills

Extend and modify the admin dashboard, developer portal, and operations console. Use when adding new admin tabs, metrics, monitoring features, or internal tools. Activates for dashboard development, analytics, user management, and internal tooling.

curiositech/windags-skills

Conversation patterns and interaction protocols for multi-agent systems. Covers request/response, pub/sub, blackboard, delegation chains, debate, critique, consensus, fan-out/fan-in, supervisor-worker, and peer negotiation. Deep analysis of AutoGen conversation patterns, CrewAI delegation, LangGraph state passing, and FIPA-ACL performatives. Teaches how to design what agents say to each other and in what order. Activate on: "agent conversation", "agent protocol", "multi-agent debate", "agent delegation", "supervisor worker pattern", "agent voting", "consensus protocol", "fan-out fan-in", "agent negotiation", "blackboard pattern", "agent dialogue", "conversation topology", "agent handoff". NOT for: wire format or serialization (use agent-interchange-formats), orchestration infrastructure (use agentic-infrastructure-2026), single agent behavior (use agentic-patterns).

curiositech/windags-skills

Meta-agent for creating new custom agents, skills, and MCP integrations. Expert in agent design, MCP development, skill architecture, and rapid prototyping. Activate on 'create agent', 'new skill', 'MCP server', 'custom tool', 'agent design'. NOT for using existing agents (invoke them directly), general coding (use language-specific skills), or infrastructure setup (use deployment-engineer).

curiositech/windags-skills

AI-powered calendar management and agent-based scheduling coordination. Covers calendar APIs (Google Calendar, CalDAV/iCal), AI scheduling assistants (Reclaim, Clockwise, Motion, Cal.com), building custom calendar agents with MCP, multi-calendar merging, timezone management, focus block protection, meeting fatigue detection, and agent-to-agent meeting negotiation protocols. Activate on: "calendar agent", "AI scheduling", "calendar coordination", "meeting scheduling", "calendar API", "focus time protection", "calendar optimization", "Google Calendar MCP", "Reclaim", "Clockwise", "Motion", "Cal.com", "smart scheduling", "calendar-aware agent", "timezone scheduling", "agent negotiation meetings". NOT for: manual calendar UI component design (use form-validation-architect), project management scheduling or Gantt charts (use project-management-guru-adhd), general time-tracking or pomodoro apps (use adhd-daily-planner for time-awareness), building the agent itself from scratch (use agent-creator).

curiositech/windags-skills

Build and adopt production AI agent infrastructure in 2026. Covers framework selection (LangGraph, CrewAI, AutoGen, MCP), orchestration patterns, evaluation, observability, memory systems, and tool use. Also covers the SOCIAL dimension: how to sell agent infrastructure internally, change management, measuring ROI, building trust in autonomous systems, and scaling adoption across teams. Activate on: "agent infrastructure", "agent framework comparison", "which agent framework", "sell AI tools internally", "agent adoption", "agent observability", "agent evaluation", "MCP architecture", "agentic mesh", "enterprise AI agents", "AI change management", "agent ROI". NOT for: building specific agents (use ai-engineer), designing agent behavior patterns (use agentic-patterns), prompt tuning (use prompt-engineer).

curiositech/windags-skills

Fundamental patterns for effective agentic behavior. Teaches decomposition, tool orchestration, error recovery, context management, quality self-assessment, and knowing when to stop. Model-agnostic principles that make any agent more effective regardless of domain. Activate on: "how should I structure this agent", "agentic workflow", "agent patterns", "multi-step task", "tool orchestration", "/agentic-patterns", "decompose this", "agent best practices", "chain of actions", "when should the agent stop", "agent loop design". NOT for: creating agent infrastructure (use agent-creator), building DAGs (use windags-architect), specific tool implementation.

curiositech/windags-skills

Automated discovery and matching of agent skills for dynamic task routing and capability assessment

curiositech/windags-skills

Cryptographic security for agentic systems — zero-trust agent networking, signed message envelopes (JWS/JWE), capability-based security (ocaps), Merkle tree audit trails, WASM sandboxing, and formal verification. Covers CLI dev tool security, mTLS between agents, permission boundaries (least privilege for AI agents), and supply chain security for skills/plugins. Activate on: "agent security", "zero trust agents", "secure agent communication", "capability-based security", "ocap", "signed messages between agents", "agent audit trail", "sandbox agent execution", "agent permissions", "mTLS agents", "cryptographic verification", "agent supply chain", "OWASP agentic", "prove agent did X", "tamper-proof agent logs". NOT for: application-level SAST scanning (use security-auditor), network firewall rules (use infrastructure), SOC2/HIPAA compliance (organizational), or prompt injection defense (use prompt-engineer).

curiositech/windags-skills

Data structures and serialization formats for agent-to-agent communication. Covers message envelopes, structured output schemas, capability declarations, task handoff payloads, error/retry signaling, and context windows as data structures. Deep comparison of A2A protocol, MCP, OpenAI function calling, and LangChain message types. Teaches when to use rigid schemas vs free-form with validation, typed vs untyped, streaming vs batch. Activate on: "agent message format", "agent communication schema", "agent-to-agent protocol", "A2A protocol", "MCP message format", "structured output for agents", "agent interop", "interchange format", "agent serialization", "task handoff format", "capability declaration". NOT for: what agents say to each other (use agent-conversation-protocols), orchestration topology (use multi-agent-coordination), building agent infrastructure (use agentic-infrastructure-2026).

curiositech/windags-skills

Logic-based agent programming language implementing BDI architecture for practical autonomous agent development

curiositech/windags-skills

>- Design AgentSpeak(L)-style BDI agents with context-guarded plans, selection functions, and intention stacks. Use for interruptible autonomy, agent policy, and multi-agent orchestration in dynamic environments. NOT for simple rule engines, static planners, or centralized workflows.

curiositech/windags-skills

Foundational concurrent computation model where actors communicate exclusively through asynchronous message passing

curiositech/windags-skills

license: Apache-2.0 NOT for unrelated tasks outside this domain.

関連スキル