ru
使用 AI 审查同步多个 GitHub 仓库
手动管理数十个 GitHub 仓库既耗时又容易出错。RU 自动化仓库同步,编排 AI 驱动的代码审查,并使用 Claude Code 处理整个项目组合中的未提交更改。
Baixar o ZIP da skill
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
Ative e comece a usar
Testar
A utilizar "ru". ru sync -j8
Resultado esperado:
- Syncing 47 repositories with 8 parallel workers...
- [OK] owner/repo1 - already current
- [OK] owner/repo2 - updated (fast-forward)
- [OK] owner/repo3 - updated (3 commits)
- [CONFLICT] owner/repo4 - manual resolution required
- Summary: 44 synced, 2 cloned, 1 conflict
A utilizar "ru". ru status --json
Resultado esperado:
Repository status summary showing 47 total repositories: 32 clean, 8 with uncommitted changes, 5 pending synchronization, and 2 with merge conflicts requiring manual intervention.
A utilizar "ru". ru agent-sweep --dry-run
Resultado esperado:
- Analyzing 8 repositories with uncommitted changes:
- - myproject/api (3 files staged for commit)
- - myproject/web (5 files staged for commit)
- - myproject/cli (new commit needed)
- Run without --dry-run flag to execute the planned actions
Auditoria de Segurança
Baixo RiscoEvaluated 221 static findings as false positives. This is a legitimate multi-repository synchronization and automation tool. Scanner flagged documentation examples, security feature implementations (file denylist patterns for secrets), and standard DevOps operations as threats. The skill implements security best practices including secret scanning, file denylists, and quality gates. No actual vulnerabilities found.
Problemas de Baixo Risco (1)
Fatores de risco
⚙️ Comandos externos (3)
🌐 Acesso à rede (2)
📁 Acesso ao sistema de arquivos (2)
Pontuação de qualidade
O Que Você Pode Construir
大规模维护仓库健康
保持数十个个人项目和分支同步,无需手动执行 git pull 命令。在过时分支和合并冲突累积成更大问题之前及早发现它们。
自动化代码审查工作流
在项目组合中的所有仓库上安排 AI 驱动的代码审查。使用优先级评分首先关注关键安全问题和紧急拉取请求。
自动处理未提交的更改
让 AI 代理分析、暂存和提交所有具有未提交更改的仓库中的进行中工作。可选择根据提交历史自动版本升级创建发布。
Tente Estes Prompts
使用 ru skill 同步所有已配置的仓库。运行 ru sync 并使用 8 个并行工作进程以加快执行速度。
使用 ru skill 检查所有仓库的状态而不进行任何更改。以 JSON 格式输出结果以供审查和分析。
使用 ru skill 在所有仓库中规划 AI 辅助代码审查。关注按时间、标签和紧急程度评分的高优先级问题和拉取请求。
使用 ru skill 在具有未提交更改的仓库上运行 agent-sweep。首先使用 dry-run 模式预览计划的操作,然后再执行。
Melhores Práticas
- 在实际同步之前始终使用 dry-run 标志运行 ru sync 以预览更改并避免意外
- 配置带有阻止模式的密钥扫描以防止凭据泄露并强制执行安全策略
- 为项目特定规则和自定义工作流创建每个仓库的配置文件
Evitar
- 避免在不了解更新策略的情况下运行 ru sync,因为不同的策略处理分叉分支的方式不同
- 在未首先审查文件拒绝列表的情况下不要处理仓库,以确保不会提交密钥
- 切勿手动中断 agent-sweep 会话,因为这可能会使仓库处于不一致状态
Perguntas Frequentes
ru sync 和 ru agent-sweep 有什么区别?
密钥拒绝列表如何防止凭据泄露?
我可以在不安装 Claude Code 的情况下使用此工具吗?
同步有哪些可用的更新策略?
并行处理如何提高性能?
配置数据存储在哪里?
Detalhes do Desenvolvedor
Autor
DicklesworthstoneLicença
MIT
Repositório
https://github.com/Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations/tree/main/skills/ruReferência
main
Estrutura de arquivos
📄 SKILL.md