claude-reflect by bayramannakov/claude-reflect
npx skills add https://github.com/bayramannakov/claude-reflect --skill claude-reflect一个两阶段系统,帮助 Claude Code 从用户修正中学习。
第一阶段:捕获(自动) 钩子检测修正模式("no, use X"、"actually..."、"use X not Y")并将其排队到 ~/.claude/learnings-queue.json。
第二阶段:处理(手动) 用户运行 /reflect 来审查并将排队的知识应用到 CLAUDE.md 文件中。
| 命令 | 用途 |
|---|---|
/reflect | 通过人工审查处理排队的知识 |
/reflect --scan-history | 扫描过去的会话以查找遗漏的知识 |
/reflect --dry-run |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 预览更改而不应用 |
/reflect-skills | 从重复模式中发现技能候选 |
/skip-reflect | 丢弃所有排队的知识 |
/view-queue | 查看待处理的知识而不进行处理 |
在以下情况下提醒用户使用 /reflect:
高置信度修正:
~/.claude/CLAUDE.md - 全局知识(模型名称、通用模式)./CLAUDE.md - 项目特定知识(约定、工具、结构)./CLAUDE.local.md - 个人知识(机器特定,git忽略)./.claude/rules/*.md - 模块化规则,可选择路径范围限定~/.claude/rules/*.md - 全局模块化规则~/.claude/projects/<project>/memory/*.md - 自动记忆(低置信度、探索性)commands/*.md - 技能改进(技能执行期间的修正)User: no, use gpt-5.1 not gpt-5 for reasoning tasks
Claude: Got it, I'll use gpt-5.1 for reasoning tasks.
[Hook captures this correction to queue]
User: /reflect
Claude: Found 1 learning queued. "Use gpt-5.1 for reasoning tasks"
Scope: global
Apply to ~/.claude/CLAUDE.md? [y/n]
每周安装量
100
代码仓库
GitHub 星标数
797
首次出现
2026年1月22日
安全审计
安装于
codex76
opencode53
gemini-cli49
claude-code48
github-copilot40
cursor39
A two-stage system that helps Claude Code learn from user corrections.
Stage 1: Capture (Automatic) Hooks detect correction patterns ("no, use X", "actually...", "use X not Y") and queue them to ~/.claude/learnings-queue.json.
Stage 2: Process (Manual) User runs /reflect to review and apply queued learnings to CLAUDE.md files.
| Command | Purpose |
|---|---|
/reflect | Process queued learnings with human review |
/reflect --scan-history | Scan past sessions for missed learnings |
/reflect --dry-run | Preview changes without applying |
/reflect-skills | Discover skill candidates from repeating patterns |
/skip-reflect | Discard all queued learnings |
/view-queue | View pending learnings without processing |
Remind users about /reflect when:
High-confidence corrections:
~/.claude/CLAUDE.md - Global learnings (model names, general patterns)./CLAUDE.md - Project-specific learnings (conventions, tools, structure)./CLAUDE.local.md - Personal learnings (machine-specific, gitignored)./.claude/rules/*.md - Modular rules with optional path-scoping~/.claude/rules/*.md - Global modular rules~/.claude/projects/<project>/memory/*.md - Auto memory (low-confidence, exploratory)commands/*.md - Skill improvements (corrections during skill execution)User: no, use gpt-5.1 not gpt-5 for reasoning tasks
Claude: Got it, I'll use gpt-5.1 for reasoning tasks.
[Hook captures this correction to queue]
User: /reflect
Claude: Found 1 learning queued. "Use gpt-5.1 for reasoning tasks"
Scope: global
Apply to ~/.claude/CLAUDE.md? [y/n]
Weekly Installs
100
Repository
GitHub Stars
797
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketFailSnykPass
Installed on
codex76
opencode53
gemini-cli49
claude-code48
github-copilot40
cursor39
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
109,600 周安装