work-report
SKILL.md
Work Report
Workflow
- Determine local date and format as
MM.DD(no year). - Decide daily vs weekly based on the user's request.
- Confirm the workspace root path for scanning multiple repos; if the user hasn't provided one, first check WORK_REPORT_ROOT or CODEX_WORK_ROOT, then ask.
- For daily reports, collect git commit subjects by author across all repos under the target root, grouped by project (repo).
- Prefer using
scripts/git_today_commits.sh --root <path> --period daily --group-by-repo. - If needed, run manually per repo:
git log --since=midnight --author "<name>" --pretty=format:%s. - Rewrite commit subjects into concise Chinese items and then turn them into a numbered list under each project (avoid English output); replace low-value or sensitive phrases (e.g., "解决冲突") with business-friendly wording (e.g., "代码集成与稳定性维护").
- If there are no commits, ask the user for manual items.
- Prefer using
- For weekly reports, summarize git commits into concise Chinese items grouped by project (do not require user input unless there are no commits).
- Prefer using
scripts/git_today_commits.sh --root <path> --period weekly --group-by-repo. - Convert commit subjects into 1-5 Chinese summary items per project (merge similar changes).
- Prefer using
- Only treat directories with a
.gitfolder or file as projects. Ignore non-git directories. Include nested repos under the root.