Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问clear审计通过

git-pr-workflows-git-workflowgit pr 工作流程 git 工作流程

Agent Skill

git-pr-workflows-git-workflow 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

396

周安装

16

GitHub Stars

692

下载量

124
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:git-pr-workflows-git-workflow(git pr 工作流程 git 工作流程)
来源仓库:https://github.com/rmyndharis/antigravity-skills
仓库路径:skills/git-pr-workflows-git-workflow
安装命令:
npx skills add https://github.com/rmyndharis/antigravity-skills --skill git-pr-workflows-git-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rmyndharis/antigravity-skills --skill git-pr-workflows-git-workflow

简介

git-pr-workflows-git-workflow 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中标准化 PR 流程。

  • 适用于自动化合入、流程合规或团队协作规范场景。
  • 通过安装命令从指定仓库添加,具体工作流以原始 README 为准。
  • 使用前应确认权限与维护状态,防范潜在的命令执行风险。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Complete Git Workflow with Multi-Agent Orchestration

Orchestrate a comprehensive git workflow from code review through PR creation, leveraging specialized agents for quality assurance, testing, and deployment readiness. This workflow implements modern git best practices including Conventional Commits, automated testing, and structured PR creation.

[Extended thinking: This workflow coordinates multiple specialized agents to ensure code quality before commits are made. The code-reviewer agent performs initial quality checks, test-automator ensures all tests pass, and deployment-engineer verifies production readiness. By orchestrating these agents sequentially with context passing, we prevent broken code from entering the repository while maintaining high velocity. The workflow supports both trunk-based and feature-branch strategies with configurable options for different team needs.]

Use this skill when

  • Working on complete git workflow with multi-agent orchestration tasks or workflows
  • Needing guidance, best practices, or checklists for complete git workflow with multi-agent orchestration

Do not use this skill when

  • The task is unrelated to complete git workflow with multi-agent orchestration
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Configuration

Target branch: $ARGUMENTS (defaults to 'main' if not specified)

Supported flags:

  • --skip-tests: Skip automated test execution (use with caution)
  • --draft-pr: Create PR as draft for work-in-progress
  • --no-push: Perform all checks but don't push to remote
  • --squash: Squash commits before pushing
  • --conventional: Enforce Conventional Commits format strictly
  • --trunk-based: Use trunk-based development workflow
  • --feature-branch: Use feature branch workflow (default)

Phase 1: Pre-Commit Review and Analysis

1. Code Quality Assessment

  • Use Task tool with subagent_type="code-reviewer"
  • Prompt: "Review all uncommitted changes for code quality issues. Check for: 1) Code style violations, 2) Security vulnerabilities, 3) Performance concerns, 4) Missing error handling, 5) Incomplete implementations. Generate a detailed report with severity levels (critical/high/medium/low) and provide specific line-by-line feedback. Output format: JSON with {issues: [], summary: {critical: 0, high: 0, medium: 0, low: 0}, recommendations: []}"
  • Expected output: Structured code review report for next phase

2. Dependency and Breaking Change Analysis

  • Use Task tool with subagent_type="code-reviewer"
  • Prompt: "Analyze the changes for: 1) New dependencies or version changes, 2) Breaking API changes, 3) Database schema modifications, 4) Configuration changes, 5) Backward compatibility issues. Context from previous review: [insert issues summary]. Identify any changes that require migration scripts or documentation updates."
  • Context from previous: Code quality issues that might indicate breaking changes
  • Expected output: Breaking change assessment and migration requirements

Phase 2: Testing and Validation

1. Test Execution and Coverage

  • Use Task tool with subagent_type="unit-testing::test-automator"
  • Prompt: "Execute all test suites for the modified code. Run: 1) Unit tests, 2) Integration tests, 3) End-to-end tests if applicable. Generate coverage report and identify any untested code paths. Based on review issues: [insert critical/high issues], ensure tests cover the problem areas. Provide test results in format: {passed: [], failed: [], skipped: [], coverage: {statements: %, branches: %, functions: %, lines: %}, untested_critical_paths: []}"
  • Context from previous: Critical code review issues that need test coverage
  • Expected output: Complete test results and coverage metrics

2. Test Recommendations and Gap Analysis

  • Use Task tool with subagent_type="unit-testing::test-automator"
  • Prompt: "Based on test results [insert summary] and code changes, identify: 1) Missing test scenarios, 2) Edge cases not covered, 3) Integration points needing verification, 4) Performance benchmarks needed. Generate test implementation recommendations prioritized by risk. Consider the breaking changes identified: [insert breaking changes]."
  • Context from previous: Test results, breaking changes, untested paths
  • Expected output: Prioritized list of additional tests needed

Phase 3: Commit Message Generation

