Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

daily-commit-summary每日提交摘要

Agent Skill

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

总安装

563

周安装

23

GitHub Stars

公开资料未说明

下载量

182
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/habonn/portal-skills --skill daily-commit-summary

简介

daily-commit-summary 分析 git 提交历史并转化为人类可读的任务描述,便于复盘每日工作内容。

  • 适合远程团队同步进展、个人时间审计或向利益相关者汇报成果时使用。
  • 支持多仓库扫描与工作时间过滤,输出按时间段分组呈现以提高可读性。
  • 必须配置 repositories 列表与 author email,否则无法正确关联提交归属。
  • 执行前请确保各 repo 处于 clean 状态,避免合并提交干扰摘要准确性。

SKILL.md

Daily Commit Summary Skill

Generate a daily task summary by analyzing git commits and rewriting them into clear, human-readable task descriptions.

When to Use This Skill

  • "What did I do today?"
  • "Summarize my commits"
  • "Daily commit summary"
  • "/daily-commit-summary"

Configuration

~/.daily-commit-summary.yaml:

repositories:
  - ~/projects/portal-api
  - ~/projects/portal-frontend
work_hours:
  start: "08:00"
  end: "18:00"
author: "your.email@example.com"

🚨 CRITICAL: EXECUTION STEPS (MUST FOLLOW IN ORDER)

STEP 1: Collect commits → Run git log commands for each repository

⚠️ IMPORTANT: Git Command Format

NEVER use cd to change directory before running git commands.

❌ WRONG (wastes tokens, often fails):

cd "/path/to/repo" && git log --author="email" ...

✅ CORRECT (use git -C flag):

git -C /absolute/path/to/repo log --author="email" --since="YYYY-MM-DD 08:00" --until="YYYY-MM-DD 23:59" --pretty=format:"%h %s" 2>/dev/null || echo "REPO_NOT_FOUND"

Always use git -C <path> to specify the repository path directly.

STEP 2: TRANSFORM commits to tasks → This is MANDATORY, not optional!

  • Take each commit message
  • Rewrite it as a human-readable task sentence
  • Use action verbs: Fixed, Implemented, Updated, etc.

STEP 3: Output with Tasks FIRST → Tasks section must appear before commit details


⚠️ MANDATORY OUTPUT REQUIREMENTS

YOU MUST ALWAYS INCLUDE THE "Summary Task Daily" SECTION.

This section analyzes raw commits and rewrites them as clear task sentences. This is the PRIMARY purpose of this skill - not just listing commits.

DO NOT just dump raw commits. TRANSFORM them into task sentences.


Required Output Format

📋 Daily Commit Summary
Date: [Day], [Month] [Date], [Year] (08:00 - now)

---

Summary Task Daily

- [Transformed task sentence 1]
- [Transformed task sentence 2]

---

[Rest of commit details...]

Example

Input (raw commits):

b0b0352 fix(notification-template): update mock Thai name to include month
551c5ef chore: update gitignore and mock data
f344b80 []

Required Output:

📋 Daily Commit Summary
Date: Saturday, March 21, 2026 (08:00 - now)

---

Summary Task Daily

- Fixed notification template to correctly display Thai month names in mock data
- Updated project configuration files (gitignore) and mock data for testing

---

📊 Commits Detail

backoffice-portal-next (3 commits)

🔧 fix
- b0b0352 fix(notification-template): update mock Thai name to include month

🔨 chore
- 551c5ef chore: update gitignore and mock data

❓ other
- f344b80 []

Other Repositories

| Repository | Commits |
|------------|---------|
| portal-uam | 0 |
| portal-cube | 0 |
| portal-backend | 0 |
| portal-backend-cms | 0 |

Total: 3 commits today 🎉

🔄 TRANSFORMATION RULES (STEP 2)

Parse commits using Conventional Commits format: <type>(<scope>): <description>

Reference: #[[file:commit/SKILL.md]]

For EACH commit, you MUST transform it like this:

Raw CommitTransformed Task
feat(auth): add login with GoogleImplemented Google login authentication
fix(cart): resolve quantity update issueFixed cart quantity update issue
fix(notification-template): update mock Thai name to include monthFixed notification template to correctly display Thai month names in mock data
chore: update gitignore and mock dataUpdated project configuration files (gitignore) and mock data for testing
refactor(api): simplify error handlingRefactored API error handling for better maintainability
perf(query): optimize database lookupOptimized database query lookup performance
test(auth): add login unit testsAdded unit tests for login authentication
docs(readme): update installation stepsUpdated README installation documentation
build(deps): upgrade react to v19Upgraded React dependency to version 19
ci(github): add deploy workflowConfigured GitHub Actions deploy workflow

Task Writing Rules

  1. Start with action verb: Fixed, Implemented, Updated, Refactored, Added
  2. Be descriptive: Expand abbreviations, add context
  3. Human-readable: Write for standup reports
  4. Group related: Combine multiple commits about same feature
  5. Skip empty: Don't include WIP/empty commits like [] as tasks

Grouping Example

Multiple related commits:

feat(auth): add login page
feat(auth): add password validation
fix(auth): resolve token issue

→ ONE analyzed task:

- Implemented user authentication system with login page and password validation

Commit Type → Task Language

Reference: Uses Conventional Commits format from #[[file:commit/SKILL.md]]

TypeDescriptionTask Action Words
featNew feature or functionalityImplemented, Added, Created
fixBug fixFixed, Resolved, Corrected
docsDocumentation changes onlyUpdated documentation, Documented
styleCode style (formatting, semicolons, no logic change)Fixed styling, Improved formatting
refactorCode change that neither fixes bug nor adds featureRefactored, Restructured, Improved
perfPerformance improvementOptimized, Improved performance
testAdding or updating testsAdded tests for, Improved test coverage
buildBuild system or external dependenciesUpdated build, Upgraded dependencies
ciCI/CD configuration changesUpdated CI/CD, Configured pipeline
choreOther changes (tooling, configs)Updated, Maintained, Cleaned up
revertRevert a previous commitReverted, Rolled back

Checklist Before Responding

Before showing output, verify:

  • "Summary Task Daily" section is present at the TOP (after date)
  • Tasks are TRANSFORMED (not raw commit messages)
  • Tasks use clear action verbs (Fixed, Implemented, Updated, etc.)
  • Related commits are grouped into single tasks
  • Empty/WIP commits like [] are excluded from tasks

🚫 WRONG OUTPUT (just dumping commits):

📊 Daily Commit Summary
b0b0352 fix(notification-template): update mock Thai name to include month

✅ CORRECT OUTPUT (transformed to tasks):

📋 Daily Commit Summary
Date: Saturday, March 21, 2026

Summary Task Daily
- Fixed notification template to correctly display Thai month names in mock data

If the "Summary Task Daily" section is missing or contains raw commits, the output is WRONG.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.41%
按下载量换算61

Claude

29.44%
按下载量换算54

Cursor

19.51%
按下载量换算36

Gemini CLI

9.67%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills