What problem does it solve?
This Skill provides expert guidance for creating secure, cost-optimized Crossplane compositions, eliminating the need for manual infrastructure management and improving development efficiency.
Core Features & Use Cases
- XRD Generation: Automatically create CompositeResourceDefinitions (XRDs) with robust schema validation and security defaults.
- Composition Patterns: Generate complex compositions for infrastructure as code, including managed resources, connection secrets, and dependencies.
- ProviderConfig Security: Securely configure provider authentication using OIDC/IRSA, Workload Identity, and least privilege principles.
- Multi-Phase Validation: Ensures all AI-generated compositions pass technical, intent, and security validations before deployment.
- Cost Optimization: Implements cost-saving strategies like spot instances and savings plans for infrastructure resources.
- Modern Kubernetes Patterns: Integrates Gateway API and native sidecars for modern application deployment.
- Error Pattern Recognition: Identifies common errors in AI-generated compositions and provides solutions.
- Validation Requirements: Enforces schema validation, connection secrets, status conditions, security scanning, and hallucination detection.
- Common Patterns: Provides templates and examples for multi-resource compositions, environment-specific compositions, and provider abstractions.
- Integration with iac-generator: Seamlessly integrates with the iac-generator agent for infrastructure as code generation.
Quick Start
To generate a Crossplane composition for a PostgreSQL database, use the crossplane skill with the following command:
crossplane generate database postgresql