1. Change Analysis and Categorization

  • Use Task tool with subagent_type="code-reviewer"
  • Prompt: "Analyze all changes and categorize them according to Conventional Commits specification. Identify the primary change type (feat/fix/docs/style/refactor/perf/test/build/ci/chore/revert) and scope. For changes: [insert file list and summary], determine if this should be a single commit or multiple atomic commits. Consider test results: [insert test summary]."
  • Context from previous: Test results, code review summary
  • Expected output: Commit structure recommendation

2. Conventional Commit Message Creation

  • Use Task tool with subagent_type="llm-application-dev::prompt-engineer"
  • Prompt: "Create Conventional Commits format message(s) based on categorization: [insert categorization]. Format: (): with blank line then explaining what and why (not how), then with BREAKING CHANGE: if applicable. Include: 1) Clear subject line (50 chars max), 2) Detailed body explaining rationale, 3) References to issues/tickets, 4) Co-authors if applicable. Consider the impact: [insert breaking changes if any]."
  • Context from previous: Change categorization, breaking changes
  • Expected output: Properly formatted commit message(s)

Phase 4: Branch Strategy and Push Preparation

1. Branch Management

  • Use Task tool with subagent_type="cicd-automation::deployment-engineer"
  • Prompt: "Based on workflow type [--trunk-based or --feature-branch], prepare branch strategy. For feature branch: ensure branch name follows pattern (feature|bugfix|hotfix)/-. For trunk-based: prepare for direct main push with feature flag strategy if needed. Current branch: [insert branch], target: [insert target branch]. Verify no conflicts with target branch."
  • Expected output: Branch preparation commands and conflict status

2. Pre-Push Validation

  • Use Task tool with subagent_type="cicd-automation::deployment-engineer"
  • Prompt: "Perform final pre-push checks: 1) Verify all CI checks will pass, 2) Confirm no sensitive data in commits, 3) Validate commit signatures if required, 4) Check branch protection rules, 5) Ensure all review comments addressed. Test summary: [insert test results]. Review status: [insert review summary]."
  • Context from previous: All previous validation results
  • Expected output: Push readiness confirmation or blocking issues

Phase 5: Pull Request Creation

1. PR Description Generation

  • Use Task tool with subagent_type="documentation-generation::docs-architect"
  • Prompt: "Create comprehensive PR description including: 1) Summary of changes (what and why), 2) Type of change checklist, 3) Testing performed summary from [insert test results], 4) Screenshots/recordings if UI changes, 5) Deployment notes from [insert deployment considerations], 6) Related issues/tickets, 7) Breaking changes section if applicable: [insert breaking changes], 8) Reviewer checklist. Format as GitHub-flavored Markdown."
  • Context from previous: All validation results, test outcomes, breaking changes
  • Expected output: Complete PR description in Markdown

2. PR Metadata and Automation Setup

  • Use Task tool with subagent_type="cicd-automation::deployment-engineer"
  • Prompt: "Configure PR metadata: 1) Assign appropriate reviewers based on CODEOWNERS, 2) Add labels (type, priority, component), 3) Link related issues, 4) Set milestone if applicable, 5) Configure merge strategy (squash/merge/rebase), 6) Set up auto-merge if all checks pass. Consider draft status: [--draft-pr flag]. Include test status: [insert test summary]."
  • Context from previous: PR description, test results, review status
  • Expected output: PR configuration commands and automation rules

Success Criteria

  • ✅ All critical and high-severity code issues resolved
  • ✅ Test coverage maintained or improved (target: >80%)
  • ✅ All tests passing (unit, integration, e2e)
  • ✅ Commit messages follow Conventional Commits format
  • ✅ No merge conflicts with target branch
  • ✅ PR description complete with all required sections
  • ✅ Branch protection rules satisfied
  • ✅ Security scanning completed with no critical vulnerabilities
  • ✅ Performance benchmarks within acceptable thresholds
  • ✅ Documentation updated for any API changes

Rollback Procedures

In case of issues after merge:

  1. Immediate Revert: Create revert PR with git revert <commit-hash>
  2. Feature Flag Disable: If using feature flags, disable immediately
  3. Hotfix Branch: For critical issues, create hotfix branch from main
  4. Communication: Notify team via designated channels
  5. Root Cause Analysis: Document issue in postmortem template

Best Practices Reference

  • Commit Frequency: Commit early and often, but ensure each commit is atomic
  • Branch Naming: (feature|bugfix|hotfix|docs|chore)/<ticket-id>-<brief-description>
  • PR Size: Keep PRs under 400 lines for effective review
  • Review Response: Address review comments within 24 hours
  • Merge Strategy: Squash for feature branches, merge for release branches
  • Sign-Off: Require at least 2 approvals for main branch changes

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

28.69%
按下载量换算36

windsurf

26.37%
按下载量换算33

trae

18.35%
按下载量换算23

Claude Code

12.76%
按下载量换算16

Antigravity

7.64%
按下载量换算9

qoder

3.56%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills