tool-discovery
87Choose the Right AI Tool for Every Task
Choosing between many skills and agents can delay technical work. This skill maps each task to focused tools using concise catalogs and selection rules.
Apply Practical SQL Query Patterns
SQL teams often need reliable examples for common query patterns and performance decisions. This skill provides concise references for CTEs, window functions, joins, pagination, and indexes.
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "sql-patterns" from https://skillstore.io/skills/0xdarkmatter-sql-patterns.md and its manifest at https://skillstore.io/api/skills/0xdarkmatter-sql-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Using "sql-patterns". I need the latest order per user without duplicate rows.
Expected outcome:
A response explains row-number deduplication, partitioning by user, sorting by update time, and filtering to the first row.
Using "sql-patterns". My product list uses high offset pagination and is slow.
Expected outcome:
A response compares offset pagination with keyset pagination and recommends a stable sort column for large result sets.
Using "sql-patterns". Which index helps filters on status and created date?
Expected outcome:
A response discusses selectivity, equality filters, range filters, and composite index column order.
All static command-execution and reconnaissance alerts were false positives from Markdown SQL examples, inline SQL function names, and database indexing terminology. I found no prompt-injection text, data-exfiltration intent, or real shell execution. The only semantic issue is overbroad Write permission in SKILL.md for a read-only SQL reference skill.
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
https://skillstore.io/skills/0xdarkmatter-sql-patterns/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/0xdarkmatter-sql-patterns?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/0xdarkmatter-sql-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/0xdarkmatter-sql-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/0xdarkmatter-sql-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>0xDarkMatter. (2026). sql-patterns security audit report (audit version 6) [Author version unspecified]. Skillstore. https://skillstore.io/skills/0xdarkmatter-sql-patterns/audits/6@techreport{0xdarkmatter-0xdarkmatter-sql-patterns-2026,
author = {0xDarkMatter},
title = {sql-patterns security audit report (audit version 6)},
institution = {Skillstore},
year = {2026},
number = {6},
url = {https://skillstore.io/skills/0xdarkmatter-sql-patterns/audits/6},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "sql-patterns security audit report (audit version 6)"
version: "unspecified"
type: report
authors:
- name: "0xDarkMatter"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/0xdarkmatter-sql-patterns/audits/6"
identifiers:
- type: other
value: "skillstore:0xdarkmatter-sql-patterns:audit:6"
description: "Skillstore immutable audit report identifier"
Build rankings, running totals, session detection, and deduplication with window function examples.
Compare joins, pagination choices, and anti-pattern fixes during code review.
Choose index types and column order before proposing database migrations.
Use the sql-patterns skill to show a simple CTE pattern for filtering active users. Explain when to use it.
Use the sql-patterns skill to compare offset pagination and keyset pagination for a product list.
Use the sql-patterns skill to suggest window function patterns for ranking, running totals, and deduplication in a sales report.
Use the sql-patterns skill to review a query with filters, sorting, and joins. Recommend index types and column order.
Author
0xDarkMatterLicense
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Ref
c1fdca50ff516318f65fed0d7f9e82797c5171dc
Maintenance freshness
7/18/2026
Usage
26 downloads ยท 338 views
File structure
Choose the Right AI Tool for Every Task
Choosing between many skills and agents can delay technical work. This skill maps each task to focused tools using concise catalogs and selection rules.
Build Reliable Async Python
Async Python code often fails due to blocking calls, unbounded tasks, and weak cleanup. This skill provides reusable asyncio patterns, examples, and references for robust concurrent services.
Build FastAPI APIs with Reusable Patterns
FastAPI projects need consistent choices for validation, dependencies, middleware, and background work. This skill gives Claude, Codex, and Claude Code reusable patterns for practical Python API development.
Add Python Type Safety Patterns
Python type annotations can be hard to apply consistently across real projects. This skill gives Claude, Codex, and Claude Code practical patterns for safer typed Python code.
Search Code by AST Structure
Text searches miss semantic relationships and produce noisy matches. This skill uses ast-grep patterns to locate code structures and prepare focused refactors.
Process JSON, YAML, and TOML Data
Structured configuration data can be hard to inspect across JSON, YAML, and TOML files. This skill guides jq and yq queries for extraction, filtering, conversion, and updates.
Optimize SQL Queries With Index Patterns
by wshobson
Slow SQL queries increase latency and database costs. This skill guides query plans, indexes, pagination, batching, and maintenance choices.
Design PostgreSQL Tables
by wshobson
PostgreSQL schemas can fail when data types, constraints, and indexes are chosen without workload context. This skill guides table design with PostgreSQL-specific rules for durable, performant, and maintainable schemas.
Optimize Database Performance and Scalability
by sickn33
Slow queries and weak database designs can raise latency, cost, and operational risk. This skill provides evidence-based guidance for queries, indexes, caching, scaling, migrations, and monitoring.
Design Production Database Schemas
by softaworks
Teams need schemas that preserve data integrity and stay fast as products grow. This skill turns domain requirements into SQL or MongoDB designs with indexes, constraints, and migration guidance.
Optimize PostgreSQL Performance
by sickn33
Slow PostgreSQL systems need structured analysis before changes. This skill guides query tuning, index planning, configuration review, maintenance, and monitoring.
Generate SQL Queries for DBX Studio
by Dbxstudio
Database users need reliable SQL that matches their connection type and schema. This skill guides Claude, Codex, and Claude Code to inspect schemas, write read-only queries, and explain results clearly.