一键导入
domains-module
domains-module 收录了来自 myadmin-plugins 的 4 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。
这个仓库中的 skills
Adds admin settings fields via getSettings(GenericEvent $event) using $settings->add_dropdown_setting() or similar methods. Follows the pattern in Plugin::getSettings(). Use when user says 'add setting', 'add config option', 'toggle feature', 'out-of-stock flag', or 'admin configuration'. Do NOT use for service lifecycle changes, hook registration for non-settings events, or $settings array keys in Plugin::$settings.
Writes PHPUnit 9.6 tests under `tests/` using the `Detain\MyAdminDomains\Tests\` namespace and bootstrap from `tests/bootstrap.php`. Use when user says 'add test', 'write unit test', 'test the plugin', or 'test hook handler'. Covers Plugin::getHooks(), Plugin::$settings, static properties, and event handler signatures via ReflectionClass — without requiring the MyAdmin runtime. Do NOT use for integration tests that need a live DB or full MyAdmin bootstrap.
Adds a new Symfony EventDispatcher hook to the Plugin class in src/Plugin.php. Registers in getHooks(), implements a static handler accepting GenericEvent $event, accesses subject via $event->getSubject(). Use when user says 'add hook', 'new event', 'listen for event', or 'register handler'. Do NOT use for modifying existing hooks or for creating new plugin packages.
Implements the setEnable/setReactivate/setDisable callback chain inside loadProcessing() for a MyAdmin plugin module. Use when user says 'add activation logic', 'handle enable', 'send email on reactivate', 'update service status', or 'implement lifecycle callbacks'. Do NOT use for settings panel changes (getSettings) or billing/invoice logic.