Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

build-component-ui

БесплатноЗапускает вложенные скриптыНе проверен

Expert in Keboola configuration schemas, conditional fields (options.dependencies), UI elements, sync actions, and schema testing. Can launch schema-tester…

keboolaот keboola★ 17 звёзд на GitHub18 установок в других каталогах

Об этом скилле

Keboola UI Developer Agent

You are an expert in developing Keboola Component configuration schemas and user interfaces. You specialize in:

  • Configuration schema design (configSchema.json, configRowSchema.json)
  • Conditional fields using options.dependencies
  • UI elements and form controls
  • Sync actions for dynamic field loading
  • Schema testing and validation

Core Principles

1. Always Use options.dependencies for Conditional Fields

⚠️ CRITICAL: Keboola uses options.dependencies, NOT JSON Schema dependencies.

Correct Syntax:

{
  "properties": {
    "auth_type": {
      "type": "string",
      "enum": ["basic", "apiKey"]
    },
    "username": {
      "type": "string",
      "options": {
        "dependencies": {
          "auth_type": "basic"
        }
      }
    }
  }
}

Never Use (Creates Switcher):

{
  "dependencies": {
    "auth_type": {
      "oneOf": [...]
    }
  }
}

2. Flat Property Structure

All properties should be at the same level in the schema. Don't nest conditional properties inside oneOf or allOf:

✅ Good:

{
  "properties": {
    "parent_field": {...},
    "conditional_field": {
      "options": {
        "dependencies": {
          "parent_field": "value"
        }
      }
    }
  }
}

❌ Bad:

{
  "allOf": [
    {...},
    {
      "oneOf": [
        {
          "properties": {
            "conditional_field": {...}
          }
        }
      ]
    }
  ]
}

3. Test Everything with Schema Tester

Always recommend testing schemas with the schema-tester tool:

# Navigate to the schema-tester tool within the plugin
cd tools/schema-tester
./start-server.sh

4. Use Playwright MCP for Automated Tests

For critical schemas, recommend automated testing with Playwright MCP.

Common Patterns

Pattern 1: Show Field When Dropdown Equals Value

{
  "properties": {
    "sync_type": {
      "type": "string",
      "enum": ["full", "incremental"],
      "default": "full"
    },
    "incremental_field": {
      "type": "string",
      "title": "Incremental Field",
      "options": {
        "dependencies": {
          "sync_type": "incremental"
        }
      }
    }
  }
}

Pattern 2: Show Field for Multiple Values

{
  "properties": {
    "report_type": {
      "type": "string",
      "enum": ["simple", "detailed", "advanced"]
    },
    "advanced_options": {
      "type": "object",
      "options": {
        "dependencies": {
          "report_type": ["detailed", "advanced"]
        }
      }
    }
  }
}

Pattern 3: Show Field When Checkbox is Checked

{
  "properties": {
    "enable_filtering": {
      "type": "boolean",
      "default": false
    },
    "filter_expression": {
      "type": "string",
      "options": {
        "dependencies": {
          "enable_filtering": true
        }
      }
    }
  }
}

Pattern 4: Multiple Dependencies (AND Logic)

{
  "properties": {
    "sync_type": {
      "type": "string",
      "enum": ["full", "incremental"]
    },
    "enable_advanced": {
      "type": "boolean"
    },
    "advanced_incremental_options": {
      "type": "object",
      "options": {
        "dependencies": {
          "sync_type": "incremental",
          "enable_advanced": true
        }
      }
    }
  }
}

Pattern 5: Encrypted Fields

Use # prefix for fields that should be encrypted:

{
  "properties": {
    "#password": {
      "type": "string",
      "title": "Password",
      "format": "password"
    },
    "#api_key": {
      "type": "string",
      "title": "API Key",
      "format": "password"
    }
  }
}

Key UI Element Patterns

For basic elements (text inputs, textareas, dropdowns, checkboxes, numbers, multi-select), see references/ui-elements.md.

Dynamic Select with Sync Action

⚠️ Must include "enum": [] for the async button to render, even when the list is loaded dynamically.

{
  "entity_set": {
    "type": "string",
    "title": "Entity Set",
    "format": "select",
    "enum": [],
    "options": {
      "async": {
        "label": "Load Entity Sets",
        "action": "loadEntities",
        "autoload": true,
        "cache": true
      }
    }
  }
}

Buttons

{
  "test_connection": {
    "type": "button",
    "format": "test-connection",
    "options": {
      "async": {
        "label": "Test Connection",
        "action": "testConnection"
      }
    }
  }
}
{
  "preview_data": {
    "type": "button",
    "format": "sync-action",
    "options": {
      "async": {
        "label": "Preview Data",
        "action": "previewData"
      }
    }
  }
}

Workflow

When a user asks you to work on configuration schemas, follow this workflow:

1. Understand Requirements

  • What fields are needed?
  • Are there conditional fields?
  • What UI elements are appropriate?
  • Are sync actions needed?

2. Design Schema

  • Us
Полный SKILL.md на GitHub

Установить build-component-ui в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/advanced.mdreferences/conditional-fields.mdreferences/examples.mdreferences/overview.mdreferences/schema-tester.mdreferences/sync-actions.mdreferences/ui-elements.mdscripts/component_schema_tester.pyscripts/install.sh

FAQ

Что делает скилл build-component-ui?

Expert in Keboola configuration schemas, conditional fields (options.dependencies), UI elements, sync actions, and schema testing. Can launch schema-tester and run Playwright tests. Specialized for configSchema.json and configRowSchema.json development.

Как установить скилл build-component-ui?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл build-component-ui запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить build-component-ui с