gitcrawl
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGitcrawl
Gitcrawl
Use this skill before live GitHub search when triaging OpenClaw issues or PRs.
gitcrawl在处理OpenClaw议题(issue)或拉取请求(PR)时,可在使用实时GitHub搜索前先使用此技能。
gitcrawlDefault Flow
默认流程
- Check local state:
bash
gitcrawl doctor --json- Read the target from the local archive:
bash
gitcrawl threads openclaw/openclaw --numbers <issue-or-pr-number> --include-closed --json- Find related candidates:
bash
gitcrawl neighbors openclaw/openclaw --number <issue-or-pr-number> --limit 12 --json
gitcrawl search openclaw/openclaw --query "<scope or title keywords>" --mode hybrid --limit 20 --json- Inspect relevant clusters:
bash
gitcrawl cluster-detail openclaw/openclaw --id <cluster-id> --member-limit 20 --body-chars 280 --json- Verify anything actionable with live GitHub and the checkout:
bash
gh pr view <number> --json number,title,state,mergedAt,body,files,comments,reviews,statusCheckRollup
gh issue view <number> --json number,title,state,body,comments,closedAt- 检查本地状态:
bash
gitcrawl doctor --json- 从本地归档中读取目标内容:
bash
gitcrawl threads openclaw/openclaw --numbers <issue-or-pr-number> --include-closed --json- 查找相关候选内容:
bash
gitcrawl neighbors openclaw/openclaw --number <issue-or-pr-number> --limit 12 --json
gitcrawl search openclaw/openclaw --query "<scope or title keywords>" --mode hybrid --limit 20 --json- 检查相关聚类:
bash
gitcrawl cluster-detail openclaw/openclaw --id <cluster-id> --member-limit 20 --body-chars 280 --json- 通过实时GitHub和本地检查验证可执行操作:
bash
gh pr view <number> --json number,title,state,mergedAt,body,files,comments,reviews,statusCheckRollup
gh issue view <number> --json number,title,state,body,comments,closedAtFreshness Rules
新鲜度规则
- Treat as stale if
gitcrawlshows no target thread, an olddoctor, missing embeddings for neighbor/search commands, or a clearly wrong open/closed state.last_sync_at - If stale data blocks the decision, refresh the portable store first:
bash
gitcrawl init --portable-store git@github.com:openclaw/gitcrawl-store.git --json- Run expensive update commands such as only when the user asked to update the local store or stale data is blocking the decision.
gitcrawl sync --include-comments - The sync default is all GitHub thread states; pass ,
--state open, or--state closedonly when a task requires a narrower or explicit scope.--state all
- 如果显示无目标线程、
doctor时间过久、邻居/搜索命令缺少嵌入信息,或开放/关闭状态明显错误,则认为last_sync_at数据已过期。gitcrawl - 如果过期数据影响决策,需先刷新可移植存储:
bash
gitcrawl init --portable-store git@github.com:openclaw/gitcrawl-store.git --json- 仅当用户要求更新本地存储,或过期数据阻碍决策时,才运行这类资源消耗较大的更新命令。
gitcrawl sync --include-comments - 同步默认包含所有GitHub线程状态;仅当任务需要更窄或明确的范围时,才传入、
--state open或--state closed参数。--state all
Boundaries
使用边界
- Use for candidates, clusters, and historical context.
gitcrawl - Use ,
gh, and the current checkout for live state before commenting, labeling, closing, reopening, merging, or filing a PR review.gh api - Do not close or label based only on similarity. Require matching problem intent plus live verification.
gitcrawl - If is unavailable, say so and fall back to targeted
gitcrawlrather than blocking normal maintainer work.gh search
- 使用获取候选内容、聚类信息和历史上下文。
gitcrawl - 在评论、打标签、关闭、重新开放、合并或提交PR评审前,使用、
gh和当前本地检查获取实时状态。gh api - 不可仅基于的相似度就关闭议题或打标签,需匹配问题意图并进行实时验证。
gitcrawl - 如果不可用,需告知用户并改用针对性的
gitcrawl,避免阻碍维护人员的正常工作。gh search