src-tauri/resources/skill-templates/data-write-query/SKILL.md
Write optimized SQL for your dialect with best practices
npx skillsauth add frumu-ai/tandem data-write-queryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
If you see unfamiliar placeholders or need to check which tools are connected, please ask about available integrations.
Write a SQL query from a natural language description, optimized for your specific SQL dialect and following best practices.
You can ask to write a SQL query (e.g., "Write a query to count orders" or "Get the top 10 users").
description — Description of what data you need and the business logicParse the user's description to identify:
If the user's SQL dialect is not already known, ask which they use:
Remember the dialect for future queries in the same session.
If a data warehouse is connected:
Follow these best practices:
Structure:
daily_signups, active_users, revenue_by_product)Performance:
SELECT * in production queries -- specify only needed columnsEXISTS over IN for subqueries with large result setsReadability:
a, b, c)Dialect-specific optimizations:
Provide:
If a data warehouse is connected, offer to run the query and analyze the results. If the user wants to run it themselves, the query is ready to copy-paste.
development
Create detailed implementation plans before making code changes. Use this when you need to plan complex refactors, new features, or multi-file changes. The plan helps users review and approve changes before execution.
testing
Create a retention-focused YouTube video package and output it as a set of files under scripts/<slug>/ (hooks, outline, A-roll, shotlist, on-screen text, CTA, chapters, metadata, titles/thumbnails, filming checklist).
tools
Review and improve the clarity, tone, and impact of text files in your workspace.
development
Watch important pages and notify when content changes.