home / skills / opentiny / agent-skills / tiny-robot-skill
This skill helps you generate compliant TinyRobot Vue components and implementation guidance by consulting docs, demos, and rules to ensure fidelity.
npx playbooks add skill opentiny/agent-skills --skill tiny-robot-skillReview the files below or copy the command above to add this skill to your agents.
---
name: tiny-robot-skill
description: TinyRobot component library **code generation** and **implementation guidance**. Use when analyzing, planning, or generating TinyRobot (AI chat UI) components. This skill provides API constraints, doc/example lookup flow, and code conventions.
license: MIT
metadata:
author: opentiny
version: '1.0.0'
---
# TinyRobot Component Library Assistant
This skill provides TinyRobot component library resources: component index, docs, and demo code, to help **generate compliant code quickly**.
## When to use
- Developing with TinyRobot component library (AI chat UI components)
- Configuring project theme and other setup
- Looking up component docs and demo code
- Writing code that follows TinyRobot best practices
## Directory structure
```
./themeConfig.ts - Sidebar/menu index from source (sharedSidebarItems = guide + components + tools)
./src/ - Markdown docs: components (src/components/), guide (src/guide/), tools (src/tools/), examples, migration
./demos/ - Demo source code per component (from source docs/demos)
./rules/ - Lookup and usage rules
```
## How to use
Follow the rule docs for the task:
| Rule document | Use case |
| ------------------------------------------------- | -------------------------------------------------------------- |
| [project-setting](rules/project-setting.md) | Install TinyRobot, import components, theme and project setup |
| [component-use](rules/component-use.md) | Find component docs and demo code |
## Constraints
- Follow project and component API docs strictly
- Do not guess TinyRobot usage from other libraries
- Look up in order: component name → API/docs → demo code
This skill is a TinyRobot component library assistant that accelerates code generation and implementation guidance for TinyRobot (AI chat UI) components. It supplies a component index, documentation lookup flow, and demo code to produce compliant, production-ready Vue components. Use it to ensure generated code follows TinyRobot APIs and project conventions.
The skill inspects the component name and follows a strict lookup order: component API/docs first, then demo code. It references project-setting and component-use rules to provide installation, theme configuration, and usage examples. Outputs adhere to the library constraints and do not infer behavior from other UI libraries.
What lookup order should I follow when generating code?
Always search by component name, then read the API/docs, and finally consult the demo code for usage patterns.
Can I apply patterns from other Vue UI libraries?
No. Do not assume behaviors from other libraries. Stick strictly to TinyRobot API and demo code to avoid incompatibilities.