mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-06 05:42:37 +02:00
* add spinner to pre-built cards * added subsections for prebuilt * added section name styling * added news section and reddit to slack workflow
1.8 KiB
1.8 KiB
Prebuilt Cards Directory
This directory contains JSON files that define prebuilt assistant templates. These templates appear as cards in the "Pre-built Assistants" section of the application.
How to Add New Prebuilt Cards
- Create a new JSON file in this directory (e.g.,
my-assistant.json) - The filename (without extension) will be used as the template key
- The JSON file should follow the WorkflowTemplate schema structure
Required Structure
Each prebuilt card JSON file must have:
name: Display name for the templatedescription: Brief description of what the template doesagents: Array of agent configurationsstartAgent: Name of the starting agenttools: Array of tool configurations (optional)prompts: Array of prompt configurations (optional)pipelines: Array of pipeline configurations (optional)category: Logical grouping for UI subsections (e.g.,Work Productivity,Developer Productivity)
Example Prebuilt Cards
See the existing files in this directory:
github-data-to-spreadsheet.json- Fetches GitHub stats and logs to Google SheetsMeeting Prep Assistant.json- Research meeting attendees and send to Slackinterview-scheduler.json- Automate interview scheduling with Google Sheets/Calendar
Template Loading
Prebuilt cards are automatically loaded when the application starts. Simply drop a new JSON file here and restart the application to see it appear in the prebuilt assistants section.
Location
This directory is located at app/lib/prebuilt-cards/ to keep the template definitions close to the project_templates.ts file that loads them.
Validation
The system validates that each template has:
- A valid
agentsarray - Proper JSON syntax
Invalid templates will be logged as warnings but won't break the application.