Skip to content

Instantly share code, notes, and snippets.

View mcfredrick's full-sized avatar

Matt mcfredrick

View GitHub Profile
@mcfredrick
mcfredrick / README.md
Last active February 24, 2026 21:27
tmux + Claude Code workspace — run multiple Claude Code instances across projects from one terminal. Auto-opens your IDE on pane switch with smart terminal refocus. One-command install for macOS and Linux, bash and zsh. Easy to customize with Claude Code.

tmux + Claude Code Workspace

Run multiple Claude Code instances across projects from one terminal. Switch panes and your IDE follows — with smart focus management so your keyboard stays in tmux.

Features

  • Multi-pane workspaces — one pane per project, tiled automatically
  • Auto-start Claude Code — launch claude in every pane with -c
  • IDE follows your focus — switch panes and your editor opens the right project
  • Terminal stays focused — on macOS, IDE opens in the background so your keyboard stays in tmux
@mcfredrick
mcfredrick / QUICKSTART.md
Last active December 9, 2025 16:46
git-sync-branches: Sync changes from a source branch to multiple target branches. Perfect for maintaining consistency across feature branches, stacked PRs, or release branches.

Quick Start Guide

Get started with git-sync-branches in 60 seconds.

Installation

One-Line Install (Recommended):

curl -sSL https://gist.githubusercontent.com/mcfredrick/374d2e9aaf7601ff71b89b98cb680255/raw/setup.sh | bash
@mcfredrick
mcfredrick / gh_pr_feedback.py
Last active February 27, 2026 17:30
Extract GitHub PR review feedback and generate AI-ready prompts. Uses gh CLI for auth (including SSO). Outputs markdown with unresolved/resolved comments, ready to paste into ChatGPT, Claude, Copilot, or any AI assistant to help address code review feedback.
#!/usr/bin/env python3
"""
Extract PR review feedback using GitHub CLI.
Usage:
python gh_pr_feedback.py --pr 11
python gh_pr_feedback.py --pr 11 --repo owner/repo
python gh_pr_feedback.py --pr 11 --output feedback.md
Requirements: