Book a free call
Open source · AI agent skill

WHMCS Dev Skills: an AI agent skill for WHMCS module development

A skill file that teaches your AI coding agent to write WHMCS modules the way a senior WHMCS developer would: secure, structured and ready for production.

19 stars10 forksGPL-2.0
Overview

About WHMCS Dev Skills

WHMCS Dev Skills is a single SKILL.md file, an instruction set for AI coding agents. When your agent loads it, the agent writes WHMCS code that follows 8.x and 9.x best practices, instead of guessing at hooks, templates and database calls.

It follows the open Agent Skills specification, so it works with the major coding agents. You install it with one command and the agent picks it up for any WHMCS task.

Features

What the skill covers

Addon modules

Config, activate, deactivate, upgrade, and admin and client area output.

Provisioning modules

Create, suspend, unsuspend, terminate, renew, change package and usage updates.

Domain registrars

Register, transfer, renew, sync, nameservers, WHOIS, DNS and EPP codes.

Payment gateways

Third-party, merchant and tokenised gateways, callbacks and refunds.

Action hooks

All hook categories, with a quick reference of more than 25 hook points.

API integration

The internal API (localAPI) and external API patterns using GuzzleHTTP.

Database operations

Laravel Capsule ORM patterns, schema creation and migrations.

Templating and UI

Smarty v4, native Bootstrap classes, and admin and client templates.

Security checklist

A 13 point checklist covering CSRF, parameter binding, encryption, credential scrubbing and logging.

Error handling

logModuleCall, logActivity and the right error return patterns.

Common pitfalls

More than 16 documented anti-patterns, each with a fix.

Project structures

Directory templates for all four module types, matching the official WHMCS samples.

Compatible agents

Works with the major AI coding agents

AgentSkills folderInstall flag
Claude Code~/.claude/skills/--agent claude (default)
GitHub Copilot.github/skills/--agent vscode
Cursor.cursor/skills/--agent cursor
Windsurf.windsurf/skills/--agent windsurf
Amp~/.amp/skills/--agent amp
Goose~/.config/goose/skills/--agent goose
OpenCode~/.opencode/skills/--agent opencode
Any project.skills/--agent project
Highlights

Built to stop common mistakes

  • Security first. It steers the agent to the Capsule ORM, CSRF protection and credential scrubbing.
  • Ready for WHMCS 9. It covers Smarty v4, Illuminate v9 and the PHP 8.2+ breaking changes.
  • Anti-pattern protection. It lists real failures developers make and shows the fix.
  • Proper structure. Directory templates match the official WHMCS sample modules.
Install

How to install WHMCS Dev Skills

  1. Run the install command. It puts the skill in the right folder for your agent. Add an agent flag for anything other than Claude Code.
  2. Or install it manually: clone the repository and copy SKILL.md into your agent's skills folder.
  3. Ask your agent to build or fix a WHMCS module. It now follows the skill.
npx ai-agent-skills install whmcs-dev-skills

# a specific agent, for example Cursor
npx ai-agent-skills install whmcs-dev-skills --agent cursor

# manual install for Claude Code
git clone https://github.com/waqasahmedwaseer/whmcs-dev-skills.git
mkdir -p ~/.claude/skills/whmcs-dev-skills
cp whmcs-dev-skills/SKILL.md ~/.claude/skills/whmcs-dev-skills/
Details
Targets
WHMCS 8.x and 9.x
PHP
8.1 or later
Format
Agent Skills specification (SKILL.md)
License
GPL-2.0
FAQ

WHMCS Dev Skills: questions answered

More questions? Ask on WhatsApp

What is an agent skill?

A skill is a file of instructions that an AI coding agent loads for a particular kind of task. This one makes the agent follow WHMCS conventions and security practices when it writes module code.

Which AI coding agents does it work with?

Claude Code, GitHub Copilot, Cursor, Windsurf, Amp, Goose and OpenCode, or any project that supports the Agent Skills specification.

Does it replace the WHMCS developer documentation?

No. It is a set of instructions for your agent, not a replacement for the official documentation. Review the code your agent writes and test it on a staging WHMCS first.

Is it free?

Yes. It is open source under the GPL-2.0 license.

Can Wasevo build a WHMCS module for me instead?

Yes. We build registrar, provisioning, addon and payment gateway modules to a written scope. See WHMCS development services.

Need help?

Want this set up or built for you?

The code is free. If you would rather have it installed, customised or built into your product, the same team that wrote it can do the work.

Want a module or integration built for you?

A free 15-minute call, then a written scope and estimate. No obligation, no sales script.