diff --git a/.claude/skills/sweep/SKILL.md b/.claude/skills/sweep/SKILL.md index 9cea10ea7..002fcf364 100644 --- a/.claude/skills/sweep/SKILL.md +++ b/.claude/skills/sweep/SKILL.md @@ -23,7 +23,7 @@ Detect the repo slug dynamically so this skill works in any fork or renamed org ```bash REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null \ || git remote get-url origin 2>/dev/null \ - | sed -nE 's#^(git@github\.com:|https://github\.com/)([^/]+/[^/]+)/?$#\2#p' \ + | sed -nE 's#^(git@github\.com:|https://github\.com/|ssh://git@github\.com/)([^/]+/[^/]+)/?$#\2#p' \ | sed -E 's/\.git$//') if [ -z "$REPO" ]; then echo "ERROR: could not detect GitHub repo slug — ensure 'gh' is authenticated or 'origin' points to GitHub"