원클릭으로
dck-migration-workflow
Use when AHKFlowApp needs EF migrations, database updates, package updates, .NET upgrades, or rollback planning.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when AHKFlowApp needs EF migrations, database updates, package updates, .NET upgrades, or rollback planning.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when creating, removing, or troubleshooting AHKFlowApp git worktrees across Claude Code, Codex, or Copilot.
Use when optimizing AHKFlowApp agent workflow, worktrees, planning, verification loops, context budget, or tool usage.
Use when verifying AHKFlowApp build, tests, formatting, diagnostics, security, or readiness before commit, push, or PR.
Compact the current conversation into a handoff document for another agent to pick up.
Use to scan .NET code for performance anti-patterns across async, memory, strings, collections, LINQ, regex, and I/O.
Use to evaluate assertion depth and diversity across a test suite and flag assertion-free, shallow, or tautological tests.
| name | dck-migration-workflow |
| description | Use when AHKFlowApp needs EF migrations, database updates, package updates, .NET upgrades, or rollback planning. |
src/Backend/AHKFlowApp.Infrastructure; startup project is src/Backend/AHKFlowApp.API.dotnet ef migrations list --project src/Backend/AHKFlowApp.Infrastructure --startup-project src/Backend/AHKFlowApp.API
Use Roslyn MCP when available:
find_symbol(name: entity or DbSet)
find_references(symbolName: changed property)
get_type_hierarchy(typeName: entity)
Confirm the model change is one rollback unit. Split unrelated schema changes.
Use descriptive change names:
dotnet ef migrations add AddEntityHistoryTable --project src/Backend/AHKFlowApp.Infrastructure --startup-project src/Backend/AHKFlowApp.API
Avoid vague names like UpdateDatabase or entity-only names like Hotstring.
dotnet ef migrations script --idempotent --project src/Backend/AHKFlowApp.Infrastructure --startup-project src/Backend/AHKFlowApp.API
Check for:
DROP COLUMN / DROP TABLEALTER COLUMN changes that truncate or lose precisionFor data-preserving renames, prefer a multi-step migration: add nullable column, copy data, enforce constraints, then drop the old column.
dotnet ef database update --project src/Backend/AHKFlowApp.Infrastructure --startup-project src/Backend/AHKFlowApp.API
dotnet build AHKFlowApp.slnx --configuration Release --no-restore
dotnet test --configuration Release --no-build --verbosity normal
Fresh worktrees may need dotnet restore AHKFlowApp.slnx before EF tooling or build commands.
dotnet ef database update <PreviousMigrationName> --project src/Backend/AHKFlowApp.Infrastructure --startup-project src/Backend/AHKFlowApp.API
dotnet ef migrations remove --project src/Backend/AHKFlowApp.Infrastructure --startup-project src/Backend/AHKFlowApp.API
Never edit a migration that has already been applied anywhere shared. Add a new migration.
dotnet list AHKFlowApp.slnx package --outdated
dotnet list AHKFlowApp.slnx package --vulnerable --include-transitive
dotnet add package <name> without --version unless the user explicitly asks for a specific version.Directory.Packages.props; project files should not gain Version=.Microsoft.ApplicationInsights.AspNetCore to 3.x unless explicitly requested.Verify each package step:
dotnet restore AHKFlowApp.slnx
dotnet build AHKFlowApp.slnx --configuration Release --no-restore
dotnet test --configuration Release --no-build --verbosity normal
global.json, Directory.Build.props, and project TFMs.dotnet --list-sdks.dotnet restore AHKFlowApp.slnx
dotnet build AHKFlowApp.slnx --configuration Release --no-restore
dotnet test --configuration Release --no-build --verbosity normal
dotnet format AHKFlowApp.slnx --verify-no-changes
--dry-run flags for dotnet ef database update.dotnet outdated; this repo relies on built-in dotnet list package --outdated.appsettings files.| Scenario | Action |
|---|---|
| Entity/property/config changed | Add EF migration, review SQL, apply locally, test |
| Column rename | Use data-preserving multi-step migration |
| Package vulnerability | Update package, build/test, document impact |
| Routine package refresh | One package or safe patch batch at a time |
| SDK / TFM change | Dedicated branch, restore/build/test/format |
| Migration already applied | Add a follow-up migration, do not edit history |