enisn/my-agents/abpdev-migrations
Claude Code and agent skill by enisn/my-agents
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Manage EF Core migrations and database drops across multiple ABP projects. Use when the user wants to add, clear, recreate migrations, or drop databases for one or many EntityFrameworkCore projects.
Install
npx vskill@latest install enisn/my-agents/abpdev-migrationsSKILL.md
abpdev migrations
Use this skill for EF Core migration and database-drop workflows.
Covered commands
| Command | Purpose | |
|---|---|---|
abpdev migrations add | Add a migration to one or more EF Core projects | |
abpdev migrations clear | Delete Migrations folders | |
abpdev migrations recreate | Clear migrations, recreate an initial migration, optionally drop databases | |
abpdev database-drop | Drop databases for EF Core projects with design-time tools |
Prerequisites
- AbpDevTools installed
dotnet-efavailable for migration commands- Target projects should be discoverable EntityFrameworkCore projects
Shared options
Migration commands share these selectors:
-a,--all: run on all discovered EF Core projects-p,--projects: filter by project name/path fragment- positional
working-directory: root directory to search
If neither --all nor --projects is given, the commands use interactive project selection.
Add migrations
Behavior:
- Runs
dotnet-ef migrations add <name> --project <csproj>for each selected project - Shows live per-project progress/status
Clear migrations
Behavior:
- Deletes the
Migrationsfolder next to each selected EF Core project
Recreate migrations
Behavior:
- Deletes each selected project's
Migrationsfolder - Runs
dotnet-ef migrations add Initial --project <csproj> - Optionally runs
dotnet ef database drop --forcein each selected project directory
Notes:
- The recreated migration name is currently
Initial. --drop-databaseonly affects the selected projects.
Database drop
Useful options:
-f,--force: pass--forceto EF database drop-p,--package: only keep projects with a direct reference to a specific package-e,--env: apply a configured virtual environment before dropping
Behavior:
- Finds EF Core projects with design-time tools
- Optionally filters them by direct package reference
- Runs
dotnet ef database drop
Guidance for agents
- Use
migrations addfor normal schema evolution. - Use
migrations recreateonly when the user explicitly wants a reset-style workflow. - Use
database-drop -e <env>when connection strings should come from a named environment. - In multi-provider repos,
database-drop --package <provider-package>is useful to isolate SQL Server vs PostgreSQL projects.
Troubleshooting
No EF Core projects found
- Confirm the working directory is the solution root.
- Confirm the EF Core project has design-time tooling where required.
Migration creation fails
- Ensure
dotnet-efis installed and available onPATH. - Build the solution first if the project has compile errors.
Wrong project was selected
- Re-run with
-p <name-fragment>or--all.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingopencode/skills/abpdev-migrations/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/enisn/my-agents/abpdev-migrations)