agentsclimarketplace

Sql queries

Skill weakened-fixedinvestmenttrust229/pm-skills-ko/pm-data-analytics/skills/sql-queries

Provide structured AI-powered PM skills in Korean to improve product decisions from discovery to growth with Claude Code and Cowork integration.

Install
npx -y skills add weakened-fixedinvestmenttrust229/pm-skills-ko --skill sql-queries

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

자연어 설명으로 SQL 쿼리 생성. BigQuery, PostgreSQL, MySQL 등 다양한 방언 지원. 업로드된 다이어그램이나 문서에서 데이터베이스 스키마 읽기. SQL 작성, 데이터 보고서 구축, 데이터베이스 탐색, 또는 비즈니스 질문을 쿼리로 변환할 때 활용하세요.

SKILL.md

3.8 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it

SQL 쿼리 생성기

목적

자연어 요구사항을 여러 데이터베이스 플랫폼에서 최적화된 SQL 쿼리로 변환합니다. 이 스킬은 제품 매니저, 분석가, 엔지니어가 수동 구문 작업 없이 정확한 쿼리를 생성할 수 있도록 도와줍니다.

작동 방식

Step 1: 데이터베이스 스키마 이해

  • 스키마 파일 (SQL, 문서, 또는 다이어그램 설명)을 제공하는 경우 읽고 분석
  • 테이블 이름, 컬럼 정의, 데이터 유형, 관계 추출
  • 기본 키, 외래 키, 인덱싱 전략 식별

Step 2: 요청 처리

  • 검색하거나 분석하려는 정확한 데이터 명확화
  • SQL 방언 확인 (BigQuery, PostgreSQL, MySQL, Snowflake 등)
  • 추가 요구 사항 확인 (필터, 집계, 정렬)

Step 3: 최적화된 쿼리 생성

  • 데이터베이스 구조를 활용하는 효율적인 SQL 작성
  • 복잡한 로직을 설명하는 주석 포함
  • 대용량 데이터셋에 대한 성능 고려 사항 추가
  • 해당하는 경우 대안적 접근법 제공

Step 4: 설명 및 테스트

  • 쿼리 로직을 일반 언어로 설명
  • 결과를 테스트하거나 검증하는 방법 제안
  • 성능 최적화 팁 제공
  • 원하는 경우 테스트 스크립트 또는 샘플 데이터 생성

사용 예시

예시 1: 스키마 파일에서 쿼리 생성

database_schema.sql 파일을 업로드하고 다음과 같이 요청합니다:
"최근 30일 내 가입하여 최소 5번의 활성 세션이 있는
사용자를 찾는 쿼리를 생성해 주세요"

예시 2: 다이어그램 설명에서 쿼리 생성

"제 데이터베이스 구조입니다: Users 테이블 (id, email, created_at),
Sessions 테이블 (id, user_id, timestamp, duration).
2026년 1월 사용자당 평균 세션 시간 쿼리를 생성해 주세요."

예시 3: 복잡한 분석 쿼리

"연간 성장률을 포함하여 지역 및 고객 등급별로
매출을 분석하는 BigQuery 쿼리를 생성해 주세요."

핵심 기능

  • 다중 방언 지원: BigQuery, PostgreSQL, MySQL, Snowflake, SQL Server 지원
  • 파일 읽기: 스키마 파일, SQL 덤프, 데이터 문서 읽기
  • 쿼리 최적화: 인덱스, 파티셔닝, 성능 개선 제안
  • 설명: 학습 및 문서화를 위한 쿼리 분해
  • 테스트: 테스트 쿼리 및 샘플 데이터 스크립트 생성
  • 스크립트 실행: 데이터베이스용 실행 가능한 SQL 스크립트 생성

최상의 결과를 위한 팁

  1. 맥락 제공: 데이터베이스 스키마 또는 구조 공유
  2. 구체적으로: 필요한 데이터와 필터를 명확하게 설명
  3. 데이터베이스 명시: 사용 중인 SQL 방언 지정
  4. 제약 조건 포함: 데이터 볼륨, 시간 범위, 성능 요구 사항 언급
  5. 형식 요청: 특정 출력 형식이 필요한 경우 요청

출력 형식

다음을 제공합니다:

  • SQL 쿼리: 주석이 포함된 프로덕션 준비된 SQL 코드
  • 설명: 쿼리의 동작 및 작동 방식
  • 성능 참고 사항: 최적화 팁 및 고려 사항
  • 테스트 스크립트 (요청 시): 샘플 데이터 및 검증 쿼리

더 읽어보기

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Gives 0 of the 12 instructions most databases sql skills give in ~1.3k tokens

Counted across 589 of the 662 authors here whose files we hold, read 2026-08-07

  • Use parameterized queriesin 37 of 589, across 34 files
  • Use timestamptz for timestampsin 30 of 589, across 14 files
  • Index foreign keysin 29 of 589, across 18 files
  • Create indexes concurrentlyin 29 of 589, across 24 files
  • Use numeric type for moneyin 25 of 589, across 8 files
  • Use cursor pagination instead of offsetin 24 of 589, across 17 files
  • Select only required columnsin 24 of 589, across 20 files
  • Add indexes manually on foreign key columnsin 22 of 589, across 12 files
  • Normalize to third normal formin 19 of 589, across 10 files
  • Configure connection poolingin 19 of 589, across 17 files
  • Put equality columns before range columns in indexesin 18 of 589, across 10 files
  • Read individual rule files for detailed explanationsin 18 of 589, across 4 files

Said here and by no other author read

  • Extract table names, columns, data types, and relations
  • Identify keys and indexing strategies
  • Clarify exact data requirements and SQL dialect

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 327,069. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.