Assessment builder

From NaveedTechLab/skills-library · View interactive version

Assessment builder is an AI agent skill from the GitHub repository NaveedTechLab/skills-library. Creates assessments with varied question types (MCQ, code-completion, debugging, projects) aligned to learning objectives with meaningful distractors based on common misconceptions. Activate when educators design quizzes, exams, or tests measuring understanding; need questions at appropriate cogniti

How to use this skill

Skill file

Purpose

The assessment-builder skill helps educators create comprehensive, balanced assessments that measure conceptual understanding (not just memorization). This skill generates varied question types, designs meaningful distractors for MCQs, aligns questions with Bloom's taxonomy levels, and provides rubrics for open-ended questions.

Constitution v4.0.1 Alignment: This skill implements evals-first assessment design (foundational to all pillars)—defining success criteria BEFORE creating assessments, and integrating Section IIb (AI Three Roles Framework) co-learning evaluation.

Evals-First Assessment Design (Constitution v4.0.1)

CRITICAL WORKFLOW:

  1. Evals First: Define success criteria from chapter spec BEFORE designing questions
  2. Objectives Second: Map questions to learning objectives (from spec)
  3. Questions Third: Design assessment items that test evals
  4. Validation Fourth: Verify questions actually measure what evals define

Template for Assessment Planning:

### Assessment Planning (Evals-First)

**Source**: Chapter spec at `specs/part-X/chapter-Y/spec.md`

**Success Evals from Spec**:
1. 75%+ students write valid specification (measured by exercise)
2. 80%+ identify vague requirements (measured by quiz)
3. Students demonstrate co-learning (measured by reflection)

**Learning Objectives** (from spec):
- LO-001: Write clear specifications
- LO-002: Identify ambiguous requirements
- LO-003: Work effectively with AI partner

**Assessment Design**:
- Q1-3: Test LO-001 (spec writing) → Eval #1
- Q4-5: Test LO-002 (identify vagueness) → Eval #2
- Q6: Test LO-003 (co-learning) → Eval #3

Do NOT create assessments without:

When to Activate

Use this skill when:

Inputs

Required:

Optional:

Process

Step 1: Clarify Assessment Goals

Understand:

Step 2: Load Question Type Reference

Read question type patterns:

Read reference/question-types.md

Available types:

Step 3: Load Bloom's Assessment Alignment

Read cognitive level guidelines:

Read reference/blooms-assessment-alignment.md

Map question types to Bloom's levels:

Target: 60%+ non-recall (Apply and higher)

CEFR Proficiency Integration (Constitution v3.1.2)

Map assessment difficulty to CEFR proficiency levels (aligned with skills-proficiency-mapper):

A1 (Beginner - Recognition):

A2 (Elementary - Guided Application):

B1 (Intermediate - Independent Application):

B2 (Upper-Intermediate - Analysis):

C1 (Advanced - Synthesis):

Assessment Design Rule: Questions must match lesson's target CEFR level (from spec).

Three-Role AI Partnership Assessment (Section IIb, Constitution v4.0.1)

CRITICAL: AI-native development requires assessing students' ability to work WITH AI in bidirectional co-learning partnership (per Section IIb forcing functions), not just independently.

AI's Three Roles - Assessment Types:

1. AI as Teacher (Does student learn from AI?)

2. AI as Student (Does student effectively teach AI?)

3. AI as Co-Worker (Does student collaborate effectively?)

Example Assessment Items:

### Q: Co-Learning Reflection (10 points)

In the previous exercise, you worked with AI to implement authentication.

1. What pattern or approach did AI suggest that you hadn't considered? (5 pts)
2. How did you validate that AI's suggestion was appropriate? (5 pts)

**Rubric**:
- Excellent (10): Specific AI suggestion identified, clear validation method
- Good (7): General AI contribution mentioned, basic validation
- Fair (4): Vague answer, no validation mentioned
- Poor (0): No evidence of learning from AI

Assessment Balance for AI-Native Content:

Step 4: Design Varied Question Set

Create 5-10 questions with variety:

Example Distribution:

Q1: MCQ (Understand) - Concept check
Q2: Code-tracing (Understand) - Predict output
Q3: Code-completion (Apply) - Fill strategic blank
Q4: Code-writing (Apply) - Implement function
Q5: Debugging (Analyze) - Find and fix errors
Q6: Code-review (Evaluate) - Assess quality
Q7: Project (Create) - Integrate concepts

Avoid: 10 identical MCQs (tests memorization, not understanding)

Step 5: Design MCQ Distractors

For multiple-choice questions, load distractor design guide:

Read reference/distractor-design.md

Create meaningful distractors based on common misconceptions:

Process:

  1. Identify correct answer
  2. List common errors students make
  3. Create distractor for each specific misconception
  4. Ensure distractors are plausible (not obviously wrong)

Example:

Q: After this code, what does x contain?
x = [1, 2, 3]
y = x
y.append(4)

A) [1, 2, 3, 4]  ← Correct (understands references)
B) [1, 2, 3]     ← Thinks x is independent of y
C) [4]           ← Misunderstands append
D) Error         ← Thinks modification through y is invalid

Distractor Analysis:
B tests: Understanding of assignment vs. copy
C tests: Understanding of append operation
D tests: Understanding of reference semantics

Step 6: Create Rubrics for Open-Ended Questions

For code-writing, projects, and explanations, load rubric guidelines:

Read reference/rubric-guidelines.md

Create analytic rubric with criteria:

Each criterion has 4 levels: excellent, good, fair, poor

Load templates:

Read templates/rubric-template.yml

