code-review-checklist
审查代码改动(review diff / PR)时使用——按固定清单过正确性、边界、错误处理和测试盲区,避免只看顺眼不顺眼。
写 git 提交信息、整理提交历史时使用——Conventional Commits 的格式、类型选择和拆分原则。
$ npx -y skills add 7-e1even/learn-agent --skill git-commit-convention --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/git-commit-conventionContext preview
The summary Claude sees to decide when to auto-load this skill.
写 git 提交信息、整理提交历史时使用——Conventional Commits 的格式、类型选择和拆分原则。
name: git-commit-convention description: 写 git 提交信息、整理提交历史时使用——Conventional Commits 的格式、类型选择和拆分原则。
<type>(<scope>): <subject> <body> <footer>
| type | 用于 | |---|---| | feat | 新功能(用户可感知的行为变化) | | fix | 修 bug(引用 issue 编号写进 footer) | | refactor | 不改行为的结构调整 | | test | 只增改测试 | | docs | 只改文档/注释 | | chore | 构建、依赖、CI 等工程杂务 |
拿不准 feat 还是 fix:问"用户之前的预期是什么"——之前就该这样但没做到 = fix;之前没有这个预期 = feat。
1. `git diff --staged` 过一遍:有没有混进无关文件(调试代码、锁文件意外变更)? 2. 这个提交单独 revert 时,代码库还能编译/测试通过吗?不能 → 拆分方式有问题。 3. subject 能让三个月后的自己一眼看懂吗?
开发桌面 agent Reina 过程中记下的笔记,讲 coding agent(Claude Code、Codex、opencode 这类工具)的内部实现机制。每篇讲一个机制,把 Reina 里的生产实现简化成零依赖、单文件、可直接运行的 Node 程序——所以这些做法不是照 API 文档推想的,是实际产品里验证过的。 仓库分三块:notes/ 是正篇笔记(s01–s23,每篇一个机制,配可运行 demo);agent_analysis/ 是其他 agent(pi、Kimi
Repo: 7-e1even/learn-agent
审查代码改动(review diff / PR)时使用——按固定清单过正确性、边界、错误处理和测试盲区,避免只看顺眼不顺眼。