git-workflow

A set of Git workflow rules for branching, syncing, committing, pushing, and merging changes in repositories.

In plain words
What is it for?
Use it when creating branches or worktrees, fetching updates, merging, committing, pushing, or preparing pull requests.
Why use it?
It prevents risky history changes and keeps work based on the repository's current default branch, with explicit handling for dirty files and conflicts.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/frostney/pascal-mcp-sdk/git-workflow
Any agent
npx skills add frostney/pascal-mcp-sdk --skill git-workflow
Clone the repo
git clone --depth 1 https://github.com/frostney/pascal-mcp-sdk

Made for: Claude Code, Codex.

Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00054 $0.00388
Opus 5 $0.00027 $0.00194
Sonnet 5 $0.00011 $0.00078
Haiku 4.5 $0.00005 $0.00039

Measured 2d ago against content hash 9fdd95be154a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/git-workflow/SKILL.md · 38 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 38 lines · 54 tokens per session scan A 9fdd95be154a

Subscribe to this mod's changes

git-workflow is a skill published in the GitHub repository frostney/pascal-mcp-sdk (2 stars, last pushed 6d ago), licensed MIT. It adds 54 tokens to every session and 388 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

prepare-release

Run all GocciaScript release-preparation tasks before /create-release — verify the build is green, sync docs and the website to source truth (numbers and claims), preview the changelog, run the conformance and generated-data checks, and open a prep PR — ending strictly before the version/changelog/tag work that…

frostney/GocciaScript · 96 tokens

profile-report-review

Review GocciaScript retained VM profile reports from test262 and benchmark main-CI runs. Use when Codex is asked to inspect uploaded test262 or benchmark performance/profile artifacts, compare week-over-week or main-run trends, investigate aggregate/detailed profile data, or turn profiling findings into compiler…

frostney/GocciaScript · 96 tokens

gocciascript-issue-validation

Validate GocciaScript engine issues against the project-specific test262 harness. Use alongside implement-issue for GocciaScript issues that mention test262, ECMA-262/ECMA-402 conformance, Intl, or parser compatibility flags.

frostney/GocciaScript · 58 tokens

review-pr

Resolves current pull-request review findings in place, validates and pushes fixes, and can autonomously converge and merge an opted-in pull request. Use when the user runs /review-pr or /review-pr automatic-merge.

frostney/GocciaScript · 47 tokens

implement-idea

Turns an unfiled idea into a confirmed mini-spec, implements and validates the selected approach, reviews it, and opens a draft pull request. Use when the user runs /implement-idea or asks to build something without an existing issue.

frostney/GocciaScript · 52 tokens

implement-issue

Validates and implements a GitHub issue against current repository evidence, runs the project's completion gate, reviews the change, and opens a draft pull request. Use when the user runs /implement-issue with an issue number.

frostney/GocciaScript · 48 tokens