Skip to content
Agentmart
Submit a tool

tsql-optimizer

Skill by eamonboyle

IndexedMIT
Write a review

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/eamonboyle-tsql-optimizer

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.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
tsql-optimizer
Description
None
License
MIT
Instructions
19 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • invalid YAML frontmatter: Nested mappings are not allowed in compact mappings at line 2, column 14:
  • name: missing
  • description: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# T-SQL Optimizer

## When to use

- When queries are slow or timing out
- When reviewing execution plans
- When adding or modifying indexes
- When refactoring stored procedures for performance

## Instructions

1. **Missing indexes**: Look for WHERE, JOIN, and ORDER BY columns that are not indexed. Suggest covering indexes for frequently filtered columns.
2. **Implicit conversions**: Flag comparisons where column and literal types differ (e.g., `varchar` column compared to `int`), causing index scans.
3. **Scalar UDFs**: Identify user-defined functions in SELECT lists; these prevent parallelism and run row-by-row. Suggest inline TVFs or computed columns where appropriate.
4. **NOLOCK / READ UNCOMMITTED**: Note usage and recommend explicit documentation of dirty-read trade-offs; prefer `READ COMMITTED SNAPSHOT` when applicable.
5. **Large result sets**: Flag SELECT * without TOP or pagination when tables are large.
6. **Temp tables vs table variables**: Recommend temp tables for larger datasets; table variables have no statistics.

From eamonboyle/cursor-sql-server, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Feb 19, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from eamonboyle

Cite this page

tsql-optimizer skill. Agent Mart. https://agentmart.dev/skills/eamonboyle-tsql-optimizer (last updated 2026-10-24)