clawhong-git-ops-toolkit
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "clawhong-git-ops-toolkit" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-699aa029822143310aa99153b062f8b841fc1c3b9fe3068e058e17e87406b934. Verify the upstream source and version against https://skillhub.cn/skills/user_f12a44b7/clawhong-git-ops-toolkit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A toolkit for batch operations on Git repositories: check repository activity via the CNB API, bulk-view branches and commit histories, and produce repository activity reports. Applicable to regular repository inspections and multi-repository status management.
Introduction source: third_party · user_f12a44b7 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- CNB API: GET /user / repos, GET / {repo}/-/git/branches, GET / {repo}/-/ /git/committees Authentication: Authorize: Bearer {CNB TOKEN}
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: toolkit
slug: clawhong-git-ops-toolkit
description: "Git仓库批量操作工具集:通过CNB API检查仓库活跃度、批量查看分支和提交记录,输出仓库活跃度报告。适用于定期仓库巡检和多仓库状态管理场景。"
version: 1.0.0
displayName: "Clawhong Git Ops Toolkit"git-ops-toolkit
Git仓库批量操作工具集:检查CNB仓库活跃度、批量同步代码状态。
触发条件
- 需要检查多个CNB仓库状态时
- 需要批量操作仓库(查看分支、提交记录)时
- 定期仓库巡检时
API依赖
- CNB API: GET /user/repos, GET /{repo}/-/git/branches, GET /{repo}/-/git/commits
- 认证: Authorization: Bearer {CNB_TOKEN}
使用方法
# 列出所有仓库及活跃状态
python3 scripts/git_ops.py --list-repos
# 检查指定仓库分支
python3 scripts/git_ops.py --branches cnbll/clawhong-skill/skills
# 仓库活跃度报告
python3 scripts/git_ops.py --activity-report
核心逻辑
- 通过CNB API获取仓库列表
- 逐个检查最后提交时间和分支状态
- 判断活跃/不活跃/stale
- 输出报告
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向开发者/运维人员,解决多仓库管理的实际痛点
- 提供仓库活跃度检查、批量查看分支和提交记录等实用功能
Highlights
- 触发条件描述清晰,涵盖多种具体使用场景
- 边界较为清晰,不易与其他 Skill 重叠
Areas to improve
-
缺少详细端到端示例和更清晰的步骤划分 Reported severity: Minor
文档结构基本完整,但缺少详细的端到端示例和更清晰的步骤划分,影响用户理解执行流程。
Recommendation: 建议补充详细的端到端示例,明确展示从获取 CNB_TOKEN 到生成活跃度报告的完整流程,并细化核心逻辑的步骤划分。
Highlights
- frontmatter 完整,包含必要元数据
- 文档结构基本清晰,包含触发条件、API依赖、使用方法等必要章节
Areas to improve
-
未明确说明异常处理机制,未提及不可逆操作确认机制 Reported severity: Major
工具依赖 CNB API 和 CNB_TOKEN 认证,但未明确说明异常处理机制(如网络错误、认证失败、API限流等),也未提及不可逆操作的确认机制,可能导致执行失败或误操作。
Recommendation: 建议在文档中补充异常处理说明,包括网络错误、认证失败、API限流等常见问题的处理方式,并对可能产生不可逆影响的操作添加确认机制。
Highlights
- API依赖说明清晰,包含必要的认证信息
- 核心逻辑描述基本完整,涵盖主要执行步骤
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
CNB API: GET /user / repos, GET / {repo}/-/git/branches, GET / {repo}/-/ /git/committees Authentication: Authorize: Bearer {CNB TOKEN}
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.