Przejdź do treści
Biblioteka skilli
Dane i analityka · Analiza

sql-optimization-patterns

/sql-optimization-patterns

Stosuje wzorce optymalizacji SQL w powtarzalnych lokalnych przepływach pracy z danymi, z API zależnym od wersji, jawnymi założeniami i walidacją.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
26.09.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Stosuje wzorce optymalizacji SQL w powtarzalnych lokalnych przepływach pracy z danymi, z API zależnym od wersji, jawnymi założeniami i walidacją.

Oryginalny opis (EN)

Apply sql optimization patterns in reproducible local data workflows with version-aware APIs, explicit assumptions, and validation. Use when the user chooses sql optimization patterns or its strengths fit the task.

Jak działa

  1. Workflow
  2. Quality gates
  3. Focus checks
  4. SandBase boundary
  5. Handoff
Sekcje z nagłówków SKILL.md, w oryginale · 43 linii, 410 słów
Podgląd SKILL.md
---
name: sql-optimization-patterns
description: "Apply sql optimization patterns in reproducible local data workflows with version-aware APIs, explicit assumptions, and validation. Use when the user chooses sql optimization patterns or its strengths fit the task."
---

# SQL Optimization Patterns

Use this Skill to produce a bounded, verifiable SQL Optimization Patterns outcome. Preserve the user's chosen stack, source material, and authorization boundaries.

Read [the SandBase API map](references/sandbase-api-map.md) only when the task genuinely needs an external data source or generative model.

## Workflow

1. Inspect the available files, runtime, versions, inputs, and existing conventions before deciding what to change.
2. Restate the requested outcome, constraints, acceptance checks, and any assumption that could change the result.
3. Produce the smallest complete implementation, analysis, or artifact that satisfies those checks.
4. Verify the real output with appropriate tests, previews, calculations, or source comparison; do not infer success from file creation alone.
5. Return the deliverable, evidence of validation, material assumptions, and unresolved limitations.

## Quality gates

- Inspect shapes, types, units, missing values, sampling, target leakage, and train/test boundaries before modeling or transformation.
- Pin or record relevant library versions, random seeds, parameters, and environment assumptions for reproducibility.
- Validate against a baseline or independent calculation and report diagnostics, uncertainty, failure modes, and resource use.

## Focus checks

- Preserve query semantics, inspect the actual execution plan and cardinality estimates, update statistics or indexes only with evidence, and benchmark representative parameters.

## SandBase boundary

Keep the core SQL Optimization Patterns work local. Use SandBase only for an explicitly requested external dataset or model inference step that is not part of the local analysis.

1. Call `sandbase_discover` with a short capability query.
2. Call `sandbase_inspect` for viable candidates and compare the live schema, coverage, limits, output, execution mode, and price.
3. Prefer a dedicated tool or API the user already has. Send only the minimum necessary data.
4. Before any paid call, show the endpoint, important arguments, current unit price, call count, and total estimate or uncertainty, then obtain confirmation.
5. Use `sandbase_account` before an approved multi-call batch and call `sandbase_run` only with current schema-defined arguments.
6. Poll asynchronous work with `sandbase_run_get` using the same run ID; never resubmit merely because it is pending.
7. Use `sandbase_runs` only to recover status or reconcile observed cost.

If SandBase is unavailable, continue with local work and authorized sources when possible. Do not silently switch providers, fabricate external results, or claim a generation or retrieval succeeded.

## Handoff

Provide the completed artifact or findings, concise reproduction steps, checks actually run, source or asset provenance, SandBase endpoint and run IDs when used, observed cost when available, and any follow-up that still requires user action.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • references/sandbase-api-map.md 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · sandbaseai/sandbase-skills90Apache-2.0
rootcastleco/rei-skills100MIT
wshobson/agents100MIT
kumaran-is/claude-code-onboarding100MIT
hermeticormus/claude-code-game-development95MIT
tranhieutt/software_development_department90MIT

Migawka bazy z 13.11.2026 · wersja paczki c70015cc43ef (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90sql-queries
    Stosuje zapytania SQL w powtarzalnych lokalnych przepływach pracy z danymi, z API zależnym od wersji, jawnymi założeniami i walidacją.
  • 90seaborn
    Stosuje seaborn w powtarzalnych lokalnych przepływach pracy z danymi, z API zależnym od wersji, jawnymi założeniami i walidacją.
  • 95sql-server
    Podpowiada wzorce pracy z SQL Server i Azure SQL Database: T-SQL, indeksy, procedury składowane i optymalizacja wydajności.
  • 100sql-translator
    Tłumaczy pytanie zadane zwykłym językiem na jedno bezpieczne zapytanie SQL tylko do odczytu, z jawnie podanymi założeniami.
  • 100postgres-patterns
    Stosuje wzorce PostgreSQL do optymalizacji zapytań, projektu schematu, indeksowania i bezpieczeństwa na bazie dobrych praktyk Supabase, także polityk RLS.
  • 100lookml-liquid
    Stosuje zmienne Liquid w LookML do dynamicznego SQL, HTML i linków, w tym wzorce optymalizacji zapytań.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.