generate-problem
Generate SQL practice problems using Gemini AI. Use when creating new problems, testing problem generation, or when user mentions "문제 생성", "generate problem", "내일 문제 뽑아줘".
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Generate Problem
Gemini 2.0 Flash를 사용하여 QueryCraft의 현실적인 SQL 연습 문제를 생성합니다.
Instructions
-
태스크 실행:
-
scripts/run_task.py를 사용하여 문제를 생성합니다. -
PA 문제 생성 (기본):
python scripts/run_task.py gen-pa --date YYYY-MM-DD -
Stream 문제 생성:
python scripts/run_task.py gen-stream --date YYYY-MM-DD
-
-
파라미터 가이드:
-
--date: 문제를 생성할 대상 날짜 (예: 2026-01-18). 생략 시 오늘 날짜 기준. -
--mode: PA 문제의 경우 산업군을 지정할 수 있습니다 (commerce,saas,content,community,fintech).
-
-
결과 확인:
- 생성된 파일:
problems/monthly/디렉토리에 JSON 형식으로 누적 저장됩니다. - 데이터베이스: PostgreSQL
public.problems테이블 및grading스키마에 자동으로 반영됩니다.
- 생성된 파일:
Key Files
-
scripts/run_task.py: 통합 실행 스크립트 -
problems/generator.py: PA 문제 생성 핵심 로직 -
problems/generator_stream.py: Stream 문제 생성 핵심 로직 -
problems/prompt_pa.py: PA 문제 생성 프롬프트 템플릿
Best Practices
- 특정 날짜를 언급하지 않으면 "내일 날짜"를 기본으로 설정하는 것이 좋습니다.
- 문제 생성 후 "생성된 문제를 확인했습니다"와 함께 간단한 문제 요약을 제공하세요.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!