check-migration
Flywayマイグレーションチェックスキル - マイグレーションファイルの検証、バージョン番号の競合チェック、命名規則チェック、SQL構文チェックを実施します。mainブランチとの競合確認も行い、マイグレーションの品質を保証します。
Best use case
check-migration is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Flywayマイグレーションチェックスキル - マイグレーションファイルの検証、バージョン番号の競合チェック、命名規則チェック、SQL構文チェックを実施します。mainブランチとの競合確認も行い、マイグレーションの品質を保証します。
Flywayマイグレーションチェックスキル - マイグレーションファイルの検証、バージョン番号の競合チェック、命名規則チェック、SQL構文チェックを実施します。mainブランチとの競合確認も行い、マイグレーションの品質を保証します。
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "check-migration" skill to help with this workflow task. Context: Flywayマイグレーションチェックスキル - マイグレーションファイルの検証、バージョン番号の競合チェック、命名規則チェック、SQL構文チェックを実施します。mainブランチとの競合確認も行い、マイグレーションの品質を保証します。
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/check-migration/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How check-migration Compares
| Feature / Agent | check-migration | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Flywayマイグレーションチェックスキル - マイグレーションファイルの検証、バージョン番号の競合チェック、命名規則チェック、SQL構文チェックを実施します。mainブランチとの競合確認も行い、マイグレーションの品質を保証します。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Check Migration Skill - Flywayマイグレーションチェックスキル
## 役割
Flywayマイグレーションファイルの検証を行うスキルです。バージョン番号の競合チェック、命名規則チェック、SQL構文チェックを実施します。
## 実行フロー
### Phase 1: マイグレーションファイル一覧取得
```bash
# マイグレーションファイル一覧
ls -l backend/src/main/resources/db/migration/
# バージョン番号抽出
ls backend/src/main/resources/db/migration/ | grep -E "^V[0-9]+__.*\.sql$"
```
### Phase 2: バージョン番号チェック
1. バージョン番号の連続性確認
2. 重複チェック
3. 欠番チェック
### Phase 3: 命名規則チェック
- 形式: `V{連番}__{説明}.sql`
- 例: `V001__create_users_table.sql`
### Phase 4: mainブランチとの競合チェック
```bash
# mainブランチの最新マイグレーションファイル取得
git fetch origin
git diff origin/main...HEAD --name-only | grep "db/migration"
# 競合するバージョン番号がないか確認
```
### Phase 5: SQL構文チェック(簡易)
- CREATE TABLE の存在確認
- IF NOT EXISTS の使用確認(冪等性)
### Phase 6: 完了報告
```markdown
## Check Migration 完了報告
### マイグレーションファイル
- 総数: [数] ファイル
- 最新バージョン: V[番号]
### チェック結果
- ✅ バージョン番号: 連続性OK、重複なし
- ✅ 命名規則: 準拠
- ✅ mainブランチとの競合: なし
- ✅ 冪等性: IF NOT EXISTS使用
### 次のステップ
マイグレーションファイルは問題ありません。
```Related Skills
shellcheck-configuration
Master ShellCheck static analysis configuration and usage for shell script quality. Use when setting up linting infrastructure, fixing code issues, or ensuring script portability.
security-compliance-compliance-check
You are a compliance expert specializing in regulatory requirements for software systems including GDPR, HIPAA, SOC2, PCI-DSS, and other industry standards. Perform compliance audits and provide implementation guidance.
pentest-checklist
This skill should be used when the user asks to "plan a penetration test", "create a security assessment checklist", "prepare for penetration testing", "define pentest scope", "follow security testing best practices", or needs a structured methodology for penetration testing engagements.
godot-4-migration
Specialized guide for migrating Godot 3.x projects to Godot 4 (GDScript 2.0), covering syntax changes, Tweens, and exports.
framework-migration-legacy-modernize
Orchestrate a comprehensive legacy system modernization using the strangler fig pattern, enabling gradual replacement of outdated components while maintaining continuous business operations through ex
framework-migration-deps-upgrade
You are a dependency management expert specializing in safe, incremental upgrades of project dependencies. Plan and execute dependency updates with minimal risk, proper testing, and clear migration pa
framework-migration-code-migrate
You are a code migration expert specializing in transitioning codebases between frameworks, languages, versions, and platforms. Generate comprehensive migration plans, automated migration scripts, and
database-migrations-sql-migrations
SQL database migrations with zero-downtime strategies for PostgreSQL, MySQL, SQL Server
database-migrations-migration-observability
Migration monitoring, CDC, and observability infrastructure
code-review-checklist
Comprehensive checklist for conducting thorough code reviews covering functionality, security, performance, and maintainability
aws-compliance-checker
Automated compliance checking against CIS, PCI-DSS, HIPAA, and SOC 2 benchmarks
angular-migration
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or modernizing legacy Angular code.