一键导入
ef-migrations
Instructions for managing Entity Framework Core migrations using project scripts. Use when adding, removing, applying, or listing database migrations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Instructions for managing Entity Framework Core migrations using project scripts. Use when adding, removing, applying, or listing database migrations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | ef-migrations |
| description | Instructions for managing Entity Framework Core migrations using project scripts. Use when adding, removing, applying, or listing database migrations. |
This project uses shell scripts to manage EF Core migrations. These scripts handle project paths and configuration automatically.
./scripts/bash/./scripts/powershell/Use this when you have modified domain entities or configurations and need to update the database schema.
Bash:
./scripts/bash/db-migrate-add.sh <MigrationName>
PowerShell:
./scripts/powershell/db-migrate-add.ps1 <MigrationName>
Use this to update the database to match the current migrations.
Bash:
./scripts/bash/db-update.sh
PowerShell:
./scripts/powershell/db-update.ps1
Use this if you created a migration by mistake and haven't applied it yet (or want to revert the code changes and the migration artifact).
Bash:
./scripts/bash/db-migrate-remove.sh
PowerShell:
./scripts/powershell/db-migrate-remove.ps1
Bash:
./scripts/bash/db-migrate-list.sh
PowerShell:
./scripts/powershell/db-migrate-list.ps1
Use this to revert the database to a specific previous migration.
Bash:
./scripts/bash/db-migrate-rollback.sh <TargetMigrationName>
PowerShell:
./scripts/powershell/db-migrate-rollback.ps1 <TargetMigrationName>
Design system patterns for reusable UI via atomic design, Tailwind tokens/variants, and accessibility. Use when creating atoms/molecules, theming, or hardening a11y.
Entity Framework Core best practices for configuration, queries, concurrency, and multi-tenancy.
Frontend architecture patterns for React apps (React Router 7, TanStack Query). Use when planning features, defining routes, data strategies, and component gaps.
Infrastructure standards for Docker, scripts, middleware, and authentication in multi-tenant deployments.
Integration testing performance optimization, test parallelization, cleanup strategies, and CI/CD categorization patterns. Use when optimizing test execution speed, managing test data, or structuring tests for automated pipelines.
ASP.NET Core Minimal APIs patterns for endpoints, DTOs, validation, and service integration. Use when implementing API endpoints, defining request/response contracts, or structuring API projects with clean separation of concerns.