agentskills.codes

DayZ Enforce Script development orchestrator. Dynamically fetches class APIs, script references, and mod documentation. Supports vanilla, Community Framework, and Expansion development for DayZ 1.28+.

Install

mkdir -p .claude/skills/dayz-dev && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16236" && unzip -o skill.zip -d .claude/skills/dayz-dev && rm skill.zip

Installs to .claude/skills/dayz-dev

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

DayZ Enforce Script development orchestrator. Dynamically fetches class APIs, script references, and mod documentation. Supports vanilla, Community Framework, and Expansion development for DayZ 1.28+.
200 charsno explicit “when” trigger

About this skill

DayZ Development

Dynamic documentation orchestrator for DayZ mod development. Supports vanilla Enforce Script, Community Framework (CF), and DayZ Expansion. Target version: DayZ 1.28+ (v1.28.161464)

Philosophy

  1. Fetch, don't memorize - Always get latest from authoritative sources
  2. Framework-aware thinking - Detect vanilla vs CF vs Expansion, adapt patterns
  3. Enforce Script correctness - DayZ uses Enforce Script (C-like), NOT C#/C++/Lua
  4. Server-side validation - Never trust client-side data
  5. Null-safe always - Every Cast<>, GetInventory(), GetIdentity() must be null-checked

CRITICAL: No Hallucination Policy

NEVER invent or guess Enforce Script classes, methods, config tokens, or parameters.

Rules:

  1. If unsure about a class/method -> MUST fetch from DayZ Scripts API or Script Diff repo
  2. If unsure about config.cpp tokens -> MUST fetch from BI wiki or DayZ Central Economy repo
  3. If a class doesn't exist -> Tell user honestly, suggest alternatives
  4. If parameters unknown -> Fetch documentation, don't guess
  5. NEVER use C#/C++ syntax -> Enforce Script looks like C but has key differences

Before writing any class or method call:

  • Is this a real DayZ class? -> Verify at dayz-scripts.yadz.app or DayZ-Script-Diff
  • Is this the correct method signature? -> Check parameter types and order
  • Does this work on server/client/both? -> Check script module (3_Game/4_World/5_Mission)
  • Am I null-checking accessors? -> Cast<>, GetInventory(), GetIdentity(), GetPlayer()

When you don't know:

"I'm not 100% certain about this class/method. Let me fetch the documentation..."
[Use WebFetch to get accurate info]

Verification Sources:

TypeSourceAction
Script API (v1.28)https://dayz-scripts.yadz.app/WebFetch for class/method docs
Script Diff (official)https://github.com/BohemiaInteractive/DayZ-Script-DiffCheck exact source code
Enforce Syntaxhttps://community.bistudio.com/wiki/DayZ:Enforce_Script_SyntaxLanguage reference
Config tokenshttps://community.bistudio.com/wiki/CfgVehicles_Config_ReferenceConfig.cpp reference
Central Economyhttps://github.com/BohemiaInteractive/DayZ-Central-Economytypes.xml, events.xml
CF docshttps://github.com/Arkensor/DayZ-CommunityFrameworkCF source + docs
Expansion wikihttps://github.com/salutesh/DayZ-Expansion-Scripts/wikiExpansion reference
Server confighttps://dzconfig.com/wiki/Server XML/JSON configs
DeepWiki Expansionhttps://deepwiki.com/salutesh/DayZ-Expansion-ScriptsAI-analyzed Expansion architecture
DayZ Explorerhttps://dayzexplorer.zeroy.com/Enforce essentials, Math, FileIO, Widget API

Example - WRONG:

// DON'T: Using C# syntax or inventing methods
player.GetComponent<Inventory>().AddItem("AK74");  // NOT Enforce Script!

Example - RIGHT:

// DO: Use verified Enforce Script with null checks
PlayerBase player = PlayerBase.Cast(GetGame().GetPlayer());
if (player)
{
    EntityAI item = player.GetInventory().CreateInInventory("AKM");
    if (item)
    {
        // item created successfully
    }
}

Content Map

Read ONLY relevant files based on the request:

