The Agent Skills Directory
npx skills add https://smithery.ai/skills/chanwit/atomic-commit适用于非 TDD 工作流的独立技能。通过分析变更和检测混合关注点,帮助创建清晰、原子的提交。
git status && git diff && git diff --staged
查找混合了以下内容的文件:
按共同目的对文件进行分组。将分组结果呈现给用户确认。
示例:
分组 1: "添加用户认证" → auth/login.ts, auth/session.ts, tests/auth/login.test.ts
分组 2: "修复密码验证" → validators/password.ts, tests/validators/password.test.ts
对于每个分组:
git add <file1> <file2> (不要使用 git add .)git diff --stagedgit log -1 --oneline约定式提交类型: feat|fix|refactor|docs|test|chore|perf|style
git log --oneline -n <N>
gh issue create 或 glab issue create 选项
"feat: 描述 (#42)"应该做: 一个逻辑变更,包含相关测试,运行测试,清晰的消息,问题编号 不要做: 混合功能/修复/重构,提交损坏的代码,模糊的消息,调试代码
☐ 分析: git status/diff ☐ 识别文件目的 ☐ 检测混合关注点 ☐ 分组为原子提交 ☐ 与用户确认 ☐ 对于每个:暂存 → 审查 → 测试 → 构建 → 提交 → 验证 ☐ 最终审查
当用户说以下内容时使用:"atomic", "clean commits", "break down commits", "split commits" 不要用于 TDD 工作流(使用 TDG 技能)。
"已创建 N 个原子提交。测试通过。您想查看历史记录、推送还是创建 PR?"
每周安装次数
–
来源
首次出现
–
Standalone skill for non-TDD workflows. Helps create clean, atomic commits by analyzing changes and detecting mixed concerns.
git status && git diff && git diff --staged
Look for files mixing:
Group files by shared purpose. Present grouping to user for confirmation.
Example:
Group 1: "Add user auth" → auth/login.ts, auth/session.ts, tests/auth/login.test.ts
Group 2: "Fix password validation" → validators/password.ts, tests/validators/password.test.ts
For each group:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
git add <file1> <file2> (NO git add .)git diff --stagedgit log -1 --onelineConventional commit types: feat|fix|refactor|docs|test|chore|perf|style
git log --oneline -n <N>
gh issue create or glab issue create
"feat: description (#42)"DO: One logical change, include related tests, run tests, clear messages, issue numbers DON'T: Mix features/fixes/refactors, commit broken code, vague messages, debug code
☐ Analyze: git status/diff ☐ Identify file purposes ☐ Detect mixed concerns ☐ Group into atomic commits ☐ Confirm with user ☐ For each: stage → review → test → build → commit → verify ☐ Final review
Use when user says: "atomic", "clean commits", "break down commits", "split commits" DO NOT use for TDD workflows (use TDG skill).
"Created N atomic commits. Tests pass. Would you like to review history, push, or create PR?"
Weekly Installs
–
Source
First Seen
–
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
147,400 周安装