agentleFS
CodyAMaughanCodyAMaughan/agent-first-engineering/.agents/skills/check-understanding/SKILL.md

check-understanding

Skill3 starsChanged 4 months agoMITView on GitHub

Test-your-knowledge quiz for the Agent-First Engineering curriculum, driven by each phase's quiz.json. Trigger with "test my knowledge", "quiz me", "check my understanding", "test phase 3", or `/check-understanding <phase>`.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read docs/curriculum/<dir>/quiz.json.

    line 37
  2. Very specific:

    If quiz.json is missing or invalid, FALL BACK: Glob docs/curriculum/<dir>/*.md (excluding index.md), read the lessons, and generate …

    line 40
  3. Very specific:

    Ask the user (AskUserQuestion): Easy, Medium, Hard, or Mixed (recommended), and how many questions (default 6).

    line 45
  4. Distinctive:

    Do NOT reveal the answer until the user responds.

    line 57
  5. Distinctive:

    Never reveal the answer before the user responds.

    line 85

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Check Understanding (Test Your Knowledge)

Quiz the user on a curriculum phase using its quiz.json question bank, with selectable difficulty.

Activation

Triggers: /check-understanding <phase>, "test my knowledge on context engineering", "quiz me on phase 3", "am I ready for the next phase".

Input

A phase number (1-9) or name/keyword. If none given, list the nine phases and ask.

Phase Map

InputDirectoryPhase
1, fundamentals, loopdocs/curriculum/01-fundamentalsFundamentals
2, context, ctxdocs/curriculum/02-context-engineeringContext Engineering
3, verification, tdd, testingdocs/curriculum/03-verification-and-tddVerification & TDD
4, session, memorydocs/curriculum/04-session-and-memorySession & Memory Discipline
5, spec, spec-drivendocs/curriculum/05-spec-driven-developmentSpec-Driven Development
6, orchestration, harnessdocs/curriculum/06-orchestration-and-harnessOrchestration & Harness Engineering
7, advanced, patterns, skills, hooks, mcp, security, subagentdocs/curriculum/07-advanced-patternsAdvanced Patterns
8, production, caching, computer use, pluginsdocs/curriculum/08-production-patternsProduction Patterns
9, lifecycle, lifecycles, software, AI, ML, data science, devops, mlopsdocs/curriculum/09-project-lifecyclesProject Lifecycles

Procedure

1. Resolve phase

Map the argument to a directory (validate 1-9; on miss, list all nine and ask).

2. Load the question bank

Read docs/curriculum/<dir>/quiz.json. It has { phase, title, questions: [{ id, difficulty, type, lesson, question, options, answer, explanation, citations }] } where answer is the 0-based index of the correct option.

  • If quiz.json is missing or invalid, FALL BACK: Glob docs/curriculum/<dir>/*.md (excluding index.md), read the lessons, and generate questions on the fly (still follow the difficulty/scoring flow below).

3. Pick difficulty & length

Ask the user (AskUserQuestion): Easy, Medium, Hard, or Mixed (recommended), and how many questions (default 6). Filter questions by the chosen difficulty (Mixed = sample across all three, weighted toward medium). Shuffle and take N. Track which ids were used so retakes don't repeat until the pool is exhausted.

4. Administer one at a time

For each question, present via AskUserQuestion. Shuffle option order. Show difficulty + lesson tag:

Question 2/6 · Hard · from Lesson: 02-context-rot.md
<question>
A) …  B) …  C) …  D) …

Do NOT reveal the answer until the user responds.

5. Score

Tally correct/total and a per-difficulty breakdown (e.g. Easy 2/2 · Medium 2/3 · Hard 1/2). For each miss, record the user's choice, the correct option, the explanation, and the lesson.

6. Results & grade

  • ≥90% — Mastered. If phase 9: "You've finished the whole curriculum — agent skills through the full project lifecycle. You can build the machinery and map the system it runs in." Else: "Strong grasp of <phase>. Ready for the next phase."
  • 70-89% — Almost. List the lessons behind the misses to review.
  • 50-69% — Developing. List each missed topic + lesson.
  • <50% — Start over. Recommend re-reading the phase, hardest-missed lessons first.

7. Wrong-answer breakdown

For each miss:

Q<n> (<difficulty>): <abbreviated question>
Your answer: <X>  ·  Correct: <Y> — <correct option text>
Why: <explanation from quiz.json>
Review: docs/curriculum/<dir>/<lesson>

8. What next?

Offer: (1) retake (fresh questions / harder difficulty), (2) another phase, (3) explain a missed topic.

Rules

  • answer in quiz.json is a 0-based index — map carefully after shuffling options.
  • Never reveal the answer before the user responds.
  • Respect the difficulty filter; "Mixed" should genuinely span easy→hard.
  • Ground every question in the bank (or, in fallback mode, the lessons) — no outside trivia.

Portability

Follows the Agent Skills (SKILL.md) standard. Lives in .claude/skills/ for Claude Code; mirror to .agents/skills/check-understanding/ for Codex and Cursor (the scaffolder automates this mirroring).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.