adapt-questions

Map CSV or JSON question banks into the QUIZ_QUESTIONS schema for Snowflake Cortex quizzes.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/moniburnejko/coco-quiz-app --skill adapt-questions
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: adapt-questions
Source: https://github.com/moniburnejko/coco-quiz-app/tree/main/.snowflake/cortex/skills/adapt-questions
Command: npx skills add https://github.com/moniburnejko/coco-quiz-app --skill adapt-questions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill explains how to adapt external CSV or JSON question banks to the QUIZ_QUESTIONS schema, enabling seamless loading into the Snowflake Cortex quiz pipeline.

Core Features & Use Cases

  • Maps source question data to domain_id, question_text, options, and correct_answer in QUIZ_QUESTIONS.
  • Validates column presence, handles common synonyms, and supports multiple source formats (CSV/JSON) with safe truncation.
  • Use Case: Import an existing repository of exam questions and transform them for a Cortex-based quiz with domain backfills and post-load verification.

Quick Start

Provide your CSV or JSON question bank file to start mapping fields and loading into QUIZ_QUESTIONS.

Frequently Asked Questions about adapt-questions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I load CSV or JSON questions into a Snowflake Cortex quiz database?▼

To load CSV or JSON questions into Snowflake Cortex, you map the source data columns to the QUIZ_QUESTIONS schema, validating fields like question_text and correct_answer before loading through deterministic strategies.

What is needed to adapt external question banks into the QUIZ_QUESTIONS table?▼

Adapting external question banks requires a valid QUIZ_QUESTIONS target table, a pre-existing EXAM_DOMAINS reference, and the source CSV or JSON file uploaded to the STAGE_QUIZ_DATA stage.

Can I import questions with different column names than the QUIZ_QUESTIONS schema?▼

Yes, the mapping process validates column presence and handles common synonyms, automatically adapting mismatched column names from your CSV or JSON source to the required QUIZ_QUESTIONS schema fields.

Does the quiz loading process work with both CSV and JSON source files?▼

Yes, the quiz loading process supports both CSV and JSON source formats, mapping their data to domain_id, question_text, options, and correct_answer fields with safe truncation applied during the load.

What happens after mapping external questions to the Cortex quiz pipeline?▼

After mapping questions to the Cortex quiz pipeline, the process completes with domain backfills and post-load verification to ensure the imported data integrates correctly into the QUIZ_QUESTIONS table.