sql-server
Design, review, tune, secure, migrate, and test Microsoft SQL Server schemas and T-SQL for .NET backends.
Skill by d-trattner
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/d-trattner-sql-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, testing, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/sql-server
What's inside
- Skill name
sql-server- Description
- Design, review, tune, secure, migrate, and test Microsoft SQL Server schemas and T-SQL for .NET backends. Use for data types, keys, constraints, indexing, execution plans, transactions, isolation, concurrency, pagination, deployment, permissions, and diagnostics. Pair with Dapper guidance when explicit .NET data access is involved.
- License
- MIT
- Metadata
- pidex-module: pidex.sqlserver · sql-server-target: 2025
- Instructions
- 30 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- performance-deployment.md · references/
- sources.md · references/
SKILL.md (first lines)
# SQL Server Inspect supported SQL Server/compatibility level, schema authority, workload/cardinality, collation, recovery/HA model, security boundary, migration tool, and representative plans before advising. ## Schema and queries - Model keys, nullability, uniqueness, foreign keys, and check constraints as database invariants. Do not rely only on application validation. - Choose smallest correct types. Keep lengths/precision explicit; avoid `nvarchar(max)` and approximate numerics by default. Define UTC/time-zone semantics deliberately. - Parameterize values. Dynamic identifiers and sort directions require closed allowlists. - Avoid `SELECT *`; return needed columns. Make ordering deterministic, especially pagination. - Prefer keyset pagination for deep ordered traversal; offset pagination is acceptable when bounded and semantics understood. - Design indexes from workload and plans. Account for selectivity, key order, included columns, write cost, storage, filtered predicates, and existing overlap. Do not add an index per query mechanically. - Investigate actual execution plans, estimates versus actual rows, logical reads, spills, blocking, parameter sensitivity, and statistics before tuning. - Keep set-based operations readable; batch large writes/deletes to bound locks, log growth, and latency. ## Transactions and concurrency Choose isolation from invariant and conflict model. Keep transactions short and connection-scoped. Access resources in consistent order. Handle deadlocks as retriable only when operation is safe/idempotent. Use optimistic concurrency token/version checks where lost updates matter. Distinguish timeout, cancellation, deadlock, unique conflict, and unknown commit outcome. Do not use `NOLOCK` as generic performance fix. It permits inconsistent reads and does not mean no locking. Evaluate read-committed snapshot/snapshot isolation operationally before enabling. ## Security and deployment Grant least privilege to dedicated identities; separate migration authority from runtime access. Prefer managed/Windows identity when deployment supports it. Encrypt transport and validate certificates. Keep connection strings and credentials outside source/logs. Migrations must be versioned, reviewable, backward-compatible across deployment window, observable, and recoverable. Split destructive changes into expand/migrate/contract phases. Estimate locks/log growth and test with realistic volume. Never auto-run destructive production migration from ordinary application startup without explicit operational authority. Use disposable SQL Server for integration evidence; mocks cannot prove collation, locking, constraints, plans, or T-SQL. Review [performance and deployment](references/performance-deployment.md) and [sources](references/sources.md). Guidance only: no live connection or schema mutation.
From d-trattner/pidex, MIT.
More from d-trattner/pidex
- 0.603score
dapper-data-access
d-trattner
Design, implement, review, and test explicit SQL data access with Dapper and Microsoft.Data.SqlClient in .NET backends.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
dotnet-backend
d-trattner
Design, implement, modernize, review, and test .NET 10 and ASP.NET Core backends, including multi-project solutions, APIs, dependency injection…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
serilog-observability
d-trattner
Configure, implement, review, and test structured Serilog observability for ASP.NET Core and .NET services.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
angular-application
d-trattner
Build, extend, modernize, debug, test, review, or architect Angular applications and Angular/Nx workspaces.
SkillAFreshness: A★ 2Claude Code +9 - 0.593score
grill-with-docs
d-trattner
PIDEX grilling session for existing projects.
SkillAFreshness: A★ 2Claude Code +9 - 0.590score
pidex-quality
d-trattner
Read-only PIDEX quality/self-improvement report.
SkillAFreshness: A★ 2Claude Code +9 - 0.588score
pdmem
d-trattner
Save a lightweight PIDEX project session memory snapshot to <project-root>/wiki/session-memory/ when the user invokes /pdmem.
SkillAFreshness: A★ 2Claude Code +9 - 0.585score
pd
d-trattner
Shortcut alias for /pidex.
SkillAFreshness: A★ 2Claude Code +9 - 0.577score
pidex
d-trattner
Start a pidex pipeline run.
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 6, 2026 (1 month ago)
- Last release
- Oct 14, 2026 (14 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/d-trattner/pidex
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from d-trattner
- 0.603score
dapper-data-access
d-trattner
Design, implement, review, and test explicit SQL data access with Dapper and Microsoft.Data.SqlClient in .NET backends.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
dotnet-backend
d-trattner
Design, implement, modernize, review, and test .NET 10 and ASP.NET Core backends, including multi-project solutions, APIs, dependency injection…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
serilog-observability
d-trattner
Configure, implement, review, and test structured Serilog observability for ASP.NET Core and .NET services.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
angular-application
d-trattner
Build, extend, modernize, debug, test, review, or architect Angular applications and Angular/Nx workspaces.
SkillAFreshness: A★ 2Claude Code +9 - 0.593score
grill-with-docs
d-trattner
PIDEX grilling session for existing projects.
SkillAFreshness: A★ 2Claude Code +9 - 0.590score
pidex-quality
d-trattner
Read-only PIDEX quality/self-improvement report.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
sql-server skill. Agent Mart. https://agentmart.dev/skills/d-trattner-sql-server (last updated 2026-10-24)