/claude-code-starter:learnfrom claude-code-starter
Records debugging lessons, technical decisions, and project rules into CLAUDE.md to prevent repeating mistakes and preserve context.
Ships in claude-code-starter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
把这次踩的坑或做的决策记录到 CLAUDE.md 中,防止下次再犯。
如果用户已经说了,直接分析。否则问:
你想记录什么?
- 刚踩了个坑,想防止下次再犯
- 做了个技术决策,想记录原因
- 发现了项目的特殊规则,想让 Claude 记住
根据类型收集信息:
踩坑记录:
技术决策:
项目规则:
用精确简洁的语言写一条记录:
踩坑格式:
- [现象描述] — [正确做法]
例:uv sync 会删除未在 pyproject.toml 中声明的包 — 运行前后对比 uv pip list
决策格式:
- 选择 [方案] 而不是 [备选] — 原因:[理由];否决 [备选] 因为 [理由]
例:选择 SQLite 而不是 PostgreSQL — 原因:单用户项目不需要并发;否决 PostgreSQL 因为运维成本高
读取当前 CLAUDE.md,将新条目追加到对应区块:
写入前展示给用户确认:
准备在 CLAUDE.md 的「已知陷阱」中添加:
- [新条目内容]
确认写入?
用户确认后写入文件。
已更新 CLAUDE.md。下次 Claude 会自动遵守这条规则。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
claude-md, knowledge-management, decision-log, lessons-learned
Generated from the plugin's indexed repository (lightpointventures/claude-code-starter) — no native marketplace selected
npx claudepluginhub p/lighthouse-strategy-claude-code-starter37 skills in this plugin
/a11y当用户想检查无障碍性、添加 ARIA 标签、修复键盘导航或对比度问题时使用 — 检查并修复网站无障碍性问题/api当用户想写接口、创建 API、生成后端端点、做增删改查接口时使用 — 生成 RESTful API 端点,包含路由、验证和错误处理/auth当用户想加登录、注册、用户认证、OAuth、JWT、权限控制时使用 — 为项目添加完整的用户认证系统/blog当用户想搭建博客、做个人网站、写技术文章、建内容站时使用 — 从零生成完整的博客网站/changelog当用户想生成更新日志、写 CHANGELOG、整理版本记录时使用 — 从 Git 提交历史自动生成 CHANGELOG/code-review当用户想审查代码、检查代码质量、提交前 review、找 bug 时使用 — 从安全性、可读性、潜在 bug 三个维度审查代码Other plugins' skills for the same job