hyva-cms-custom-field

Installation
SKILL.md

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

Non-interactive runs: If the user cannot be asked (subagent or non-interactive run), take the inputs from the request. Stop and report what is missing if the target module (or the vendor and module name for a new module), the field type name or its purpose were not given. Choose the UI pattern, data structure and validation from the stated purpose, and state the choices in the final report.

Workflow

Step 1: Module Selection

Installs
780
GitHub Stars
86
First Seen
Jan 29, 2026