What problem does it solve? Writing and debugging CNB (cnb.cool) CI/CD pipeline configurations is error-prone: YAML syntax mistakes, misplaced events, invalid built-in variables, and cryptic build failures waste developer time. This Skill generates correct .cnb.yml configurations, validates them against the official schema, and diagnoses build failures or performance bottlenecks. ## Core Features & Use Cases - Pipeline Authoring: Generate complete .cnb.yml configurations covering branches, events, pipelines, stages, jobs, Docker environments, and built-in tasks, with mandatory schema validation before delivery. - Failure Diagnosis: Analyze CI build logs via the cnb CLI to classify failures as code errors, configuration issues, or external service problems, then propose concrete fixes. - Performance Optimization: Identify slow stages, missing caches, and serializable work, then recommend parallelization and caching strategies. - Use Case: A developer's PR build fails with an obscure error. The Skill pulls the failing build logs, pinpoints a misconfigured event placement in .cnb.yml, fixes it, and re-validates the file against the official schema. ## Quick Start Ask the assistant to create a .cnb.yml pipeline that runs npm test on every pull request and deploys on push to main.