validation-patterns

Validate Kailash SDK workflow code for structural, parameter, import, dataflow, and security issues.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/myeohVmzrka92/disease-risk-controller-S2 --skill validation-patterns-myeohvmzrka92
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validation-patterns
Source: https://github.com/myeohVmzrka92/disease-risk-controller-S2/tree/main/.claude/skills/16-validation-patterns
Command: npx skills add https://github.com/myeohVmzrka92/disease-risk-controller-S2 --skill validation-patterns-myeohvmzrka92

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you catch invalid Kailash SDK code before it breaks workflows, causes runtime errors, or slips security issues into review.

Core Features & Use Cases

  • Parameter validation: Check required inputs, types, default handling, and value constraints for nodes.
  • Connection and workflow validation: Verify node existence, four-parameter links, unique IDs, entry and exit paths, and circular dependency risks.
  • Code and security review: Confirm absolute imports, correct DataFlow result access, and safe handling of secrets, injection vectors, and file paths.
  • Use case: Use it when reviewing a workflow before commit, auditing a pull request, or debugging a failing build that may stem from malformed node configuration or insecure patterns.

Quick Start

Ask the assistant to validate your Kailash workflow code for parameter, connection, import, dataflow, and security issues.

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 SDK workflow code before execution?

Kailash SDK workflow validation checks node parameters, four-parameter connections, absolute imports, dataflow conventions, and execution structure to catch structural and runtime issues before execution. This includes verifying mandatory build-before-execute flows and string-based node usage.

What security checks are needed for Kailash workflow code review?

Security validation for Kailash workflow code review checks for secrets exposure, injection risks, and path traversal vulnerabilities. It ensures safe handling of file paths and validates that insecure patterns do not slip into the codebase during pull request audits or pre-commit checks.

Why does my Kailash workflow fail with connection or dataflow errors?

Kailash workflow connection or dataflow errors often stem from missing four-parameter links, duplicate node IDs, circular dependencies, or incorrect DataFlow result-access conventions. Validating node existence, entry and exit paths, and connection contracts helps isolate the malformed node configuration.

Can I use automated validation for Kailash workflow pre-commit checks?

Yes, you can automate Kailash workflow validation for pre-commit checks and compliance auditing. The validation covers parameter types, default handling, value constraints, absolute imports, and execution structure to prevent runtime errors before code is committed or merged.

When do I need to verify four-parameter connections in Kailash workflows?

You need to verify four-parameter connections in Kailash workflows whenever you define links between nodes to ensure proper dataflow. This validation is required for structural integrity, confirming node existence, unique IDs, and preventing circular dependency risks during code review or runtime verification.