agentsclimarketplace

Git feature branch management

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/git-feature-branch-management

Curated, evidence-grounded skill and software-tool collections for scientific AI agents, generated by the AgenticScienceBuilder

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill git-feature-branch-management

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when when contributing a new feature, bug fix, or documentation update to a shared repository (like iomega/ms2query), and you need to isolate your changes from the main development branch to allow for testing, review, and conditional integration without disrupting the primary codebase.

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

6.5 KB, as published. Nobody here has run it

git-feature-branch-management

Summary

Create, manage, and integrate feature branches in a Git repository to isolate development work before merging into the main codebase. This skill ensures that new features or bug fixes are developed independently and tested before integration, maintaining code stability and enabling collaborative development.

When to use

When contributing a new feature, bug fix, or documentation update to a shared repository (like iomega/ms2query), and you need to isolate your changes from the main development branch to allow for testing, review, and conditional integration without disrupting the primary codebase.

When NOT to use

  • When making only trivial documentation fixes that do not require testing or code review — direct commits to master may be acceptable for minor updates.
  • When you lack write permissions to the upstream repository and cannot fork — use a different collaboration strategy.
  • When the repository does not use Git or GitHub — this skill is specific to Git-based workflows.

Inputs

  • Upstream Git repository URL (e.g., https://github.com/iomega/ms2query)
  • Latest master commit reference
  • Feature specification or issue description
  • Modified or new source code files
  • Existing test suite

Outputs

  • New feature branch (local and remote)
  • Updated source code in feature branch
  • New or modified unit tests
  • Updated CHANGELOG.md
  • Updated code documentation
  • Pull request against upstream repository

How to apply

Fork the upstream repository to your own GitHub profile, then create a new feature branch from the latest master commit using git checkout -b <branch-name>. Work on your changes in isolation within this branch. Before pushing, run existing tests with python setup.py test to ensure no regression. Add new unit tests covering your changes, update code documentation and CHANGELOG.md to describe your work, then push the feature branch to your fork on GitHub and create a pull request against the upstream repository. This workflow ensures that changes are vetted before merging and that the master branch remains stable.

Related tools

Examples

git clone https://github.com/your-username/ms2query.git && cd ms2query && git checkout -b feature/workflow-branching && git push -u origin feature/workflow-branching

Evaluation signals

  • Feature branch is cleanly forked from the latest master commit with no extraneous commits.
  • Existing test suite passes with python setup.py test with zero regression errors.
  • New unit tests cover the modified or new code paths and pass successfully.
  • CHANGELOG.md is updated with a clear description of the feature or fix.
  • Pull request is created against the upstream repository with a descriptive title and body, and passes all continuous integration checks.

Limitations

  • This workflow assumes the upstream repository maintainers will review and merge the pull request; there is no guarantee of acceptance or timeline for integration.
  • Merge conflicts may arise if the master branch has advanced significantly while the feature branch was under development, requiring manual conflict resolution.
  • If the feature branch is not kept up-to-date with upstream master, the pull request may become stale and lose relevance.
  • Requires Git and GitHub familiarity; practitioners unfamiliar with these tools may struggle with branch creation, commit history, or pull request mechanics.

Evidence

  • [other] fork the repository to your own Github profile and create your own feature branch off of the latest master commit: "fork the repository to your own Github profile and create your own feature branch off of the latest master commit"
  • [other] make sure the existing tests still work by running python setup.py test: "make sure the existing tests still work by running python setup.py test"
  • [other] add your own tests (if necessary): "add your own tests (if necessary)"
  • [other] update or expand the documentation: "update or expand the documentation"
  • [other] update the CHANGELOG.md file with change: "update the CHANGELOG.md file with change"
  • [other] push your feature branch to (your fork of) the ms2query repository on GitHub: "push your feature branch to (your fork of) the ms2query repository on GitHub"
  • [other] create the pull request, e.g. following the instructions here: "create the pull request, e.g. following the instructions here"

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.