スキル github-code-review
📦

github-code-review

v1.0.0 コンテンツリビジョン r1 重大 ⚙️ 外部コマンド🌐 ネットワークアクセス🔑 環境変数

AIエージェントでGitHubプルリクエストをレビュー

手動のプルリクエストレビューでは、セキュリティ、パフォーマンス、アーキテクチャの問題を見落とすことがあります。このスキルは、専門化されたAIエージェントとCLI自動化を使用した、構造化されたGitHubレビューのワークフローを提供します。

対応: Claude Codex Code(CC)
⚠️ 38 不十分

自分のエージェントでインストール

このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。

エージェントリクエスト
Review the Skillstore skill "github-code-review" from https://skillstore.io/skills/dnyoussef-github-code-review.md and its manifest at https://skillstore.io/api/skills/dnyoussef-github-code-review/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.

エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。

エージェントが読めるリソース

AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。

テストする

「github-code-review」を使用しています。 セキュリティとパフォーマンスのリグレッションについてPR 123をレビューしてください。

期待される結果:

  • 重大、高、低の優先度別にまとめたセキュリティレビュー要約。
  • 推奨ベンチマークまたはフォローアップテストを含むパフォーマンス所見。
  • プルリクエストに投稿できるGitHub向けレビューコメントとラベル。

「github-code-review」を使用しています。 新しいプルリクエスト向けの自動レビューワークフローを設定してください。

期待される結果:

  • PRコンテキストを収集し、レビューエージェントを実行するためのワークフロー概要。
  • セキュリティ、パフォーマンス、スタイル、アーキテクチャチェック向けの品質ゲート推奨事項。
  • トークンスコープ、webhook検証、コマンド実行に関する運用上の注意点。

「github-code-review」を使用しています。 大規模な機能PRの最終レビューレポートを生成してください。

期待される結果:

  • 承認ステータスと残りのブロッカーを含む簡潔な判断要約。
  • エージェント種別と重大度ごとに整理された所見。
  • 作成者、レビュアー、リリース責任者の次のアクション。

セキュリティ監査

重大

The skill is a GitHub pull request review workflow that intentionally uses gh, npx, shell commands, and GitHub tokens. Most Markdown backtick findings are false positives, but webhook-driven execSync, authenticated automation, external command execution, and automated approval or merge examples are real risks that require controls before publication.

1
スキャンされたファイル
1,141
解析済み行数
26
レビュー項目
0
誤検知を無視

確認済みのセキュリティ上の懸念 (2)

重大
Untrusted PR Comment Command Execution
The skill presents PR comments such as /swarm commands as direct automation triggers and shows a webhook handler passing the comment body into a shell command. This can let untrusted repository users influence privileged review automation.
The command path is explicit: PR comments are accepted when they start with /swarm, then the full comment body is passed to execSync. Later checklist guidance does not remove the unsafe example.
高
Automated Approval and Merge Workflow Risk
The skill includes examples that approve pull requests based on generated review output and enable auto-merge after review counts. That can bypass human judgment if adopted without strict policy controls.
The cited examples issue gh pr review --approve and gh pr merge commands from automation flows. They are documented examples, but the business logic risk is clear if used directly.
機能レビュー項目 (26)

これらは、このスキルに期待される可能性のある実際のローカル機能であるため、レビューが必要ですが、確認済みの悪意ある動作としてはカウントされません。

