lint-check

Create structured lint checks for the kubectl odh lint command.

2|41|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/opendatahub-io/odh-cli --skill lint-check-opendatahub-io
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-check
Source: https://github.com/opendatahub-io/odh-cli/tree/main/.claude/skills/lint-check
Command: npx skills add https://github.com/opendatahub-io/odh-cli --skill lint-check-opendatahub-io

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of creating new lint checks for the kubectl odh lint command, reducing manual effort and ensuring consistency.

Core Features & Use Cases

  • Guided Check Creation: Provides templates and instructions for defining new checks.
  • Metadata Generation: Helps auto-derive check IDs and names based on user input.
  • Use Case: A developer needs to add a new validation rule to ensure a specific Kubernetes resource is correctly configured before an upgrade. This Skill guides them through defining the check's logic, scope, and remediation steps.

Quick Start

Use the lint-check skill to create a new component lint check for the kserve component.

Frequently Asked Questions about lint-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a custom lint check for the kubectl odh lint command?

To create a custom lint check for the kubectl odh lint command, you can use a guided skill that provides structured templates. It helps you define validation logic, generate metadata, and register the new check.

What is the best way to add validation rules for Kubernetes resources before an upgrade?

Adding validation rules for Kubernetes resources before an upgrade is best handled by defining a new lint check. This process involves specifying the check's classification, version applicability, and remediation steps.

Can I automate lint check ID and name generation for odh-cli?

Yes, you can automate lint check ID and name generation for odh-cli. The creation process auto-derives these metadata fields based on your input, ensuring consistency and reducing manual effort.

Does the odh-cli lint check creation process support component, workload, and dependency checks?

Yes, the odh-cli lint check creation process supports component, workload, service, and dependency checks. It provides specific guidance and validation logic templates for each of these check types.

How do I register a new component lint check for kserve?

To register a new component lint check for kserve, you follow a guided file creation and registration process. This ensures your new validation rule is correctly integrated into the odh-cli lint command.