[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C5XBVZG80732TBAX567B55":3,"skill-same:01M6C5XBVZG80732TBAX567B55":107},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":56,"linkOnly":57,"markdownContent":58,"markdownBody":59,"frontMatter":60,"refName":65,"commitSha":66,"skillDirectory":67,"forksCount":68,"repositoryHtmlUrl":69,"repositoryHomepageUrl":17,"ownerHtmlUrl":70,"ownerBlogUrl":17,"ownerDescription":71,"updatedAt":72,"install":73,"resources":86},"01M6C5XBVZG80732TBAX567B55","git-branch-pr-workflow","Git 分支管理与 PR 工作流","Branch management and PR workflows — git switch\u002Frestore, GitHub MCP. Use when creating branches, opening PRs, or working with feature branches.","分支管理与 PR 工作流——包括 git switch\u002Frestore、GitHub MCP。在创建分支、发起 PR 或处理功能分支时使用。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-branch-pr-workflow\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],"workflow","pr","branch pr","git branch","git","branch","git branch pr workflow","pr workflow","read","2026","when","request","2025","false","branches","use","management","list","MCP","Bash","pull","update","create","workflows","github","2026-11-10 10:12:30",false,"---\ncreated: 2025-12-16\nmodified: 2026-10-26\nreviewed: 2026-05-09\nname: git-branch-pr-workflow\ndescription: \"Branch management and PR workflows — git switch\u002Frestore, GitHub MCP. Use when creating branches, opening PRs, or working with feature branches.\"\nuser-invocable: false\nallowed-tools: Bash, Read, mcp__github__create_pull_request, mcp__github__list_pull_requests, mcp__github__update_pull_request\n---\n\n# Git Branch PR Workflow\n\n## When to Use This Skill\n\n| Use this skill when... | Use the alternative when... |\n|---|---|\n| Designing the overall branch + PR workflow (main-branch dev, MCP integration) | Use `git-branch-naming` to pick or audit a single branch name |\n| Choosing between `git switch`, `git restore`, and feature-branch push patterns | Use `git-rebase-patterns` for linear-history cleanup and stacked PRs |\n| Creating PRs through GitHub MCP tools rather than `gh pr create` | Use `git-pr` to create PRs from a pushed branch via the `gh` CLI |\n| Coordinating commit -> push -> PR end-to-end | Use `git-commit-push-pr` for the consolidated commit+push+PR macro |\n\nExpert guidance for branch management, pull request workflows, and GitHub integration using modern Git commands and linear history practices.\n\n## Core Expertise\n\n- **Main-Branch Development**: Work on main locally, push to remote feature branches for PRs\n- **Modern Git Commands**: Use `git switch` and `git restore` instead of checkout\n- **Branch Naming**: See [git-branch-naming](..\u002Fgit-branch-naming\u002FSKILL.md) skill\n- **Linear History**: Rebase-first workflow, squash merging - see [git-rebase-patterns](..\u002Fgit-rebase-patterns\u002FSKILL.md) for advanced patterns\n- **GitHub MCP Integration**: Use mcp__github__* tools instead of gh CLI\n\n## Main-Branch Development (Preferred)\n\nDevelop directly on main, push to remote feature branches for PRs. This eliminates local branch management overhead.\n\n### Basic Workflow\n\n```bash\n# All work happens on main\ngit switch main\ngit pull origin main\n\n# Make changes, commit on main\ngit add file.ts\ngit commit -m \"feat(auth): add OAuth2 support\"\n\n# Push to remote feature branch (creates PR target)\ngit push origin main:feat\u002Fauth-oauth2\n\n# Create PR using GitHub MCP (head: feat\u002Fauth-oauth2, base: main)\n```\n\n### Multi-PR Workflow (Sequential Commits)\n\nWhen you have commits for multiple PRs on main, push specific commit ranges to different remote branches:\n\n```bash\n# Commits on main:\n# abc1234 feat(auth): add OAuth2 support       \u003C- PR #1\n# def5678 feat(auth): add token refresh        \u003C- PR #1\n# ghi9012 fix(api): handle timeout edge case   \u003C- PR #2\n\n# Push first 2 commits to auth feature branch\ngit push origin abc1234^..def5678:feat\u002Fauth-oauth2\n\n# Push remaining commit to fix branch\ngit push origin ghi9012^..ghi9012:fix\u002Fapi-timeout\n\n# Alternative: push from a specific commit to HEAD\ngit push origin def5678..HEAD:fix\u002Fapi-timeout\n```\n\n**Commit range patterns:**\n- `git push origin \u003Cstart>^..\u003Cend>:\u003Cremote-branch>` - Push commit range (inclusive)\n- `git push origin \u003Ccommit>..\u003Ccommit>:\u003Cremote-branch>` - Push range (exclusive start)\n- `git push origin \u003Ccommit>..HEAD:\u003Cremote-branch>` - Push from commit to current HEAD\n- `git push origin main:\u003Cremote-branch>` - Push entire main to remote branch\n\n### Benefits\n\n- **No local branch juggling** - Always on main\n- **Always on latest main** - No branch drift\n- **Clean local state** - No stale branches to clean up\n- **Remote branches are ephemeral** - Deleted after PR merge\n- **Simpler mental model** - One local branch, many remote targets\n\n## Modern Git Commands (2025)\n\nUse `git switch` for branches and `git restore` for files instead of `git checkout` \u002F `git reset`. See [references\u002Fmodern-git-commands.md](references\u002Fmodern-git-commands.md) for the forms and the legacy-to-modern migration table.\n\n## Branch Naming\n\nFor comprehensive branch naming conventions including type prefixes, issue linking, and validation patterns, see [git-branch-naming](..\u002Fgit-branch-naming\u002FSKILL.md).\n\n**Quick reference:** `{type}\u002F{issue}-{description}` (e.g., `feat\u002F123-user-auth`)\n\n## Linear History Workflow\n\nMain-branch development (above) is preferred. For a local feature branch (multi-day or experimental work), squash merging, and interactive rebase cleanup, see [references\u002Flocal-feature-branches.md](references\u002Flocal-feature-branches.md).\n\n## Advanced Rebase Patterns\n\nFor advanced rebase techniques including `--reapply-cherry-picks`, `--update-refs`, `--onto`, stacked PR workflows, and combining flags, see [git-rebase-patterns](..\u002Fgit-rebase-patterns\u002FSKILL.md).\n\n## GitHub MCP Integration\n\nUse GitHub MCP tools for all GitHub operations:\n\n```python\n# Get repository information\nmcp__github__get_me()  # Get authenticated user info\n\n# List and create PRs\nmcp__github__list_pull_requests(owner=\"owner\", repo=\"repo\")\nmcp__github__create_pull_request(\n  owner=\"owner\",\n  repo=\"repo\",\n  title=\"feat: add authentication\",\n  head=\"feat\u002Fauth\",\n  base=\"main\",\n  body=\"## Summary\\n- JWT authentication\\n- OAuth support\\n\\nCloses #123\"\n)\n\n# Update PRs\nmcp__github__update_pull_request(\n  owner=\"owner\",\n  repo=\"repo\",\n  pullNumber=42,\n  title=\"Updated title\",\n  state=\"open\"\n)\n\n# List and create issues\nmcp__github__list_issues(owner=\"owner\", repo=\"repo\")\n```\n\n## Best Practices\n\nAlways force-push with `--force-with-lease`, never to `main`\u002Fshared branches. For the daily rebase-onto-main routine and rebase conflict handling, see [references\u002Flocal-feature-branches.md](references\u002Flocal-feature-branches.md).\n\n## Main Branch Protection\n\nConfigure branch rules for linear history via GitHub MCP:\n\n```bash\n# Require linear history (disable merge commits)\n# Configure via GitHub settings or MCP tools\n# - Require pull request reviews\n# - Require status checks to pass\n# - Enforce linear history (rebase and squash allowed, merge commits off)\n```\n\nWhich of rebase or squash a given PR uses is decided per PR — rebase by\ndefault, squash when there is a reason. Rule table and target repo settings:\n`github-pr-title` → [merge-strategies.md](..\u002Fgithub-pr-title\u002Fmerge-strategies.md).\n\n## Branch Comparison: Always Use origin\u002Fmain\n\n**CRITICAL:** When comparing branches for PR creation, always compare against `origin\u002Fmain` (or `origin\u002F\u003Cbase-branch>`), **never** local `main`. Local `main` may contain commits that haven't been merged to the remote, causing PRs to include unrelated changes.\n\n### Why This Matters\n\n```bash\n# WRONG: compares against local main (may include unpushed commits)\ngit log main..HEAD --format='%s'\ngit diff main...HEAD --stat\n\n# CORRECT: compares against remote main (matches what GitHub will show)\ngit fetch origin main\ngit log origin\u002Fmain..HEAD --format='%s'\ngit diff origin\u002Fmain...HEAD --stat\n```\n\n**Common scenario:** You commit changes on local `main` for one PR, push to a feature branch, then start working on a second PR. If you compare against local `main`, the second PR's diff looks correct. But if the first PR hasn't merged yet, `origin\u002Fmain` is behind — and comparing against it reveals that both PRs' changes would be included.\n\n### Rules\n\n1. **Always fetch before comparing:** `git fetch origin main`\n2. **Use `origin\u002Fmain` in all diff\u002Flog commands** for PR context\n3. **Base PRs on `origin\u002Fmain`** when creating branches: `git switch -c feat\u002Ffoo origin\u002Fmain`\n4. The `pr-context.sh` script handles this automatically\n\n## PR Context Gathering (Recommended)\n\nBefore creating a PR, gather all context in one command:\n\n```bash\n# Gather PR context (defaults to main as base, compares against origin\u002Fmain)\nbash \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fgit-branch-pr-workflow\u002Fscripts\u002Fpr-context.sh\"\n\n# Specify different base branch (compares against origin\u002Fdevelop)\nbash \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fgit-branch-pr-workflow\u002Fscripts\u002Fpr-context.sh\" develop\n```\n\nThe script fetches the latest remote state and compares against `origin\u002F\u003Cbase>` to ensure accurate PR context. Outputs: branch info, remote status, commit range and types, diff stats, issue references found in commits, existing PR detection, and CI check results. Use this output to compose the PR title and body. See [scripts\u002Fpr-context.sh](scripts\u002Fpr-context.sh) for details.\n\n## Pull Request Workflow\n\n### PR Title Format\n\nUse conventional commit format in PR titles:\n\n- `feat: add user authentication`\n- `fix: resolve login validation bug`\n- `docs: update API documentation`\n- `chore: update dependencies`\n\n### PR Body Template\n\nWrite the body as a commit body. On repos whose `squash_merge_commit_message`\nis `PR_BODY` (every laurigates repo except the release-please ones, see\n[merge-strategies.md](..\u002Fgithub-pr-title\u002Fmerge-strategies.md#repo-settings)), a\nsquash-merged PR's body becomes the commit body. No headings,\nchecklists or HTML comments:\n\n```markdown\n\u003C1–3 sentences: what changed and why>\n\n- \u003Ckey change>\n- \u003Ckey change>\n\nCloses #123\n```\n\n**Issue Reference Guidelines:**\n- Use `Closes #N` \u002F `Fixes #N` \u002F `Resolves #N` to auto-close issues on merge\n- Use `Refs #N` for context without auto-closing\n- Cross-repo: `Fixes owner\u002Frepo#N`\n- Multiple: `Fixes #1, fixes #2, fixes #3` (repeat keyword)\n\n### PR Creation Best Practices\n\n- **One focus per PR** - Single logical change\n- **Small PRs** - Easier to review (\u003C 400 lines preferred)\n- **ALWAYS link issues** - Use GitHub autolink format for traceability:\n  - Closing keywords: `Closes #123`, `Fixes #456`, `Resolves #789`\n  - Reference without closing: `Refs #234`, `Related to #567`\n  - Cross-repository: `Fixes owner\u002Frepo#123`\n  - Multiple issues: `Fixes #1, fixes #2` (repeat keyword for each)\n- **Add labels** - Use GitHub labels for categorization\n- **Request reviewers** - Tag specific reviewers when needed\n\n## Troubleshooting & Recovery\n\nFor troubleshooting (branch diverged, committed-to-main expected workflow, complex rebase conflicts), safe-operation guidance (recognising normal states, confirmation-required commands), and recovery workflows (pre-commit modifies files, push rejected, commit fails), see [REFERENCE.md](REFERENCE.md).\n","# Git Branch PR Workflow\n\n## When to Use This Skill\n\n| Use this skill when... | Use the alternative when... |\n|---|---|\n| Designing the overall branch + PR workflow (main-branch dev, MCP integration) | Use `git-branch-naming` to pick or audit a single branch name |\n| Choosing between `git switch`, `git restore`, and feature-branch push patterns | Use `git-rebase-patterns` for linear-history cleanup and stacked PRs |\n| Creating PRs through GitHub MCP tools rather than `gh pr create` | Use `git-pr` to create PRs from a pushed branch via the `gh` CLI |\n| Coordinating commit -> push -> PR end-to-end | Use `git-commit-push-pr` for the consolidated commit+push+PR macro |\n\nExpert guidance for branch management, pull request workflows, and GitHub integration using modern Git commands and linear history practices.\n\n## Core Expertise\n\n- **Main-Branch Development**: Work on main locally, push to remote feature branches for PRs\n- **Modern Git Commands**: Use `git switch` and `git restore` instead of checkout\n- **Branch Naming**: See [git-branch-naming](..\u002Fgit-branch-naming\u002FSKILL.md) skill\n- **Linear History**: Rebase-first workflow, squash merging - see [git-rebase-patterns](..\u002Fgit-rebase-patterns\u002FSKILL.md) for advanced patterns\n- **GitHub MCP Integration**: Use mcp__github__* tools instead of gh CLI\n\n## Main-Branch Development (Preferred)\n\nDevelop directly on main, push to remote feature branches for PRs. This eliminates local branch management overhead.\n\n### Basic Workflow\n\n```bash\n# All work happens on main\ngit switch main\ngit pull origin main\n\n# Make changes, commit on main\ngit add file.ts\ngit commit -m \"feat(auth): add OAuth2 support\"\n\n# Push to remote feature branch (creates PR target)\ngit push origin main:feat\u002Fauth-oauth2\n\n# Create PR using GitHub MCP (head: feat\u002Fauth-oauth2, base: main)\n```\n\n### Multi-PR Workflow (Sequential Commits)\n\nWhen you have commits for multiple PRs on main, push specific commit ranges to different remote branches:\n\n```bash\n# Commits on main:\n# abc1234 feat(auth): add OAuth2 support       \u003C- PR #1\n# def5678 feat(auth): add token refresh        \u003C- PR #1\n# ghi9012 fix(api): handle timeout edge case   \u003C- PR #2\n\n# Push first 2 commits to auth feature branch\ngit push origin abc1234^..def5678:feat\u002Fauth-oauth2\n\n# Push remaining commit to fix branch\ngit push origin ghi9012^..ghi9012:fix\u002Fapi-timeout\n\n# Alternative: push from a specific commit to HEAD\ngit push origin def5678..HEAD:fix\u002Fapi-timeout\n```\n\n**Commit range patterns:**\n- `git push origin \u003Cstart>^..\u003Cend>:\u003Cremote-branch>` - Push commit range (inclusive)\n- `git push origin \u003Ccommit>..\u003Ccommit>:\u003Cremote-branch>` - Push range (exclusive start)\n- `git push origin \u003Ccommit>..HEAD:\u003Cremote-branch>` - Push from commit to current HEAD\n- `git push origin main:\u003Cremote-branch>` - Push entire main to remote branch\n\n### Benefits\n\n- **No local branch juggling** - Always on main\n- **Always on latest main** - No branch drift\n- **Clean local state** - No stale branches to clean up\n- **Remote branches are ephemeral** - Deleted after PR merge\n- **Simpler mental model** - One local branch, many remote targets\n\n## Modern Git Commands (2025)\n\nUse `git switch` for branches and `git restore` for files instead of `git checkout` \u002F `git reset`. See [references\u002Fmodern-git-commands.md](references\u002Fmodern-git-commands.md) for the forms and the legacy-to-modern migration table.\n\n## Branch Naming\n\nFor comprehensive branch naming conventions including type prefixes, issue linking, and validation patterns, see [git-branch-naming](..\u002Fgit-branch-naming\u002FSKILL.md).\n\n**Quick reference:** `{type}\u002F{issue}-{description}` (e.g., `feat\u002F123-user-auth`)\n\n## Linear History Workflow\n\nMain-branch development (above) is preferred. For a local feature branch (multi-day or experimental work), squash merging, and interactive rebase cleanup, see [references\u002Flocal-feature-branches.md](references\u002Flocal-feature-branches.md).\n\n## Advanced Rebase Patterns\n\nFor advanced rebase techniques including `--reapply-cherry-picks`, `--update-refs`, `--onto`, stacked PR workflows, and combining flags, see [git-rebase-patterns](..\u002Fgit-rebase-patterns\u002FSKILL.md).\n\n## GitHub MCP Integration\n\nUse GitHub MCP tools for all GitHub operations:\n\n```python\n# Get repository information\nmcp__github__get_me()  # Get authenticated user info\n\n# List and create PRs\nmcp__github__list_pull_requests(owner=\"owner\", repo=\"repo\")\nmcp__github__create_pull_request(\n  owner=\"owner\",\n  repo=\"repo\",\n  title=\"feat: add authentication\",\n  head=\"feat\u002Fauth\",\n  base=\"main\",\n  body=\"## Summary\\n- JWT authentication\\n- OAuth support\\n\\nCloses #123\"\n)\n\n# Update PRs\nmcp__github__update_pull_request(\n  owner=\"owner\",\n  repo=\"repo\",\n  pullNumber=42,\n  title=\"Updated title\",\n  state=\"open\"\n)\n\n# List and create issues\nmcp__github__list_issues(owner=\"owner\", repo=\"repo\")\n```\n\n## Best Practices\n\nAlways force-push with `--force-with-lease`, never to `main`\u002Fshared branches. For the daily rebase-onto-main routine and rebase conflict handling, see [references\u002Flocal-feature-branches.md](references\u002Flocal-feature-branches.md).\n\n## Main Branch Protection\n\nConfigure branch rules for linear history via GitHub MCP:\n\n```bash\n# Require linear history (disable merge commits)\n# Configure via GitHub settings or MCP tools\n# - Require pull request reviews\n# - Require status checks to pass\n# - Enforce linear history (rebase and squash allowed, merge commits off)\n```\n\nWhich of rebase or squash a given PR uses is decided per PR — rebase by\ndefault, squash when there is a reason. Rule table and target repo settings:\n`github-pr-title` → [merge-strategies.md](..\u002Fgithub-pr-title\u002Fmerge-strategies.md).\n\n## Branch Comparison: Always Use origin\u002Fmain\n\n**CRITICAL:** When comparing branches for PR creation, always compare against `origin\u002Fmain` (or `origin\u002F\u003Cbase-branch>`), **never** local `main`. Local `main` may contain commits that haven't been merged to the remote, causing PRs to include unrelated changes.\n\n### Why This Matters\n\n```bash\n# WRONG: compares against local main (may include unpushed commits)\ngit log main..HEAD --format='%s'\ngit diff main...HEAD --stat\n\n# CORRECT: compares against remote main (matches what GitHub will show)\ngit fetch origin main\ngit log origin\u002Fmain..HEAD --format='%s'\ngit diff origin\u002Fmain...HEAD --stat\n```\n\n**Common scenario:** You commit changes on local `main` for one PR, push to a feature branch, then start working on a second PR. If you compare against local `main`, the second PR's diff looks correct. But if the first PR hasn't merged yet, `origin\u002Fmain` is behind — and comparing against it reveals that both PRs' changes would be included.\n\n### Rules\n\n1. **Always fetch before comparing:** `git fetch origin main`\n2. **Use `origin\u002Fmain` in all diff\u002Flog commands** for PR context\n3. **Base PRs on `origin\u002Fmain`** when creating branches: `git switch -c feat\u002Ffoo origin\u002Fmain`\n4. The `pr-context.sh` script handles this automatically\n\n## PR Context Gathering (Recommended)\n\nBefore creating a PR, gather all context in one command:\n\n```bash\n# Gather PR context (defaults to main as base, compares against origin\u002Fmain)\nbash \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fgit-branch-pr-workflow\u002Fscripts\u002Fpr-context.sh\"\n\n# Specify different base branch (compares against origin\u002Fdevelop)\nbash \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fgit-branch-pr-workflow\u002Fscripts\u002Fpr-context.sh\" develop\n```\n\nThe script fetches the latest remote state and compares against `origin\u002F\u003Cbase>` to ensure accurate PR context. Outputs: branch info, remote status, commit range and types, diff stats, issue references found in commits, existing PR detection, and CI check results. Use this output to compose the PR title and body. See [scripts\u002Fpr-context.sh](scripts\u002Fpr-context.sh) for details.\n\n## Pull Request Workflow\n\n### PR Title Format\n\nUse conventional commit format in PR titles:\n\n- `feat: add user authentication`\n- `fix: resolve login validation bug`\n- `docs: update API documentation`\n- `chore: update dependencies`\n\n### PR Body Template\n\nWrite the body as a commit body. On repos whose `squash_merge_commit_message`\nis `PR_BODY` (every laurigates repo except the release-please ones, see\n[merge-strategies.md](..\u002Fgithub-pr-title\u002Fmerge-strategies.md#repo-settings)), a\nsquash-merged PR's body becomes the commit body. No headings,\nchecklists or HTML comments:\n\n```markdown\n\u003C1–3 sentences: what changed and why>\n\n- \u003Ckey change>\n- \u003Ckey change>\n\nCloses #123\n```\n\n**Issue Reference Guidelines:**\n- Use `Closes #N` \u002F `Fixes #N` \u002F `Resolves #N` to auto-close issues on merge\n- Use `Refs #N` for context without auto-closing\n- Cross-repo: `Fixes owner\u002Frepo#N`\n- Multiple: `Fixes #1, fixes #2, fixes #3` (repeat keyword)\n\n### PR Creation Best Practices\n\n- **One focus per PR** - Single logical change\n- **Small PRs** - Easier to review (\u003C 400 lines preferred)\n- **ALWAYS link issues** - Use GitHub autolink format for traceability:\n  - Closing keywords: `Closes #123`, `Fixes #456`, `Resolves #789`\n  - Reference without closing: `Refs #234`, `Related to #567`\n  - Cross-repository: `Fixes owner\u002Frepo#123`\n  - Multiple issues: `Fixes #1, fixes #2` (repeat keyword for each)\n- **Add labels** - Use GitHub labels for categorization\n- **Request reviewers** - Tag specific reviewers when needed\n\n## Troubleshooting & Recovery\n\nFor troubleshooting (branch diverged, committed-to-main expected workflow, complex rebase conflicts), safe-operation guidance (recognising normal states, confirmation-required commands), and recovery workflows (pre-commit modifies files, push rejected, commit fails), see [REFERENCE.md](REFERENCE.md).\n",{"name":5,"created":61,"modified":62,"reviewed":63,"description":7,"allowed-tools":64,"user-invocable":57},1765843200000,1792972800000,1778284800000,"Bash, Read, mcp__github__create_pull_request, mcp__github__list_pull_requests, mcp__github__update_pull_request","main","bdd0582f1a2ba53d21061835bfd72d45f2f954f4","git-plugin\u002Fskills\u002Fgit-branch-pr-workflow",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":74,"prompt":84,"zipAvailable":85},[75,78,81],{"tool":76,"command":77},"npx","npx skills add laurigates\u002Fclaude-plugins --skill git-branch-pr-workflow",{"tool":79,"command":80},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill git-branch-pr-workflow",{"tool":82,"command":83},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill git-branch-pr-workflow","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-branch-pr-workflow\u002FSKILL.md",true,[87,93,97,101],{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"REFERENCE.md","REFERENCE","参考文档",3306,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-branch-pr-workflow\u002FREFERENCE.md",{"path":94,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Flocal-feature-branches.md",2774,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-branch-pr-workflow\u002Freferences\u002Flocal-feature-branches.md",{"path":98,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Fmodern-git-commands.md",1905,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-branch-pr-workflow\u002Freferences\u002Fmodern-git-commands.md",{"path":102,"resourceType":103,"resourceTypeDesc":104,"sizeBytes":105,"sourceHtmlUrl":106},"scripts\u002Fpr-context.sh","SCRIPT","脚本",5116,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-branch-pr-workflow\u002Fscripts\u002Fpr-context.sh",[108,116,138,158,174,197],{"skillNo":109,"name":110,"nameZh":17,"description":111,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":115},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":117,"name":118,"nameZh":17,"description":119,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":56},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[123,124,125,126,127,128,129,130,131,132,46,41,50,133,134,135,136,137,40,39],"show","kitty show image","image","kitty","show image","ls","get","send","open","dev","file","text","with","xdg","via",{"skillNo":139,"name":140,"nameZh":17,"description":141,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":56},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[126,145,146,147,44,148,41,50,149,150,151,40,39,152,153,154,155,156,157,46],"kitty session persistence","session","persistence","snapshots","uname","reboot","terminal","write","edit","snapshot","macos","sessions","restore",{"skillNo":159,"name":160,"nameZh":17,"description":161,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":56},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[165,166,126,167,168,128,169,170,129,171,172,46,41,173,50,134,135,151,40,39],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":175,"name":176,"nameZh":17,"description":177,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":56},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[181,182,183,184,185,186,187,188,189,190,46,41,50,191,133,192,193,194,195,196],"docs reference check","check","reference check","reference","docs","links","python3","repo","files","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":198,"name":199,"nameZh":200,"description":201,"descriptionZh":202,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":203,"categories":204,"keywords":211,"publishedAt":56},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[205,208],{"categoryNo":206,"categoryName":207,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":209,"categoryName":210,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[212,213,214,215,187,216,39,217,153,218,219,220,46,50,133,221,222,41,223,224,225,137,40],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","api","v3","tags","id","title"]