Step 7: Validate Cognitive Distribution

Check assessment balance using validation script:

python .claude/skills/assessment-builder/scripts/validate-assessment.py assessment.yml

The script checks:

Review output:

Step 8: Refine Based on Validation

If validation identifies issues:

Issue: "Only 40% non-recall questions"

Fix: Replace 2-3 MCQ recall questions with code-writing or debugging

Issue: "MCQs lack distractor analysis"

Fix: Document what misconception each distractor tests

Issue: "Missing rubrics for code-writing"

Fix: Add rubric with correctness, quality, efficiency criteria

Step 9: Add Answer Key and Explanations

For each question:

Example:

Q3: Write function to sum even numbers

Answer:
def sum_evens(numbers):
    return sum(num for num in numbers if num % 2 == 0)

Explanation:
- Iterates through numbers
- Filters even (num % 2 == 0)
- Sums filtered values
- Handles empty list (sum returns 0)

Common Errors:
- Forgetting to check if num % 2 == 0
- Using == instead of %= for modulo
- Not handling empty list

Step 10: Package Complete Assessment

Structure assessment following template:

Read templates/assessment-template.yml

Include:

Output Format

Provide assessment as structured markdown:

# Assessment: [Title]

**Target Audience**: [beginner/intermediate/advanced]
**Time Limit**: [X minutes]
**Total Points**: [X]
**Passing Score**: [X]

## Learning Objectives Assessed

- [Objective 1]
- [Objective 2]
- [...]

## Cognitive Distribution

- Remember/Understand: X%
- Apply: X%
- Analyze/Evaluate: X%
- Create: X%

---

## Question 1 (X points) [Type: MCQ] [Bloom: Understand]

[Question text]

A) [Option]
B) [Option]
C) [Option]
D) [Option]

---

## Question 2 (X points) [Type: Code-Writing] [Bloom: Apply]

Write a function that [specification].

**Requirements**:
- [Requirement 1]
- [Requirement 2]

**Test Cases**:
1. Input: [x], Expected: [y]
2. Input: [x], Expected: [y]

---

[Continue for all questions...]

---

## Answer Key

### Question 1
**Answer**: B

**Explanation**: [Why B is correct and why A, C, D are wrong]

**Distractor Analysis**:
- A tests: [misconception]
- C tests: [misconception]
- D tests: [misconception]

### Question 2
**Solution**:

[Complete correct solution]


## Acceptance Checks

- [ ] SpecRef present and each question maps to at least one objective ID
- [ ] Objective Coverage Matrix included (question → objective IDs, Bloom level)
- [ ] ≥ 60% non‑recall; variety of question types present
- [ ] Validation Pack attached: answer key, explanations, distractor analyses, and rubric(s)

### Objective Coverage Matrix (example)

Q1 → [LO-001] (Understand)

Q2 → [LO-002] (Apply)

Q3 → [LO-002, LO-003] (Analyze)

...


**Rubric**:

**Correctness (40 pts)**:
- Excellent (40): Works for all test cases
- Good (30): Works for standard cases
- Fair (20): Partial functionality
- Poor (10): Significant errors

**Code Quality (25 pts)**:
- Excellent (25): Clear names, good structure
- Good (19): Mostly readable
- Fair (13): Some confusion
- Poor (6): Poor quality

[Continue for all criteria...]

---

[Continue for all questions...]

Examples

Example 1: Create Balanced Assessment for Functions

Input: "Create 6-question assessment for Python functions (beginner level)"

Process:

  1. Identify objectives: Define functions, use parameters, return values
  2. Design variety:
  1. Create MCQ distractors based on common errors
  2. Add rubric for Q4, Q6
  3. Validate (check 60%+ non-recall)

Output: Complete 6-question assessment with answer key and rubrics


Example 2: Add Distractors to Existing MCQ

Input: "Improve distractors for this MCQ" [provides question]

Process:

  1. Load distractor design reference
  2. Identify concept being tested
  3. List common student misconceptions
  4. Create diagnostic distractor for each misconception
  5. Document what each distractor tests

Output: Improved MCQ with meaningful, plausible distractors and analysis


Example 3: Validate Assessment Balance

Input: "Is this assessment balanced?" [provides 10-question exam]

Process:

  1. Analyze cognitive distribution
  2. Check for question variety
  3. Validate MCQ distractors
  4. Check for rubrics on open-ended
  5. Calculate non-recall percentage
  6. Provide specific recommendations

Output: Validation report with issues and recommendations

Common Patterns

Pattern 1: Formative Assessment (Quick Check)

3-5 questions
30% Understand (quick concept check)
50% Apply (demonstrate skill)
20% Analyze (identify errors)
15-20 minutes

Pattern 2: Summative Assessment (Unit Exam)

10-15 questions
15% Understand
40% Apply
30% Analyze/Evaluate
15% Create (project)
60-90 minutes

Pattern 3: Skills Demonstration

5-7 questions, mostly code-writing and projects
20% Apply (basic implementations)
40% Analyze (debugging, optimization)
40% Create (design and build)

Validation Checklist

Before finalizing assessment:

References

Supporting documentation (loaded as needed):

Error Handling

If validation fails:

  1. Report specific issues (e.g., "Only 30% non-recall questions", "Missing rubrics")
  2. Suggest remediation (e.g., "Replace 3 MCQs with code-writing questions")
  3. Halt and require user intervention (hard failure mode)

Assessments must meet quality standards: balanced cognitive distribution, varied types, meaningful distractors, clear rubrics.

When NOT to Use This Skill

Common Mistakes

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.