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.
npx skills add ECNU-ICALK/AutoSkill --skill code-based-mcq-generation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 1. **Question Format**: The question must present the *entire* relevant code block, but with the specific code segment being tested removed or obscured. 2. **Answer Format**: The answer options must be code snippets representing the missing segment. 3. **Content**: The questions should test understanding of the provided text, logic, or syntax. 4. **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 p
- Prompt
- Triggers
What does the Code-based MCQ Generation skill do?
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.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill code-based-mcq-generation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
