iac-scaffold
Installation
SKILL.md
Scaffold a new AWS IaC project.
Framework: $ARGUMENTS[0] (cdk, terraform, sam, or cfn) Description: $ARGUMENTS[1]
Process
- Ask clarifying questions if the framework or description is unclear
- Use the
aws-iacMCP tools to validate resource configurations and check for security issues - Use the
awsknowledgeMCP tools (mcp__plugin_aws-dev-toolkit_awsknowledge__aws___search_documentation,mcp__plugin_aws-dev-toolkit_awsknowledge__aws___read_documentation,mcp__plugin_aws-dev-toolkit_awsknowledge__aws___recommend) to look up current best practices for the chosen framework - Generate the project structure following the patterns in templates/
Framework-Specific Guidance
CDK (TypeScript default)
- Use
cdk init app --language typescriptpatterns - Separate stacks by lifecycle (networking, data, compute)
- Use
cdk-nagfor compliance checks - Outputs for cross-stack references