来源信息
- 仓库
- griddynamics/rosetta
- 最近来源活动
- 2026年9月23日 17:31
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 364
- Forks
- 80
安装方式
默认使用会先检查来源的 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 查看