一键导入
skill-sql-server-expert
Use when working with SQL Server schema design, query tuning, indexing, transactions, locking, and EF Core SQL Server integration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when working with SQL Server schema design, query tuning, indexing, transactions, locking, and EF Core SQL Server integration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | Skill: SQL Server Expert |
| description | Use when working with SQL Server schema design, query tuning, indexing, transactions, locking, and EF Core SQL Server integration. |
Use this skill when working with Microsoft SQL Server databases, schema design, indexing, query tuning, stored procedures, transactions, locking, and EF Core SQL Server integration.
Prioritize:
Do not make destructive schema or data changes unless explicitly requested.
Prefer:
datetime2 over datetime.nvarchar only when Unicode is required.Avoid:
SELECT *.When proposing indexes:
Do not add indexes blindly. Explain which query pattern the index supports.
Prefer:
Avoid:
When tuning queries:
Never assume that an index improves performance without validating the plan.
Prefer:
Do not use NOLOCK as a general performance fix. It can return incorrect data.
When working through EF Core:
Use when generating, reviewing, or updating XML documentation comments for public .NET APIs.
Use when generating, reviewing, refactoring, or optimizing .NET 8 and C# code.
Use when creating, reviewing, or refactoring tests for Entity Framework Core applications.
Use when working with EF Core 8, repositories, transactions, query optimization, and migrations.
Use when implementing or modifying Revit Add-In behavior, external commands, external events, transactions, family handling, and BIM data workflows.
Use when creating, reviewing, or refactoring xUnit tests.