Pattern 1: Configuration Hierarchy (+2)
Pattern 1: Configuration Hierarchy
# Global defaults
defaults: &defaults
version: 1.0
units: "SI"
precision: 6
# Project-specific configs inherit defaults
project_a:
<<: *defaults
*See sub-skills for full details.*
## Pattern 2: Environment-Specific Configs
```yaml
# development.yaml
database:
host: "localhost"
port: 5432
# production.yaml
database:
host: "prod-server.example.com"
port: 5432
Pattern 3: Parameterized Templates
# template.yaml
analysis:
name: "${PROJECT_NAME}"
water_depth: ${WATER_DEPTH}
wave_height: ${HS}