Skip to main content

collect-github-stats

Collect GitHub repo health/usage stats into merged JSON.

소스 정보

저장소
griddynamics/rosetta
최근 소스 활동
2026년 9월 23일 17:31
감지된 SKILL.md 언어
영어
스타
354
포크
79

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
collect-github-stats
description
Collect GitHub repo health/usage stats into merged JSON.
disable-model-invocation
true
user-invocable
true
# collect-github-stats Runs one script: fetch GitHub stats for a repo, merge into `docs/github-stats.json`. ## Run (MUST) ```bash python3 <skill_dir>/scripts/collect_stats.py [--repo OWNER/NAME] [--out PATH] [--no-enrich] ``` Defaults: `--repo griddynamics/rosetta`, `--out docs/github-stats.json`. MUST run from repo root (or pass absolute `--out`). `--no-enrich` skips company/location lookups. ## CRITICAL - **NEVER DELETE OR OVERWRITE `docs/github-stats.json`.** Script APPEND-MERGES. Traffic is a 14-DAY ROLLING WINDOW — deleted history is GONE FOREVER, unrecoverable from the API. - **PUSH ACCESS REQUIRED.** No push → traffic 403 → script FAILS LOUD with fix steps. MUST NOT accept a partial file. ## Rules (MoSCoW) - MUST have `gh` authenticated, `repo` scope, push access to the target repo. - SHOULD relay the script's post-run summary to the user. - COULD normalize company variants when REPORTING; MUST NOT mutate stored raw values. - WON'T fabricate cloner identity (cloners are ANONYMOUS — counts only), store PII/secrets. If you learned something new which is reusable, there are process efficiency improvements, you can prevent failures in the future, update `## Lessons learned` below for self-improvement. ## Lessons learned (self-improvement, keep updating, first line is template, keep template, follow "<instructions>", high confidence only): - **<key action item, less then 7 words>** <concise/terse: what happened, why, root cause, reasoning, less then 25 words>.
GitHub에서 보기