daily-standup

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Daily Standup Generator

每日站会报告生成工具

Generate daily standup reports automatically by cross-referencing git activity, GitHub PRs, and a persistent work log.
通过交叉引用Git活动、GitHub PR和持久化工作日志,自动生成每日站会报告。

Commands

命令

This skill provides four slash commands:
  • /daily
    — Generate the full daily standup report
  • /log <message>
    — Manually log a work entry
  • /log-auto
    — Auto-log a summary of the current session from git
  • /log-clear
    — Archive the current log and start fresh
该技能提供四个斜杠命令:
  • /daily
    — 生成完整的每日站会报告
  • /log <message>
    — 手动记录工作条目
  • /log-auto
    — 从Git自动记录当前会话的摘要
  • /log-clear
    — 归档当前日志并重新开始

How
/daily
Works

/daily
命令的工作原理

When the user asks for their daily, execute these steps:
当用户请求生成每日报告时,执行以下步骤:

Step 1: Gather Data

步骤1:收集数据

Run these commands one by one and collect the output:
bash
date "+%A %d/%m/%Y"
git branch --show-current
git status --short
git log --since="2 days ago" --format="%h %s (%ar)" --no-merges
If GitHub CLI is available, also run:
bash
gh pr list --author="@me" --state=all --limit=10
Check for the persistent work log:
bash
cat ~/.daily-worklog/current.md
If any command fails, skip it and continue with available data.
依次运行以下命令并收集输出:
bash
date "+%A %d/%m/%Y"
git branch --show-current
git status --short
git log --since="2 days ago" --format="%h %s (%ar)" --no-merges
如果GitHub CLI可用,还需运行:
bash
gh pr list --author="@me" --state=all --limit=10
检查持久化工作日志:
bash
cat ~/.daily-worklog/current.md
如果任何命令执行失败,跳过该命令并继续使用可用数据。

Step 2: Generate Report

步骤2:生成报告

Using all gathered data, produce a report in this format:
undefined
利用收集到的所有数据,按照以下格式生成报告:
undefined

Daily Standup - [today's date]

每日站会 - [今日日期]

✅ Yesterday (what I did)

✅ 昨日工作内容

  • [summarize commits, merged PRs, completed tasks from work log]
  • [总结提交记录、已合并PR、工作日志中的已完成任务]

🔨 Today (what I'll do)

🔨 今日工作计划

  • [based on: in-progress branches, open PRs, pending work log items]
  • [基于:进行中的分支、待处理PR、工作日志中的待办事项]

🚧 Blockers

🚧 阻塞事项

  • [items marked [BLOCKER] in work log, or PRs waiting for review]
undefined
  • [工作日志中标记为[BLOCKER]的条目,或等待审核的PR]
undefined

Rules

规则

  1. Be concise. One line per item.
  2. Group related commits into a single item.
  3. If no blockers exist, write "No blockers".
  4. Items tagged
    [BLOCKER]
    in the work log always appear in Blockers.
  5. Items tagged
    [HOY]
    /
    [TODAY]
    are prioritized in the Today section.
  6. Use professional but direct language.
  1. 内容简洁,每条目占一行。
  2. 将相关提交记录合并为单个条目。
  3. 如果没有阻塞事项,填写“无阻塞事项”。
  4. 工作日志中标记为
    [BLOCKER]
    的条目必须出现在阻塞事项部分。
  5. 标记为
    [HOY]
    /
    [TODAY]
    的条目优先显示在今日工作计划部分。
  6. 使用专业且直接的语言。

How
/log
Works

/log
命令的工作原理

When the user runs
/log <message>
:
  1. Run
    mkdir -p ~/.daily-worklog
  2. Get current time with
    date "+%H:%M"
  3. Append to
    ~/.daily-worklog/current.md
    :
    - [HH:MM] <message>
  4. Confirm what was logged and show entry count.
Supported tags:
[BLOCKER]
,
[HOY]
,
[TODAY]
当用户运行
/log <message>
时:
  1. 运行
    mkdir -p ~/.daily-worklog
  2. 通过
    date "+%H:%M"
    获取当前时间
  3. 将以下内容追加到
    ~/.daily-worklog/current.md
    - [HH:MM] <message>
  4. 确认已记录的内容并显示条目数量。
支持的标签:
[BLOCKER]
[HOY]
[TODAY]

How
/log-auto
Works

/log-auto
命令的工作原理

When the user runs
/log-auto
:
  1. Run
    git log --since="1 hour ago" --format="- %s" --no-merges
  2. Run
    git diff --name-only HEAD~3
  3. Run
    git branch --show-current
  4. Generate a 1-3 line summary of the session
  5. Append to
    ~/.daily-worklog/current.md
    :
    - [HH:MM] [AUTO] <concise session summary>
当用户运行
/log-auto
时:
  1. 运行
    git log --since="1 hour ago" --format="- %s" --no-merges
  2. 运行
    git diff --name-only HEAD~3
  3. 运行
    git branch --show-current
  4. 生成1-3行的会话摘要
  5. 将以下内容追加到
    ~/.daily-worklog/current.md
    - [HH:MM] [AUTO] <简洁的会话摘要>

How
/log-clear
Works

/log-clear
命令的工作原理

When the user runs
/log-clear
:
  1. Show current log contents
  2. Move to
    ~/.daily-worklog/archive/YYYY-MM-DD.md
  3. Create empty
    ~/.daily-worklog/current.md
  4. Confirm archival with entry count.
当用户运行
/log-clear
时:
  1. 显示当前日志内容
  2. 将其移动到
    ~/.daily-worklog/archive/YYYY-MM-DD.md
  3. 创建空的
    ~/.daily-worklog/current.md
  4. 确认归档完成并显示条目数量。

Work Log Persistence

工作日志持久化

The work log is stored at
~/.daily-worklog/current.md
and persists across sessions.
~/.daily-worklog/
├── current.md          ← active log
└── archive/
    ├── 2026-02-20.md   ← archived logs
    └── 2026-02-17.md
Entries older than 3 days should be automatically archived when
/log
is used.
工作日志存储在
~/.daily-worklog/current.md
中,可跨会话保留。
~/.daily-worklog/
├── current.md          ← 活跃日志
└── archive/
    ├── 2026-02-20.md   ← 已归档日志
    └── 2026-02-17.md
当使用
/log
命令时,3天以上的条目应自动归档。

Tips for Best Results

最佳使用技巧

  • You don't need to log everything manually —
    /daily
    reads git history automatically
  • Use
    /log
    for things that don't show up in git: meetings, decisions, blockers
  • Run
    /log-auto
    before closing your session to capture what you did
  • Run
    /log-clear
    on Monday mornings to start the week fresh
  • 无需手动记录所有内容 —
    /daily
    会自动读取Git历史记录
  • 使用
    /log
    记录Git中未体现的内容:会议、决策、阻塞事项
  • 关闭会话前运行
    /log-auto
    ,记录你的工作内容
  • 周一早上运行
    /log-clear
    ,开启全新一周的日志