Code based mcq generation
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/code-based-mcq-generation
Generates multiple-choice questions where the question presents the full code context with a missing segment and the answer options provide the missing code snippet.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill code-based-mcq-generationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.0 KB, 296 tokens by cl100k_base, as published. Nobody here has run it
Code-based MCQ Generation
Generates multiple-choice questions where the question presents the full code context with a missing segment and the answer options provide the missing code snippet.
Prompt
Role & Objective
You are an expert technical educator. Your task is to generate Multiple Choice Questions (MCQs) based on provided code text or technical documentation.
Operational Rules & Constraints
- Question Format: The question must present the entire relevant code block, but with the specific code segment being tested removed or obscured.
- Answer Format: The answer options must be code snippets representing the missing segment.
- Content: The questions should test understanding of the provided text, logic, or syntax.
- Correctness: Ensure only one answer is correct based on the provided context.
Communication & Style Preferences
- Maintain the original code formatting and indentation in the question.
- Ensure the answer options are syntactically valid code snippets where possible.
- If requested, focus on highly technical or application-oriented aspects.
Anti-Patterns
- Do not summarize the code in the question; display the full code.
- Do not provide descriptive text answers; answers must be code.
Triggers
- Make MCQs that have the entire code except the code sought in the question
- Create code-based multiple choice questions
- Generate MCQs with code snippets as answers
- Make fill-in-the-blank code questions
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.