Skip to content
Back to skills

019 Chapter D0c8fc8b

ASecurity

This chapter contains info about `Structured data` provided as an input to the *UI Agent* to select UI component for. *Controlling assistant* or *Data providing agent* must provide data conforming to these rules to get good results from the *UI Agent*. Non conforming data may work still to get reasonable `Data UI Block`, but results are not guaranteed.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 31, 2026
ai-agentsgofrontendbackend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 31, 2026

npx -y skills add tools-only/X-Skills --skill 019-chapter_d0c8fc8b --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 019 Chapter D0c8fc8b?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 019 Chapter D0c8fc8b
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-019-chapter-d0c8fc8b/badge)](https://www.skillsdirectory.com/skills/tools-only-019-chapter-d0c8fc8b)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Input data

This chapter contains info about `Structured data` provided as an input to the *UI Agent* to select UI component for.
*Controlling assistant* or *Data providing agent* must provide data conforming to these rules to get good results from the *UI Agent*.
Non conforming data may work still to get reasonable `Data UI Block`, but results are not guaranteed.

## Data must be relevant for the User prompt

*UI Agent* expects that provided data are relevant to the current `User prompt`, as it generates UI which shows that data regarding to the user prompt. 
Results for unrelated data are not guaranteed.

## `InputData` object fields

`InputData` is *UI Agent* input object, containing one piece of data the one UI component is generated for. Fields in this object:

* `id` - unique id of the data piece, used for internal processings, logging, tracing etc
* `data` - string with structured backend data to be processed to UI component
* `type` - optional string identifier of the data piece type eg. `movies.movie-detail`, `movies.movies-list`, `movies.actor-detail`. It is up to *Controlling assistant*
   to define and use these types, but it might be a good idea to use tree like hierarchy here, and descriebe business meaning of the data. Other option is 
   to use name of the LLM tool used to load backend data, as implemented in some of our AI framework bindings.
   It is used to identify data type for multiple features like configurable component selection, input data transformation, input data JSON wrapping etc.
* `type_metadata` - optional string with type specific metadata passed to the renderer. Example use case: JSON-serialized tool call arguments used to load the data, 
   enabling frontend to refresh data with same parameters. For example: `{"title": "Toy Story"}`.

There are additional optional fields controlling additional features:

* `hand_build_component_type` - one of [Hand Built Component selection methods](../data_ui_blocks/hand_build_components.md)

## JSON format - data transformations

*UI Agent* expects [JSON formatted](https://datatracker.ietf.org/doc/html/rfc8259) structured backend input data.
[JSONPath](https://www.rfc-editor.org/rfc/rfc9535.html) is generated by LLM and used to get values from the data for the UI rendering.

So structured backend data provided as an input **MUST BE** in the JSON format. 
If not then ["Input Data Transformation"](transformation.md) must be used.

## Data structures

LLM used by *UI Agent* looks at the data structure, and uses it as one of the main clues (together with `User prompt`) to select proper UI component.

See [Input Data Structures](structure.md).

Files in this skill

  • README.md951 B
  • skill.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.