skills/gitlab-contrib-report/SKILL.md
GitLab 컨트리뷰션 월별 리포트 생성. glab CLI로 이벤트 데이터를 수집하고 주/월/년 단위 추이 테이블 + AI 코멘트를 출력한다. Use when the user says "컨트리뷰션 리포트", "잔디 분석", "기여 추이", "gitlab-contrib-report", "$contrib", or wants to see their GitLab activity trends. Do not use when glab is not installed or not authenticated.
npx skillsauth add gihwan-dev/claude-setup gitlab-contrib-reportInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
glab CLI로 GitLab 컨트리뷰션 이벤트를 수집하여 주/월/년 추이 리포트 + AI 코멘트를 생성한다.
glab auth status
! glab auth login 안내 후 종료.scripts/collect_events.py 스크립트를 실행하여 이벤트를 수집·집계한다.
python3 "{{SKILL_DIR}}/scripts/collect_events.py"
옵션:
--months N : 최근 N개월 (기본 12)--from-date YYYY-MM-DD : 시작일 지정--to-date YYYY-MM-DD : 종료일 지정--hostname HOST : GitLab 호스트 명시 (기본 자동 감지)사용자가 기간을 지정하면 해당 옵션을 전달한다.
스크립트 출력 (JSON stdout):
{
"user": { "id": 123, "username": "foo" },
"hostname": "gitlab.example.com",
"summary": {
"period_start": "2025-04-01",
"period_end": "2026-04-01",
"total_events": 1200,
"active_days": 180,
"avg_per_active_day": 6.7
},
"aggregation": {
"monthly": { "2025-04": 64, "2025-05": 185 },
"weekly": { "2025-W14": 32 },
"yearly": { "2025": 800, "2026": 400 },
"daily": { "2025-04-01": 5 },
"quarterly": { "2025-Q2": 300 },
"monthly_by_action": {
"2025-04": { "pushed to": 40, "opened": 5, "commented on": 10 }
},
"action_totals": { "pushed to": 600, "commented on": 200 }
},
"balance": {
"totals": { "push": 620, "mr": 30, "comment": 200, "other": 350 },
"percentages": { "push": 51.7, "mr": 2.5, "comment": 16.7, "other": 29.2 },
"comment_per_mr": 6.7,
"trend": {
"first_half": { "push_pct": 58.0, "mr_pct": 2.0, "comment_pct": 12.0, "months": 6 },
"second_half": { "push_pct": 45.0, "mr_pct": 3.0, "comment_pct": 21.0, "months": 6 }
}
}
}
스크립트 JSON 결과를 아래 형식의 마크다운 테이블로 대화 출력한다. 파일로 저장하지 않는다.
| 항목 | 값 | |------|-----| | 분석 기간 | {start} ~ {end} | | 총 이벤트 | N건 | | 활동일 수 | N일 | | 활동일 평균 | N.N건/일 |
monthly와 monthly_by_action을 조합한다.
| 월 | 총 | Push | MR | Comment | 전월 대비 | |------|-----:|-----:|----:|--------:|--------:| | 2025-01 | 64 | 48 | 5 | 10 | - | | 2025-02 | 185 | 124 | 13 | 35 | +189% |
pushed to + pushed new 합산opened (MR 오픈)commented onweekly에서 최근 12주를 추출한다.
| 주 | 총 | 4주 이동평균 | |----|---:|----------:| | 2026-W10 | 72 | 87.8 |
quarterly를 사용한다.
| 분기 | 건수 | 월 평균 | |------|-----:|-------:| | 2025-Q1 | 557 | 186 |
수집된 데이터를 분석하여 아래 관점의 코멘트를 작성한다:
balance 데이터를 기반으로 강점과 개선점을 진단한다.
비율 테이블 (balance.percentages 사용):
| 유형 | 건수 | 비율 | 판정 | |------|-----:|-----:|------| | Push | 600 | 72% | ... | | MR | 30 | 3.6% | ... | | Comment | 150 | 18% | ... | | 기타 | 53 | 6.4% | ... |
판정 기준 (맥락에 따라 유연하게 적용):
comment_per_mr): 3 이상이면 "꼼꼼한 리뷰 문화", 1 미만이면 "MR당 리뷰 밀도 낮음"전반기→후반기 변화 (balance.trend 사용):
강점/개선점 요약 (반드시 포함):
주의: 단순 숫자만으로 판단하지 않는다. 역할(IC vs TL), 프로젝트 페이즈(초기 개발 vs 안정화), 시니어리티에 따라 건강한 비율이 다르다는 점을 코멘트에 명시한다. Junior는 Push 비중이 높은 게 자연스럽고, Senior는 Comment/MR 비중이 높은 게 건강하다.
사용자가 추가 요청 시:
tools
GitLab 이슈 우선순위 추천. glab CLI로 할당/미할당 이슈를 수집하고 우선순위 라벨, 마감일, 가중치를 분석하여 작업할 이슈 Top 5를 추천한다. Use when the user says "이슈 추천해줘", "뭐 작업할까", "이슈 골라줘", "gitlab-issue-picker", "$pick", or wants help deciding which issue to work on. Do not use when glab is not installed or not authenticated.
tools
--- name: unknown-proposal description: Handles repeated HyperAgent instruction pattern: 반복 지시가 있었지만 스킬 없이 수행된 작업 --- # unknown-proposal Use when a session matches `반복 지시가 있었지만 스킬 없이 수행된 작업`. ## Workflow 1. Identify whether this repeated instruction pattern is present. 2. Apply the captured checklist before tool execution. 3. Report the exact evidence and stop if the pattern no longer applies. ## Evidence Sessions - faf6eee3-341c-4cb8-b4ce-fd62714b09fd - 019e0130-8884-7683-9885-cf05935e4195
tools
GitLab 이슈 우선순위 추천. glab CLI로 할당/미할당 이슈를 수집하고 우선순위 라벨, 마감일, 가중치를 분석하여 작업할 이슈 Top 5를 추천한다. Use when the user says "이슈 추천해줘", "뭐 작업할까", "이슈 골라줘", "gitlab-issue-picker", "$pick", or wants help deciding which issue to work on. Do not use when glab is not installed or not authenticated.
tools
--- name: unknown-proposal description: Handles repeated HyperAgent instruction pattern: 반복 지시가 재발한 작업 --- # unknown-proposal Use when a session matches `반복 지시가 재발한 작업`. ## Workflow 1. Identify whether this repeated instruction pattern is present. 2. Apply the captured checklist before tool execution. 3. Report the exact evidence and stop if the pattern no longer applies. ## Evidence Sessions - eebe7e0e-8348-4482-a68f-5c4b4486f11b