name: daily-commits description: Summarize a person's git commits for a specific date, grouped by feature points, in English. Use when reviewing daily work output. argument-hint: [date:YYYY.MM.DD] [author-name] allowed-tools: Bash, Read
Summarize all git commits by $1 on $0, grouped by feature/functional area, in English.
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
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
Logical grouping of related changes
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**
小蔥技能站7w4.net,專業的AI技能分享平臺。
feat(meeting):, use the scope as a hint for grouping這是一個幫助彙總每日程式碼提交的小工具,質量中規中矩。好的方面是功能定義清晰,操作步驟明確,不需要複雜配置就能使用。不足之處是比較基礎,沒有提供使用示例和錯誤處理說明,複雜情況下可能表現不夠靈活。適合簡單場景使用,複雜需求可能需要自行調整。