Skip to content

feat: Seed onboarding task templates#4

Merged
sidneyswift merged 1 commit intomainfrom
feat/onboarding-templates
Jan 29, 2026
Merged

feat: Seed onboarding task templates#4
sidneyswift merged 1 commit intomainfrom
feat/onboarding-templates

Conversation

@sidneyswift
Copy link
Contributor

@sidneyswift sidneyswift commented Jan 28, 2026

Summary

  • Seeds 3 onboarding task templates into agent_templates table
  • System templates (creator = NULL, is_private = false)
  • Tagged with onboarding and role-specific tags for filtering

Templates Added

  1. Competitive Analysis Report - For managers, labels, marketing
  2. Content Trends Analysis - For artists, marketing, PR
  3. Press & Playlist Opportunities - For PR, managers, labels

Details

  • Each template contains {artistName} and {userEmail} placeholders
  • All prompts instruct the agent to email results using send_email tool
  • Uses ON CONFLICT (title) DO NOTHING for idempotency

Related

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added three onboarding templates: Competitive Analysis Report, Content Trends Analysis, and Press & Playlist Opportunities
    • Templates include automated report generation with email delivery capabilities
    • Templates support multiple user roles including artist, manager, label, marketing, and PR professionals

✏️ Tip: You can customize this high-level summary in your review settings.

- Add 3 onboarding templates: Competitive Analysis, Content Trends, Press & Playlist Opportunities
- Templates use {artistName} and {userEmail} placeholders
- Tagged with 'onboarding' and role-specific tags for filtering
- Prompts include send_email tool usage for automated reports

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@supabase
Copy link

supabase bot commented Jan 28, 2026

Updates to Preview Branch (feat/onboarding-templates) ↗︎

Deployments Status Updated
Database Wed, 28 Jan 2026 22:03:56 UTC
Services Wed, 28 Jan 2026 22:03:56 UTC
APIs Wed, 28 Jan 2026 22:03:56 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Configurations Wed, 28 Jan 2026 22:04:07 UTC
Migrations Wed, 28 Jan 2026 22:03:58 UTC
Seeding Wed, 28 Jan 2026 22:04:09 UTC
Edge Functions Wed, 28 Jan 2026 22:03:56 UTC

View logs for this Workflow Run ↗︎.
Learn more about Supabase for Git ↗︎.

@coderabbitai
Copy link

coderabbitai bot commented Jan 28, 2026

📝 Walkthrough

Walkthrough

A database migration that seeds three pre-configured onboarding templates into the agent_templates table, each containing role-specific prompts with placeholder variables and email delivery actions for competitive analysis, content trends, and press opportunity reports.

Changes

Cohort / File(s) Summary
Database Seeding
supabase/migrations/20260128000000_seed_onboarding_templates.sql
Inserts three onboarding templates with role-specific titles, descriptions, and multi-step prompts containing interpolatable placeholders ({artistName}, {userEmail}) and send_email actions; includes tag arrays defining role associations (manager, label, marketing, artist, pr) and conflict resolution via ON CONFLICT clause

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Three templates hop into the database with care,
With tags and prompts floating through the air,
Onboarding reports, analysis galore,
Seeded with {placeholders} to explore,
No conflicts here—just smooth workflow prepared! 📧

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: seeding onboarding task templates into the database. It directly matches the primary objective and file changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sidneyswift sidneyswift merged commit e7d861d into main Jan 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants