# Standup Zh

> 从 git 提交生成中文日报或周报。当用户说"写日报 / 写周报 / 今天做了什么 / 生成站会摘要 / standup"时触发。脚本采集指定时间区间与作者的提交和改动统计,Claude 收敛成面向人的中文日报(今天/明日计划)或周报(按主题归并)。

- **Type:** Skill
- **Install:** `agentstack add skill-yuaicode-ai-skills-standup-zh`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [YuAICode](https://agentstack.voostack.com/s/yuaicode)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [YuAICode](https://github.com/YuAICode)
- **Source:** https://github.com/YuAICode/ai-skills/tree/main/skills/standup-zh

## Install

```sh
agentstack add skill-yuaicode-ai-skills-standup-zh
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# standup-zh — Git 活动中文日报/周报生成

把一段时间内的 git 提交,收敛成中国团队能直接用的中文日报或周报。

## 何时触发

用户说"写日报 / 写周报 / 今天做了什么 / 站会摘要 / standup / 帮我整理本周进展"。

## 用法

### 第一步:采集 git 活动素材

```bash
# 日报(默认取 1 day ago 到现在,当前 git user.email)
bash /bin/collect-activity.sh

# 周报(传入 since 参数)
bash /bin/collect-activity.sh "1 week ago"

# 指定具体日期区间和作者
bash /bin/collect-activity.sh "2024-06-01" "alice@example.com"
```

输出四段:

- `RANGE` — 时间范围描述
- `AUTHOR` — 作者邮箱
- `COMMITS` — 该区间该作者的提交列表(含 hash、日期、subject)
- `STATS` — 汇总改动文件数与增删行数

### 第二步:Claude 生成日报或周报

根据提交素材,按下方模板生成对应粒度的报告:

- **日报**:选"日报模板";
- **周报**:选"周报模板"(按主题/模块归并,不是逐条列提交)。

---

## 日报模板

```markdown
## 日报 — YYYY-MM-DD

### 今日完成
- 

### 进展说明
- 

### 明日计划
- 

> 数据来源:git 提交 (共 N 条提交,变动 M 个文件)
```

---

## 周报模板

```markdown
## 周报 — YYYY-MM-DD ~ YYYY-MM-DD

### 本周进展

#### 
- 

#### 
- ...

### 主要数字
- 提交数:N 条 | 变动文件:M 个 | +X / -Y 行

### 下周计划
- 

> 数据来源:git log --since="" --author=""
```

---

## 硬规则

- **基于真实提交**:所有内容必须有对应提交佐证,不臆造。
- **提交信息不足时如实说**:commit subject 语义不清时,描述"细节不足,仅知改动了 ",不要编造动机。
- **面向人而非堆 commit**:同类提交归并,去掉内部噪音(如 `chore: 改 typo`、`wip` 等可省略或简短带过)。
- **产出中文**:报告全文中文;代码标识符、API 名、库名、commit hash 保留英文。
- **明日计划/下周计划**:无法从提交推断时,明确标注"请补充",不要凭空填写。

## 边界

- 只读 git,不写任何文件,不推送。
- 默认只看当前仓库;多仓库场景需切目录多次运行再汇总。
- 时间范围由 git 解析(`--since`);跨时区时注意本地 git 时区配置。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [YuAICode](https://github.com/YuAICode)
- **Source:** [YuAICode/ai-skills](https://github.com/YuAICode/ai-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-yuaicode-ai-skills-standup-zh
- Seller: https://agentstack.voostack.com/s/yuaicode
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
