git-workflow

A Git workflow for a project that uses separate branches for released code, shared development, and early previews. Git branches are separate lines of work, and npm is the package system used to publish JavaScript code.

In plain words
What is it for?
Starting feature work from the dev branch, naming issue branches, opening draft pull requests, linking commits to issues, and publishing preview or insiders versions through npm.
Why use it?
It removes uncertainty about where to start work, where to send changes, and how preview releases differ from stable releases. It also standardises branch names, issue labels, and pull requests.

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/fritzandfriends/blazorwebformscomponents/git-workflow
Any agent
npx skills add FritzAndFriends/BlazorWebFormsComponents --skill git-workflow
Clone the repo
git clone --depth 1 https://github.com/FritzAndFriends/BlazorWebFormsComponents

Made for: Claude Code, Codex.

Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,557 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00016 $0.01557
Opus 5 $0.00008 $0.00779
Sonnet 5 $0.00003 $0.00311
Haiku 4.5 $0.00002 $0.00156

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

Security

Grade C, and why

git-workflow scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

If a worktree was deleted manually (rm -rf), `git worktree prune` recovers the state.
Origin

This is a copy

100% identical to git-workflow — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.copilot/skills/git-workflow/SKILL.md · 205 lines

How it starts

The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Context

Squad uses a three-branch model. All feature work starts from dev, not main.

Branch Purpose Publishes
main Released, tagged, in-npm code only npm publish on tag
dev Integration branch — all feature work lands here npm publish --tag preview on merge
insiders Early-access channel — synced from dev npm publish --tag insiders on sync

Branch Naming Convention

Issue branches MUST use: squad/{issue-number}-{kebab-case-slug}

Examples:

  • squad/195-fix-version-stamp-bug
  • squad/42-add-profile-api

Workflow for Issue Work

  1. Branch from dev:

    git checkout dev
    git pull origin dev
    git checkout -b squad/{issue-number}-{slug}
    
  2. Mark issue in-progress:

    gh issue edit {number} --add-label "status:in-progress"
    
  3. Create draft PR targeting dev:

    gh pr create --base dev --title "{description}" --body "Closes #{issue-number}" --draft
    
  4. Do the work. Make changes, write tests, commit with issue reference.

  5. Push and mark ready:

    git push -u origin squad/{issue-number}-{slug}
    gh pr ready
    
  6. After merge to dev:

    git checkout dev
    git pull origin dev
    git branch -d squad/{issue-number}-{slug}
    git push origin --delete squad/{issue-number}-{slug}
    

Parallel Multi-Issue Work (Worktrees)

When the coordinator routes multiple issues simultaneously (e.g., "fix bugs X, Y, and Z"), use git worktree to give each agent an isolated working directory. No filesystem collisions, no branch-switching overhead.

When to Use Worktrees vs Sequential

Scenario Strategy
Single issue Standard workflow above — no worktree needed
2+ simultaneous issues in same repo Worktrees — one per issue
Work spanning multiple repos Separate clones as siblings (see Multi-Repo below)

Setup

From the main clone (must be on dev or any branch):

Read the full file on GitHub · 205 lines

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 · 205 lines · 16 tokens per session scan C 0591afc3b9be

Subscribe to this mod's changes

git-workflow is a skill published in the GitHub repository FritzAndFriends/BlazorWebFormsComponents (449 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 1,557 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). It is 100% identical to git-workflow, differing in 3 lines, and is treated as a copy.

Related

Other skills, from other repositories

lumeo

Use when building or editing a Blazor UI that uses the Lumeo component library (the Lumeo NuGet package and its satellites Lumeo.Charts / Lumeo.DataGrid / Lumeo.Editor / Lumeo.Scheduler / Lumeo.Gantt / Lumeo.Motion), or when the user mentions Lumeo components (Button, DataGrid, Sheet, Dialog, Tabs, DatePicker, Toast…

Brain2k-0005/Lumeo · 125 tokens

sync-repos

Synchronize external repositories used by PKMDS-Blazor. Use when asked to sync, get latest, refresh related repos, inspect upstream changes, or prepare work that depends on current PKHeX, PokeAPI, Pokemon Showdown, sprites, or plugin sources.

codemonkey85/PKMDS-Blazor · 58 tokens

address-pr-feedback

Address unresolved GitHub pull request review feedback in PKMDS-Blazor. Use when asked to handle PR comments, review threads, requested changes, or reviewer follow-up.

codemonkey85/PKMDS-Blazor · 38 tokens

implement-issue

Implement a PKMDS-Blazor GitHub issue end to end. Use when asked to investigate and implement an issue, bug, feature request, or feature-parity item and prepare it for review.

codemonkey85/PKMDS-Blazor · 44 tokens

blazorbindings-maui-third-party

Integrate third-party .NET MAUI control libraries into BlazorBindings.Maui apps by generating Razor wrappers, registering attached properties, and bridging to native elements for imperative APIs such as popups or bottom sheets. Use when adding, updating, or troubleshooting a MAUI control package in a…

Dreamescaper/BlazorBindings.Maui · 85 tokens

csharp-dotnet

Use when writing, reviewing, testing, or shipping C# / .NET code — ASP.NET Core APIs (minimal APIs vs controllers), EF Core data access, async correctness, solution layout in .cs/.csproj/.sln. NOT a Java/Spring backend (that is spring-boot), NOT a Node/TypeScript backend (that is nestjs), NOT framework-neutral REST…

ericrisco/rsc-harness · 89 tokens