Claude Code Plugins

Community-maintained marketplace

Feedback

ut-summary-by-commits

@xlsama/use
0
0

根据云效 Git commits 生成每日工作汇总报告 (user)

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name ut-summary-by-commits
description 根据云效 Git commits 生成每日工作汇总报告 (user)

UT Summary by Commits

生成指定日期范围内的工作汇总(UT)报告。

使用方式

bun <skill_dir>/scripts/generate_ut_report.ts <startDate> <endDate> <outputPath>

示例(假设用户在 ~/notes 目录,当前是 2025 年 1 月):

# 用户说:生成当月 ut 报告
bun <skill_dir>/scripts/generate_ut_report.ts 2025-01-01 2025-01-31 ~/notes/ut_report_2025-01-01_2025-01-31.md

# 用户说:生成 2025-11 的 ut 报告
bun <skill_dir>/scripts/generate_ut_report.ts 2025-11-01 2025-11-30 ~/notes/ut_report_2025-11-01_2025-11-30.md

注意

  • <skill_dir> = 此 SKILL.md 所在目录
  • 如用户未指定日期,使用当月第一天到最后一天
  • 输出到用户当前工作目录

配置

配置文件:~/.config/claude-skills-config.json

{
  "ut-summary-by-commits": {
    "yunxiao": { "token": "pt-xxx", "orgId": "xxx" },
    "user": { "email": "xxx@example.com" }
  }
}

若配置缺失,脚本会报错提示用户创建