set-session-context

Installation
SKILL.md

Set Session Context

Automatically set session name and color based on the current git branch and PR.

Steps

  1. Detect branch:

    git symbolic-ref --short HEAD
    
    • If detached HEAD (command fails) → stop, do nothing
    • If main or master → stop, do nothing
  2. Look up PR title:

    gh pr view --json title --jq '.title'
    
Installs
1
GitHub Stars
9
First Seen
Jun 20, 2026
set-session-context — paultyng/skill-issue