jpskill.com
🛠️ 開発・MCP コミュニティ 🔴 エンジニア向け 👤 エンジニア・AI開発者

🛠️ Openclaw Github Repo Commander

openclaw-github-repo-commander

GitHub上のプロジェクト(リポジトリ)を監査して

⏱ 障害ポストモーテム 1日 → 1時間

📺 まず動画で見る(YouTube)

▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

7-stage super workflow for GitHub repo audit, cleanup, PR review, and competitor analysis

🇯🇵 日本人クリエイター向け解説

一言でいうと

GitHub上のプロジェクト(リポジトリ)を監査して

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o openclaw-github-repo-commander.zip https://jpskill.com/download/3259.zip && unzip -o openclaw-github-repo-commander.zip && rm openclaw-github-repo-commander.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/3259.zip -OutFile "$d\openclaw-github-repo-commander.zip"; Expand-Archive "$d\openclaw-github-repo-commander.zip" -DestinationPath $d -Force; ri "$d\openclaw-github-repo-commander.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して openclaw-github-repo-commander.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → openclaw-github-repo-commander フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

💬 こう話しかけるだけ — サンプルプロンプト

  • Openclaw Github Repo Commander を使って、最小構成のサンプルコードを示して
  • Openclaw Github Repo Commander の主な使い方と注意点を教えて
  • Openclaw Github Repo Commander を既存プロジェクトに組み込む方法を教えて

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[Skill 名] openclaw-github-repo-commander

OpenClaw GitHub Repo Commander

概要

包括的なGitHubリポジトリ管理のための、構造化された7段階のスーパーワークフローです。このスキルは、リポジトリの監査、クリーンアップ、競合他社とのベンチマーク、最適化を自動化し、乱雑なリポジトリをクリーンで、十分に文書化された、本番環境に対応したプロジェクトに変えます。

このスキルを使用する場面

  • シークレット、ジャンクファイル、または低品質なコンテンツについてリポジトリを監査する必要がある場合に使用します。
  • ユーザーが「私のリポジトリをクリーンアップして」、「私のGitHubプロジェクトを最適化して」、または「このライブラリを監査して」と言った場合に使用します。
  • 構造化された分析でプルリクエストをレビューまたは作成する場合に使用します。
  • GitHubで自分のプロジェクトを競合他社と比較する場合に使用します。
  • リポジトリのURLに対して /super-workflow または /openclaw-github-repo-commander を実行する場合に使用します。

仕組み

ステージ1:取り込み

ターゲットリポジトリをクローンし、成功基準を定義し、ベースラインメトリクスを確立します。

ステージ2:実行

scripts/repo-audit.sh を実行します。以下の自動チェックを行います。

  • ハードコードされたシークレット (ghp_, sk-, AKIA など)
  • トラックされた node_modules/ またはビルド成果物
  • 空のディレクトリ
  • 大きなファイル (>1MB)
  • .gitignore のカバレッジ不足
  • 壊れた内部READMEリンク

ステージ3:考察

自動化を超えた深い手動レビュー:コンテンツの品質、ドキュメントの一貫性、構造上の問題、バージョン不一致。

ステージ4:競合分析

GitHubで類似のリポジトリを検索します。ドキュメント標準、機能カバレッジ、スター数、コミュニティ採用状況を比較します。

ステージ5:統合

すべての調査結果を優先順位付けされたアクションプラン(P0クリティカル / P1重要 / P2あれば良い)に統合します。

ステージ6:反復

計画を実行します:価値の低いファイルを削除し、セキュリティ問題を修正し、ドキュメントをアップグレードし、CIワークフローを追加し、変更履歴を更新します。

ステージ7:検証

監査スクリプトを再実行し(目標:7/7 PASS)、すべての変更を検証し、GitHubにプッシュし、完全なレポートを提出します。

例1:完全なリポジトリ監査

/openclaw-github-repo-commander https://github.com/owner/my-repo

全7ステージを実行し、詳細なビフォー/アフターレポートを作成します。

例2:クイッククリーンアップ

Clean up my GitHub repo — remove junk files, fix secrets, add .gitignore

例3:競合ベンチマーク

