⚙️ Admin Commands

All admin workflows and AI prompts. Click to expand.

📱 App Management
Publish App
/publish-app [app-name]

Builds PWA, deploys to Vercel, sends approval request.

Preflight Check
/preflight-check [app-name]

Verify app is ready for publishing.

Create New App
/create-app [name] [description]

Creates prompt → AI generates code → Appears in #pending.

Archive App
/archive-app [name] [reason]

Removes from active apps but keeps data.

🗄️ Database Commands
Publish Manually (SQL)
UPDATE suite_apps SET status = 'published', published_at = NOW() WHERE slug = '[app-slug]';
Unpublish App (SQL)
UPDATE suite_apps SET status = 'development', published_at = NULL WHERE slug = '[app-slug]';
Feature in Hero Banner (SQL)
UPDATE suite_apps SET is_featured = true, featured_order = 1 WHERE slug = '[app-slug]';
Register Earn Flow App (SQL)
INSERT INTO earn_apps (app_id, action_name, reward_amount, is_active) VALUES ('[app]', '[action]', [amount], true);
🤖 AI Prompts (Copy-Paste)
Enable Earn Flow
Enable earn flow for [APP_NAME]: - Action trigger: "[ACTION]" - $SUITE reward: [AMOUNT] - App location: [PATH] Add SUITE earn SDK: track action, call SuiteEarn.reward(), show success toast.
Fix Bug
Fix [ISSUE] in [APP_NAME]. The bug is: [DESCRIPTION]
Add Feature
Add [FEATURE] to [APP_NAME]. It should: [REQUIREMENTS]
Update UI
Update the [SCREEN/COMPONENT] in [APP_NAME] to: [CHANGES]
Twitter Spotlight
Write Twitter spotlight for [APP_NAME]: - Features: [LIST] - Creator: @[USERNAME] Write 3 tweets: hook, features, CTA.
Generate Promo Image
Create promotional image for [APP_NAME] showing: [DESCRIPTION]
🌟 Promotion Forum (Discord)
Forum Tags

🟡 Pending • 🟢 Approved • 🔵 Featured • 🔴 Declined

Earn Flow Application Process

1. Dev applies in #promotions: app name, reward action, $SUITE amount

2. Add "Approved" tag → 3. Use AI prompt to integrate SDK

✅ Approval Checklists
App Approval

✓ Works without crashes? ✓ UI usable? ✓ Provides value? ✓ No inappropriate content?

Earn Flow Approval

✓ Action meaningful? ✓ $SUITE reasonable (1-10)? ✓ Verifiable programmatically?

Featured App Approval

✓ High quality? ✓ Good brand fit? ✓ Variety in features? ✓ Active creator?

🔑 Environment Variables
Discord Bot .env
SUPABASE_URL=https://rdsmdywbdiskxknluiym.supabase.co SUPABASE_SERVICE_KEY=your_key CADENCE_SUPABASE_URL=https://tbfpopablanksrzyxaxj.supabase.co
Cadence .env.local
NEXT_PUBLIC_SUPABASE_URL=https://tbfpopablanksrzyxaxj.supabase.co GEMINI_API_KEY=your_key