AD

admin-ui-changes

Provides a guided process for modifying WordPress admin interfaces and associated logic.

Install

mkdir -p .claude/skills/admin-ui-changes && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12829" && unzip -o skill.zip -d .claude/skills/admin-ui-changes && rm skill.zip

Installs to .claude/skills/admin-ui-changes

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use this skill when changing WordPress admin pages, menus, templates, and admin JS/CSS.
87 chars · catalog description✓ has a “when” trigger
Intermediate

Key capabilities

  • Verify route/menu source in `AIPS_Admin_Menu::add_menu_pages()`
  • Identify controllers providing data to templates
  • Separate business logic into service/controller classes
  • Escape all output for security
  • Verify nonce/capability for state-changing actions
  • Place admin interactions in `ai-post-scheduler/assets/js/`

How it works

The skill outlines a workflow for mapping page ownership, separating concerns, implementing security measures, updating assets, and validating changes for WordPress admin UI modifications.

Inputs & outputs

You give it
Changes to WordPress admin pages, menus, templates, or admin JS/CSS
You get back
Updated admin UI components with separated concerns, security measures, and asset updates

When to use admin-ui-changes

  • Create new admin menu
  • Update admin CSS/JS
  • Modify admin page templates

About this skill

Admin UI Changes Skill

Use this skill when changing WordPress admin pages, menus, templates, and admin JS/CSS.

Scope

  • Admin menus/routes and admin-facing rendering.
  • ai-post-scheduler/templates/admin/, ai-post-scheduler/assets/js/, ai-post-scheduler/assets/css/, and admin controllers.

Required workflow

  1. Map page ownership
    • Verify route/menu source in AIPS_Admin_Menu::add_menu_pages().
    • Identify the controller that provides data to the template.
  2. Separate concerns
    • Put business logic in ai-post-scheduler/includes/ service/controller classes.
    • Keep templates in ai-post-scheduler/templates/admin/ primarily for rendering.
  3. Security + hygiene
    • Escape all output (esc_html, esc_attr, esc_url, wp_kses_post).
    • Verify nonce/capability for state-changing actions.
  4. Asset updates
    • Place admin interactions in ai-post-scheduler/assets/js/.
    • Keep styles in ai-post-scheduler/assets/css/ and reuse existing classes when possible.
  5. Validation
    • Exercise affected admin pages.
    • Run relevant PHPUnit tests for touched controllers/services.

Guardrails

  • Do not register menu pages in AIPS_Settings; use AIPS_Admin_Menu.
  • Avoid render-time controller reinstantiation patterns.
  • Follow plugin style conventions (tabs, array()).

Useful files

  • ai-post-scheduler/includes/class-aips-admin-menu.php
  • ai-post-scheduler/includes/class-aips-admin-assets.php
  • ai-post-scheduler/templates/admin/
  • ai-post-scheduler/assets/js/
  • ai-post-scheduler/assets/css/

When not to use it

  • When registering menu pages in `AIPS_Settings`
  • When using render-time controller reinstantiation patterns
  • When not adhering to plugin style conventions

Limitations

  • Admin menus/routes and admin-facing rendering are within scope
  • Templates are primarily for rendering
  • Requires adherence to plugin style conventions

How it compares

This skill provides a structured workflow for modifying WordPress admin UI, ensuring adherence to security and architectural best practices, unlike direct, unguided modifications.

Compared to similar skills

admin-ui-changes side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
admin-ui-changes (this skill)02moNo flagsIntermediate
fullstack-guardian13moNo flagsAdvanced
tauri-syntax-permissions04moNo flagsIntermediate
tauri05moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry