agentleFS
zilliztechzilliztech/knowhere/.agents/skills/git-workflow/SKILL.md

git-workflow

Skill390 starsChanged 10 days agoApache-2.0View on GitHub

Use when preparing Knowhere commits or pull requests, choosing titles and labels, or checking DCO and submission readiness.

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use squad-commands, ci-cd-pipelines and 10 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.
  • Microsoft AzureSkill

    squad-commands

    Categorized catalog of common Squad operations. Coordinator reads this file and presents it as an interactive menu when the user asks for available commands or help.

    Also in 5 projects that use this

  • harrissohail6Skill

    ci-cd-pipelines

    CI/CD pipeline design and implementation. Auto-activates when discussing deployment, automation, or pipelines.

    Also in 6 projects that use this

  • Microsoft AzureSkill

    architectural-proposals

    How to write comprehensive architectural proposals that drive alignment before code is written

    Also in 4 projects that use this

  • GitHubSkill

    e2e-template-testing

    End-to-end validation of coordinator and agent template changes

    Also in 3 projects that use this

  • GitHubSkill

    notification-routing

    Route agent notifications to specific channels by type — prevent alert fatigue from single-channel flooding

    Also in 3 projects that use this

  • frostneySkill

    native-nostalgia-stack

    Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.

    Also in 3 projects that use this

  • +5 more from Azure
  • +1 more from github

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 165 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use <type>: <description> for main and <type>: [<branch>] <description> for a release branch.

    line 24
  2. Very specific:

    Run pre-commit run --files <changed-files> and the relevant build/tests described in the building and testing skills.

    line 34
  3. Distinctive:

    Follow the user's submission instructions.

    line 48
  4. Distinctive:

    When submission is authorized, verify the author identity and add a DCO sign-off:

    line 52

“Common” is measured: kept by at least 6 in 10 of the 165 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

Git Workflow

Titles

Choose a prefix that describes the change. Common Knowhere prefixes include:

PrefixPurpose
fix:Correct a bug
feat:Add a feature
enhance:Improve existing behavior or update a dependency version/reference
perf:Improve performance

This is not an exhaustive list or a claim about CI title validation. Follow explicit maintainer requirements for other change types. Use enhance: for dependency updates, for example enhance: update dependency to <version-or-sha>; editing a CMake file does not make the change a build: or chore: PR.

Use <type>: <description> for main and <type>: [<branch>] <description> for a release branch. Keep the commit subject and PR title consistent unless the requested workflow requires otherwise. A previous merged title is a reference, not a rule that overrides current project conventions.

Prepare and verify

  1. Confirm the repository, target branch, and intended remote with git status and git remote -v. Keep unrelated changes out of the commit.
  2. Inspect git diff and run git diff --check.
  3. Run pre-commit run --files <changed-files> and the relevant build/tests described in the building and testing skills. Documentation-only changes need formatting, link, and command checks rather than a C++ rebuild.
  4. Prepare a PR description explaining the problem, resulting behavior, and actual validation results. Check .github/mergify.yml for current label and issue rules.

Select one kind/* label by the substance of the change, independently of the title prefix. The current categories are kind/bug, kind/improvement, kind/enhancement, and kind/feature. Small changes (fewer than 20 lines) without functionality changes can use kind/improvement; other categories need a related issue in the description, such as issue: #1234. Do not classify a functional change as an improvement solely by its line count.

Commit and submit

Follow the user's submission instructions. If asked to prepare changes for confirmation, leave the commit, push, issue creation, and PR creation pending. A request to submit a PR authorizes its normal preparation and submission steps.

When submission is authorized, verify the author identity and add a DCO sign-off:

git config user.name
git config user.email
git add <changed-files>
git diff --cached
git commit -s -m "enhance: describe the change"

The Signed-off-by name and email must match the committing identity. Push the intended branch to the confirmed remote, create the PR against the requested base, and verify its title, diff, labels, DCO result, and CI status. Do not assume origin is a personal fork.

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.