← 返回
开发者工具 中文

Summarize a person's git commits for a specific date, grouped by feature points, in English. Use when reviewing daily work output.

Summarize a person's git commits on a given date, grouped by feature area with concise descriptions for daily work review.
总结指定日期的Git提交,按功能区域分组并附带简要描述,用于日常工作回顾。
andrew020
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 449
下载
💾 24
安装
1
版本
#latest

概述

Daily Commits Summary

Summarize all git commits by $1 on $0, grouped by feature/functional area, in English.

Steps

  1. Run git log filtered by date and author:
git log --after="<start-of-day>" --before="<end-of-day>" --author="$1" --pretty=format:"%h %s" --no-merges

Convert the date $0 (format: YYYY.MM.DD) to proper git date range:

  • --after = the date at 00:00:00
  • --before = the next day at 00:00:00
  1. Also run git log with --stat to understand the scope of changes:
git log --after="<start-of-day>" --before="<end-of-day>" --author="$1" --stat --no-merges
  1. Analyze all commits and group them by feature/functional area based on:
    • Commit message prefixes (feat, fix, refactor, docs, style, test, chore, etc.)
    • Related file paths and modules
    • Logical grouping of related changes
  1. Output a clean summary in this format:
## Daily Commits Summary: <author> — <date>

### <Feature Area 1>
- <concise description of what was done> (`commit-hash`)
- ...

### <Feature Area 2>
- <concise description of what was done> (`commit-hash`)
- ...

**Total: X commits**

Rules

  • Output in English only
  • Group by logical feature, not by commit type prefix
  • Each bullet should be a concise human-readable description (not just the raw commit message)
  • If a commit message already has a conventional prefix like feat(meeting):, use the scope as a hint for grouping
  • Omit merge commits
  • If no commits found, state that clearly

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 01:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,044
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,146
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,777