kcl-composition-validator
CommunityValidate KCL compositions to prevent CI failures.
System Documentation
What problem does it solve?
This Skill enforces rigorous KCL formatting, syntax validation, and end-to-end render checks to prevent CI failures and catch critical bugs like mutation patterns early.
Core Features & Use Cases
- Formatting & Syntax Validation: Ensures KCL code adheres to CI-enforced standards.
- Render Validation: Tests crossplane render end-to-end to catch hidden issues before commit.
- Pre-commit Guard: Integrates with pre-commit workflows to catch issues early in development.
Quick Start
From repository root, run the comprehensive validation script: ./scripts/validate-kcl-compositions.sh, or run a focused render check against an example: cd infrastructure/base/crossplane/configuration; crossplane render examples/app-basic.yaml app-composition.yaml functions.yaml --extra-resources examples/environmentconfig.yaml > /tmp/rendered.yaml
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: kcl-composition-validator Download link: https://github.com/Smana/cloud-native-ref/archive/main.zip#kcl-composition-validator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.