← ClaudeAtlas

ef-add-migrationlisted

Add an EF Core migration in the open workspace. Discovers startup project, DbContext, and migrations folder. Use when adding a migration or invoking /ef-add-migration.
tibursocampos/agent-dev-toolkit · ★ 0 · AI & Automation · score 72
Install: claude install-skill tibursocampos/agent-dev-toolkit
## STOP - Read before ANY tool call 1. Read `{{GUARDRAILS_PATH}}` 2. Read `_shared/sdd-artifacts/SESSION.md`; load session-state for `$Cwd` 3. If the relevant gate is not approved: **STOP** - ask user **(pt-BR)** - do **NOT** Write/Shell 4. SDD/develop skills: after **ONE** step/task, **STOP** session - handoff only 5. This skill body is **English**; user-facing prompts may be **(pt-BR)** ### Step -1 - Gate check (report in chat before continuing) ``` Gate check: [ ] guardrails.mdc read [ ] SESSION.md read; session-state loaded [ ] PIPELINE.md read (SDD skills only) [ ] User confirmed current action (sim) -> If any unchecked: STOP ``` --- # Skill: ef-add-migration ## Trigger Invoke when the user asks for: `/ef-add-migration`, `add migration`, `/ef-add-migration`, or when a PLAN step requires a new EF Core migration. Optional argument: migration name in **PascalCase**. If omitted, infer from pending model changes and confirm with the user. ## Outcome A new EF Core migration in the **target workspace** (not this toolkit repo unless that repo has a `DbContext`). User sees detected projects, final migration name, and created file paths. ## Lazy-load | When | Path | |------|------| | EF tool install / version notes | `skills/ef-add-migration/reference.md` (this repo) or `{{TOOLKIT_ROOT}}/skills/ef-add-migration/reference.md` after sync | | .NET layering | `{{TOOLKIT_ROOT}}/skills/_shared/dotnet-guidelines/clean-architecture.md` | ## Process ### 0. Workspace Confirm