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

litespeed-licensing

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

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

这个仓库中的 skills

license-provisioning
软件开发工程师

Adds or modifies license activation/deactivation functions in `src/litespeed.inc.php` using `\Ganesh\LiteSpeed\LiteSpeedClient`. Covers duplicate-check guard, credit-balance guard, `request_log()` + `myadmin_log()` calls, and admin error email via `\MyAdmin\Mail`. Use when user says 'add activation', 'new provision function', 'deactivate by serial', 'change_ip handler', or modifies LiteSpeed API calls. Do NOT use for Plugin.php hook registration or UI/list page changes.

2026-03-30
myadmin-logging
软件开发工程师

Applies the dual-logging pattern (request_log + myadmin_log) after every LiteSpeed API call. Use whenever adding or reviewing code that calls LiteSpeedClient or LiteSpeed methods (order, cancel, getLicenseDetails, getBalance). Trigger phrases: 'add logging', 'log the response', 'why no log', 'missing log'. Do NOT use for non-API code paths or generic PHP logging outside the licenses module.

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

Writes PHPUnit 9 tests in `tests/` under `Detain\MyAdminLiteSpeed\Tests` namespace for the myadmin-litespeed-licensing plugin. Use when user says 'write test', 'add test coverage', 'add tests for X', or adds new functions/methods. Covers three test categories: Plugin class structure (ReflectionClass), procedural function signatures (ReflectionFunction), and file content assertions (string-contains). Do NOT use for integration tests requiring a real database, live LiteSpeed API calls, or tests that exercise actual activation/deactivation logic.

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

Adds a new static hook handler method to `src/Plugin.php` and registers it in `getHooks()`. Use when user says 'add hook', 'new handler', 'register event', 'add event listener', or when modifying `src/Plugin.php`. Key capabilities: GenericEvent pattern, get_service_define guard, stopPropagation, myadmin_log. Do NOT use for modifying procedural functions in `src/litespeed.inc.php` or `src/litespeed_list.php`.

2026-03-30