skills/supabase-migration-prep/SKILL.md
Supabaseデータベースマイグレーションの準備を行うスキル。バックアップの作成と差分マイグレーションファイルの生成を実施します。ユーザーが「マイグレーションを準備」「バックアップと差分を作成」「マイグレーションファイルを生成」などのリクエストをした際に使用します。
npx skillsauth add atman-33/atman-workspace supabase-migration-prepInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Supabaseデータベースのマイグレーション前準備を自動化します。バックアップと差分マイグレーションファイルを生成します。
注意: マイグレーションは適用しません。準備のみを行います。
ローカルでスキーマを編集済みであること:
supabase/schema.sql などのローカルファイルを編集supabase/migrations/ に新規SQLファイルを追加重要:
supabase start でローカルインスタンスを起動しますユーザーに確認:
abcdefghijklmnop)schema_update)PROJECT-REF確認方法:
https://supabase.com/dashboard/project/[YOUR-PROJECT-REF]# run_in_terminal ツールを使用
bash .claude/skills/supabase-migration-prep/scripts/prepare_migration.sh <PROJECT_REF> [migration_name]
例:
bash .claude/skills/supabase-migration-prep/scripts/prepare_migration.sh abcdefghijklmnop add_profile_fields
スクリプトが自動実行:
supabase start)supabase db reset)スクリプト出力から以下を確認してユーザーに報告:
supabase/backup/roles_YYYYMMDD_HHMMSS.sqlsupabase/backup/schema_YYYYMMDD_HHMMSS.sqlsupabase/backup/data_YYYYMMDD_HHMMSS.sqlsupabase/migrations/YYYYMMDDHHMMSS_<name>.sqlnpx supabase stop で停止)エラー発生時は、スクリプト出力のエラーメッセージを確認し、以下を試行:
npx supabase login を再実行npx supabase unlink 後に再実行詳細手順: DATABASE_MIGRATION_CLOUD.md
tools
Zenn記事のMarkdown校正を行うスキル。記事を読み、Zenn独自記法の正確性・見出し構造・コードブロック・リンク・画像・テーブル・埋め込み・メッセージ/アコーディオン記法をチェックし、改善提案を行う。ユーザーが「Zenn記事を校正して」「Zennの記法をチェックして」「記事をレビューして」「Markdown確認して」と依頼した際に使用する。
tools
Develop React applications for VS Code Webview surfaces. Use when working on the `webview-ui` package, creating features, components, or hooks for VS Code extensions. Includes project structure, coding guidelines, and testing instructions.
testing
Best practices for reliable terminal command execution and output capture. Use this skill when running shell commands, especially in environments like WSL where output might be truncated or lost, to ensure results are properly captured and inspected.
development
Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).