[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79YGWJ6KASMS1Y8WS8N0HZC":3,"skill-same:01M79YGWJ6KASMS1Y8WS8N0HZC":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M79YGWJ6KASMS1Y8WS8N0HZC","ef-add-migration",null,"Add an EF Core migration in the open workspace. Discovers startup project, DbContext, and migrations folder. Use when adding a migration or invoking \u002Fef-add-migration.","tibursocampos\u002Fagent-dev-toolkit","tibursocampos","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F37385246?v=4","01M79YF4CE4TH665XJJ7XSHXXK","Raphael Campos","01M79YF4D4KDQK01HZ6835E4A0",6,"MIT","https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fef-add-migration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ef-add-migration\ndescription: Add an EF Core migration in the open workspace. Discovers startup project, DbContext, and migrations folder. Use when adding a migration or invoking \u002Fef-add-migration.\n---\n\n## STOP - Read before ANY tool call\n\nRead `_shared\u002Fskill-boilerplate.md` first. It holds the guardrails read, the session gate rule, the user `sim` rule, the one-step rule, the gate check, and the user chat language rule. The steps below are skill-specific only.\n\n---\n\n# Skill: ef-add-migration\n\n## Trigger\n**Negative signal:** applies as defined in `_shared\u002Fskill-boilerplate.md`; the skill-specific signals are listed below.\n\nInvoke when the user asks for: `\u002Fef-add-migration`, `add migration`, `\u002Fef-add-migration`, or when a PLAN step requires a new EF Core migration.\n\nOptional argument: migration name in **PascalCase**. If omitted, infer from pending model changes and confirm with the user.\n\n## Outcome\n\nA 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.\n\n## Lazy-load\n\n| When | Path |\n|------|------|\n| Reference index (routing only) | `skills\u002Fef-add-migration\u002Freference.md` or `{{TOOLKIT_ROOT}}\u002Fskills\u002Fef-add-migration\u002Freference.md` after sync |\n| Process step detail (lazy) | `skills\u002Fef-add-migration\u002Freferences\u002F\u003Csection>.md` |\n| .NET layering | `{{TOOLKIT_ROOT}}\u002Fskills\u002F_shared\u002Fdotnet-guidelines\u002Fclean-architecture.md` |\n| .NET test patterns (when adding tests) | `{{TOOLKIT_ROOT}}\u002Fskills\u002F_shared\u002Fdotnet-guidelines\u002Fdotnet-test-patterns.md` |\n\n**Never by default:** do not preload all `references\u002F*.md`, full EF docs, or unrelated dotnet guideline packs. Load **one** `references\u002F\u003Csection>.md` per Process step (`SKILL-REFERENCE-RETRIEVAL.md`).\n\n## Process\n\nRead `references\u002F\u003Csection>.md` for discovery\u002Fcommands — **not** full `reference.md`.\n\n### 0. Workspace\n\nConfirm the **target .NET repository** (`.sln` or `*.csproj` with `DbContext`). If the workspace is the toolkit only, stop and ask which repo to open.\n\n### 1. Discover project layout\n\nUse **Glob** and **Grep** (not hardcoded paths). Full checklist: `references\u002Fdiscovery.md`.\n\nSummarize before running `dotnet ef`:\n\n| Setting | Detected value |\n|---------|----------------|\n| Solution root | path to `.sln` or repo root |\n| Startup project | API\u002FHost\u002FWeb\u002FWorker with `Program.cs` |\n| Target project | `.csproj` containing `DbContext` |\n| DbContext class | e.g. `ApplicationDbContext` |\n| Migrations folder | existing `Migrations\u002F` or default under target |\n\nIf any value is ambiguous, ask the user once. Free text: the answer is a path or name, not a fixed id set; the question stays open until answered.\n\n### 2. Migration name\n\n- **Name provided:** normalize to PascalCase.\n- **Name omitted:** inspect `git diff` \u002F `git status`, infer from entity\u002Fschema changes (see `references\u002Fnaming.md`), present the suggested name, then ask once. Single select; ids `confirm` (use the name), `adjust` (free-text name instead), `cancel` (no migration). Render labels in the user chat language; answer mapping: `{{TOOLKIT_ROOT}}\u002Fskills\u002F_shared\u002Fagents\u002FQUESTIONS.md`.\n\n### 3. Ensure `dotnet-ef`\n\n```bash\ndotnet ef --version\n```\n\nIf missing, follow `references\u002Fef-tool.md` (global or local tool-path; no fixed version in this skill body).\n\n### 4. Add migration\n\nFrom solution root:\n\n```bash\ndotnet ef migrations add \u003CMigrationName> -s \u003CStartupProject> -p \u003CTargetProject> -c \u003CDbContext>\n```\n\nUse `.\u002Fdotnet-ef` instead of `dotnet ef` when a repo-local tool is documented in `references\u002Fef-tool.md` or repo README. Command details: `references\u002Fcommands.md`.\n\n### 5. Verify and summarize\n\nConfirm new `*.cs` + `*.Designer.cs` and updated `*ModelSnapshot.cs` under the migrations folder (`references\u002Fartifacts.md`). Do not hand-edit generated migration code in ways that violate `structure-and-quality.md` \u002F `csharp-patterns.md`. Optionally note how to apply locally (`database update` - details in `references\u002Fcommands.md`). SDD handoff: `references\u002Fsdd-cross-cut.md`.\n\n## Must not\n\n- Hardcode EF tool package versions in `SKILL.md` (use `references\u002Fef-tool.md`)\n- Assume corporate feeds or organization-specific URLs\n- Run migrations against production without explicit user request\n- Modify this toolkit repo when the user intended a consumer repo\n\n## Handoff\n\n| Situation | Next |\n|-----------|------|\n| PLAN step with EF | Continue `\u002Fsdd-develop - \u003Cfull-plan-path> - Step N` (path from implement handoff; SDD locations per `STORAGE.md`) |\n| Build\u002Ftest failures after migration | `\u002Frepair-dotnet-build` |\n| Commit | `\u002Fcommit` |\n","## STOP - Read before ANY tool call\n\nRead `_shared\u002Fskill-boilerplate.md` first. It holds the guardrails read, the session gate rule, the user `sim` rule, the one-step rule, the gate check, and the user chat language rule. The steps below are skill-specific only.\n\n---\n\n# Skill: ef-add-migration\n\n## Trigger\n**Negative signal:** applies as defined in `_shared\u002Fskill-boilerplate.md`; the skill-specific signals are listed below.\n\nInvoke when the user asks for: `\u002Fef-add-migration`, `add migration`, `\u002Fef-add-migration`, or when a PLAN step requires a new EF Core migration.\n\nOptional argument: migration name in **PascalCase**. If omitted, infer from pending model changes and confirm with the user.\n\n## Outcome\n\nA 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.\n\n## Lazy-load\n\n| When | Path |\n|------|------|\n| Reference index (routing only) | `skills\u002Fef-add-migration\u002Freference.md` or `{{TOOLKIT_ROOT}}\u002Fskills\u002Fef-add-migration\u002Freference.md` after sync |\n| Process step detail (lazy) | `skills\u002Fef-add-migration\u002Freferences\u002F\u003Csection>.md` |\n| .NET layering | `{{TOOLKIT_ROOT}}\u002Fskills\u002F_shared\u002Fdotnet-guidelines\u002Fclean-architecture.md` |\n| .NET test patterns (when adding tests) | `{{TOOLKIT_ROOT}}\u002Fskills\u002F_shared\u002Fdotnet-guidelines\u002Fdotnet-test-patterns.md` |\n\n**Never by default:** do not preload all `references\u002F*.md`, full EF docs, or unrelated dotnet guideline packs. Load **one** `references\u002F\u003Csection>.md` per Process step (`SKILL-REFERENCE-RETRIEVAL.md`).\n\n## Process\n\nRead `references\u002F\u003Csection>.md` for discovery\u002Fcommands — **not** full `reference.md`.\n\n### 0. Workspace\n\nConfirm the **target .NET repository** (`.sln` or `*.csproj` with `DbContext`). If the workspace is the toolkit only, stop and ask which repo to open.\n\n### 1. Discover project layout\n\nUse **Glob** and **Grep** (not hardcoded paths). Full checklist: `references\u002Fdiscovery.md`.\n\nSummarize before running `dotnet ef`:\n\n| Setting | Detected value |\n|---------|----------------|\n| Solution root | path to `.sln` or repo root |\n| Startup project | API\u002FHost\u002FWeb\u002FWorker with `Program.cs` |\n| Target project | `.csproj` containing `DbContext` |\n| DbContext class | e.g. `ApplicationDbContext` |\n| Migrations folder | existing `Migrations\u002F` or default under target |\n\nIf any value is ambiguous, ask the user once. Free text: the answer is a path or name, not a fixed id set; the question stays open until answered.\n\n### 2. Migration name\n\n- **Name provided:** normalize to PascalCase.\n- **Name omitted:** inspect `git diff` \u002F `git status`, infer from entity\u002Fschema changes (see `references\u002Fnaming.md`), present the suggested name, then ask once. Single select; ids `confirm` (use the name), `adjust` (free-text name instead), `cancel` (no migration). Render labels in the user chat language; answer mapping: `{{TOOLKIT_ROOT}}\u002Fskills\u002F_shared\u002Fagents\u002FQUESTIONS.md`.\n\n### 3. Ensure `dotnet-ef`\n\n```bash\ndotnet ef --version\n```\n\nIf missing, follow `references\u002Fef-tool.md` (global or local tool-path; no fixed version in this skill body).\n\n### 4. Add migration\n\nFrom solution root:\n\n```bash\ndotnet ef migrations add \u003CMigrationName> -s \u003CStartupProject> -p \u003CTargetProject> -c \u003CDbContext>\n```\n\nUse `.\u002Fdotnet-ef` instead of `dotnet ef` when a repo-local tool is documented in `references\u002Fef-tool.md` or repo README. Command details: `references\u002Fcommands.md`.\n\n### 5. Verify and summarize\n\nConfirm new `*.cs` + `*.Designer.cs` and updated `*ModelSnapshot.cs` under the migrations folder (`references\u002Fartifacts.md`). Do not hand-edit generated migration code in ways that violate `structure-and-quality.md` \u002F `csharp-patterns.md`. Optionally note how to apply locally (`database update` - details in `references\u002Fcommands.md`). SDD handoff: `references\u002Fsdd-cross-cut.md`.\n\n## Must not\n\n- Hardcode EF tool package versions in `SKILL.md` (use `references\u002Fef-tool.md`)\n- Assume corporate feeds or organization-specific URLs\n- Run migrations against production without explicit user request\n- Modify this toolkit repo when the user intended a consumer repo\n\n## Handoff\n\n| Situation | Next |\n|-----------|------|\n| PLAN step with EF | Continue `\u002Fsdd-develop - \u003Cfull-plan-path> - Step N` (path from implement handoff; SDD locations per `STORAGE.md`) |\n| Build\u002Ftest failures after migration | `\u002Frepair-dotnet-build` |\n| Commit | `\u002Fcommit` |\n",{"name":5,"description":7},"master","d199760b9c98388be72a799dafccb9e981aa6d5f","core\u002Fskills\u002Fef-add-migration",0,"https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit","https:\u002F\u002Ftibursocampos.github.io\u002Fagent-dev-toolkit\u002F","https:\u002F\u002Fgithub.com\u002Ftibursocampos","2026-11-08 02:36:34",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add tibursocampos\u002Fagent-dev-toolkit --skill ef-add-migration",{"tool":38,"command":39},"bunx","bunx skills add tibursocampos\u002Fagent-dev-toolkit --skill ef-add-migration",{"tool":41,"command":42},"pnpm","pnpm dlx skills add tibursocampos\u002Fagent-dev-toolkit --skill ef-add-migration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fef-add-migration\u002FSKILL.md",true,[46,52,56,60,64,68,72],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"reference.md","REFERENCE","参考文档",607,"https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fef-add-migration\u002Freference.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fartifacts.md",235,"https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fef-add-migration\u002Freferences\u002Fartifacts.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcommands.md",413,"https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fef-add-migration\u002Freferences\u002Fcommands.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fdiscovery.md",703,"https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fef-add-migration\u002Freferences\u002Fdiscovery.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fef-tool.md",683,"https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fef-add-migration\u002Freferences\u002Fef-tool.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fnaming.md",499,"https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fef-add-migration\u002Freferences\u002Fnaming.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fsdd-cross-cut.md",472,"https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fef-add-migration\u002Freferences\u002Fsdd-cross-cut.md",[77,84,91,98,105,112],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79YNFMWYYP2QKV43VKJ90K0","user-own-skill","Operator-owned skill that is not part of the toolkit.","https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fscripts\u002Fvalidation\u002Ffixtures\u002Fseed-user-root\u002Fskills\u002Fuser-own-skill\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79YNCCEJ2J9MF2Q1WYXE265","vue-developer","Implement or fix small-to-medium Vue 3 features without full SDD (Composition API, Pinia, configured project test runner; Vitest is a fallback for new projects). Use for isolated Vue work or when invoking \u002Fvue-developer.","https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fvue-developer\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M79YN85A2VGFD1P359F77YZ8","test-coverage","Run .NET Coverlet coverage, report Sonar-aligned metrics, and evaluate against a threshold (default 80%). Use for coverage reports or when invoking \u002Ftest-coverage.","https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Ftest-coverage\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M79YN42PG910XDKK6AKBJB1H","split-story-checklist","Break refined backlog steps into a dependency-aware task checklist (backend, frontend, tests). Prefer features\u002F... story folders. Use when breaking down tasks or invoking \u002Fsplit-story-checklist.","https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fsplit-story-checklist\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M79YMZKTTY1NSH39AYN6YSYZ","sdd-spec","Create a PRD for a new feature or change (agent PRD .md; language per LANGUAGE.md + preferences under features\u002F). Feeds sdd-plan. Use when creating a spec or invoking \u002Fsdd-spec.","https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fsdd-spec\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M79YMV0YHHGCG527JEGY4RN0","sdd-plan","Create a baby-step PLAN from an existing PRD (agent PLAN .md; language per LANGUAGE.md + preferences). Feeds sdd-develop. Use when creating a plan or invoking \u002Fsdd-plan.","https:\u002F\u002Fgithub.com\u002Ftibursocampos\u002Fagent-dev-toolkit\u002Fblob\u002Fmaster\u002Fcore\u002Fskills\u002Fsdd-plan\u002FSKILL.md",[],[]]