Development assistant for DayZ Enforce Script, ensuring valid API calls and docs.

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
Advanced

Key capabilities

  • Dynamically fetch DayZ class APIs
  • Access script references and mod documentation
  • Support vanilla Enforce Script development
  • Support Community Framework (CF) development
  • Support DayZ Expansion development
  • Enforce script correctness and null-safety

How it works

The skill dynamically fetches information from authoritative sources like DayZ Scripts API and BI Wiki to provide accurate documentation and enforce correct Enforce Script syntax for vanilla, Community Framework, and Expansion development.

Inputs & outputs

You give it
DayZ mod development query (e.g., about a class, method, or config token)
You get back
Accurate documentation, correct script examples, or verification of script elements

When to use dayz-dev

  • Writing DayZ Enforce scripts
  • Checking API method signatures
  • Configuring game mod tokens

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.

When not to use it

  • When inventing or guessing Enforce Script classes, methods, or config tokens
  • When using C#/C++ syntax instead of Enforce Script
  • When writing files outside `$saves:`/`$profile:` directories

Limitations

  • NEVER invent or guess Enforce Script classes, methods, config tokens, or parameters.
  • Requires verification of class existence and method signatures from authoritative sources.
  • FileIO only works in `$saves:`/`$profile:` directories.

How it compares

This skill dynamically fetches the latest documentation and enforces DayZ-specific scripting rules, preventing common errors and hallucinations, which is more reliable than relying on memorized or outdated information.

Compared to similar skills

dayz-dev side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
dayz-dev (this skill)05moNo flagsAdvanced
korean-skill-creator89moReviewBeginner
skill-forge119moReviewIntermediate
svelte-expert119moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

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

You might also like

korean-skill-creator

clwmfksek

한글 기반 클로드 스킬 자동 생성 도구. 사용자가 "클로드 스킬을 만들어줘" 또는 "[요구사항] 스킬 만들어줘"라고 요청할 때 사용. Progressive disclosure 원칙을 따르는 한글 문서 구조(SKILL.md + references/)를 자동으로 생성하고, 실전 예시를 포함한 일관성 있는 스킬 템플릿을 제공.

8132

skill-forge

WilliamSaysX

Automated skill creation workshop with intelligent source detection, smart path management, and end-to-end workflow automation. This skill should be used when users want to create a new skill or convert external resources (GitHub repositories, online documentation, or local directories) into a skill. Automatically fetches, organizes, and packages skills with proactive cleanup management.

11115

svelte-expert

Raudbjorn

Expert Svelte/SvelteKit development assistant for building components, utilities, and applications. Use when creating Svelte components, SvelteKit applications, implementing reactive patterns, handling state management, working with stores, transitions, animations, or any Svelte/SvelteKit development task. Includes comprehensive documentation access, code validation with svelte-autofixer, and playground link generation.

11107

build-free-types

paulirish

This skill should be used when the user asks to "set up types without a build step", "use vanilla JS with types", "configure erasable syntax", or mentions "JSDoc type checking". It provides instructions for modern type safety using JSDoc in browsers and native TypeScript execution in Node.js.

95

vscode-ext-commands

github

Guidelines for contributing commands in VS Code extensions. Indicates naming convention, visibility, localization and other relevant attributes, following VS Code extension development guidelines, libraries and good practices

23

project-bootstrapper

mhattingpete

Sets up new projects or improves existing projects with development best practices, tooling, documentation, and workflow automation. Use when user wants to start a new project, improve project structure, add development tooling, or establish professional workflows.

12

Search skills

Search the agent skills registry