Skip to content
hyva-themes avatar

Hyva Cms Custom Field

Custom field types and field handlers for Hyvä CMS, with basic, inline, and modal-based patterns.

CCM score
63 of 100
skills.sh installs
781
GitHub stars
86
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the three implementation patterns: basic custom field type, inline field handler, and modal-based field handler
  • Includes field and handler templates from assets/templates/, plus di.xml and layout XML registration steps
  • Enforces the required element IDs, updateWireField() or updateField() value updates, and $magewire->errors handling
  • Designed for developers adding specialized editor inputs to Hyvä CMS components, with dependencies on hyva-create-module and hyva-exec-shell-cmd

Install

$ npx -y skills add hyva-themes/hyva-ai-tools --skill hyva-cms-custom-field -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Hyvä CMS Custom Field Type Creator

Overview

This skill guides the creation of custom field types and field handlers for Hyvä CMS components. Custom field types extend the built-in field types (text, textarea, select, etc.) with specialized input controls for the CMS editor interface.

Two types of custom fields:

  1. Basic Custom Field Type: Custom input control with direct data entry (e.g., date range, color picker, custom validation)
  2. Field Handler: Enhanced UI with complex interactions (e.g., product selector with images, searchable dropdown, link configuration modal)

Command execution: For commands that need to run inside the development environment (e.g., bin/magento), use the hyva-exec-shell-cmd skill to detect the environment and determine the appropriate command wrapper.

Skill deps (read via <skill_path>/../{name}/SKILL.md, where <skill_path> is the directory containing this SKILL.md file): hyva-exec-shell-cmd, hyva-create-module

Details

Repository
github.com/hyva-themes/hyva-ai-tools
Categories
PHP & Laravel, Frontend & UI Code
First seen
Jun 3, 2026

Questions

Which skill should I use to create a custom field type for Hyvä CMS?

The hyva-cms-custom-field skill guides the creation of custom field types and field handlers for Hyvä CMS components. It covers basic inputs, inline handlers and modal-based selectors that extend the built-in CMS field types such as text, textarea and select.

Does hyva-cms-custom-field work with other Hyvä CMS skills?

It needs the hyva-exec-shell-cmd and hyva-create-module skills and is listed alongside hyva-cms-component in the Hyvä AI Skills repository. It also needs the Hyva_CmsBase and Hyva_CmsLiveviewEditor modules and the hyva-themes/commerce-module-cms Composer package.

How do I install the hyva-cms-custom-field skill?

Run npx -y skills add hyva-themes/hyva-ai-tools --skill hyva-cms-custom-field -y in your project. After that, the agent can use the skill to build custom CMS field types and modal selectors.

Where does hyva-cms-custom-field rank in the PHP and Laravel category?

On the PHP and Laravel category page on Claude Marketplaces, it ranks in the top 100. Other skills in that category include laravel-specialist, php-pro and laravel-patterns, but this one targets Hyvä CMS field work specifically.

More from hyva-themes/hyva-ai-tools

All 12

Similar to Hyva Cms Custom Field

More PHP & Laravel