From 99ee8517d8d4bea9b2058216ea619e8b2edff212 Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 24 Oct 2026 20:09:12 +0000 Subject: [PATCH] fix(office-hours): diff against origin/HEAD, not a hard-coded origin/main with stderr hidden (#3347) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- office-hours/SKILL.md | 2 +- office-hours/SKILL.md.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/office-hours/SKILL.md b/office-hours/SKILL.md index c22b3db49..7e925ebf7 100644 --- a/office-hours/SKILL.md +++ b/office-hours/SKILL.md @@ -509,7 +509,7 @@ SLUG=$(~/.claude/skills/gstack/bin/gstack-slug --get SLUG 2>/dev/null) ``` 1. Read `CLAUDE.md`, `TODOS.md` (if they exist). -2. Run `git log --oneline -30` and `git diff origin/main --stat 2>/dev/null` to understand recent context. +2. Run `git log --oneline -30` and `git diff origin/HEAD --stat` (default branch) to grasp recent context. 3. Use Grep/Glob to map the codebase areas most relevant to the user's request. 4. **List existing design docs for this project:** ```bash diff --git a/office-hours/SKILL.md.tmpl b/office-hours/SKILL.md.tmpl index 868a7fe73..881daa3f9 100644 --- a/office-hours/SKILL.md.tmpl +++ b/office-hours/SKILL.md.tmpl @@ -81,7 +81,7 @@ Understand the project and the area the user wants to change. ``` 1. Read `CLAUDE.md`, `TODOS.md` (if they exist). -2. Run `git log --oneline -30` and `git diff origin/main --stat 2>/dev/null` to understand recent context. +2. Run `git log --oneline -30` and `git diff origin/HEAD --stat` (default branch) to grasp recent context. 3. Use Grep/Glob to map the codebase areas most relevant to the user's request. 4. **List existing design docs for this project:** ```bash