@atlashub/smartstack-cli 3.42.0 → 3.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/agents/efcore/db-deploy.md +5 -1
- package/templates/agents/efcore/db-reset.md +6 -1
- package/templates/agents/efcore/db-seed.md +5 -1
- package/templates/agents/efcore/db-status.md +5 -1
- package/templates/agents/efcore/migration.md +0 -2
- package/templates/agents/efcore/rebase-snapshot.md +0 -2
- package/templates/agents/efcore/squash.md +0 -2
package/package.json
CHANGED
|
@@ -10,7 +10,11 @@ tools: Bash, Glob
|
|
|
10
10
|
|
|
11
11
|
Applies pending migrations to the local database.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## FORBIDDEN
|
|
14
|
+
|
|
15
|
+
- **NEVER** create, delete, modify, or recreate migrations (`dotnet ef migrations add/remove` is FORBIDDEN)
|
|
16
|
+
- **NEVER** modify `.cs` files in the Migrations directory
|
|
17
|
+
- This agent ONLY runs `dotnet ef database update` to apply existing migrations
|
|
14
18
|
|
|
15
19
|
## WSL Preflight (MANDATORY - run BEFORE any git command)
|
|
16
20
|
|
|
@@ -10,7 +10,12 @@ tools: Bash, Glob, Read
|
|
|
10
10
|
|
|
11
11
|
**WARNING: Destructive operation - deletes all data!**
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## FORBIDDEN
|
|
14
|
+
|
|
15
|
+
- **NEVER** create, delete, modify, or recreate migrations (`dotnet ef migrations add/remove` is FORBIDDEN)
|
|
16
|
+
- **NEVER** modify `.cs` files in the Migrations directory
|
|
17
|
+
- **NEVER** run `dotnet ef migrations` commands of any kind
|
|
18
|
+
- This agent ONLY operates on the **database**, not on migration files
|
|
14
19
|
|
|
15
20
|
## WSL Preflight (MANDATORY - run BEFORE any git command)
|
|
16
21
|
|
|
@@ -10,7 +10,11 @@ tools: Bash, Glob, Read
|
|
|
10
10
|
|
|
11
11
|
Populates the database with test data.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## FORBIDDEN
|
|
14
|
+
|
|
15
|
+
- **NEVER** create, delete, modify, or recreate migrations (`dotnet ef migrations add/remove` is FORBIDDEN)
|
|
16
|
+
- **NEVER** drop or recreate the database (`dotnet ef database drop` is FORBIDDEN)
|
|
17
|
+
- This agent ONLY seeds data into an existing database
|
|
14
18
|
|
|
15
19
|
## WSL Preflight (MANDATORY - run BEFORE any git command)
|
|
16
20
|
|
|
@@ -10,7 +10,11 @@ tools: Bash, Glob
|
|
|
10
10
|
|
|
11
11
|
Fast check of EF Core migration state using **SmartStack MCP**.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## FORBIDDEN
|
|
14
|
+
|
|
15
|
+
- **NEVER** create, delete, modify, or recreate migrations
|
|
16
|
+
- **NEVER** modify the database (`dotnet ef database update/drop` is FORBIDDEN)
|
|
17
|
+
- This agent is READ-ONLY: it only checks status, never modifies anything
|
|
14
18
|
|
|
15
19
|
## WSL Preflight (MANDATORY - run BEFORE any git command)
|
|
16
20
|
|
|
@@ -10,8 +10,6 @@ tools: Bash, Glob, Read, Edit
|
|
|
10
10
|
|
|
11
11
|
Orchestrates migration creation with the "1 migration per feature" rule.
|
|
12
12
|
|
|
13
|
-
**Progressive Steps:** Load `steps/migration/` for detailed instructions.
|
|
14
|
-
|
|
15
13
|
## WSL Preflight (MANDATORY - run BEFORE any git command)
|
|
16
14
|
|
|
17
15
|
```bash
|
|
@@ -10,8 +10,6 @@ tools: Bash, Glob, Read
|
|
|
10
10
|
|
|
11
11
|
Consolidates multiple migrations into a single one, retrieving both the ModelSnapshot **AND the migrations** from the parent branch.
|
|
12
12
|
|
|
13
|
-
**Progressive Steps:** Load `steps/squash/` for detailed instructions.
|
|
14
|
-
|
|
15
13
|
## WSL Preflight (MANDATORY - run BEFORE any git command)
|
|
16
14
|
|
|
17
15
|
```bash
|