pub fn slugify_title(title: &str) -> String
Slugify a PR title into a valid git branch name segment. Follows the algorithm from issue #1126.