Promptzpromptz
LibraryPromptsAgentsPowersSteeringHooks
Back to Steering
steeringpromptz
IDECLI

Cdk Python

Christian Bonzelet
Dec 28, 2025
Updated Dec 28, 2025
60f6d3f
View on GitHub
Steering Document Content

# Development Guidelines for CDK with Python

## Naming Conventions

- Functions and variables: `snake_case`
- Classes: `PascalCase`
- Constants: `UPPER_SNAKE_CASE`
- Private attributes: `_leading_underscore`
- Modules: `snake_case.py`
- Test files: `test_*.py` or `*_test.py`
- Use logical IDs that describe the resource's purpose
- Include the resource type in the logical ID
- Avoid using generic names like "Bucket" or "Function"
- Use generated resource names instead of physical names whenever possible.
- If the construct has only one or a single main child resource, call it "Resource" to use the defaultChild functionality of CDK