Implementation:23blocks OS Ai maestro Tutorial Data
| Knowledge Sources | |
|---|---|
| Domains | UI, Documentation |
| Last Updated | 2026-10-26 18:00 GMT |
Overview
Concrete tool for providing structured tutorial step data for the AI Maestro help panel, provided by AI Maestro's `lib/tutorialData.ts`.
Description
The tutorialData module exports a `tutorials` array of `Tutorial` objects, each with an id, title, description, lucide icon name, category (`getting-started`, `concepts`, `communication`, `tools`, `advanced`, `troubleshooting`), estimated time, and a list of `TutorialStep` objects (title, description, optional tip). These tutorials guide users through AI Maestro features: creating agents, viewing profiles, using the chat, messaging agents, managing memory, etc. The data is purely static — no logic — and is rendered by the help panel component.
Usage
Import `tutorials` to render the help panel's tutorial list. Filter by `category` to show grouped tutorials. Each tutorial's `steps` array drives a step-by-step walkthrough UI.
Code Reference
Source Location
- Repository: ai-maestro
- File: lib/tutorialData.ts
- Lines: L1-L555
Signature
export interface TutorialStep {
title: string
description: string
tip?: string
}
export interface Tutorial {
id: string
title: string
description: string
icon: string
category: 'getting-started' | 'concepts' | 'communication' | 'tools' | 'advanced' | 'troubleshooting'
estimatedTime: string
steps: TutorialStep[]
}
export const tutorials: Tutorial[]
Import
import { tutorials, type Tutorial, type TutorialStep } from '@/lib/tutorialData'
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| (none) | — | — | Static data export; no inputs |
Outputs
| Name | Type | Description |
|---|---|---|
| tutorials | Tutorial[] | Array of tutorial objects with steps |
Usage Examples
Render tutorials by category
import { tutorials } from '@/lib/tutorialData'
const gettingStarted = tutorials.filter(t => t.category === 'getting-started')
for (const t of gettingStarted) {
console.log(`${t.title} (${t.estimatedTime}) — ${t.steps.length} steps`)
}