Skip to content

Commit 7d17c04

Browse files
committed
USe grep tool instead of CLI
1 parent 3b7018a commit 7d17c04

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.claude/agents/deploy-blocker-investigator.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,16 @@ gh pr diff <PR_NUMBER>
7777

7878
**Always verify before concluding.** Confirm the suspected PR actually touches the affected code:
7979

80-
```bash
81-
# Find files related to the affected feature
82-
grep -r "SearchColumns" src/ --include="*.tsx" -l
80+
1. **Find files related to the affected feature** using the Grep tool to search for relevant keywords in the codebase
8381

84-
# See recent changes to a specific file
82+
2. **Check recent changes** to the affected file:
83+
```bash
8584
git log --oneline -10 -- src/pages/Search/SearchColumnsPage.tsx
85+
```
8686

87-
# Check if the suspected PR modified this file
88-
gh pr view <PR_NUMBER> --json files --jq '.files[].path' | grep -i "search"
87+
3. **Confirm the PR modifies these files**:
88+
```bash
89+
gh pr view <PR_NUMBER> --json files --jq '.files[].path'
8990
```
9091

9192
**Verification checklist:**
@@ -225,7 +226,7 @@ gh pr view <PR_NUMBER> --json title,body,author,files,mergedAt
225226
gh pr diff <PR_NUMBER>
226227

227228
# Step 4: Verify the PR touches affected code
228-
grep -r "<feature_keyword>" src/ --include="*.tsx" -l
229+
# Use the Grep tool to find files related to the affected feature
229230
git log --oneline -10 -- <affected_file>
230231
gh pr view <PR_NUMBER> --json files --jq '.files[].path'
231232

0 commit comments

Comments
 (0)