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

👤 andrew020 📦 v1.0.0 ⭐ 4.0 ⬇️ 732 下载
💻 开发编程 免费

📖 技能介绍


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


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:
  2. Commit message prefixes (feat, fix, refactor, docs, style, test, chore, etc.)
  3. Related file paths and modules
  4. Logical grouping of related changes

  5. 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

    小葱技能7w4.net持续更新中。

  • 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

🤖 AI 评测

这是一个帮助汇总每日代码提交的小工具,质量中规中矩。好的方面是功能定义清晰,操作步骤明确,不需要复杂配置就能使用。不足之处是比较基础,没有提供使用示例和错误处理说明,复杂情况下可能表现不够灵活。适合简单场景使用,复杂需求可能需要自行调整。

📊 多维度评分

适应性3.9
规范性3.6
有效性4.2
可靠性3.8
可信度4.7

📁 包含文件 (2 个)

📄 SKILL.md 1.7 KB
📄 _meta.json 132 B