agentleFS
frostneyfrostney/pascal-mcp-sdk/.agents/skills/git-workflow/SKILL.md

git-workflow

Skill2 starsChanged 4 months agoMITView on GitHub

Applies the user's git defaults: branch from the remote default, merge rather than rebase, never amend or force-push, and squash-merge pull requests. Use when branching, syncing, committing, pushing, or merging in the user's repos.

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

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

  • 0

    Common

    Most of the 101 edited versions we read keep these.

  • 8

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Before the first edit in any newly selected, created, or reused branch or worktree, require a clean worktree and fetch the remote default …

    line 20
  2. Distinctive:

    Create focused branches and worktrees directly from the freshly fetched remote default tip.

    line 23
  3. Distinctive:

    When entering an existing focused branch or worktree, merge the freshly fetched remote default before editing.

    line 26
  4. Distinctive:

    Stop and report merge conflicts.

    line 29
  5. Distinctive:

    Never amend commits. Add a new commit for every correction.

    line 30
  6. Distinctive:

    Never force-push. Stop if a plain push is rejected by divergent history.

    line 31
  7. Distinctive:

    Use concise Conventional Commit subjects in imperative mood.

    line 33
  8. Distinctive:

    After a squash merge, sync the local base and remove the merged local branch.

    line 37

“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

Apply these defaults unless the user explicitly overrides them in the same turn. A git request authorizes only the repository and forge state required for that operation.

  • Resolve the base from the remote default; never hardcode main.
  • Before the first edit in any newly selected, created, or reused branch or worktree, require a clean worktree and fetch the remote default branch. Stop and report dirty files; never stash, commit, or discard them automatically.
  • Create focused branches and worktrees directly from the freshly fetched remote default tip. Do not configure a focused branch to track the remote default; set its upstream only when pushing that focused branch.
  • When entering an existing focused branch or worktree, merge the freshly fetched remote default before editing.
  • Merge the remote base to update a branch. Never rebase.
  • Stop and report merge conflicts; do not bypass or rewrite them.
  • Never amend commits. Add a new commit for every correction.
  • Never force-push. Stop if a plain push is rejected by divergent history.
  • Stage only relevant files and exclude secrets or unrelated local work.
  • Use concise Conventional Commit subjects in imperative mood.
  • Let hooks run unless the user explicitly asks otherwise.
  • Squash-merge pull requests and delete the source branch afterward.

After a squash merge, sync the local base and remove the merged local branch.

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.