Skip to main content

Bases SQL

Parcourez les skills pour MySQL, PostgreSQL et la gestion de bases SQL

Les catégories, les étoiles GitHub et la date de dernière mise à jour à la source servent à structurer et ordonner le catalogue. Ces signaux ne constituent ni une recommandation, ni une certification de qualité, ni un contrôle de sécurité, ni une garantie d’adéquation. Consultez la page du skill et sa source avant utilisation.

Trier par

17 018 résultats

safe-sql-execution

Sourcesupabase/supabase/.agents/skills/safe-sql-execution/SKILL.md
Mis à jour

Use whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix and never says "security," "injection," or "SafeSqlFragment." This covers: writing or editing any pg-meta function, query builder, or endpoint that builds/returns SQL for database objects (tables, views, functions, DB triggers, indexes, RLS policies); interpolating a schema/table/column/search/route-param value into SQL text; storing, fetching, or re-running SQL that round-trips from the database (a policy's definition, a function/view definition, a snippet's saved content); and any "Run"/"Apply"/"Execute" action that sends SQL to a project's database (SQL editor run-selection, policy editor apply, snippet runner). Load this BEFORE writing such code, not only when reviewing a finished diff. Skip only for changes that never touch SQL text or execution — styling, unrelated data hooks, non-SQL form validation, or UI layout work.

Langue du contenu du Skill : anglais

create-database-migration

SourceTryGhost/Ghost/.agents/skills/create-database-migration/SKILL.md
Mis à jour

Create a database migration to add a table, add columns to an existing table, add a setting, or otherwise change the schema of Ghost's MySQL database. Use this skill whenever the task involves modifying Ghost's database schema — including adding, removing, or renaming columns or tables, adding new settings, creating indexes, updating data, or any change that requires a migration file in ghost. Also use when the user references schema.ts, knex-migrator, the migrations directory, or asks to "add a field" or "add a column" to any Ghost model/table. Even if the user frames it as a feature or Linear issue, if the implementation requires a schema change, this skill applies.

Langue du contenu du Skill : anglais

migrating-oracle-to-postgres-stored-procedures

Sourcegithub/awesome-copilot/skills/migrating-oracle-to-postgres-stored-procedures/SKILL.md
Mis à jour

Migrates Oracle PL/SQL stored procedures to PostgreSQL PL/pgSQL. Translates Oracle-specific syntax, preserves method signatures and type-anchored parameters, leverages orafce where appropriate, and applies explicit collation mapping (`COLLATE "C"` only when appropriate, locale collations when required). Use when converting Oracle stored procedures or functions to PostgreSQL equivalents during a database migration.

Langue du contenu du Skill : anglais

reviewing-oracle-to-postgres-migration

Sourcegithub/awesome-copilot/skills/reviewing-oracle-to-postgres-migration/SKILL.md
Mis à jour

Identifies Oracle-to-PostgreSQL migration risks by cross-referencing code against known behavioral differences (empty strings, refcursors, type coercion, sorting/collations, UNION ALL planner risks, materialized-view refresh requirements, timestamps, concurrent transactions, etc.). Use when planning a database migration, reviewing migration artifacts, or validating that integration tests cover Oracle/PostgreSQL differences.

Langue du contenu du Skill : anglais

writing-clickhouse-queries

SourcePostHog/posthog/.agents/skills/writing-clickhouse-queries/SKILL.md
Mis à jour

Guide for writing performant ClickHouse queries in PostHog product code. Use when writing HogQL query runners, designing a ClickHouse table for a new product, adding materialized columns or skip indexes, or choosing a row ID format. For optimizing an existing query that is already too slow, use `/optimizing-clickhouse-and-hogql-queries` instead.

Langue du contenu du Skill : anglais

setting-up-a-data-warehouse-source

SourcePostHog/posthog/products/warehouse_sources/skills/setting-up-a-data-warehouse-source/SKILL.md
Mis à jour

Guide the user through connecting a new data warehouse source — Postgres, MySQL, Stripe, Hubspot, MongoDB, Salesforce, BigQuery, Snowflake, and so on. Use when the user wants to "connect Stripe", "import data from Postgres", "add a new data source", "sync my warehouse tables", or wants to pick sync methods for each table. Walks through source-type discovery, credential validation, table discovery, per-table sync_type selection, and the final create call. Also covers picking a good prefix and what to do right after creation.

Langue du contenu du Skill : anglais

tuning-incremental-sync-config

SourcePostHog/posthog/products/warehouse_sources/skills/tuning-incremental-sync-config/SKILL.md
Mis à jour

Change the sync configuration of an existing data warehouse schema — switch sync_type, pick a different incremental_field, set primary_key_columns, choose cdc_table_mode, or change sync_frequency. Use when the user asks "switch my orders table from full refresh to incremental", "this table is syncing too slowly / too frequently", "I need to pick a different incremental column", "set up CDC for this Postgres table", or when diagnosis of a failing sync pointed to an incremental-field or PK misconfiguration.

Langue du contenu du Skill : anglais

readonly-sql-guard

Sourcedavila7/claude-code-templates/cli-tool/components/skills/database/readonly-sql-guard/SKILL.md
Mis à jour

Make an agent's database access provably read-only. Use when an agent runs caller-supplied SQL against a production/ERP/analytics database (a "query" MCP tool, text-to-SQL, an admin console), or when reviewing DB-access code for write/DDL/side-effect/transaction-escape risks. Checks what a statement CALLS, not just its shape.

Langue du contenu du Skill : anglais