sverchok-agents-code-validator

Validate Sverchok Python node code for nesting, socket, and cleanup correctness.

30|4|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill sverchok-agents-code-validator-impertio-studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sverchok-agents-code-validator
Source: https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/sverchok/agents/sverchok-agents-code-validator
Command: npx skills add https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill sverchok-agents-code-validator-impertio-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents broken or silently corrupt Sverchok node behavior by systematically validating the correctness of Sverchok Python node code before you ship it into a production node tree.

Core Features & Use Cases

  • Automated Sverchok node code audit: Runs a comprehensive sequence of checks covering data nesting correctness, updateNode callback coverage, socket consistency, and output-input contract safety.
  • Sverchok best-practice enforcement: Detects common failure modes such as missing early-exit logic, incorrect match_long_repeat usage with zip, invalid SNLite aliases, and improper sv_get default patterns.
  • IfcSverchok compliance guardrails: Ensures data sent to IfcSverchok nodes follows required Sverchok nesting so IFC entity creation doesn’t fail or produce wrong results.
  • Memory and performance safety checks: Flags missing BMesh cleanup (bm.free()) and surfaces optimization opportunities (NumPy suggestions) when appropriate.

Quick Start

Use the sverchok-agents-code-validator skill to review the Sverchok node Python script you are about to register, and then ask the Skill to produce a categorized validation report with any auto-fix recommendations.

Frequently Asked Questions about sverchok-agents-code-validator

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

FAQPage Schema
How do I validate Sverchok node code to prevent Blender crashes?

To validate Sverchok node code and prevent Blender crashes, run a comprehensive audit checking updateNode usage, sv_set nesting, and BMesh cleanup before registering the script in your node tree.

What causes silent data corruption in Sverchok SNLite scripts?

Silent data corruption in Sverchok scripts often stems from incorrect match_long_repeat usage before zip operations, missing early-exit logic, or invalid sv_get default patterns that bypass expected data nesting.

How do I ensure IfcSverchok integration correctness across Blender versions?

Ensure IfcSverchok integration correctness by validating that data sent to IfcSverchok nodes follows required Sverchok nesting rules, preventing IFC entity creation failures or incorrect geometry outputs.

Does code validation check for memory safety in Sverchok BMesh operations?

Code validation checks for memory safety by flagging missing BMesh cleanup operations, ensuring bm.free() is called to prevent memory leaks during Sverchok node execution in Blender.

What are common Sverchok node registration errors with custom Python scripts?

Common Sverchok node registration errors include incomplete registration logic, inconsistent socket naming, improper imports, and invalid edge or face data formats that fail execution contracts.