ctenerd/sugarsocietysc/add-cdk-stack-resource
Claude Code and agent skill by ctenerd/sugarsocietysc
- community
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-resourceSKILL.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
- 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.
- 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.
- 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.
- If the resource needs to be referenced by another stack, expose it as a
public readonlyproperty and
pass it through stack props (see how DataStack.cluster flows into ApiStackProps).
- Wire it into
bin/infra.tsif it's a new stack. - Validate:
npm run synth:dev --workspace=@sugarsocietysc/infrathennpm 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
- SKILL.md in the repositoryChecking.github/skills/add-cdk-stack-resource/SKILL.md
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
[](https://verified-skill.com/skills/ctenerd/sugarsocietysc/add-cdk-stack-resource)