validation-patterns

Validates Kailash workflow code for structural, parameter, import, dataflow, and security compliance before execution or commit.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/aliciapls/ML-Week-2---Healthcare --skill validation-patterns-aliciapls
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validation-patterns
Source: https://github.com/aliciapls/ML-Week-2---Healthcare/tree/main/.claude/skills/16-validation-patterns
Command: npx skills add https://github.com/aliciapls/ML-Week-2---Healthcare --skill validation-patterns-aliciapls

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill catches common Kailash SDK mistakes before they reach execution, including invalid parameters, broken connections, import errors, unsafe patterns, and workflow structure problems.

Core Features & Use Cases

  • Parameter validation for node contracts and required values.
  • Connection and workflow structure checks for build-time reliability.
  • DataFlow, import, and security compliance review for code audits and pre-commit checks.
  • Use it when reviewing workflow code, debugging validation failures, or enforcing team standards in a Kailash project.

Quick Start

Ask the validation-patterns skill to review your Kailash workflow code for parameter, connection, import, DataFlow, and security compliance before you run or commit it.

Frequently Asked Questions about validation-patterns

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

FAQPage Schema
How do I validate Kailash workflow code before execution?

You validate Kailash workflow code by checking it for structural, parameter, import, dataflow, and security issues before execution. This process enforces absolute imports, 4-parameter connections, and build-before-execute patterns to catch bugs early.

What is a 4-parameter connection in workflow validation?

A 4-parameter connection is a dataflow rule enforced during workflow validation to ensure correct node-to-node data mapping. Checking this convention guarantees that build-time connections are structurally reliable before runtime execution.

How do I check DataFlow result-access conventions in my SDK code?

You check DataFlow result-access conventions by running a compliance review on your SDK code. This validates that result retrieval patterns adhere to required dataflow rules, preventing runtime access errors during workflow execution.

Can I use workflow validation for pre-commit checks and code audits?

Yes, you can use workflow validation for pre-commit checks and code audits. It reviews workflow code to enforce team standards, ensuring parameter contracts, safe patterns, and security compliance before code is committed.

Why does my workflow validation fail on absolute imports?

Workflow validation fails on absolute imports because the compliance rules enforce absolute import paths to prevent module resolution errors. Fixing relative imports to absolute paths ensures structural integrity and runtime readiness.

What security validation rules apply to Kailash workflow code?

Security validation rules applied to Kailash workflow code identify unsafe patterns and enforce safe coding practices. Running these checks during code reviews or pre-commit hooks prevents security vulnerabilities before runtime execution.