Skip to content
Education
Skill

/learning-opportunities

Facilitates deliberate skill development during AI-assisted coding. Offers interactive learning exercises after architectural work (new files, schema changes, refactors). Use when completing features, making design decisions, or when user asks to understand code better. Supports

From plugin
learning-opportunities
2.6k2 skills

Claude Code

$ npx -y skills add drcathicks/learning-opportunities --skill learning-opportunities --agent claude-code

SKILL.md

learning-opportunities.SKILL.md
name: learning-opportunities
description: Facilitates deliberate skill development during AI-assisted coding. Offers interactive learning exercises after architectural work (new files, schema changes, refactors). Use when completing features, making design decisions, or when user asks to understand code better. Supports the user's stated goal of understanding design choices as learning opportunities.
argument-hint: "[orient]"
license: CC-BY-4.0

Learning Opportunities

> Invocation argument: $ARGUMENTS

Purpose

The user wants to build genuine expertise while using AI coding tools, not just ship code. These exercises help break the "AI productivity trap" where high velocity output and high fluency can lead to missing opportunities for active learning.

When adapting these techniques or making judgment calls, consult [PRINCIPLES.md](https://github.com/DrCatHicks/learning-opportunities/blob/main/learning-opportunities/skills/learning-opportunities/resources/PRINCIPLES.md) for the underlying learning science.

When to offer exercises

Offer an optional 10-15 minute exercise after:

  • Creating new files or modules
  • Database schema changes
  • Architectural decisions or refactors
  • Implementing unfamiliar patterns
  • Any work where the user asked "why" questions during development

**Always ask before starting**: "Would you like to do a quick learning exercise on [topic]? About 10-15 minutes."

When not to offer

  • User declined an exercise offer this session
  • User has already completed 2 exercises this session

Keep offers brief and non-repetitive. One short sentence is enough.

Scope

This skill applies to:

  • Claude Code sessions (primary context)
  • Codex sessions
  • Technical discussions in chat where code concepts are being explored
  • Any context where the user is learning through building

Core principle: Pause for input

**End your message immediately after the question.** Do not generate any further content after the pause point — treat it as a hard stop for the current message. This creates commitment that strengthens encoding and surfaces mental model gaps.

After the pause point, do not generate:

  • Suggested or example responses
  • Hints disguised as encouragement ("Think about...", "Consider...")
  • Multiple questions in sequence
  • Italicized or parenthetical clues about the answer
  • Any teaching content

Allowed after the question:

  • Content-free reassurance: "(Take your best guess—wrong predictions are useful data.)"
  • An escape hatch: "(Or we can skip this one.)"

Pause points follow this pattern: 1. Pose a specific question or task 2. Wait for the user's response (do not continue until they reply), and do not provide any prompt suggestions 3. After their response, provide feedback that connects their thinking to the actual behavior 4. If their prediction was wrong, be clear about what's incorrect, then explore the gap—this is high-value learning data 5. Don't attribute to the user any insight they didn't actually express. If they described what happens but not why, acknowledge the what without crediting causal understanding.

Use explicit markers:

> **Your turn:** What do you think happens when [specific scenario]? > > (Take your best guess—wrong predictions are useful data.)

Wait for their response before continuing.

Exercise types

Prediction → Observation → Reflection

1. **Pause:** "What do you predict will happen when [specific scenario]?" 2. Wait for response 3. Walk through actual behavior together 4. **Pause:** "What surprised you? What matched your expectations?"

Generation → Comparison

1. **Pause:** "Before I show you how we handle [X], sketch out how you'd approach it" 2. Wait for response 3. Show the actual implementation 4. **Pause:** "What's similar? What's different, and why do you think we went this direction?"

Trace the path

1. Set up a concrete scenario with specific values 2. **Pause at each decision point:** "The request hits the middleware now. What happens next?" 3. Wait before revealing each step 4. Continue through the full path

Debug this

1. Present a plausible bug or edge case 2. **Pause:** "What would go wrong here, and why?" 3. Wait for response 4. **Pause:** "How would you fix it?" 5. Discuss their approach

Teach it back

1. **Pause:** "Explain how [component] works as if I'm a new developer joining the project" 2. Wait for their explanation 3. Offer targeted feedback: what they nailed, what to refine

Retrieval check-in (for returning sessions)

At the start of a new session on an ongoing project:

1. **Pause:** "Quick check—what do you remember about how [previous component] handles [scenario]?" 2. Wait for response 3. Fill gaps or confirm, then proceed

Techniques to weave in

**Elaborative interrogation**: Ask "why," "how," and "when else" questions

  • "Why did we structure it this way rather than [alternative]?"
  • "How would this behave differently if [condition changed]?"
  • "In what context might [alternative] be a better choice?"

**Interleaving**: Mix concepts rather than drilling one

  • "Which of these three recent changes would be affected if we modified [X]?"

**Varied practice contexts**: Apply the same concept in different scenarios

  • "We used this pattern for user auth—how would you apply it to API key validation?"

**Concrete-to-abstract bridging**: After hands-on work, transfer to broader contexts

  • "This is an example of [pattern]. Where else might you use this approach?"
  • "What's the general principle here that you could apply to other projects?"

**Error analysis**: Examine mistakes and edge cases deliberately

  • "Here's a bug someone might accidentally introduce—what would go wrong and why?"

Hands-on code exploration

**Prefer directing users to files over showing code snippets.** Having learners locate code themselves builds codebase familiarity and creates stronger memory traces than passively reading.

Completion-style prompts

Give enough context to orient, b

Read more
Stats
2,568
Stars
Maintained
Maintenance
Shell
Language
CC-BY-4.0
License
Last commit
Created
Added

Repo: drcathicks/learning-opportunities

@drcathicks
Ships withlearning-opportunities

Build your expertise, not just your projects. This skill uses an adaptive "dynamic textbook" approach to help you integrate science-based expertise building exercises while doing agentic coding.

Stars on GitHub

Momentum

stars in total
2.6k
Star history of drcathicks/learning-opportunities on GitHub, a chart by star-history.com

Other skills on learning-opportunities.

More skills from other plugins.

lesson-quiz

lesson-quiz

Test a learner on a single Claude Code tutorial lesson (01-10) with 10 questions, scoring answers and flagging weak spots. Use…

@luongnv89@luongnv89Install Skill
build-personal-skill

build-personal-skill

Evidence-based creation of a reusable personal course-making Skill from the user's own classroom and chat history. Use when the…

@thu-maic@thu-maicInstall Skill

Questions about learning-opportunities.

Which coding agents can use learning-opportunities?
learning-opportunities installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.