一键导入
apply-migration
Apply SQL migration files to JusticeHub Supabase database with verification and error handling.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Apply SQL migration files to JusticeHub Supabase database with verification and error handling.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
JusticeHub brand alignment and design system. Use for page creation, design review, component patterns, accessibility, and copy writing.
Log a Notion meeting to GHL — extracts attendees, outcomes, action items, then updates CRM contact with tags, notes, and follow-up tasks
Feature Justice Matrix items for storytelling and content creation
Ralph research agent for discovering global youth justice cases and advocacy campaigns
Review pages visually and test accessibility using agent-browser CLI
Review JusticeHub code against ACT ecosystem values. Enforces cultural protocols, ALMA principles, and regenerative design.
| name | apply-migration |
| description | Apply SQL migration files to JusticeHub Supabase database with verification and error handling. |
Invocation: /apply-migration <migration-file>
/apply-migration 20260102_alma_unification_links.sql
supabase/migrations/.env.local credentials.env.local with NEXT_PUBLIC_SUPABASE_URL, SUPABASE_DB_PASSWORDsupabase/migrations/pg library installedpostgresql://postgres:PASSWORD@HOST:6543/postgres
Fallback to session pooler if direct fails.
✅ Migration executed successfully!
🔍 Verifying tables...
✅ article_related_interventions
✅ alma_intervention_profiles
🎉 Migration Complete!
❌ Error: syntax error at or near "CRATE"
📋 Manual alternative:
1. Open Supabase Dashboard → SQL Editor
2. Copy from: supabase/migrations/bad_migration.sql
3. Fix syntax and run
IF NOT EXISTS)scripts/apply-migration-skill.mjssupabase/migrations/*.sql/create-migration - Generate new migration/verify-schema - Check database schema