schema-design-guidance
Installation
SKILL.md
Schema Design Guidance
Use this skill when the user asks about schema design patterns, computed columns, full-text indexes, indexed columns, or row counts.
Required tools
- A SQL query tool connected to the target server and database. Prefer, in order: the SQL Tools MCP server that ships with the
microsoft-sql-adminplugin (mssql_list_database_connections,mssql_connect_database, thenmssql_execute_query); any other SQL tool the agent host provides for running T-SQL and reading result sets;sqlcmdfrom a terminal. It is used to run catalog queries and validate generated DDL, and to execute DDL only when the user orders the task. If the SQL Tools MCP server is not connected or lists no connections, follow thesql-tools-mcp-setupskill, which asks before installing or configuring anything. If no SQL tool can be made available, give the user the T-SQL to run and ask for the results.
Validating DDL
Validate generated DDL without executing it by sending the SET statements and the script in one request, each SET in its own batch: