Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计未展示

learn学习

Agent Skill

learn 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

576

周安装

24

GitHub Stars

公开资料未说明

下载量

192
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:learn(学习)
来源仓库:https://github.com/mintuz/claude-plugins
仓库路径:skills/learn
安装命令:
npx skills add mintuz/claude-plugins --skill "learn"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add mintuz/claude-plugins --skill "learn"

简介

learn 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 它支持按任务场景或来源线索筛选信息,适用于研究、资料整理等需要精准匹配的场景。
  • 通过 npx skills add mintuz/claude-plugins --skill "learn" 安装,需结合原始 README 确认具体调用方式。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写操作。
  • learn 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
learn
description
WHEN capturing learnings/gotchas/decisions into CLAUDE.md; NOT trivial changes; guides what to record, where it lives, and format.

CLAUDE.md Learning Integration

Use this skill to identify learning opportunities and document insights into CLAUDE.md. The goal is to ensure hard-won knowledge is preserved for future developers.

When to Use

  • User discovers a gotcha or unexpected behavior
  • User completes a complex feature and wants to document learnings
  • User makes an architectural decision worth preserving
  • User fixes a tricky bug with insights to share
  • User says "I wish I'd known this earlier"

Philosophy

Core Principle: Knowledge that isn't documented is knowledge that will be lost. Every hard-won insight must be preserved for future developers.

Identifying Learning Opportunities

Watch for these signals during development:

  • Gotchas or unexpected behavior discovered
  • "Aha!" moments or breakthroughs
  • Architectural decisions being made
  • Patterns that worked particularly well
  • Anti-patterns encountered
  • Tooling or setup knowledge gained

Discovery Questions

About the Problem

  • What was unclear or surprising at the start?
  • What took longer to figure out than expected?
  • What assumptions were wrong?
  • What would have saved time if known upfront?

About the Solution

  • What patterns or approaches worked particularly well?
  • What patterns should be avoided?
  • What gotchas or edge cases were discovered?
  • What dependencies or relationships were not obvious?

About the Context

  • What domain knowledge is now clearer?
  • What architectural decisions became apparent?
  • What testing strategies were effective?
  • What tooling or setup was required?

Learning Significance Assessment

Document if ANY of these are true:

  • Would save future developers significant time (>30 minutes)
  • Prevents a class of bugs or errors
  • Reveals non-obvious behavior or constraints
  • Captures architectural rationale or trade-offs
  • Documents domain-specific knowledge
  • Identifies effective patterns or anti-patterns
  • Clarifies tool setup or configuration gotchas

Skip if ALL of these are true:

  • Already well-documented in CLAUDE.md
  • Obvious or standard practice
  • Trivial change (typos, formatting)
  • Implementation detail unlikely to recur

CLAUDE.md Section Classification

Determine which section the learning belongs to:

Existing Sections

  • Core Philosophy - Fundamental principles (TDD, FP, immutability)
  • Testing Principles - Test strategy and patterns
  • TypeScript Guidelines - Type system usage
  • Code Style - Functional patterns, naming, structure
  • Development Workflow - TDD process, refactoring, commits
  • Working with Claude - Expectations and communication
  • Example Patterns - Concrete code examples
  • Common Patterns to Avoid - Anti-patterns

