agentleFS
Google CloudKnown publisherGoogleCloudPlatform/gcsfuse/.agents/skills/pull-request/SKILL.md

pull-request

Skill2.3k starsChanged 5 months agoApache-2.0View on GitHub

This skill provides a highly automated, step-by-step workflow for Antigravity agents to construct, format, push, and create pull requests for their changes in the GCSFuse repository. Executing this runbook ensures that commits and pull requests strictly follow the repository's standardized templates, author identity alignments, and style checking procedures before PR creation. GCSFuse enforces a structured PR style and title system. Agents must align their branch work with the repository's standard PR Template to facilitate clean, review-ready pull requests. Agents must…

  • Commits and pushes

19 other projects use a version of this.

Trending

Quiet since September.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 2 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the GoogleCloudPlatform/gcsfuse repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about GoogleCloudPlatform/gcsfuse

The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 24

Talked about on GitHub, Hacker News and Bluesky (24 times).

On GitHub · 20

15 more on GitHub

On Hacker News · 2

On Bluesky · 2

Used with

Projects with it also use commit, code-review and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 4 projects that use this

  • AWSSkill

    grill-me

    A relentless interview to sharpen a plan or design.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before creating a PR, you MUST ensure the branch is fully compliant with repository verification targets.

    line 67
  2. Very specific:

    Ensure the build finishes with exit code 0.

    line 73
  3. Distinctive:

    Verify staged items match expected additions:

    line 82
  4. Distinctive:

    Commit local staged components using a commit message that maps exactly to the PR Title format compiled in Section 1:

    line 86
  5. Distinctive:

    If the GitHub CLI is unauthenticated or missing scopes:

    line 128

“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GCSFuse Pull Request Creation Skill

This skill provides a highly automated, step-by-step workflow for Antigravity agents to construct, format, push, and create pull requests for their changes in the GCSFuse repository. Executing this runbook ensures that commits and pull requests strictly follow the repository's standardized templates, author identity alignments, and style checking procedures before PR creation.


1. Context and Formatting Standards

GCSFuse enforces a structured PR style and title system. Agents must align their branch work with the repository's standard PR Template to facilitate clean, review-ready pull requests.

Pull Request Title Standard

The pull request title and git commit message MUST strictly follow the Conventional Commits specification:

type(scope): subject
  • Types list:
    • feat: A new feature
    • fix: A bug fix
    • docs: Documentation only changes
    • style: Structural style updates (white-space, formatting, etc.)
    • refactor: A code modification that neither fixes a bug nor adds a feature
    • perf: Performance improvements
    • test: Correcting or creating missing tests
    • build: Build systems or dependency updates (example scope: deps)
    • ci: Verification runner scripts and presubmits (example scope: workflows)
    • chore: Other maintenance shifts that don't modify src or test structures
    • revert: Reverting a past merge or commit
  • Scope: A bracketed descriptor highlighting the specific package or component modified (e.g., skills, internal/cache, metrics, tools).
  • Subject: A clear, concise present-tense statement of the changes made (e.g., add PR creation skill for GCSFuse).

2. Compiling the PR Fields

Agents must synthesize a structured PR body based on the original task requirements and development results, mapping them onto the pull_request_template.md sections:

[!IMPORTANT] Instructional Block Omission Rule: The PR Template contains an initial introductory/instructional block (lines 1 to 20) detailing conventional commit rules and types. This block is strictly for reference. When compiling and generating the pull request body payload, the agent MUST REMOVE / OMIT this instructional block completely. The final PR description body must strictly start with the ### Description header down to the end of the file.

Section A: Description

  • Guideline: Summarize what was updated and why.
  • Detail functional logic changes, additions, structural moves, and documentation additions.
  • Clearly state architectural transitions or optimizations applied.

Section B: Link to Issue

  • Guideline: Reference the bug tracking index, such as internal bug targets (b/514754560) or external GitHub Issue URLs.
  • Example: Fixes b/514754560 or Closes #123.

Section C: Testing Details

  • Guideline: Report test validation outcomes to ensure functional coverage.
  • Divide into:
    1. Manual: Detail manual tests ran. E.g., manual compilation verification or verification run commands.
    2. Unit tests: Report outcome of unit tests (e.g., package test runs or checkpoint suite coverage).
    3. Integration tests: Detail E2E or system suite validations run.

Section D: Backward Incompatibility

  • Guideline: Inspect modifications to identify any backwards-incompatible changes.
  • Analyze signature changes on exported APIs, removal of support parameters, or config skews. If none, state: N/A.

3. Step-by-Step Execution Workflow

Step 1: Compilation and Layout Pre-Check

Before creating a PR, you MUST ensure the branch is fully compliant with repository verification targets.

  1. Invoke the Build and Style Verification Skill by executing the single native target:
    make build
  2. Ensure the build finishes with exit code 0. If not, resolve the compilation or lint warnings immediately before proceeding.

Step 2: Commit Auto-Format & Skill Changes

Because build verifiers run layout formatters in-place, stage all automatic layout alignment differences.

  1. Stash or add untracked/modified updates to the branch:
    git add .
  2. Verify staged items match expected additions:
    git status
  3. Commit local staged components using a commit message that maps exactly to the PR Title format compiled in Section 1:
    git commit -m "type(scope): subject"

Step 3: Establish Remote Upstream & Push

Push the local branch to your fork or branch tree upstream:

# Example syntax: git push -u origin <branch_name>
git push -u origin $(git branch --show-current)

Step 4: Raise PR via GitHub CLI

Utilize the authenticated GitHub CLI (gh) to trigger unified PR creation:

  1. Draft the PR body by populating the template values compiled in Section 2 into a clean markdown structure.
  2. Trigger the PR creation in Draft status:
    # Syntax: gh pr create --title "<title>" --body "<body>" --draft
    gh pr create --title "type(scope): subject" --body-file - --draft <<EOF
    ### Description
    [Synthesized PR Description]
    
    ### Link to the issue in case of a bug fix.
    [Bug tracker reference]
    
    ### Testing details
    1. Manual - [Manual validation statement]
    2. Unit tests - [Unit validations statement]
    3. Integration tests - [E2E test suite validation statement]
    
    ### Any backward incompatible change? If so, please explain.
    [Incompatibility statement]
    EOF
    • [!IMPORTANT]

    • Draft PR Mode Enforcement: Always pass the --draft flag to the creation tool. Publishing in draft mode allows the developer to review diff lines, inspect layout annotations, and verify final pull details inside their browser before officially launching review gates.


4. Fallback Execution

If the GitHub CLI is unauthenticated or missing scopes:

  1. Log a warning in the execution session describing the CLI authentication limit.
  2. Construct and print a pre-filled direct web link to create a pull request via the browser:
    https://github.com/GoogleCloudPlatform/gcsfuse/pull/new/<branch_name>?title=<urlencoded_title>&body=<urlencoded_body>
  3. Output the generated PR body text (omitting the top instructions block as per the Omission Rule) directly in markdown so the user can easily copy and paste it into the browser window if requested.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.