Microsoft’s AI Skills Repo Has a Lot of Potential.
AI models were trained on the entire contents of the Internet: Stack Overflow answers, tutorials on web sites, the contents of open source apps, and so on. Some of that stuff hasn’t been updated in decades, and some of it wasn’t even right in the first place.
Skills, like the Microsoft-SQL agent skills for Claude Code, ChatGPT Codex, Github Copilot, or Cursor, are simple, straightforward Markdown docs that tell your AI agent exactly how to accomplish a task. Good skills include clear, to-the-point examples of what to do, and what not to do.
Classic example: how to do an upsert/merge
Every day, developers all around the world write upsert/merge statements to update a row if it exists, or insert it if it doesn’t exist. That seemingly simple task is fraught with peril, and you won’t know you got it wrong until data starts disappearing, duplicating, or queries error out.
Read the t-sql-upserts-merge skill.
Go ahead, I’ll wait here for you. Skip past the “description” part at the top and start with the big header. I’ll warn you, the text is very definitely written by AI, and it’s not an enjoyable read, but the document is pretty gosh-darn accurate.
You back?
WASN’T THAT AWESOME?!?
Now, granted, I cherry-picked one of the best skills in the repo (in my opinion, at least.) The rest of them have varying levels of usefulness – for example, the read-execution-plan skill and t-sql-correctness skill are kinda threadbare, and the prevent-sql-injection skill covers some odd information specific to Azure rather than Microsoft data products as a whole.
The repository isn’t seeing a lot of love, either, with few recent commits in the last couple of months. (In fairness, Microsoft seems to be staging them into periodic waterfall releases, which seems like an odd choice in this day & age.) You (we, but really you) can fix that by doing pull requests – if you’re building AI skills internally at your company to enforce code standards or performance goals, might as well submit ’em as pull requests here too, and further the community’s skills.
These skills simply raise the quality of the work your LLM is doing, especially if you’re trying to save money by using a faster/cheaper model or a local one.
The home page of the repo has instructions on how to set it up in your harness of choice. The easiest way is probably just to copy/paste the repo URL and tell your harness to get it installed. (I love technology.)
Free, 3× a week
Get my new posts by email
Three posts a week, plus a Monday roundup of the best database news from around the web.