Refresh all cached research files in .claude/research/ with current web data
Refresh research files cached in .claude/research/ by re-running web searches and updating each file with current findings.
.claude/research/ with at least one .md file. If the directory does not exist or is empty, stop and tell the user: "No cached research found in .claude/research/. Run /review on a branch first to populate the cache."List all .md files in .claude/research/.
Read the front-matter of each file to extract: topic, tags, last-researched, sources.
Display a table to the user:
| File | Topic | Last Researched | Age |
|---|---|---|---|
| react-hooks-best-practices.md | React Hooks Best Practices | 2026-01-15 | 74 days |
Ask the user: "Update all files, or specific ones? (default: all)"
Process files sequentially (not in parallel — respect web search rate limits).
For each file:
sources URLs and Key Rules content as the previous baseline.topic front-matter field as the search query, supplemented with "best practices" or "security guidelines" as appropriate).last-researched to today's datesources to reflect the URLs actually used## Key Rules, ## Common Pitfalls, ## Relevant to Code ReviewUpdated: react-hooks-best-practices.md
- Added: "Prefer useId over Math.random() for stable IDs"
- Removed: "Avoid useReducer for simple state" (outdated)
- Unchanged: 4 rules
After all updates complete, show:
/review again on any active branch if research changed significantly