ctenerd/sugarsocietysc/add-cdk-stack-resource

Claude Code and agent skill by ctenerd/sugarsocietysc

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Add a new AWS resource to an existing CDK stack or create a new stack in packages/infra, following the EnvConfig-driven, security-conscious conventions already established. Use when provisioning new AWS infrastructure.

Install

npx vskill@latest install ctenerd/sugarsocietysc/add-cdk-stack-resource

SKILL.md

The same SKILL.md was published earlier as ctenerd/sugarsocietysc/add-cdk-stack-resource.

Add a CDK Stack Resource

When to Use

Provisioning a new AWS resource (queue, table, bucket, function, etc.) or a new stack entirely.

Procedure

  1. Decide which existing stack the resource belongs to (Network/Data/Auth/Api/Web) by concern — don't

create a new stack unless it's a genuinely new concern.

  1. Any value that differs between dev/prod (capacity, retention, domain, account) must come from

EnvConfig (packages/infra/lib/env-config.ts) and cdk.json context — never hardcode it.

  1. Stateful/sensitive resources (databases, secrets, uploaded files) go in private/isolated subnets with

least-privilege security groups and IAM — grant access explicitly (resource.grantRead(fn)), never use wildcard IAM policies.

  1. If the resource needs to be referenced by another stack, expose it as a public readonly property and

pass it through stack props (see how DataStack.cluster flows into ApiStackProps).

  1. Wire it into bin/infra.ts if it's a new stack.
  2. Validate: npm run synth:dev --workspace=@sugarsocietysc/infra then npm run diff:dev --workspace=@sugarsocietysc/infra.

Do not run deploy:* without explicit user confirmation.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ctenerd/sugarsocietysc/add-cdk-stack-resource/badge)](https://verified-skill.com/skills/ctenerd/sugarsocietysc/add-cdk-stack-resource)

Something wrong with this skill or its page? Tell us.