dead-code-detector
79Find Dead Code Before Cleanup
Unused code slows reviews and increases maintenance risk. This skill helps Claude, Codex, and Claude Code identify removal candidates with review guidance.
Optimize SQL Query Performance
Slow database queries can increase costs and make applications feel unreliable. This skill helps Claude, Codex, and Claude Code review queries, execution plans, and index choices.
This skill is part of a pack
Install the whole pack to get every skill the task needs, in one command.
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "query-optimizer" from https://skillstore.io/skills/curiouslearner-query-optimizer.md and its manifest at https://skillstore.io/api/skills/curiouslearner-query-optimizer/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 "query-optimizer". A user shares a slow customer lookup query plus table size, current indexes, and an execution plan.
Expected outcome:
The skill identifies a full table scan, recommends a targeted email index, explains why selectivity matters, and lists verification steps.
Using "query-optimizer". A developer describes loading users and then loading orders inside a loop.
Expected outcome:
The skill flags an N+1 pattern, recommends eager loading or a join-based aggregate, and explains how query count changes.
Using "query-optimizer". A team provides a list of slow reporting queries and current index definitions.
Expected outcome:
The skill groups issues by missing indexes, excessive selected columns, pagination cost, and monitoring gaps.
All 142 static findings appear to be false positives caused by Markdown code fences, JavaScript template literals, and SQL example text in SKILL.md. I found no executable helper scripts, shell execution path, network access, credential access, or prompt injection attempt in the reviewed skill content.
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/curiouslearner-query-optimizer/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/curiouslearner-query-optimizer?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/curiouslearner-query-optimizer?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/curiouslearner-query-optimizer/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/curiouslearner-query-optimizer.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>CuriousLearner. (2026). query-optimizer security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/curiouslearner-query-optimizer/audits/8@techreport{curiouslearner-curiouslearner-query-optimizer-2026,
author = {CuriousLearner},
title = {query-optimizer security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/curiouslearner-query-optimizer/audits/8},
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: "query-optimizer security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "CuriousLearner"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/curiouslearner-query-optimizer/audits/8"
identifiers:
- type: other
value: "skillstore:curiouslearner-query-optimizer:audit:8"
description: "Skillstore immutable audit report identifier"
Review a query behind a slow API route and get practical indexing or rewrite ideas.
Compare current indexes with common query patterns and find missing, duplicate, or unused indexes.
Analyze reporting queries, joins, filters, and aggregation patterns before they reach production workloads.
Review this SQL query for performance. Explain likely bottlenecks, needed indexes, and safer rewrite options. Query: [paste query]. Schema and row counts: [paste details].
Analyze this execution plan and explain the most expensive operations in plain language. Then suggest changes to test first. Plan: [paste EXPLAIN output].
Check this ORM data access pattern for N+1 queries, unnecessary fields, and inefficient joins. Suggest an improved loading strategy. Context: [paste code or description].
Create a prioritized optimization plan for these slow queries. Include expected impact, index tradeoffs, verification steps, and rollback considerations. Inputs: [queries, plans, schema, workload notes].
Author
CuriousLearnerLicense
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Ref
d11af420e07cd866fe39cfa937efef3223896c06
Maintenance freshness
7/18/2026
Usage
7 downloads · 303 views
File structure
📄 SKILL.md
Find Dead Code Before Cleanup
Unused code slows reviews and increases maintenance risk. This skill helps Claude, Codex, and Claude Code identify removal candidates with review guidance.
Review Code for Quality and Security
Code reviews can miss security, testing, and maintainability issues when reviewers lack time. This skill guides Claude, Codex, and Claude Code through a structured review with prioritized findings.
Audit Dependency Updates Safely
Dependency updates can hide breaking changes and security urgency. This skill reviews project manifests, summarizes update risk, and recommends an order for safe upgrades.
Refactor Code Safely with Structured Guidance
Refactoring can introduce bugs when changes are broad or poorly explained. This skill helps Claude, Codex, and Claude Code plan and apply safer incremental improvements.
Profile Application Performance Bottlenecks
Slow code can hide inside algorithms, rendering, database queries, and bundles. This skill reviews source patterns and produces prioritized optimization guidance.
Analyze Application Logs Faster
Log files hide service failures, error spikes, and slow requests. This skill turns raw logs into structured findings, timelines, and practical remediation guidance.
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.
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.
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.
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 Supabase Postgres Performance
by supabase
Slow queries and schema drift can make Postgres apps hard to scale. This skill gives AI agents Supabase-backed rules for indexes, RLS, pooling, and diagnostics.