FileDescriptionWhen to Read
scripting/enforce-script.mdEnforce Script language quick referenceWriting any code
scripting/class-hierarchy.mdClass tree and key singletonsLooking up classes
scripting/client-server.mdScript module architectureNew mod, client/server questions
scripting/memory-management.mdref, autoptr, Managed patternsMemory/lifecycle issues
systems/mod-structure.mdMod folders, config.cpp, meta.cppCreating new mods
systems/networking.mdRPC, NetSync, CF NetworkedVariablesMultiplayer sync
systems/inventory.mdInventory system, InventoryLocationItem manipulation
systems/actions.mdAction system hierarchyCustom actions
systems/weapons.mdWeapon FSM, configsWeapon mods
systems/vehicles.mdVehicle config, SimulationModuleVehicle mods
frameworks/framework-detection.mdDetect vanilla vs CF vs ExpansionStarting new task
frameworks/community-framework.mdCF modules, RPC, NetworkedVariablesUsing CF
frameworks/expansion.mdExpansion systems overviewUsing Expansion
config/config-cpp.mdconfig.cpp reference and patternsItem/vehicle config
config/types-xml.mdtypes.xml, economy systemLoot spawning
config/server-config.mdServer configuration filesServer setup
compatibility/version-128.md1.28 breaking changes and new featuresVersion questions, migration

Dynamic Fetching - Decision Tree

Step 1: Classify the Request

If user asks about...Action
Enforce Script class/method (EntityAI, PlayerBase, etc.)FETCH from DayZ Scripts API
Config.cpp tokens (CfgVehicles, CfgWeapons)FETCH from BI Wiki
Central Economy (types.xml, events.xml)FETCH from DayZ-Central-Economy repo
CF feature (RPCManager, Modules, NetworkedVariables)FETCH from CF GitHub
Expansion system (Market, Quests, AI, Basebuilding)FETCH from Expansion wiki
Script diff between versionsFETCH from DayZ-Script-Diff repo
Server configurationFETCH from DZconfig wiki
Mod structure, best practicesREAD local files
1.28 compatibility/changesREAD local compatibility file

Step 2: WebFetch URLs

Script API Reference (v1.28)

Base URL: https://dayz-scripts.yadz.app/

WebFetch(
  url: "https://dayz-scripts.yadz.app/",
  prompt: "Find documentation for the class or method '{CLASS_OR_METHOD}'.
           Include: inheritance, methods, parameters, return types."
)

Key API Pages:

CategoryURL
Enforce Essentialshttps://dayz-scripts.yadz.app/d5/d78/group___enforce
Math Libraryhttps://dayz-scripts.yadz.app/d5/d98/group___math
String Methodshttps://dayz-scripts.yadz.app/d5/da2/group___strings
Widget UI Systemhttps://dayz-scripts.yadz.app/d9/d0e/group___widget_a_p_i
Math Classhttps://dayz-scripts.yadz.app/d4/d34/class_math

Alternate API Reference (older but comprehensive)

Base URL: https://dayzexplorer.zeroy.com/

PageURL
Enforce Corehttps://dayzexplorer.zeroy.com/group___enforce.html
Math Functionshttps://dayzexplorer.zeroy.com/group___math.html
FileIO APIhttps://dayzexplorer.zeroy.com/group___file.html
Particle Effectshttps://dayzexplorer.zeroy.com/group___particle_effect.html
Widget APIhttps://dayzexplorer.zeroy.com/group___widget_a_p_i.html
DiagMenuhttps://dayzexplorer.zeroy.com/group___diag_menu.html
Weather Classhttps://dayzexplorer.zeroy.com/class_weather.html
Vector Classhttps://dayzexplorer.zeroy.com/classvector.html

Official Script Source (for exact implementations)

WebFetch(
  url: "https://github.com/BohemiaInteractive/DayZ-Script-Diff/tree/main/scripts",
  prompt: "Find the source code for '{CLASS_NAME}' in the DayZ script tree.
           Show the class definition, methods, and inheritance."
)

Config References

