Elementor addon architecture
Skill randhoy/agent-skills-pack/.agent/skills/wp/elementor-addon-architecture
npx -y skills add randhoy/agent-skills-pack --skill elementor-addon-architectureAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Design universal Elementor addon foundations for any WordPress codebase. Use for bootstrap design, lifecycle boundaries, compatibility gates, manager wiring, and asset loading policy.
SKILL.md
2.5 KB, 508 tokens by cl100k_base, as published. Nobody here has run it
Elementor Addon Architecture
Core (Universal)
Trigger Scope
Use this skill when the task is about extension-level structure:
- addon/plugin bootstrap
- initialization order and dependency checks
- manager registration wiring (widgets, controls, tags, finder, categories)
- global asset registration policy
Workflow
- Define runtime contract.
- target WordPress/PHP/Elementor ranges
- required dependencies and failure behavior
- Build startup boundaries.
- WordPress-safe load phase
- Elementor wiring phase after compatibility gate
- Organize registration surfaces.
- one method per manager type
- explicit include/registration map
- Define asset strategy.
- register handles centrally
- consume dependencies at widget/control level
- Validate boot behavior.
- deterministic startup
- no partial boot on incompatibility
Registration Map
| Component | Hook | Manager method |
|---|---|---|
| Widgets | elementor/widgets/register | register() / unregister() |
| Controls | elementor/controls/register | register() / unregister() |
| Dynamic Tags | elementor/dynamic_tags/register | register() / unregister() |
| Finder | elementor/finder/register | register() / unregister() |
| Categories | elementor/elements/categories_registered | add_category() |
Guardrails
- Do not call Elementor classes before compatibility checks pass.
- Do not mix bootstrap logic with feature logic in one file.
- Do not use deprecated registration APIs.
- Fail early with clear admin feedback on incompatibility.
Interop Handoff
- If request is mainly about widget logic, route to
$elementor-widget-development. - If request is mainly API modernization, route to
$elementor-apis-and-deprecations. - If request is theme-location rendering/fallback, route to
$elementor-themes. - If request is persisted content mutation, route to
$elementor-ops-and-data.
Minimal Example
defined( 'ABSPATH' ) || exit;
add_action( 'plugins_loaded', static function () {
\Vendor\Addon\Plugin::boot();
} );
private function can_run(): bool {
return did_action( 'elementor/loaded' )
&& version_compare( ELEMENTOR_VERSION, self::MIN_ELEMENTOR, '>=' )
&& version_compare( PHP_VERSION, self::MIN_PHP, '>=' );
}
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.