Agent skill

Learning Companion

by 312362115 in 312362115/claude

学习助手技能:根据用户已有知识水平,定制化学习新技术/新概念. An agent skill from 312362115/claude.

MITAuto-check passed

Install Learning Companion

skills CLI
$ npx skills add 312362115/claude --skill learning-companion -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install 312362115/claude learning-companion --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/312362115/claude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/learning-companion .claude/skills/learning-companion && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
learning-companion
GitHub stars
107
Token cost
~567 tokens
SKILL.md length
117 words
Files
1
Skills in repo
20
Repo updated
First seen
Licence
MIT

At a glance

学习助手技能:根据用户已有知识水平,定制化学习新技术/新概念. An agent skill from 312362115/claude.

  • SKILL.md covers 第一步:了解学习者, 第二步:选择教学策略, 第三步:组织内容 and 教学准则, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Learning Companion is an agent skill from 312362115/claude. 学习助手技能:根据用户已有知识水平,定制化学习新技术/新概念。 用类比和对比已知领域来解释新概念,而不是从零开始教。 触发词:帮我学一下、这是什么、怎么理解、学习、入门、教我。 触发场景:接触新技术栈、学习新概念、理解不熟悉的架构模式、准备技术分享。 即使用户没有说"学习",只要意图是"理解一个自己不熟悉的概念/技术",都应触发此技能。

Its SKILL.md is about 570 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with React. The licence is MIT.

Example prompts

  • “,只要意图是”
  • “/learning-companion”

What it can do on your machine

Read from SKILL.md and the folder at commit 2d4fa49. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Learning Companion loads about 567 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 117 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~567

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from 312362115/claude at commit 2d4fa49, republished under its MIT licence (© 312362115). 117 words, ~567 tokens.