WebFetch(
  url: "https://community.bistudio.com/wiki/CfgVehicles_Config_Reference",
  prompt: "Find the config token '{TOKEN_NAME}' and its usage.
           Include: type, default value, parent class, example."
)

Central Economy

WebFetch(
  url: "https://github.com/BohemiaInteractive/DayZ-Central-Economy",
  prompt: "Find the economy configuration for '{ITEM_OR_SETTING}'.
           Include: types.xml entry, spawn parameters, nominal/min values."
)

Community Framework

WebFetch(
  url: "https://github.com/Arkensor/DayZ-CommunityFramework/tree/production/docs",
  prompt: "Find documentation for CF '{FEATURE}'.
           Include: API, usage examples, required setup."
)

Expansion Scripts

WebFetch(
  url: "https://github.com/salutesh/DayZ-Expansion-Scripts/wiki",
  prompt: "Find documentation for Expansion '{SYSTEM}'.
           Include: settings, configuration, scripting API."
)

Server Configuration

WebFetch(
  url: "https://dzconfig.com/wiki/",
  prompt: "Find documentation for '{CONFIG_FILE}'.
           Include: all parameters, types, default values, examples."
)

Request Router - Pattern Matching

RULE 1: Enforce Script Class/Method Detection

Triggers when:

  • Class names (PascalCase like EntityAI, PlayerBase, ItemBase, CarScript)
  • Method calls (GetInventory(), CreateInInventory(), SetHealth())
  • "enforce script", "dayz class", "dayz method", "script API"

Action: Fetch from https://dayz-scripts.yadz.app/ or DayZ-Script-Diff

RULE 2: Config.cpp / CfgVehicles Detection

Triggers when:

  • CfgVehicles, CfgWeapons, CfgMagazines, CfgAmmo
  • CfgPatches, CfgMods, DamageSystem
  • "config.cpp", "model config", "item config", "vehicle config"
  • scope, displayName, model, hiddenSelections

Action: Read local config/config-cpp.md + Fetch from BI wiki if needed

RULE 3: Central Economy Detection

Triggers when:

  • types.xml, events.xml, cfgspawnabletypes.xml, cfgeconomycore.xml
  • "loot spawn", "item spawn", "economy", "nominal", "min", "restock"
  • randompresets.xml, cfgenvironment.xml

Action: Read local config/types-xml.md + Fetch from DayZ-Central-Economy repo

RULE 4: CF / Expansion Framework Detection

Triggers when:

  • RPCManager, CF_ModuleWorld, NetworkedVariables, ModStorage
  • ExpansionMarket, ExpansionQuest, ExpansionAI, ExpansionTerritory
  • "community framework", "CF module", "expansion", "market system"

Action: Detect framework -> Fe


Content truncated.

More by diegosouzapw

View all by diegosouzapw

helm-chart-scaffolding-v2

diegosouzapw

Helm Chart Scaffolding workflow skill. Use this skill when the user needs Comprehensive guidance for creating, organizing, and managing Helm charts for packaging and deploying Kubernetes applications and the operator should preserve the upstream workflow, copied support files, and provenance before

00

cc-skill-coding-standards-v2

diegosouzapw

Coding Standards & Best Practices workflow skill. Use this skill when the user needs Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development and the operator should preserve the upstream workflow, copied support files, and provenance before

00

worktree-setup

diegosouzapw

Automatically invoked after `git worktree add` to create data/shared symlink and data/local directory. Required before starting work in any new worktree.

00

parsehub-automation

diegosouzapw

Automate Parsehub tasks via Rube MCP (Composio). Always search tools first for current schemas.

00

signalwire-agents-sdk

diegosouzapw

Expert assistance for building SignalWire AI Agents in Python. Automatically activates when working with AgentBase, SWAIG functions, skills, SWML, voice configuration, DataMap, or any signalwire_agents code. Provides patterns, best practices, and complete working examples.

00

agent-sales-engineer

diegosouzapw

Expert sales engineer specializing in technical pre-sales, solution architecture, and proof of concepts. Masters technical demonstrations, competitive positioning, and translating complex technology into business value for prospects and customers.

00

Search skills

Search the agent skills registry