Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DayZ Modding Skill

DayZ Modding Skill

Make AI agents experts at developing DayZ mods in Enforce Script.

Agent Skills 3,940+ lines 7 files MIT


An Agent Skill that gives AI coding agents deep knowledge of DayZ modding — Enforce Script language rules, engine API patterns, mod architecture, performance optimization, and professional UI patterns extracted from 10+ production mods.

What This Skill Does

When installed, your AI agent will:

  • Know Enforce Script is NOT C/C++ — and avoid all 30+ gotchas that trip up every AI
  • Write correct DayZ code — proper Class.CastTo(), JsonFileLoader usage, memory management
  • Follow the layer hierarchy — 3_Game / 4_World / 5_Mission compilation order
  • Use professional patterns — singletons, RPC networking, modded classes, config persistence
  • Optimize for performance — widget pooling, batched processing, caching, debouncing
  • Build production UI — COT Module-Form-Window, CanvasWidget overlays, RichTextWidget
  • Consult the wiki — fetches chapters from the DayZ Modding Wiki (92 chapters, 12 languages) when it needs deeper info

Install

Via skills.sh

npx skills add StarDZ-Team/Dayz-Modding-Skills

Via Claude Code

/plugin marketplace add StarDZ-Team/Dayz-Modding-Skills

Manual (any agent)

Copy the skills/dayz-modding/ folder to your agent's skills directory.

What's Inside

skills/dayz-modding/
├── SKILL.md                              # Core: Iron Rules, workflow, debugging, code review
└── references/
    ├── enforce-script-reference.md       # Complete language reference + 18 gotchas
    ├── api-patterns.md                   # Entity, RPC, I/O, GUI, timers, player, actions
    ├── architecture.md                   # Layers, singletons, CF modules, events, permissions
    ├── development-workflow.md           # Systematic workflow: plan, code, verify, debug
    ├── advanced-patterns.md              # Performance, troubleshooting, debug commands, input
    └── gui-patterns.md                   # COT, VPP, CanvasWidget, RichText, MapWidget

3,940+ lines of curated DayZ modding knowledge covering:

Area Content
Enforce Script Language 7 types, 3 collections, classes, modded classes, memory (ARC), 30+ gotchas
Engine API Entity system, RPC networking, file I/O, GUI widgets, timers, player, missions, weather, sound, actions
Mod Architecture 5-layer hierarchy, config.cpp, server/client split, singletons, CF modules, events, permissions
Performance Lazy loading, batched processing, widget pooling, debouncing, caching, vehicle registry
Professional UI COT Module-Form-Window, UIActionManager factory, CanvasWidget/ESP, RichTextWidget, MapWidget, VPP windows
Troubleshooting 3 diagnostic flowcharts, error message table, debug commands, launch parameters
Workflow Plan before code, defensive coding protocol, build & verify, systematic debugging

Knowledge Source

This skill was built by studying:

  • 2,800+ vanilla DayZ script files reverse-engineered
  • 10+ professional mods analyzed (COT, VPP, Expansion, Dabs Framework, CF, DayZ Editor)
  • 15 official Bohemia samples documented
  • 92-chapter wiki distilled into actionable patterns

Full documentation available at the DayZ Modding Wiki.

Compatible Agents

This skill follows the Agent Skills open standard and works with:

Claude Code, Cursor, VS Code Copilot, Gemini CLI, OpenAI Codex, Roo Code, Goose, OpenCode, OpenHands, Junie, Amp, and 30+ more.

License

MIT - Use freely in your projects.


Built by the StarDZ Team with the DayZ modding community.

About

Agent Skill that makes AI experts at DayZ modding — Enforce Script, engine API, mod architecture, 30+ gotchas, performance patterns. Works with Claude Code, Cursor, Copilot, Gemini CLI, and 30+ AI tools.

Resources

Stars

Watchers

Forks

Contributors