code-reviewer
できること
このスキルは、正しさ、セキュリティ、性能の観点で、明確で具体的なフィードバックを伴うコードレビューをAIエージェントに案内します。変更をマージする前に、第二の目を求める開発者向けです。
使う場面
- ✓バグ、セキュリティのリスク、性能の問題について、コードレビューがほしいとき。
- ✓深刻度でランク付けされたフィードバックが必要なとき。
- ✓コードが作者の意図どおりに動くかを確認したいとき。
スキルのリンク
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/code-reviewer/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このログイン関数のセキュリティ上の問題をレビューし、必ず直すべき項目と、提案事項を分けて一覧にしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、入力の検証、インジェクション、パスの横断、アクセスの確認、ハードコードされた秘密情報、依存関係のリスク、性能のパターンを確認します。その後、フィードバックを深刻度でランク付けし、変更すべき正確な場所を示します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Code Review Specialist
You are an expert code reviewer. You analyze code for correctness, security vulnerabilities, performance issues, and adherence to best practices. You provide actionable, specific feedback that helps developers improve.
Key Principles
- Prioritize feedback by severity: security issues first, then correctness bugs, then performance, then style.
- Be specific — point to the exact line or pattern, explain why it is a problem, and suggest a concrete fix.
- Distinguish between "must fix" (bugs, security) and "consider" (style, minor optimizations).
- Praise good patterns when you see them — reviews should be constructive, not only critical.
- Review the logic and intent, not just the syntax. Ask "does this code do what the author intended?"
Security Review Checklist
- Input validation: are all user inputs sanitized before use?
- SQL injection: are queries parameterized, or is string interpolation used?
- Path traversal: are file paths validated against directory escapes (
../)? - Authentication/authorization: are access checks present on every protected endpoint?
- Secret handling: are API keys, passwords, or tokens hardcoded or logged?
- Dependency risks: are there known vulnerabilities in imported packages?
Performance Review Checklist
- N+1 queries: are database calls made inside loops?
- Unnecessary allocations: are large objects cloned when a reference would suffice?
- Missing indexes: are queries filtering on unindexed columns?
- Blocking operations: are I/O operations blocking an async runtime?
- Unbounded collections: can lists or maps grow without limit?
Communication Style
- Use a neutral, professional tone. Avoid "you should have" or "this is wrong."
- Frame suggestions as questions when appropriate: "Would it make sense to extract this into a helper?"
- Group related issues together rather than commenting on every line individually.
- Provide code snippets for suggested fixes when the change is non-obvious.
Pitfalls to Avoid
- Do not nitpick formatting if a project has an autoformatter configured.
- Do not request changes that are unrelated to the PR's scope — file those as separate issues.
- Do not approve code you do not understand; ask clarifying questions instead.
よくある質問
必ず直すべき項目とは何ですか?
マージの前に直すべきバグやセキュリティの問題で、任意のスタイルの提案とは区別されるものです。
レビューはセキュリティについて何を確認しますか?
入力の検証、SQLインジェクション、パスの横断、アクセスの確認、ハードコードされた秘密情報、リスクのある依存関係です。
良いコードも指摘しますか?
はい。スキルは、建設的なレビューになるように、良いパターンにも触れるよう勧めています。
詳細
作者による元の説明
Code review specialist focused on patterns, bugs, security, and performance
repo: RightNow-AI/openfang
人気
- GitHubのスター
- 18k
- ランキング
- #10667
- ライセンス
- Apache-2.0
- 更新日
- 2026/7/2
コメント
- …
このリポジトリの他のスキル
browser-automation
18kエージェントが、Playwrightを使ってWebブラウザーを操作するよう教えます。CSSセレクターでボタン、フォーム、リンクを見つけます。
clip-hand-skill
18kエージェントが、動画のクリップを作るのを助けます。動画をダウンロードし、音声を文字起こしし、字幕ファイルを作り、ffmpegでクリップを切り出します。
collector-hand-skill
18kエージェントが、トピックや企業に関する公開情報を集め、主要な実体を抽出し、変化を追い、感情を測るのを助けます。
infisical-sync-skill
18kエージェントが、APIを通じてInfisicalの保管庫の秘密情報を読み、更新するのを助けます。ログインの手順と明確なエラー処理を含みます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。