Download SKILL.mdSave it as .claude/skills/learning-companion/SKILL.md (or your agent's skills folder).
name
learning-companion
description
学习助手技能:根据用户已有知识水平,定制化学习新技术/新概念。 用类比和对比已知领域来解释新概念,而不是从零开始教。 触发词:帮我学一下、这是什么、怎么理解、学习、入门、教我。 触发场景:接触新技术栈、学习新概念、理解不熟悉的架构模式、准备技术分享。 即使用户没有说"学习",只要意图是"理解一个自己不熟悉的概念/技术",都应触发此技能。
version
1.0.0
last_updated
2026-04-08
repository
https://github.com/312362115/claude

学习助手(Learning Companion)

最好的老师不是知道最多的人,而是最了解学生的人。 本 skill 的核心:先了解你已经知道什么,再用你已知的语言解释未知的东西。


第一步:了解学习者

在开始解释之前,先确认:

问题为什么重要
你已经会什么?用已知类比未知。"你懂 Express?那 Fastify 就像是..."
学习目的了解概念 vs 准备上手 vs 准备分享,深度完全不同
期望形式要简短概括还是完整教程?

如果从 memory 中知道用户背景,直接用,不重复问。比如 memory 记录了"深 Go 经验、新学 React",就直接用 Go 的类比解释 React。


第二步:选择教学策略

根据学习内容和用户背景,选择最合适的方式:

策略适用场景示例
类比法用户精通 A,要学 B,A/B 有相似概念"Go 的 goroutine 类似 JS 的 async/await,但是..."
对比法学习相似概念的差异"useEffect vs useLayoutEffect:timing 不同..."
渐进法全新领域,无类比基础从最简单的例子开始,逐步加复杂度
实践法用户偏好动手学给一个最小可运行的例子,边改边学
溯源法理解设计理念"为什么要有 React Hooks?之前用 class 有什么痛点?"

第三步:组织内容

3.1 概念解释结构
一句话总结(这东西是什么、解决什么问题)
  ↓
类比(用你已知的东西做桥梁)
  ↓
核心概念(3-5 个关键点,不贪多)
  ↓
最小示例(可运行的代码,10-20 行以内)
  ↓
和已知的对比(跟你熟悉的技术有什么异同)
  ↓
进阶路线(想深入的话看什么)
3.2 技术栈学习路径
全景地图(这个技术栈包含什么,各部分干什么)
  ↓
核心概念(必须先理解的 3-5 个概念)
  ↓
Hello World(最小可运行项目)
  ↓
实战练习(解决一个真实小问题)
  ↓
深入话题(性能、最佳实践、常见坑)
  ↓
参考资源(官方文档、推荐教程、社区)

教学准则

  • 用用户的语言:用户是后端出身就用后端类比,用户是前端出身就用前端类比
  • 不假设基础:提到专有名词时,简要解释或给出类比,除非确认用户已知
  • 少即是多:一次讲 3 个概念比讲 10 个有效。信息过载 = 没学到
  • 代码胜千言:一个 10 行的可运行示例比 3 段文字描述更有效
  • 诚实说"这很复杂":有些东西确实难,不要假装简单。说清楚"这个概念需要时间消化"
  • 鼓励提问:解释完后主动问"有没有哪里不太清楚?"
  • 不跑题:用户问 React Hooks 就讲 Hooks,不要把整个 React 生态都介绍一遍

常见学习场景

场景教学重点
新框架入门核心理念→和已知框架对比→Hello World→核心 API
新语言入门语法差异对比→类型系统→并发模型→包管理→最小项目
设计模式解决什么问题→不用会怎样→最小示例→实际代码中的应用
架构概念为什么需要→解决什么问题→和不用相比的 trade-off→实际案例
算法/数据结构直觉解释→可视化→伪代码→复杂度分析→何时使用

与其他 skill 的关系

接手新项目,不懂技术栈 → learning-companion(学技术栈)
                              ↓
                        code-walkthrough(理解项目代码)

调研中发现不懂的概念 → learning-companion(学概念)
                              ↓
                        继续 deep-research

© 312362115, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/learning-companion of 312362115/claude.

Open the folder on GitHubat commit 2d4fa49

Compare with similar skills

Learning Companion next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Learning Companion compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Learning Companion this skill312362115/claude107—~567Automated safety check: PassMIT
Web Artifacts Builderanthropics/skills180k40 repos~769Automated safety check: PassApache-2.0
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
React Doctormakeplane/plane61k12 repos~657Automated safety check: PassAGPL-3.0
React Router Developmentremix-run/react-router57k1 repos~1.5kAutomated safety check: PassMIT
React UI State PatternsChrisWiles/claude-code-showcase6.1k8 repos~1.6kAutomated safety check: PassNone

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 40 repos~769 tokens
    Frontend & DesignAuto-check passed
  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    61k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • React Router Development

    remix-run/react-router

    Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.

    57k GitHub starsUsed in 1 repo~1.5k tokens
    Frontend & DesignAuto-check passed
  • React UI State Patterns

    ChrisWiles/claude-code-showcase

    Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.

    6.1k GitHub starsUsed in 8 repos~1.6k tokens
    Frontend & DesignAuto-check passed
  • Tells the agent where new code belongs in an Electron multi-process project and which APIs each process may use, with rules for new bridges, services, agents and workers.

    33k GitHub starsUsed in 1 repo~1.8k tokens
    DevelopmentAuto-check passed

More from 312362115/claude

All 20 skills in this repo
  • Diagram

    312362115/claude

    专业图表生成技能:根据需求自动选择合适的图表类型,生成符合设计规范的 PNG 图表. An agent skill from 312362115/claude.

    107 GitHub stars~2.7k tokensUpdated 4 mo ago
    Auto-check passed
  • Deep Research

    312362115/claude

    深度调研技能:对任意命题进行系统性调研并输出专业研究报告. An agent skill from 312362115/claude.

    107 GitHub stars~6.6k tokensUpdated 4 mo ago
    Auto-check passed
  • Preview Md

    312362115/claude

    MD 文件浏览器预览:GitHub 风格渲染 + 左侧自动目录. An agent skill from 312362115/claude.

    107 GitHub stars~636 tokensUpdated 4 mo ago
    Auto-check passed
  • Writing

    312362115/claude

    通用写作技能:以"内容→组件→组合"的方式产出技术文档、产品文档、汇报材料. An agent skill from 312362115/claude.

    107 GitHub stars~1.6k tokensUpdated 4 mo ago
    Auto-check passed
  • Code Walkthrough

    312362115/claude

    代码导读技能:帮助快速理解不熟悉的项目或模块,建立心智模型. An agent skill from 312362115/claude.

    107 GitHub stars~1k tokensUpdated 4 mo ago
    Auto-check: notes
  • DB Review

    312362115/claude

    数据库代码审查 + Migration 安全检查. An agent skill from 312362115/claude.

    107 GitHub stars~1.8k tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about Learning Companion

What does Learning Companion do?

学习助手技能:根据用户已有知识水平,定制化学习新技术/新概念. An agent skill from 312362115/claude. Learning Companion is an agent skill from 312362115/claude.

How do I install Learning Companion in Claude Code?

Run `npx skills add 312362115/claude --skill learning-companion -a claude-code`. Or copy the skill folder (skills/learning-companion in 312362115/claude) into .claude/skills/learning-companion in your project. Claude Code loads it when a task matches its description.

How do I install Learning Companion in Codex?

Run `npx skills add 312362115/claude --skill learning-companion -a codex`. Or copy the skill folder (skills/learning-companion in 312362115/claude) into .agents/skills/learning-companion in your project. Codex loads it when a task matches its description.

Can I use Learning Companion in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 312362115/claude --skill learning-companion -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/learning-companion, .gemini/skills/learning-companion, .github/skills/learning-companion and .opencode/skills/learning-companion in your project.

What does Learning Companion need to run?

SKILL.md names no scripts, command-line tools or credentials: Learning Companion is instructions for the agent only.

Does Learning Companion access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Learning Companion safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Learning Companion use?

Learning Companion is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Learning Companion use?

About 567 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Learning Companion?

Skills that share tags, products or a category with Learning Companion: Web Artifacts Builder (anthropics/skills, 180k stars), Vercel Composition Patterns (supabase/supabase, 111k stars), React Doctor (makeplane/plane, 61k stars) and React Router Development (remix-run/react-router, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Learning Companion?

312362115 (a GitHub user) maintains it in 312362115/claude, which has 107 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on May 14, 2026.

Source: 312362115/claude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.