sc2data-behaviors-validators

Create and validate SC2 Data Editor behaviors and validators against catalogsData.xsd.

7|1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/KimPlaybit/Starcraft-2-Editor-Skills --skill sc2data-behaviors-validators
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc2data-behaviors-validators
Source: https://github.com/KimPlaybit/Starcraft-2-Editor-Skills/tree/main/.agents/skills/sc2data-behaviors-validators
Command: npx skills add https://github.com/KimPlaybit/Starcraft-2-Editor-Skills --skill sc2data-behaviors-validators

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SC2 Data Editor enables creating and modifying persistent unit effects (behaviors) and boolean tests (validators) to drive in-game logic and data integrity in XML.

Core Features & Use Cases

  • Works with Behaviors such as CBehaviorBuff, CBehaviorAttributeModifier, CBehaviorUnitTracker, CBehaviorReveal, CBehaviorAbilityModifier, and CBehaviorResource.
  • Works with Validators such as CValidatorUnitType, CValidatorUnitOrder, CValidatorUnitComparison, CValidatorPlayerComparison, CValidatorCombine, and related rules to gate effects, abilities, and behaviors.
  • Includes guidance to align with the CatalogsData XSD schema and ensure proper data placement and validation.

Quick Start

Create or modify SC2 data files to define behaviors and validators, then validate against catalogsData.xsd.

Frequently Asked Questions about sc2data-behaviors-validators

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

FAQPage Schema
How do I create and validate SC2 behaviors and validators in XML?

SC2 behaviors and validators are created by defining XML elements like CBehaviorBuff or CValidatorUnitType, then validating the game data against the catalogsData.xsd schema to ensure proper placement and structural integrity.

What SC2 Data Editor structures are supported for unit behaviors?

Supported SC2 Data Editor behaviors include CBehaviorBuff, CBehaviorAttributeModifier, CBehaviorUnitTracker, CBehaviorReveal, CBehaviorAbilityModifier, and CBehaviorResource for managing persistent buffs and modifying unit attributes.

How do validators gate effects and abilities in SC2 modding?

Validators gate effects in SC2 modding by applying boolean test rules such as CValidatorUnitType, CValidatorUnitComparison, and CValidatorCombine to check conditions before allowing specific abilities, behaviors, or in-game logic to execute.

Does the SC2 catalogsData.xsd schema work with VS Code for XML validation?

Yes, the SC2 catalogsData.xsd schema supports XML validation workflows directly within VS Code extensions. You associate your XML files with the schema to validate SC2 behaviors and validators data during modding.

What is the difference between CBehaviorBuff and CBehaviorAttributeModifier?

CBehaviorBuff manages persistent buffs and timed effects on units, whereas CBehaviorAttributeModifier specifically targets and modifies unit attributes. Both are distinct SC2 Data Editor behavior structures defined in XML.