agentleFS
iamcaominhtieniamcaominhtien/kanban-board-mcp/.github/skills/git-workflow/SKILL.md

git-workflow

Skill1 starsChanged 37 days agoMITView on GitHub

Step-by-step git workflow for this project. Use when starting a ticket, creating commits, opening PRs, handling review feedback, or cleaning up after a merge.

  • Commits and pushes

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use squad-commands, ci-cd-pipelines 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.
  • Microsoft AzureSkill

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

  • harrissohail6Skill

    ci-cd-pipelines

    CI/CD pipeline design and implementation. Auto-activates when discussing deployment, automation, or pipelines.

    Also in 6 projects that use this

  • Microsoft AzureSkill

    architectural-proposals

    How to write comprehensive architectural proposals that drive alignment before code is written

    Also in 4 projects that use this

  • GitHubSkill

    e2e-template-testing

    End-to-end validation of coordinator and agent template changes

    Also in 3 projects that use this

  • GitHubSkill

    notification-routing

    Route agent notifications to specific channels by type — prevent alert fatigue from single-channel flooding

    Also in 3 projects that use this

  • frostneySkill

    native-nostalgia-stack

    Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.

    Also in 3 projects that use this

  • +5 more from Azure
  • +1 more from github

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 165 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 3

    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:

    Always branch off main. Never work directly on main.

    line 10
  2. Distinctive:

    Single machine, multiple active branches?: Use git worktree instead of switching:

    line 17
  3. Very specific:

    Use Conventional Commits: type(scope): short description — subject under 72 chars.

    line 26
  4. Distinctive:

    Developer responsibility: after QC hands over a test plan doc, the developer must:

    line 57
  5. Distinctive:

    Never commit directly to main

    line 79
  6. Distinctive:

    Never force-push or amend published commits

    line 80
  7. Very specific:

    Never bypass hooks with --no-verify

    line 81
  8. Distinctive:

    Always delete the remote branch after merging

    line 82
  9. Very specific:

    Never use --no-verify to bypass hooks

    line 91

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

This skill covers the full lifecycle of a feature from branch creation to merge. The source of truth for git conventions is copilot-instructions.md — this skill adds the operational how-to.

Starting a Ticket

Always branch off main. Never work directly on main.

git checkout main && git pull origin main
git checkout -b feature/<ticket_id>   # or fix/ or chore/

Single machine, multiple active branches? Use git worktree instead of switching:

git worktree add ../<project-name>-<ticket_id> feature/<ticket_id>
cd ../<project-name>-<ticket_id>

Each worktree is an independent folder on its own branch, sharing the same .git. No repo duplication. Safe to run in parallel.

Committing

Use Conventional Commits: type(scope): short description — subject under 72 chars.

Types: feat fix refactor style chore test docs
Scope: component or folder changed — e.g. ui, server, modal, kanban

Opening a PR

git push origin <branch>

# Create the PR via GitHub CLI (preferred):
gh pr create \
  --base main \
  --title "<ticket title>" \
  --body "Closes <ticket_id>

## Summary
<what was changed and why>

## Test steps
<manual steps to verify, if any>"

PR must target main. Title = ticket title. Body must reference the ticket ID.

Notify the PM that the PR is ready for review.

QC Test Docs

QC writes test plans and results as markdown files (e.g. docs/test-plans/), but QC does not commit or push code directly.

Developer responsibility: after QC hands over a test plan doc, the developer must:

  1. Copy the doc into the repo (typically docs/test-plans/<ticket-id>.md)
  2. Include it in the PR before merging

This keeps test artifacts tracked in git alongside the code they cover.

Handling Review Feedback

Apply fixes on the same branch, push — the PR updates automatically. Notify PM when ready for re-review.

After Approval — Merge & Cleanup

Squash merge on GitHub (preferred for clean history). Then locally:

git worktree remove ../<project-name>-<ticket_id>   # if worktree was used
git branch -d feature/<ticket_id>
git remote prune origin

Rules

  • Never commit directly to main
  • Never force-push or amend published commits
  • Never bypass hooks with --no-verify
  • Always delete the remote branch after merging

Rules

  • Never commit directly to main
  • Never force-push or amend published commits
  • Never use --no-verify to bypass hooks
  • Always delete the remote branch after merging

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.