Skip to main content

context-review

Use this skill to review code changes using semantic search to understand context and impact

ソース情報

リポジトリ
JetBrains/context
ソースの最終更新活動
2026年6月30日 17:13
検出された SKILL.md の言語
英語
スター
34
フォーク
4

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
context-review
description
Use this skill to review code changes using semantic search to understand context and impact
## When to Use - Before committing changes to understand what you're about to commit - Reviewing pull requests or branches - Understanding the impact of changes on the rest of the codebase ## Review Workflow ### 1. Check Current Changes First, see what's changed: ```bash git status git diff # Unstaged changes git diff --staged # Staged changes git diff main...HEAD # All changes on current branch ``` ### 2. Understand Changed Code Context For each significantly changed file, use semantic search to understand: - **Similar patterns**: Find similar code elsewhere that might need the same change - **Callers**: Find code that calls the modified functions - **Dependencies**: Find code that the modified code depends on ```bash # Find similar patterns jbcontext search "<code chunk that was changed>" # Find callers of a modified function jbcontext search "calls to <function name> to understand impact" # Find related test files in the "test/" directory (path must be relative to the project root) jbcontext search -p test "tests for <feature being modified>" ``` ### 3. Review Checklist For each change, verify: - [ ] The change is consistent with similar patterns in the codebase - [ ] All callers of modified functions will still work correctly - [ ] Related tests exist and cover the changes - [ ] The change doesn't reintroduce previously fixed bugs ## Example Session ```bash # See what's changed git diff --staged # For a change to auth middleware, find similar patterns jbcontext search "authentication middleware pattern" # Find what calls this middleware jbcontext search "uses auth middleware to protect routes" # Find related tests jbcontext search -p test "auth middleware test" ```
GitHubで見る