Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计通过

commit-daily-summary提交每日总结

Agent Skill

commit-daily-summary 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

245

周安装

10

GitHub Stars

14

下载量

79
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:commit-daily-summary(提交每日总结)
来源仓库:https://github.com/bahayonghang/my-claude-code-settings
仓库路径:skills/commit-daily-summary
安装命令:
npx skills add https://github.com/bahayonghang/my-claude-code-settings --skill commit-daily-summary
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/bahayonghang/my-claude-code-settings --skill commit-daily-summary

简介

commit-daily-summary 将一天的 git 提交整理为可读性强、按工作流分组的任务摘要,避免原始日志堆砌。

  • 适用于需要梳理本地仓库当日变更、生成协作友好的工作进展说明的场景。
  • 自动检测语言并输出对应文本,保留分支名和哈希值原样,支持指定日期范围。
  • 默认处理本地时区今日提交,建议确认权限和是否执行 git 命令或读取文件。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

commit-daily-summary

Turn one day of git commits into a readable, grouped work summary. The goal is not to dump raw commit lines but to translate them into human-friendly task statements organized by workstream.

Language Detection

Detect the user's language from their request:

  • Chinese or mixed Chinese input → output in Chinese (default)
  • English input → output in English
  • Keep identifiers, branch names, and commit hashes in their original form regardless of output language

Core Rules

  • Default scope is today in the user's local timezone unless the user gives a specific date.
  • Prefer git evidence over memory or assumptions.
  • Group commits by workstream / theme, not by repository chronological order.
  • Rewrite raw commit messages into concise action summaries.
  • Do not inflate empty, noise-only, or clearly meaningless commits into standalone achievements.

Workflow

Step 1: Determine scope

Defaults:

  • Date range: today
  • Repository: current repository

Clarify only when necessary:

  • Today vs a specific date
  • Current repo vs multiple repos
  • Whether the user wants only task summaries or task summaries + raw commit detail

Step 2: Collect commits

Pre-check: Verify the target directory is a git repository (git rev-parse --is-inside-work-tree). If git is not available or the directory is not a repo, report the error and stop — do not guess or fabricate commits.

Single repository:

git log --since="YYYY-MM-DD 00:00" --until="YYYY-MM-DD+1 00:00" --pretty=format:"%h%x09%s"

Multiple repositories (when the user provides a list of paths):

for repo in /path/to/repo-a /path/to/repo-b; do
  echo "## $(basename $repo)"
  git -C "$repo" log --since="YYYY-MM-DD 00:00" --until="YYYY-MM-DD+1 00:00" --pretty=format:"%h%x09%s"
  echo ""
done

Shared repository: If the repo has multiple contributors and the user likely wants only their own commits, add --author="<user>" to the git log command. Detect the current user via git config user.name or git config user.email.

Edge cases:

  • If no commits are found, state that clearly and stop.
  • If the date range is ambiguous or unparseable, confirm with the user before defaulting.
  • If a repo path does not exist or is not accessible, skip it with a warning and continue with remaining repos.

Step 3: Group into workstreams

Cluster related commits together:

  • Same feature development
  • Same bug fix
  • Same config or toolchain adjustment
  • Same documentation update

Do not create one summary line per commit when several commits are obviously part of the same workstream.

Step 4: Rewrite into action summaries

Good summary lines:

  • Start with a clear action verb
  • Describe the actual business or engineering result
  • Omit noisy implementation trivia unless it matters
  • Are understandable to someone scanning a daily report quickly

Chinese examples:

  • 实现了行情页的筛选条件持久化
  • 修复了任务轮询在终态下未刷新概览的问题
  • 重构了图表数据映射逻辑,降低了重复处理分支
  • 补充了设置保存链路的回归测试

English examples:

  • Implemented filter persistence on the market overview page
  • Fixed task polling not refreshing overview when terminal state reached
  • Refactored chart data mapping to reduce duplicate processing branches

Step 5: Output the report

Preferred structure:

  • Date range
  • Today's work summary
  • Workstream / repo detail
  • Raw commits appendix (optional)

Output Template

## 提交总结

- 日期:YYYY-MM-DD
- 范围:today / current repo

### 今日工作摘要
- ...
- ...

### 分项明细
#### 仓库 A
- workstream 1: ...
- workstream 2: ...

### 原始提交(可选)
- abc123 feat(...)

When Not to Use

  • User wants a current-session wrap-up, not commit-based → use session-wrap
  • User wants multi-project session aggregation → use project-daily-summary
  • User has no git commits and needs working tree change summary

Quality Checklist

Before responding, verify:

  • Date scope is explicit
  • Summary is based on actual commits, not guesses
  • Related commits are grouped into workstreams
  • Summary lines are human-readable and action-oriented
  • Empty or noise commits are not treated as major work items
  • Output language matches the user's language

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.1%
按下载量换算29

Claude

30.71%
按下载量换算24

Cursor

18.05%
按下载量换算14

Gemini CLI

9.55%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/bahayonghang/my-claude-code-settings --skill commit-daily-summary 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills