Skip to main content
在 Manus 中运行任何 Skill
一键导入
GitHub 仓库

ip-webhosting-addon

ip-webhosting-addon 收录了来自 myadmin-plugins 的 5 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。

已收集 skills
5
Stars
6
更新
2026-03-30
Forks
0
职业覆盖
2 个职业分类 · 已分类 100%
仓库浏览

这个仓库中的 skills

addon-handler-setup
软件开发工程师

Creates a new AddonHandler registration block inside a `getAddon` method. Use when user says 'add addon', 'register addon', 'new webhosting addon', or adds a new `load_addons` hook handler. Generates `function_requirements('class.AddonHandler')`, fluent `->set_text()`, `->set_cost()`, `->setEnable()`, `->setDisable()`, `->register()` chain followed by `$service->addAddon()`. Do NOT use for editing existing addons or for non-addon hook handlers.

2026-03-30
module-settings-field
软件开发工程师

Adds a new settings field inside getSettings() using add_text_setting or similar method on the MyAdmin\Settings object. Use when user says 'add setting', 'new config option', 'add cost field', 'register a setting', or extends the webhosting.settings handler. Always wraps label/description in _() for i18n and calls setTarget('module') before and setTarget('global') after. Do NOT use for reading settings at runtime or for non-settings configuration.

2026-03-30
plugin-hook-registration
软件开发工程师

Adds a new Symfony EventDispatcher hook to src/Plugin.php in the myadmin-ip-webhosting-addon plugin. Use when user says 'add hook', 'register event', 'listen to webhosting event', 'add a new hook key to getHooks', or needs a new static handler method. Generates the getHooks() array entry and the corresponding static handler method with GenericEvent $event signature. Do NOT use for modifying existing hook handlers (getAddon, getSettings) or for non-Plugin.php event wiring.

2026-03-30
plugin-unit-test
软件质量保证分析师与测试员

Writes PHPUnit ^9.6 test cases in `tests/PluginTest.php` for the `Plugin` class static methods. Use when user says 'add test', 'write test', 'test getHooks', 'add coverage', or wants tests for `src/Plugin.php`. Bootstrap is `vendor/autoload.php`, run via `vendor/bin/phpunit`. Do NOT use for integration tests requiring a live WHM server or real DB connections.

2026-03-30
whm-api-integration
软件开发工程师

Scaffolds WHM/cPanel \xmlapi API calls inside doEnable or doDisable methods. Use when user says 'call WHM', 'use xmlapi', 'set site IP', 'assign dedicated IP', or adds server interaction logic to Plugin.php. Handles function_requirements loading, xmlapi init with hash auth on port 2087, myadmin_log of every response, and admin mail on error. Do NOT use for DirectAdmin or storage service types — those are silently skipped by convention.

2026-03-30