yazguldev/warcraft-cs/modular-code
Claude Code and agent skill by yazguldev/warcraft-cs
- community
Checking that the SKILL.md file is still in the repository.
Organize source code by cohesive modules and apply clean code, SOLID and concrete design patterns when adding behavior or restructuring a project. Preserve public entry points and existing runtime contracts.
Install
npx vskill@latest install yazguldev/warcraft-cs/modular-codeSKILL.md
Modular code
Read the project's AGENTS.md and current source/build structure before choosing module boundaries. Group files by the behavior they own, not by file extension or generic names such as Helpers. Keep each public type in its own file; keep its implementation alongside it.
- Domain modules own rules and data. Input and presentation translate events and state; platform adapters own native APIs, files, devices and engine hooks. The application layer coordinates these modules through explicit dependencies.
- Apply SOLID to actual change boundaries: one responsibility per collaborator, narrow contracts, substitutable implementations and dependency direction toward domain rules. Prefer composition. Introduce an interface only when a real alternate implementation or testing boundary needs it.
- Use Strategy for varying rules, State for explicit lifecycle transitions, Adapter for engine/platform integration, and a dispatcher/mailbox for input-to-game-thread coordination when those solve a concrete problem. Explain non-obvious ownership and timing constraints in nearby comments. Avoid service locators, speculative factories and arbitrary partial-class splits.
- During moves, update includes/imports, build manifests, tests, packaging and documentation together. Preserve public launcher/setup script paths, asset identifiers, saved data and configuration keys unless the user requests changes. Do not leave duplicate compatibility source files that can compile twice.
- Test independent rules without game/platform state where practical. Verify structural changes with the real build and packaging path; rendering/hook changes also need a disposable native scene. Keep verification fixtures out of ordinary client builds.
- Report the resulting modules, relevant patterns and verification. A file move alone does not prove a large controller has been decomposed; state remaining coupling accurately.
For Warcraft CS, use src/{runtime,platform,input,application,config,audio,movement,combat,economy,inventory,squad,geometry,presentation}. Native hook adapters belong in platform; portable geometry and movement rules do not depend on presentation. Launcher modules live beneath launcher, while its PowerShell entry points keep their existing paths.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/modular-code/SKILL.md
Popularity
- Repository stars
- 65
- Repository forks
- 8
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yazguldev/warcraft-cs/modular-code)