SuperAPI AI Directory

report-daily-worklog

Coding & development

View repository

Updated 11-06 16:22

About this skill

Arguments

  • authors: A list of git author names separated by commas or spaces (e.g., hangeol,loegnah or "hangeol loegnah").
    • Since multiple names may refer to the same person, process the commits of all names together.
    • If omitted, git log --format="%an" | head -1is used to check the current user.

Rules

  • If no date range is specified separately, this week(Monday through today) is used as the basis.
  • If the user mentions "last week," "the previous week," etc., use that week (Monday through Sunday).
  • The output language defaults to Korean.
  • Today's date: check with the date +%Y-%m-%d command.

Steps

  1. Determine the period
    • If there is a date argument, use that period.
    • If not, calculate from this week's Monday through today.
  1. Collect commits

    • Collect commits based on author date (--after/--beforeis based on committer date, so do not use it). --author를 \|query them all at once by joining with , then filter by date with awk:
      git log --author="name1\|name2" --pretty=format:"%ad | %s" --date=short --all | awk -F' \\| ' '$1 >= "<start>" && $1 <= "<end>"'
      
  2. Write a one-line summary per date

    • Group commits by date.
    • For each date, exclude merge commits and summarize the work very concisely.
    • Format: Separate each item with /. Never use commas (,).
    • Put all the work for that date on one line.
    • Minimize technical terms, but use feature names or module names as they are.
    • If the date is a weekend (Sat/Sun) and there are no commits, do not output that date.
  3. Output format

    • Do not save to a file; output directly as text.
    • Format example:
      **3/10 (월)**
      카테고리 DB 마이그레이션 / blog 레이아웃 개선 / 로그인 UI 수정
      
      **3/11 (화)**
      S3 리소스 정리 기능 추가 / editor 자동저장 제거 / community 스키마 분리
      
    • Format the date as **M/D (요일)** in bold.
    • Use Korean abbreviations for weekdays: Mon/Tue/Wed/Thu/Fri/Sat/Sun