Learning Opportunities 标志

Learning Opportunities

社区热门
DrCatHicks
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 the user's stated goal of understanding design choices as learning opportunities.

概览

发布者DrCatHicks
代码仓库learning-opportunities
技能名称learning-opportunities
星标数
2.4K
复刻数
91
附带文件
1
许可协议CC-BY-4.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 DrCatHicks 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Learning Opportunities AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/DrCatHicks/learning-opportunities/tree/main/learning-opportunities/skills/learning-opportunities
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DrCatHicks/learning-opportunities.git /tmp/learning-opportunities
mkdir -p .claude/skills
cp -r /tmp/learning-opportunities/learning-opportunities/skills/learning-opportunities .claude/skills/learning-opportunities
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Learning Opportunities,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Learning Opportunities。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Learning Opportunities 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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 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, but have them find the key piece:

Open [file] and find the [component]. What does it do with [variable]?

Fading scaffolding

Adjust guidance based on demonstrated familiarity:

  • Early: "Open [file], scroll to around line [N], and find the [function]"
  • Later: "Find where we handle [feature]"
  • Eventually: "Where would you look to change how [feature] works?"

Fading adjusts the difficulty of the question setup, not the answer. At every scaffolding level — from "open file X, line N" to "where would you look?" — the learner still generates the answer themselves. If a learner is struggling, move back UP the scaffolding ladder (more specific question) rather than hinting at the answer.

Pair finding with explaining

After they locate code, prompt self-explanation:

You found it. Before I say anything—what do you think this line does?

Example-problem pairs

After exploring one instance, have them find a parallel:

We just looked at how [function A] handles [task]. Can you find another function that does something similar?

When to show code directly

  • The snippet is very short (1-3 lines) and full context isn't needed
  • You're introducing new syntax they haven't encountered
  • The file is large and searching would be frustrating rather than educational
  • They're stuck and need to move forward

Facilitation guidelines

  • Ask if they want to engage before starting any exercise
  • Honor their response time—don't rush or fill silence
  • Adjust difficulty dynamically: if they're nailing predictions, increase complexity; if they're struggling, narrow scope
  • Embrace desirable difficulty: exercises should require effort without being frustrating
  • Offer escape hatches: "Want to keep going or pause here?"
  • Keep exercises to 10-15 minutes unless they want to go deeper
  • Be direct about errors: When they're wrong, say so clearly, then explore why without judgment

Orientation mode

If this skill is invoked with the argument orient (i.e., /learning-opportunities orient), run a guided repo orientation exercise instead of the default exercise offer flow.

Finding the orientation file

Look for resources/orientation.md relative to the user's project or user-level skills at these locations, in order:

  1. .codex/skills/learning-opportunities/resources/orientation.md (Codex project level)
  2. .claude/skills/learning-opportunities/resources/orientation.md (Claude Code project level)
  3. ~/.codex/skills/learning-opportunities/resources/orientation.md (Codex user level)
  4. ~/.claude/skills/learning-opportunities/resources/orientation.md (Claude Code user level)

If the file does not exist at either location, stop and tell the user:

"No orientation file found. Invoke the orient skill first to generate one for this repo. It takes about 30 seconds."

See orient for the plugin that generates orientation files.

Running the orientation exercise

If orientation.md exists, read it and run through the Suggested exercise sequence section it contains. Apply all standard skill techniques: pause for input after each question, use fading scaffolding, embrace wrong predictions as learning data. The orientation file contains repo-specific content but not full pedagogical guidance — consult PRINCIPLES.md as needed when making facilitation decisions.

Before starting, give the user a one-sentence summary of what the orientation covers and ask if they want to proceed — consistent with the "always ask before starting" principle.

After the exercise sequence, ask the user: "What's one thing about this codebase that surprised you or that you want to dig into further?" Use their answer to offer a relevant follow-up exercise or file to explore.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Learning Opportunities AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Learning Opportunities?

因为您只需安装一次,就能搭配任何模型使用。Learning Opportunities 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Learning Opportunities?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/DrCatHicks/learning-opportunities/tree/main/learning-opportunities/skills/learning-opportunities。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Learning Opportunities?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Learning Opportunities 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Learning Opportunities 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Learning Opportunities AI 技能免费吗?

是的。DrCatHicks 已在 GitHub 上根据 CC-BY-4.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