From legal-skills
Automatically discovers and stars GitHub projects from text, URLs, or screenshots; tracks updates like releases and commits; generates HTML dashboard for visualization.
npx claudepluginhub cat-xierluo/legal-skills --plugin minimax-image-understandThis skill uses the workspace's default tool permissions.
专注于 GitHub Star 项目的更新追踪与同步工具。自动检测您 Star 的项目是否有新版本、新 Release、重要 Commit 变化,并生成结构化的更新报告。
CHANGELOG.mdLICENSE.txtassets/categories.yamlassets/config.jsonassets/dashboard.example.htmlassets/data.example.jsassets/requirements.txtassets/tags.jsonreferences/api-guide.mdreferences/dev-guide.mdscripts/dashboard_generator.pyscripts/generate_categories.pyscripts/main.pyscripts/quick_export.pyscripts/star_tracker.pyGuides optimization of GitHub profiles, READMEs, repos, Pages, gists, and Awesome lists for parasite SEO, GEO, open source marketing, and visibility.
Organizes GitHub starred repositories into GitHub Lists using AI-assisted categorization. Supports full batch mode or selective (latest N stars or specific repos), proposes plan, applies after user confirmation.
Guides safe GitHub CLI (gh) operations for pull requests, issues, repo info, searches, workflows, codespaces, and automation from the terminal.
Share bugs, ideas, or general feedback.
专注于 GitHub Star 项目的更新追踪与同步工具。自动检测您 Star 的项目是否有新版本、新 Release、重要 Commit 变化,并生成结构化的更新报告。
核心特色: 提供 HTML 可视化 Dashboard,快速浏览所有 Star 项目。
本技能在以下场景下触发:
本技能包含两个模块:
| 模块 | 触发方式 | 功能 |
|---|---|---|
| 对话模块 | 对话触发 | 从内容提取项目并 Star |
| 脚本模块 | 命令行/定时任务 | 同步、Dashboard、追踪、批量管理 |
从各种内容来源中自动提取 GitHub 仓库引用,并在你的 GitHub 账户上 star 它们。
支持的触发方式:
工作流程:
内容提取与上下文分析
仓库发现与智能匹配
gh search repos检查是否已 Star
gh api user/starred/owner/repo 2>/dev/null
Star 仓库
gh repo star owner/repo
生成报告
| 依赖 | 安装方式 |
|---|---|
| Python 3.8+ | macOS: brew install python3Linux: sudo apt-get install python3 |
| 包名 | 用途 | 安装命令 |
|---|---|---|
requests | HTTP 请求,调用 GitHub API | pip install requests |
python-dotenv | 从 .env 文件加载配置 | pip install python-dotenv |
openai | AI 摘要生成(可选) | pip install openai |
pip install -r assets/requirements.txt
# 1. 复制示例配置文件
cp assets/.env.example .env
# 2. 编辑 .env 文件,填入你的 API 密钥
# GITHUB_PAT=ghp_xxxxxxxxxxxxxxxxx
# OPENAI_API_KEY=sk-xxxxxxxxxxxx
# 3. 安装依赖
pip install -r assets/requirements.txt
# 直接设置环境变量
export GITHUB_PAT="你的_github_pat_token"
export OPENAI_API_KEY="你的_openai_api_key"
public_repo(访问公开仓库)repoToken 作用:
# 导出数据并打开 Dashboard
python scripts/main.py --export --user 你的用户名 && open dashboard.html
首次使用说明: 如果 dashboard.html 不存在,系统会自动从 assets/dashboard.example.html 复制一份。
Dashboard 功能:
python scripts/main.py --init --user 你的用户名 --limit 50
首次运行会保存所有 Star 的快照作为后续对比基准。
python scripts/main.py --check --user 你的用户名
对比上次快照,生成更新报告。
python scripts/main.py --report --user 你的用户名 --days 7
生成包含项目摘要和更新状态的完整报告。
# 每周检查一次
python scripts/main.py --check --user 你的用户名 --weekly
本技能使用以下配置文件:
| 文件 | 用途 |
|---|---|
assets/categories.yaml | 分类定义和关键词规则 |
assets/tags.json | 标签管理和别名配置 |
assets/.env.example | 环境变量模板 |
首次运行时,配置文件会自动复制到 ~/.github-star-manager/ 目录。
| 功能 | github-star-manager | repo-research |
|---|---|---|
| 焦点 | Star 项目发现 + 管理 + 追踪 | 单个仓库的深度研究 |
| 输出 | Dashboard + 变更摘要 | 架构分析、代码解读 |
| 用途 | 日常订阅更新 | 一次性深度调研 |
当 GitHub Star 同步任务需要汇报时,使用以下固定格式:
⭐ GitHub Stars 同步报告 — YYYY-MM-DD HH:MM
总项目数: XXX 个(±Y)
---
**🔄 仓库转移**(同一项目,owner/name 变了)
- ~~旧路径~~ → **新路径**(⭐ N)
**➕ 新增 Star (N)**
- 项目名(⭐ N)
描述(如果有)
**➖ 取消 Star (N)**
- 项目名
---
**📊 汇总**
- 新增: X 个
- 取消: Y 个
- 转移: Z 个
- 当前总数: XXX
规则: