wp-admin-form-controls

Official

Enqueue core WP admin form widgets correctly

Authorvikingokft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Fixes broken or unstyled WordPress admin form controls caused by incorrect enqueues, missing companion assets (CSS/JS), and subtle API/formatting mismatches when using core widgets.

Core Features & Use Cases

  • Correct widget enqueues: Ensures wp-color-picker includes both script and stylesheet, and that wp-pointer uses both script and its required styles.
  • Core datepicker and formatting correctness: Handles the fact that jquery-ui-datepicker ships without default WP CSS, and applies the correct jQuery UI dateFormat plus strict server-side sanitization to store ISO Y-m-d safely.
  • Reliable autocomplete and pointer behavior: Uses proper jquery-ui-autocomplete source shapes (including async patterns using response()), and persists wp-pointer dismissal via core’s dismiss-wp-pointer convention.

Quick Start

Ask the AI to generate the exact WordPress admin enqueue + field markup + JS init needed for a settings page field that needs a color picker, a yy-mm-dd datepicker, and an async autocomplete with persisted onboarding tooltip.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wp-admin-form-controls
Download link: https://github.com/vikingokft/wp-agent-skills/archive/main.zip#wp-admin-form-controls

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.