No slash command · from trove-infra
Provides AWS CDK (TypeScript) conventions for infrastructure as code, including construct structure, best practices, and common pitfalls. Auto-activates on CDK project files.
Ships in trove-infra. 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.
None: SKILL.md is the whole skill.
This skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.
export class MyServiceStack extends cdk.Stack {
constructor(scope: Construct, id: string, props: MyServiceProps) {
super(scope, id, props);
const queue = new sqs.Queue(this, 'ProcessingQueue', {
visibilityTimeout: cdk.Duration.seconds(300),
retentionPeriod: cdk.Duration.days(14),
});
const fn = new lambda.Function(this, 'Handler', {
runtime: lambda.Runtime.PYTHON_3_12,
handler: 'handler.main',
code: lambda.Code.fromAsset('lambda/'),
timeout: cdk.Duration.seconds(30),
memorySize: 256,
environment: {
QUEUE_URL: queue.queueUrl,
},
});
queue.grantSendMessages(fn);
}
}
cdk.Duration, cdk.Size for type-safe values.grant*() methods (not inline IAM)cdk.RemovalPolicy.RETAIN for stateful resources (databases, S3)-c stage=production)cdk.Fn.importValue() or shared props, not hardcoded ARNscdk synth before cdk deploy to validateWhat SKILL.md sets; muted values are Claude Code's defaults
cdk stack; aws cdk; infrastructure as code
Three short reads, in order
3 skills in this plugin
npx claudepluginhub bravew/trove --plugin trove-infraOther plugins' skills for the same job