New Sections (if learning doesn't fit existing)

  • Project-specific setup instructions
  • Domain-specific knowledge
  • Architectural decisions
  • Tool-specific configurations
  • Performance considerations
  • Security patterns

Formatting Guidelines

For Principles/Guidelines

### New Principle Name

Brief explanation of why this matters.

**Key points:**

- Specific guideline with clear rationale
- Another guideline with example
- Edge case or gotcha to watch for

// ✅ GOOD - Example following the principle const example = "demonstrating correct approach";

// ❌ BAD - Example showing what not to do const bad = "demonstrating wrong approach";

For Gotchas/Edge Cases

#### Gotcha: Descriptive Title

**Context**: When does this occur
**Issue**: What goes wrong
**Solution**: How to handle it

// ✅ CORRECT - Solution example const correct = handleEdgeCase();

// ❌ WRONG - What causes the problem const wrong = naiveApproach();

For Project-Specific Knowledge

## Project Setup / Architecture / Domain Knowledge

### Specific Area

Clear explanation with:

- Why this is important
- How it affects development
- Examples where relevant

Documentation Proposal Format

## CLAUDE.md Learning Integration

### Summary

Brief description of what was learned and why it matters.

### Proposed Location

**Section**: [Section Name]
**Position**: [Before/After existing content, or new section]

### Proposed Addition

[Exact markdown content to add to CLAUDE.md]


### Rationale

- Why this learning is valuable
- How it fits with existing guidelines
- What problems it helps prevent
- Time saved by documenting this

### Verification Checklist

- [ ] Learning is not already documented
- [ ] Fits naturally into CLAUDE.md structure
- [ ] Maintains consistent voice and style
- [ ] Includes concrete examples if applicable
- [ ] Prevents future confusion or wasted time

Voice and Style

  • Imperative tone: "Use X", "Avoid Y", "Always Z"
  • Clear rationale: Explain WHY, not just WHAT
  • Concrete examples: Show good and bad patterns
  • Emphasis markers: Use bold for critical points, ❌ ✅ for anti-patterns
  • Structured format: Use headings, bullet points, code blocks consistently

Quality Standards

  • Actionable: Reader should know exactly what to do
  • Specific: Avoid vague guidelines
  • Justified: Explain the reasoning and consequences
  • Discoverable: Use clear headings and keywords
  • Consistent: Match existing CLAUDE.md conventions

Quality Gates

Before proposing documentation, verify:

  • Learning is significant and valuable
  • Not already documented in CLAUDE.md
  • Includes concrete examples (good and bad)
  • Explains WHY, not just WHAT
  • Matches CLAUDE.md voice and style
  • Properly categorized in appropriate section
  • Actionable (reader knows exactly what to do)

Example Learning Integration

## CLAUDE.md Learning Integration

### Summary

Discovered that Zod schemas must be exported from a shared location for test files to import them, preventing schema duplication in tests.

### Proposed Location

**Section**: Schema-First Development with Zod
**Position**: Add new subsection "Schema Exports and Imports"

### Proposed Addition

Schema Organization for Tests

CRITICAL: All schemas must be exported from a shared module that both production and test code can import.

// ✅ CORRECT - Shared schema module
// src/schemas/payment.schema.ts
export const PaymentSchema = z.object({
  amount: z.number().positive(),
  currency: z.string().length(3),
});
export type Payment = z.infer<typeof PaymentSchema>;

// src/services/payment.service.ts
import { PaymentSchema, type Payment } from "../schemas/payment.schema";

// src/services/payment.service.test.ts
import { PaymentSchema, type Payment } from "../schemas/payment.schema";

Why this matters:

  • Tests must use the exact same schemas as production code
  • Prevents schema drift between tests and production
  • Ensures test data factories validate against real schemas
  • Changes to schemas automatically propagate to tests

Common mistake:

// ❌ WRONG - Redefining schema in test file
// payment.service.test.ts
const PaymentSchema = z.object({
  /* duplicate definition */
});

### Rationale

- Encountered this when tests were failing due to schema mismatch
- Would have saved 30 minutes if schema export pattern was documented
- Prevents future schema duplication violations
- Directly relates to existing "Schema Usage in Tests" section

### Verification Checklist

- [x] Learning is not already documented
- [x] Fits naturally into Schema-First Development section
- [x] Maintains consistent voice with CLAUDE.md
- [x] Includes concrete examples showing right and wrong approaches
- [x] Prevents the specific confusion encountered during this task

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.29%
按下载量换算54

Antigravity

24.77%
按下载量换算48

windsurf

15.66%
按下载量换算30

Codex

12.79%
按下载量换算25

trae

6.99%
按下载量换算13

OpenCode

3.2%
按下载量换算6

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills