Compose, check, preview, and publish panel applications with the OntoPlato SDK. Use when building a new panel application or moving an existing page into the product layer.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ontoplato App Builder?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ontomato-ai-ontoplato-app-builder)
---
name: ontoplato-app-builder
description: Compose, check, preview, and publish panel applications with the OntoPlato SDK. Use when building a new panel application or moving an existing page into the product layer.
compatibility: Requires Node.js 24+. Inside the platform, host-injected URLs, credentials, and the mounted workspace are used automatically; outside the platform, configure ONTOMATO_URL with ONTOMATO_TK or ONTOMATO_API_KEY (or application.yml).
---
# App Builder
**Application IDs must start with `app-`; place application and entry paths under `/applications/<app-id>/`.**
## How OntoPlato fits together
OntoPlato is an ontology-driven platform. Applications are composed as product-layer Vue panels (`panel.html`, `panel.mjs`, `panel.json`, optional `panel.css` and `recipes.md`) whose projections bind official SDK components to owner-declared reads, MetricViews, and Actions. Business data, calculations, and permission checks always stay with their owners; the same registered panel works full-page, embedded, and beside a conversation, sharing the exact same forms, operations, and permissions with the page assistant.
Build an application in three stages:
1. **Model the ontology and load data** — classes, properties, relations, and business records.
2. **Define capabilities, workflows, agents, and permissions** — MetricViews for calculated reads, Actions and workflows for writes, roles/permissions, and agents where needed.
3. **Assemble and check application source (this skill)** — inspect available reads and operations (`panel type`), pick components from the two-layer SDK catalogue (`sdk read docs/components.md` → `sdk read docs/components/<Name>.md`), write the [application source tree](GUIDE.md#application-source), and run `panel check`.
**What other skills handle:**
| Area | Skill |
| --- | --- |
| Build ontology, mappings, and import business/test data | `ontoplato-model-builder` |
| Author Actions or MetricViews | `ontoplato-capability-builder` (or this skill's [GUIDE.md](GUIDE.md): `action save` → `action trial` → `action publish` and `metric-view generate`) |
| Build and publish multi-step business workflows and triggers | `ontoplato-workflow-admin` |
| Set up organizations, roles, and menu/API/row/column permissions | `ontoplato-permission` |
| Data analysis, delegated retrieval, and agent configuration | `ontoplato-analyst`, `ontoplato-agent-builder` |
## Publishing and synchronization
Full applications (containing `application.json`) **cannot** be published via CLI `panel register`—running `panel register` on a full application directory is rejected by design (`panel register` is only for legacy single-panel material directories). Full application publication always requires human confirmation on the Application Builder page:
- **In-platform runs**: changes in `work/` are automatically recorded as source commits. Select that commit in Application Builder and use the page's registered **Preview**, **Publish**, and **Sync** operations to validate and release (see [Check, preview, and publish](references/panel-authoring/recipes/register-and-open.md) and [GUIDE.md](GUIDE.md#check-preview-and-publish)). Under standard §2.4.2, an agent may request Publish or Sync and the page submits after user confirmation; always use this flow when updating a published application.
- **External runs**: completing discovery (`panel type`), scaffolding (`panel scaffold`), and zero-error validation (`panel check`) completes the external CLI portion of this skill; hand the validated application source directory back to the Application Builder page (import/sync to a workspace) for human preview and confirmation—**never attempt to bypass UI publish confirmation**.
## Essential commands
Run all commands via `node <this-skill>/scripts/ontomato.mjs` (where `<this-skill>` is the directory containing this `SKILL.md`; connections adapt automatically between platform callbacks and external `ONTOMATO_URL` + `ONTOMATO_TK`/`ONTOMATO_API_KEY` or `application.yml`, see [GUIDE.md](GUIDE.md#connection-and-workspace)):
```text
sdk current # current SDK release info
sdk read docs/components.md # grouped overview: one line per panel-usable component
sdk read docs/components/<Name>.md # one component's full data, config, slots, and events
panel type <id> [--read <name>] # object type reads, parameters, resultSchema, and operations
panel projections [--component <id>] [--object-type <typeId>] [--q <text>] # find reusable projections
panel scaffold <type> <new-dir> # scaffold an application with catalog and detail panels
panel check <dir> # validate sources, declarations, CSS, and bindings
```
There is no `sdk list` or top-level `read ObjectType`. For `<sdk-*>` data-free UI primitives and `--sdk-*` theme tokens, read `sdk read docs/components/ui-primitives.md` and `sdk read docs/components/theme-tokens.md`. `sdk read docs/reference.md` is the full API reference — consult on demand.
## What you want to do → where to look
Start here: pick the row for your task and read only that recipe or component page.
| What you want to do | Where to look |
| --- | --- |
| Browse available panel components by purpose | `sdk read docs/components.md` (then `sdk read docs/components/<Name>.md`) |
| Find reusable projections by component or bound object type | `panel projections [--component <componentId>] [--object-type <typeId>] [--q <text>]` (filters full visible catalogue before paging) |
| Pick a starter page layout (catalog + detail, split editor, modal edit, app frame) | [Page templates](references/templates/README.md) · [Panel authoring guide](references/panel-authoring/guide.md) |
| Move an existing page into the product layer | [Migrate an existing page](references/migrate-existing-page.md) · [App decomposition](references/app-standard/guide.md) |
| Plan work surfaces and follow the platform visual language | [Application design](references/application-design.md) |
| Lay out a page, `<page-header>`, split panes, button roles, and container responsiveness | [Layout & page header](references/panel-authoring/recipes/layout-and-page-header.md) · `sdk read docs/components/PageHeader.md` · `TwoPaneLayout.md` |
| Use `<sdk-*>` dialogs, drawers, notifications, theme tokens, and CSS appearance overrides | [Controls & guardrails](references/panel-authoring/recipes/controls-and-guardrails.md) · `sdk read docs/components/ui-primitives.md` · `sdk read docs/components/theme-tokens.md` |
| Navigate between entries with flat named URL parameters and `deepLink` rules | [Flat URL parameters & deepLink](references/panel-authoring/recipes/url-parameters.md) |
| Decide between official defaults, CSS overrides, `config`, Vue slots, or a custom component | [Component vs. panel responsibility & reuse order](references/panel-authoring/recipes/component-vs-panel-responsibility.md) |
| Read projection outputs (`usePanelOutput`) or wire one member's output to another | [Projection outputs](references/panel-authoring/recipes/projection-outputs.md) |
| Show a list, table, card grid, tabs, or grouped draggable grid | `sdk read docs/components/ObjectList.md` · `sdk read docs/components/GroupedGrid.md` |
| Filter or sort a list by field/status, or bind read parameters & component events | [Bind read parameters & events](references/panel-authoring/recipes/bind-read-parameters-and-events.md) · `sdk read docs/components/ObjectList.md` |
| Customize table columns, row detail expansion, or per-row operations | [List slots & row operations](references/panel-authoring/recipes/list-slots-and-row-operations.md) · `sdk read docs/components/ObjectList.md` |
| Display an object header, summary fields, typed value, banner, or reference card | `sdk read docs/components/ObjectHeader.md` · `ObjectSummary.md` · `TypedValue.md` · `RecordTemplate.md` · `InfoBanner.md` · `ObjectRefCard.md` |
| Build a create or edit form with Save/Discard (`ObjectForm`, `usePanelFormDraft`) | [Save a form](references/panel-authoring/recipes/save-a-form.md) · `sdk read docs/components/ObjectForm.md` |
| Wire a customer `ObjectType` form to edit/create `Action`s (including targetless Actions) | [Customer ObjectType forms & Actions](references/panel-authoring/recipes/customer-object-forms-and-actions.md) · `sdk read docs/components/ObjectForm.md` |
| Trigger a business operation button, batch action, or file upload | [Invoke owner operations](references/panel-authoring/recipes/invoke-owner-operations.md) · `sdk read docs/components/OperationButton.md` · `FileUploadControl.md` |
| Embed dashboard charts, KPI cards, counts, or single-member refresh | [Offline check & SDK docs](references/panel-authoring/recipes/offline-check-and-sdk-docs.md) · `sdk read docs/components/MetricChart.md` · `MetricCard.md` · `ObjectCount.md` |
| Display an ontology or custom graph and link it to one-hop relations | [Graph & relations](references/panel-authoring/recipes/graph-and-relations.md) · `sdk read docs/components/InstanceGraph.md` · `RecordGraph.md` · `ObjectRelations.md` |
| Select a child record or browse files, text, and annotated code | [Child records](references/panel-authoring/recipes/child-records.md) · `sdk read docs/components/ObjectTree.md` · `ObjectTextReader.md` · `AnnotatedCode.md` |
| Place the official `AgentChat` or a conversation entry on a page; customize with CSS and slots | [Conversation entries](references/panel-authoring/recipes/conversation-entries.md) · `sdk read docs/components/ConversationEntry.md` · `sdk read docs/components/AgentChat.md` |
| Offer PDF, dashboard, PPT, or another follow-up action from a completed reply | Set `AgentChat` `config.resultActions: true`, or call `component.requestArtifactAction(message)` on the projection ref; omit `#artifact-actions` to keep host defaults · [Conversation result actions](references/panel-authoring/recipes/conversation-workbench.md#conversation-result-actions) |
| Compose a conversation workbench with agent/task navigation, `AgentPicker`, or artifact preview | [Conversation workbench](references/panel-authoring/recipes/conversation-workbench.md) · [Selected agent read-only display](GUIDE.md#panels-and-application-uses) · `sdk read docs/components/AgentArtifactPreview.md` |
| Handle narrow containers, availability gating, and compact slot projections | [Availability & narrow containers](references/panel-authoring/recipes/availability-and-narrow-containers.md) |
| Run `panel check` offline against an installed SDK release | [Offline check & SDK docs](references/panel-authoring/recipes/offline-check-and-sdk-docs.md) |
| Check, preview, and publish application source | [Check, preview, and publish](references/panel-authoring/recipes/register-and-open.md) · [Application source](GUIDE.md#application-source) |
| Debug a blank panel, empty list, or form that will not fill or save | [Troubleshooting](references/panel-authoring/recipes/troubleshooting.md) |
| Understand what the page assistant receives and verify assistant control | [Assistant context](references/panel-authoring/recipes/assistant-context.md) · [Runtime hooks](references/panel-authoring/RUNTIME.md) |
| Author customer Actions / MetricViews, full CLI contract, or management page recipes | [Technical guide](GUIDE.md) · [Management page recipes](references/management-pages.md) · [Full standard](references/standard.md) |
## Rules the author must follow
`panel check` automatically catches structural errors, disallowed imports (only `vue` and `@ontomato/sdk/panel`; direct `fetch`/`XMLHttpRequest`/`EventSource`/`WebSocket` are rejected), third-party UI/CSS violations (`el-*`, `v-loading`, `--el-*`, `element-plus`, `:deep`/`::v-deep`), and declaration/binding mismatches. Follow these judgment rules that machine checks cannot enforce:
1. **Container-driven layout.** Size by container width and height (`@container`, flex, grid), never by window width or hardcoded viewport subtractions; the same panel must work full-page, embedded, and beside a conversation. Every `<projection>` sits inside the platform's `.sdk-panel-member` wrapper: when a member must fill a definite-height grid or flex cell, constrain that wrapper explicitly in panel CSS.
2. **Reads through projections, writes through declared operations.** Never render raw ontology records in panel HTML or call business APIs. Use `<sdk-button>` for local UI actions only; every business write invokes a declared member operation, every inline `ObjectForm` must bind an operation or have its draft referenced via `draft`/`operationDrafts`, and post-action updates/navigation rely strictly on the operation outcome (never inferred from list changes).
3. **No business calculations or judgments in panels or components.** Calculations, metrics, and thresholds belong in MetricViews, Actions, or platform built-in reads. Use `usePanelOutput` / `usePanelOutputs` only for wiring, visibility/equality/zero checks, or text-only slots; never present loaded row counts as a paged `total`.
4. **No automatic writes on display.** Writes occur only on explicit user action or an explicit agent `page_action`.
5. **Reuse first, CSS for appearance, `config` for behavior and data.** Follow the [component and asset reuse order](references/panel-authoring/recipes/component-vs-panel-responsibility.md#component-and-asset-reuse-order-authoritative-rule); give every `ObjectList` column an explicit `labelKey` in `content.messages`.
6. **Public state, `deepLink`, and human-only operations.** Follow the [public state and `deepLink` rules](references/panel-authoring/recipes/url-parameters.md#public-state-and-deeplink-rules-authoritative-rule) to separate view-restoration state from dialog/edit state. Under standard §2.4.2, only the human chooses local files to upload and enters/receives secrets.
7. **Custom component contract.** Domain components never call business APIs directly and must clearly declare `meaning`, data ports, config, inputs, outputs, and operations.
Read [Application design](references/application-design.md) before designing or polishing a panel. For delegated retrieval, use `ontoplato-analyst` and follow [Agent delegation](GUIDE.md#agent-delegation). When an Action starts or advances a Praxis workflow, use the `query_runtime` `praxis_*` helpers with platform-injected `ONTOMATO_PRAXIS_URL` and `ONTOMATO_CALLER_TK` (never declare the caller token as an Action parameter, print it, or expose it in a panel), and read `references/praxis-helpers.md` in `ontoplato-workflow-admin` before writing the Action (the runtime's `helpers` output remains authoritative for exact signatures).