重大
Synchronous process execution
execSync(`npx ruv-swarm github handle-comment --pr ${event.issue.number} --command "${command}"`);
The command embeds a PR comment body into execSync after only checking that it starts with /swarm. Untrusted comment text can influence shell execution.
重大
Ruby/shell backtick execution
execSync(`npx ruv-swarm github handle-comment --pr ${event.issue.number} --command "${command}"`);
The backtick appears inside an execSync command template in the webhook example. The pattern is executable JavaScript command construction, not just documentation formatting.
高
Node.js child_process module
const { execSync } = require('child_process');
The webhook example imports child_process to run local commands from GitHub webhook events. That enables privileged command execution if copied into production without strict validation.
高
Synchronous process execution
execSync(`npx ruv-swarm github pr-init ${event.pull_request.number}`);
The webhook example synchronously runs an npx ruv-swarm command from event data. This is real command execution in response to webhook input and needs strong trust controls.
高
Ruby/shell backtick execution
execSync(`npx ruv-swarm github pr-init ${event.pull_request.number}`);
The backtick appears inside an execSync command template in the webhook example. The pattern is executable JavaScript command construction, not just documentation formatting.
高
Git platform tokens
run: echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
The workflow authenticates gh with secrets.GITHUB_TOKEN before running review automation. This is legitimate but exposes repository privileges to the surrounding automation path.
中
Shell command substitution
PR_DATA=$(gh pr view 123 --json files,additions,deletions,title,body)
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.
中
Shell command substitution
PR_DIFF=$(gh pr diff 123)
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.
中
Shell command substitution
PR_DATA=$(gh pr view 123 --json files,additions,deletions,title,body)
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.
中
Shell command substitution
PR_DIFF=$(gh pr diff 123)
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.
中
Shell command substitution
CHANGED_FILES=$(gh pr view 123 --json files --jq '.files[].path')
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.
中
Shell command substitution
SECURITY_RESULTS=$(npx ruv-swarm github review-security \
The shell substitution runs npx ruv-swarm and captures its output for later GitHub actions. This executes external tooling with PR context and should require explicit trust.
中
Shell command substitution
PR_DATA=$(gh pr view $PR_NUM --json files,title,body,labels)
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.
中
Shell command substitution
PR_DIFF=$(gh pr diff $PR_NUM)
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.
中
Shell command substitution
REVIEW_OUTPUT=$(npx ruv-swarm github review-all \
The shell substitution runs npx ruv-swarm and captures its output for later GitHub actions. This executes external tooling with PR context and should require explicit trust.
中
Shell command substitution
PR_DIFF=$(gh pr diff 123 --color never)
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.
中
Shell command substitution
PR_FILES=$(gh pr view 123 --json files)
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.
中
Shell command substitution
COMMENTS=$(npx ruv-swarm github review-comment \
The shell substitution runs npx ruv-swarm and captures its output for later GitHub actions. This executes external tooling with PR context and should require explicit trust.
中
Shell command substitution
FILE=$(echo "$comment" | jq -r '.path')
The shell substitution parses generated review output for later API calls. The pattern is operationally legitimate but depends on untrusted or tool-generated data.
中
Shell command substitution
LINE=$(echo "$comment" | jq -r '.line')
The shell substitution parses generated review output for later API calls. The pattern is operationally legitimate but depends on untrusted or tool-generated data.
中
Shell command substitution
BODY=$(echo "$comment" | jq -r '.body')
The shell substitution parses generated review output for later API calls. The pattern is operationally legitimate but depends on untrusted or tool-generated data.
中
Shell command substitution
COMMIT_ID=$(gh pr view 123 --json headRefOid -q .headRefOid)
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.
中
Shell command substitution
PROGRESS=$(npx ruv-swarm github pr-progress 123 --format markdown)
The shell substitution runs npx ruv-swarm and captures its output for later GitHub actions. This executes external tooling with PR context and should require explicit trust.
中
Shell command substitution
if [[ $(echo "$PROGRESS" | grep -o '[0-9]\+%' | sed 's/%//') -gt 90 ]]; then
The shell substitution parses generated review output for later API calls. The pattern is operationally legitimate but depends on untrusted or tool-generated data.
中
Shell command substitution
SWARM_STATUS=$(npx ruv-swarm github pr-status 123)
The shell substitution runs npx ruv-swarm and captures its output for later GitHub actions. This executes external tooling with PR context and should require explicit trust.
中
Shell command substitution
REVIEWS=$(gh pr view 123 --json reviews --jq '.reviews | length')
The shell substitution invokes gh to fetch pull request data from GitHub. This is expected for the skill but still performs authenticated external access.

リスク要因

⚙️ 外部コマンド (134)
SKILL.md:395 SKILL.md:402 SKILL.md:407 SKILL.md:28-34 SKILL.md:34-37 SKILL.md:37-49 SKILL.md:49-105 SKILL.md:105-120 SKILL.md:120-136 SKILL.md:136-156 SKILL.md:156-161 SKILL.md:161-180 SKILL.md:180-187 SKILL.md:187-199 SKILL.md:199-201 SKILL.md:201-206 SKILL.md:206-216 SKILL.md:216-223 SKILL.md:223-228 SKILL.md:228-246 SKILL.md:246-256 SKILL.md:256-263 SKILL.md:263-268 SKILL.md:268-286 SKILL.md:286-296 SKILL.md:296-302 SKILL.md:302-307 SKILL.md:307-325 SKILL.md:325-335 SKILL.md:335-345 SKILL.md:345-351 SKILL.md:351-362 SKILL.md:362-366 SKILL.md:366-372 SKILL.md:372-380 SKILL.md:380-387 SKILL.md:387-392 SKILL.md:392-402 SKILL.md:402-407 SKILL.md:407-414 SKILL.md:414-424 SKILL.md:424-459 SKILL.md:459-463 SKILL.md:463-486 SKILL.md:486-494 SKILL.md:494-547 SKILL.md:547-555 SKILL.md:555-585 SKILL.md:585-589 SKILL.md:589-596 SKILL.md:596-604 SKILL.md:604-614 SKILL.md:614-618 SKILL.md:618-628 SKILL.md:628-632 SKILL.md:632-639 SKILL.md:639-649 SKILL.md:649-657 SKILL.md:657-663 SKILL.md:663-676 SKILL.md:676-682 SKILL.md:682-689 SKILL.md:689-693 SKILL.md:693-699 SKILL.md:699-707 SKILL.md:707-757 SKILL.md:757-761 SKILL.md:761-767 SKILL.md:767-775 SKILL.md:775-798 SKILL.md:798-802 SKILL.md:802-808 SKILL.md:808-812 SKILL.md:812-822 SKILL.md:822-830 SKILL.md:830-838 SKILL.md:838-842 SKILL.md:842-850 SKILL.md:850-854 SKILL.md:854-862 SKILL.md:862-866 SKILL.md:866-873 SKILL.md:873-877 SKILL.md:877-884 SKILL.md:884-892 SKILL.md:892-897 SKILL.md:897-901 SKILL.md:901-908 SKILL.md:908-912 SKILL.md:912-918 SKILL.md:918-922 SKILL.md:922-928 SKILL.md:928-976 SKILL.md:976-994 SKILL.md:994-998 SKILL.md:998-1011 SKILL.md:1011-1027 SKILL.md:1027-1052 SKILL.md:1052-1064 SKILL.md:1064-1073 SKILL.md:1073-1081 SKILL.md:1081-1090 SKILL.md:1090-1098 SKILL.md:1098-1107 SKILL.md:1107-1116 SKILL.md:1116-1117 SKILL.md:1117-1118 SKILL.md:39 SKILL.md:40 SKILL.md:107 SKILL.md:108 SKILL.md:138 SKILL.md:141-145 SKILL.md:518 SKILL.md:519 SKILL.md:522-526 SKILL.md:557 SKILL.md:558 SKILL.md:561-567 SKILL.md:571 SKILL.md:572 SKILL.md:573 SKILL.md:574 SKILL.md:814 SKILL.md:819 SKILL.md:1000 SKILL.md:1004 SKILL.md:37-49 SKILL.md:105-120 SKILL.md:136-156 SKILL.md:494-547 SKILL.md:555-585 SKILL.md:812-822 SKILL.md:998-1011
🌐 ネットワークアクセス (3)
🔑 環境変数 (1)
監査者: codex 監査履歴を表示 →
このレポートを共有・引用

バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。

バージョン別レポートを開く
セキュリティ評価

レポートリンクをコピー

https://skillstore.io/skills/dnyoussef-github-code-review/audits/10?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdownバッジ

[![Skillstore security assessment](https://skillstore.io/badges/skills/dnyoussef-github-code-review/security.svg)](https://skillstore.io/skills/dnyoussef-github-code-review?utm_source=security_passport_badge)

HTMLバッジ

<a href="https://skillstore.io/skills/dnyoussef-github-code-review?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/dnyoussef-github-code-review/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

埋め込みカード

<iframe src="https://skillstore.io/embed/skills/dnyoussef-github-code-review.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学術引用 (APA · BibTeX · CFF)

APA形式の引用

Claude Code Flow. (2026). github-code-review security audit report (audit version 10) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/dnyoussef-github-code-review/audits/10

BibTeX形式の引用

@techreport{claude-code-flow-dnyoussef-github-code-review-2026, author = {Claude Code Flow}, title = {github-code-review security audit report (audit version 10)}, institution = {Skillstore}, year = {2026}, number = {10}, url = {https://skillstore.io/skills/dnyoussef-github-code-review/audits/10}, note = {Author version 1.0.0} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "github-code-review security audit report (audit version 10)" version: "1.0.0" type: report authors: - name: "Claude Code Flow" date-released: "2026-07-09" url: "https://skillstore.io/skills/dnyoussef-github-code-review/audits/10" identifiers: - type: other value: "skillstore:dnyoussef-github-code-review:audit:10" description: "Skillstore immutable audit report identifier"

バリアントを比較

インストール可能なバリアント 2 件

各作者のスキルは個別のインストール項目として維持されます。推奨バリアントは Skillstore の証拠で順位付けされます。

このバリアントが首位の理由

Skillstore での利用が多い
ruvnet 推奨

ruvnet-github-code-review

Skillstore スコア 38
証拠の信頼度 中
Skillstore 利用状況 12
更新済み

2026-09-09

dnyoussef-github-code-review

Skillstore スコア 38
証拠の信頼度 中
Skillstore 利用状況 7
更新済み

2026-09-09

Skillstore スコア

このスコアの理由 証拠の信頼度: 中
55
アーキテクチャ
100
保守性
87
コンテンツ
72
コミュニティ
70
仕様準拠

作成できるもの

セキュリティ重要度の高いプルリクエストをレビュー

承認前に、認証、認可、シークレット、依存関係の変更に焦点を当てたレビューワークフローを実行します。

チームのレビューワークフローを標準化

再利用可能なレビューエージェントと品質ゲートを使用して、プルリクエスト全体の一貫性を向上させます。

PRフィードバック収集を自動化

GitHub Actions、レビューコメント、ラベル、メトリクスを単一のレビュープロセスに接続します。

これらのプロンプトを試す

基本的なPRレビューを実行
GitHubコードレビュースキルを使って、プルリクエスト123をレビューしてください。正確性、テスト、明確なフィードバックに重点を置いてください。
セキュリティ所見に集中
セキュリティ上の問題についてプルリクエスト123をレビューしてください。認証、認可、シークレット、インジェクションリスク、依存関係の変更を優先してください。
マルチエージェントレビュー計画を作成
セキュリティ、パフォーマンス、アーキテクチャ、スタイル、アクセシビリティの各エージェントを使用して、プルリクエスト123のレビュー計画を作成してください。期待される出力と品質ゲートを含めてください。
レビュー自動化ワークフローを監査
プルリクエスト123の自動レビューワークフローを評価してください。webhookの安全性、トークンスコープ、コマンド検証、承認ルール、マージ制御を確認してください。

ベストプラクティス

  • コマンドは、明示的なユーザー承認と制限されたGitHubトークンスコープのもと、信頼できるリポジトリでのみ実行します。
  • 自動化を実行する前に、PRコメント、webhook署名、コマンド引数を検証します。
  • 生成されたレビューは意思決定支援として使用し、リスクの高い変更には人間による承認を維持します。

回避

  • 任意のPRコメントでシェルコマンドや特権付き自動化を起動できるようにしないでください。
  • 未レビューのモデル出力を、GitHubの承認、マージ、ラベル付けコマンドに直接渡さないでください。
  • パッケージとバージョンが信頼できる場合を除き、リポジトリシークレットを使って外部npmパッケージを実行しないでください。

よくある質問

このスキルにはGitHubアクセスが必要ですか?
はい。ほとんどのワークフローでは、プルリクエストデータとコメントにアクセスするために、gh CLI認証とリポジトリ権限が必要です。
プルリクエストを自動的に承認またはマージできますか?
このスキルには承認とマージ自動化の例が含まれていますが、チームはこれらの操作に人間のレビューを必須にするべきです。
どのレビュー領域を対象にしていますか?
セキュリティ、パフォーマンス、アーキテクチャ、スタイル、アクセシビリティ、テスト、品質ゲート、レビューメトリクスを対象とします。
公開プルリクエストで使用しても安全ですか?
注意して使用してください。公開プルリクエストには信頼できない入力が含まれる可能性があるため、トークン、webhooks、コマンドには厳格な制御が必要です。
外部ツールをインストールまたは実行しますか?
例ではgh、npx、ruv-swarm、claude-flow、jq、npm、シェルコマンドを使用します。使用前に各ツールを確認してください。
人間のレビュアーを置き換えられますか?
いいえ。レビュー作業を整理し、フィードバックを作成するのに役立ちますが、最終判断は人間のレビュアーが行うべきです。

開発者情報

ライセンス

MIT

作者バージョン

v1.0.0

Skillstore リビジョン

r1

参照

d29bab7c799689e19147d92070e306a76db0a8a9

メンテナンスの新しさ

2026/7/20

利用状況

5 ダウンロード · 343 閲覧

ファイル構成

📄 SKILL.md