Compare my skill repo with the top 5 similar repos on GitHub

ベストプラクティス

  • ✅ プッシュする前に必ずステージ7の検証を実行してください。
  • ✅ セマンティックなコミットメッセージを使用してください:chore:, fix:, docs:
  • ✅ 保留中のレビューア要求については pr_todo.json ファイルを確認してください。
  • ❌ ステージ4をスキップしないでください。競合分析は盲点を発見します。
  • node_modules/.env ファイルをコミットしないでください。

セキュリティと安全に関する注意点

  • 監査スクリプトは一般的なシークレットパターンをスキャンしますが、誤検知を避けるために .github/workflows/ は除外します。
  • すべての gh CLI操作はユーザーの既存の認証を使用します。このスキルによって認証情報は保存されません。
  • このスキルは、ステージ6でユーザーの明示的な確認なしにファイルを変更することはありません。

ソースリポジトリ

github.com/wd041216-bit/openclaw-github-repo-commander

ライセンス: MIT | バージョン: 4.0.0

制限事項

  • このスキルは、タスクが上記の範囲と明確に一致する場合にのみ使用してください。
  • 出力を、環境固有の検証、テスト、または専門家によるレビューの代替として扱わないでください。
  • 必要な入力、権限、安全境界、または成功基準が不足している場合は、停止して説明を求めてください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

OpenClaw GitHub Repo Commander

Overview

A structured 7-stage super workflow for comprehensive GitHub repository management. This skill automates repository auditing, cleanup, competitor benchmarking, and optimization — turning a messy repo into a clean, well-documented, production-ready project.

When to Use This Skill

  • Use when you need to audit a repository for secrets, junk files, or low-quality content
  • Use when the user says "clean up my repo", "optimize my GitHub project", or "audit this library"
  • Use when reviewing or creating pull requests with structured analysis
  • Use when comparing your project against competitors on GitHub
  • Use when running /super-workflow or /openclaw-github-repo-commander on a repo URL

How It Works

Stage 1: Intake

Clone the target repository, define success criteria, and establish baseline metrics.

Stage 2: Execution

Run scripts/repo-audit.sh — automated checks for:

  • Hardcoded secrets (ghp_, sk-, AKIA, etc.)
  • Tracked node_modules/ or build artifacts
  • Empty directories
  • Large files (>1MB)
  • Missing .gitignore coverage
  • Broken internal README links

Stage 3: Reflection

Deep manual review beyond automation: content quality, documentation consistency, structural issues, version mismatches.

Stage 4: Competitor Analysis

Search GitHub for similar repositories. Compare documentation standards, feature coverage, star counts, and community adoption.

Stage 5: Synthesis

Consolidate all findings into a prioritized action plan (P0 critical / P1 important / P2 nice-to-have).

Stage 6: Iteration

Execute the plan: delete low-value files, fix security issues, upgrade documentation, add CI workflows, update changelogs.

Stage 7: Validation

Re-run the audit script (target: 7/7 PASS), verify all changes, push to GitHub, and deliver a full report.

Examples

Example 1: Full Repo Audit

/openclaw-github-repo-commander https://github.com/owner/my-repo

Runs all 7 stages and produces a detailed before/after report.

Example 2: Quick Cleanup

Clean up my GitHub repo — remove junk files, fix secrets, add .gitignore

Example 3: Competitor Benchmarking

Compare my skill repo with the top 5 similar repos on GitHub

Best Practices

  • ✅ Always run Stage 7 validation before pushing
  • ✅ Use semantic commit messages: chore:, fix:, docs:
  • ✅ Check the pr_todo.json file for pending reviewer requests
  • ❌ Don't skip Stage 4 — competitor analysis reveals blind spots
  • ❌ Don't commit node_modules/ or .env files

Security & Safety Notes

  • The audit script scans for common secret patterns but excludes .github/workflows/ to avoid false positives
  • All gh CLI operations use the user's existing authentication — no credentials are stored by this skill
  • The skill never modifies files without explicit user confirmation in Stage 6

Source Repository

github.com/wd041216-bit/openclaw-github-repo-commander

License: MIT | Version: 4.0.0

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.