360 Secure SkillHub
360 安全技能中心

Gh Standup

核心功能是依据指定站会日期,拉取单个GitHub仓库或整个组织内目标用户的合并PR,以及去重后的直接提交,生成整洁的站会总结。适用于日常站会汇报、周工作小结等场景。通过命令行参数指定仓库/组织、站会日期(支持多日)、作者(默认当前用户),输出格式化的站会消息。需完成gh CLI认证,依赖Python3.10+,大组织建议指定单仓库以提升效率。

zerone0x
zerone0x
热度 67.48
最近更新 2026-05-11 17:29:33
分类:效率依赖:代码执行 / 第三方 API应用场景:摘要总结 / 会议纪要 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gh-standup
Metadata
name
gh-standup
description
Generate a GitHub standup summary covering the period since the last standup. Use when the user asks for a standup, work summary, weekly update, or "what did I do since [day]". Accepts a repo (org/repo) or organization name, and one or more standup days (e.g. Friday, or Monday,Thursday). Pulls merged PRs and direct commits authored by the user since the last standup date, and formats a clean summary.

gh-standup

Generate a standup summary from GitHub activity since the last standup day.

Quick Start

# Single repo, weekly Friday standup
python3 scripts/standup.py --repo ORG/REPO --standup-days Friday

# Multiple standup days
python3 scripts/standup.py --repo ORG/REPO --standup-days Monday,Thursday

# Whole org, specific author
python3 scripts/standup.py --org MY_ORG --standup-days Friday --author username

Parameters

Flag Required Default Description
--repo one of — Single repo (org/repo)
--org one of — Entire GitHub org (all repos)
--standup-days no Friday Comma-separated weekdays
--author no @me GitHub username or @me

Workflow

  1. Run scripts/standup.py with the user's repo/org and standup days
  2. The script calculates the most recent past standup day and uses it as since
  3. Output: merged PRs + direct commits (PR commits de-duped) since that date
  4. Post the output as the standup message

Requirements

  • gh CLI authenticated (gh auth status)
  • Python 3.10+

Notes

  • --org fetches all repos in the org; can be slow for large orgs — prefer --repo when possible
  • PRs are matched by merge date; commits by author date
  • Commits that belong to a merged PR are excluded from "Direct Commits" to avoid duplication