agentleFS
aws-solutionsaws-solutions/konductor/skills/git-workflow/SKILL.md

git-workflow

Skill9 starsChanged 2 months agoApache-2.0View on GitHub

Git workflow patterns for atomic commits, branch management, and history operations. Use when committing changes, managing branches, or searching git history.

118 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use squad-commands, typescript-patterns 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.
  • MicrosoftSkill

    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 3 projects that use this

  • cohen-lielSkill

    typescript-patterns

    TypeScript best practices and patterns. Use when writing TypeScript code, defining types, working with generics, or converting JavaScript to TypeScript.

    Also in 4 projects that use this

  • martinholovskySkill

    llm-integration

    Expert skill for integrating local Large Language Models using llama.cpp and Ollama. Covers secure model loading, inference optimization, prompt handling, and protection against LLM-specific vulnerabilities including prompt injection, model theft, and denial of service attacks.

    Also in 4 projects that use this

  • MicrosoftSkill

    cost-optimization

    Optimize existing Azure resources and analyze Reservations or Savings Plans. WHEN: \"optimize Azure costs\", \"reduce cloud spending\", \"rightsize resources\", \"find idle resources\", \"orphaned disk\", \"deleted VM still charged\", \"public IP still charging\", \"reservation utilization\", \"Savings Plan coverage\", \"commitment recommendation\", \"why is pay-as-you-go still charged\". DO NOT USE FOR: cost spikes, forecasts, pricing estimates, budgets, or governance.

    Also in 5 projects that use this

  • YepAPISkill

    background-jobs

    Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

    Also in 3 projects that use this

  • Vimalk0703Skill

    dependency-management

    Vet packages before adoption, audit for vulnerabilities, pin versions, and prevent dependency bloat.

    Also in 3 projects that use this

  • +1 more from microsoft

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 101 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 16
  2. Distinctive:

    Never mix formatting changes with logic changes

    line 32
  3. Distinctive:

    Every commit must compile and pass tests

    line 57
  4. Distinctive:

    Keep branches short-lived — merge within days, not weeks

    line 63
  5. Distinctive:

    Use git status and git diff first to get current status, then targeted git commands for deeper investigation.

    line 76
  6. Distinctive:

    IMPORTANT: Commit message not following conventional format.

    line 88

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

Overview

Standard git workflow patterns for atomic commits, branch management, and history operations. Ensures clean, traceable history across projects.

Usage

Use this skill when:

  • Committing changes to a repository
  • Creating or managing feature branches
  • Searching git history for debugging or auditing
  • Reviewing what changed before submitting a pull request

Commit Standards

Atomic Commits

Each commit must contain exactly one logical change. Split work into separate commits:

  • One commit per bug fix
  • One commit per feature addition
  • One commit per refactor
  • Never mix formatting changes with logic changes

Conventional Commit Messages

Format: <type>(<scope>): <description>

TypeWhen to Use
featNew feature or capability
fixBug fix
refactorCode restructuring without behavior change
testAdding or updating tests
docsDocumentation changes
choreBuild config, dependencies, tooling

Examples:

  • feat(api): add ListNetworkDevices operation
  • fix(dynamodb): add condition expression to prevent overwrites
  • refactor(handler): extract validation into shared utility

Commit Hygiene

  • Imperative mood: "add feature" not "added feature"
  • Subject line under 72 characters
  • Every commit must compile and pass tests

Branch Management

  • Branch from main for new work
  • Naming: <type>/<short-description> (e.g., feat/network-monitoring, fix/throttling-retry)
  • Keep branches short-lived — merge within days, not weeks
  • Rebase on main before submitting a PR

History Operations

CommandPurpose
git log --oneline -20Recent commit history
git log --author=<alias>Commits by author
git blame <file>Line-by-line attribution
git bisect start/bad/goodBinary search for regression
git log -S "<string>"Find commits that added/removed a string

Use git status and git diff first to get current status, then targeted git commands for deeper investigation.

Tools

ToolPurpose
Shell (git)Direct git commands for history, blame, bisect

Quality Gate

CRITICAL: Non-atomic commit mixing unrelated changes. Commit that breaks compilation or tests. Committing secrets or credentials.

IMPORTANT: Commit message not following conventional format. Branch not rebased before PR. Feature branch older than 2 weeks without merge.

SUGGESTION: Could improve commit message description. Could split large commit further.

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.