Commit 6164c7a3c1a8

Vincent Demeester <vincent@sbr.pm>
2026-01-29 11:00:45
feat(gh-news): add Claude review action via shpool on aomi
Adds a new gh-news action that SSHs into aomi.sbr.pm and launches a Claude Code review session in a shpool with an auto-generated name based on the PR/issue number. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 62386cf
Changed files (1)
home
common
home/common/dev/gh-news.nix
@@ -38,6 +38,11 @@
           command = "cd $(repo-find {full_name}) && lazyworktree create --from-pr $(echo {url} | grep -oE 'pull/[0-9]+' | grep -oE '[0-9]+')";
           interactive = true;
         }
+        {
+          name = "Review with Claude";
+          command = "ssh aomi.sbr.pm 'shpool attach review-$(echo \"{url}\" | grep -oE \"(pull|issues)/[0-9]+\" | tr \"/\" \"-\") -- cr \"Review {url}, and load the proper skill as needed (e.g. nixpkgs skills and workflows if it is a pr from NixOS/nixpkgs)\"'";
+          interactive = true;
+        }
       ];
     };
   };