#601

Globales Ranking · von 601 Skills

git-workflow AI Agent Skill

Quellcode ansehen: oakoss/agent-skills

Safe

Installation

npx skills add oakoss/agent-skills --skill git-workflow

42

Installationen

Git Workflow

Covers branching strategies, conventional commits, CI/CD automation, repository hygiene, and git internals. GitHub CLI usage is handled by a separate github-cli skill; this skill focuses on git workflow patterns and CI/CD configuration.

Quick Reference

Area Key Practice
Branching Trunk-based development with short-lived feature branches
Commits Conventional commits with imperative mood
History Linear history via rebase; squash noisy commits
PRs Small, stacked changes; no mega PRs
Main branch Always deployable; broken main is an emergency
CI/CD Modular GitHub Actions with reusable workflows
Merging Green CI + review required before merge
Versioning Semantic Release or Changesets (never manual)
Branches Max 48 hours lifespan; auto-prune stale/merged
Secrets OIDC Connect in pipelines; never hardcode tokens
Signing Sign commits with SSH or GPG keys for verified authorship

Branch Naming

Type Use For Example
feat New features feat/add-user-auth
fix Bug fixes fix/login-redirect
chore Maintenance chore/update-deps
docs Documentation docs/api-reference
refactor Code restructuring refactor/auth-module

Conventional Commit Types

Type Purpose Version Bump
feat New features Minor
fix Bug fixes Patch
docs Documentation only None
style Formatting, no logic changes None
refactor Neither fix nor feature None
perf Performance improvements Patch
test Adding or correcting tests None
build Build system or external dependencies None
ci CI configuration changes None
chore Tooling, maintenance, non-src changes None
revert Revert a previous commit Varies

Append ! after type/scope for breaking changes (major version bump).

Pre-Merge Checks

All PRs require before merge:

  • Lint
  • Type check
  • Tests
  • Security scan
  • Review approval (human or automated)

Auto-merge is acceptable for low-risk PRs when pipeline succeeds.

Troubleshooting

Issue Resolution
Merge conflicts on long-running branch Rebase onto main frequently; break remaining work into new branch if over 48 hours
Broken main branch Treat as emergency; revert offending commit, then fix forward on a branch
Lost commits or data recovery Use git reflog and object inspection (git cat-file, git fsck)
CI pipeline failures Check reusable workflow versions; verify OIDC permissions
Stacked PR conflicts after rebase Restack entire chain from base; Graphite handles automatically with gt restack
Large file accidentally committed Use git filter-repo to remove from history (not git filter-branch)

Common Mistakes

Mistake Correct Pattern
Keeping feature branches alive longer than 48 hours Merge or rebase daily; break large work into stacked PRs
Committing directly to main without branch protection Enable branch protection rules requiring CI and review
Using merge commits that clutter history Rebase and squash to maintain linear history
Hardcoding tokens in GitHub Actions workflows Use OIDC Connect for authentication in CI/CD pipelines
Creating monolithic CI workflows in a single file Split into reusable workflows and composite actions
Fix bug as commit message fix(scope): correct bug description (conventional)
feat: Added feature (past tense) feat: add feature (imperative mood, lowercase)
Using git filter-branch for history rewriting Use git filter-repo (faster, safer, officially recommended)
Pushing to main directly Create feature branch first
Unsigned commits in shared repositories Configure commit signing with SSH or GPG keys

Delegation

  • Audit repository branch hygiene and stale branches: Use Explore agent to list and classify branch age and merge status
  • Set up CI/CD pipelines with reusable workflows: Use Task agent to create modular GitHub Actions configurations
  • Design branching strategy for a new project: Use Plan agent to evaluate trunk-based vs Git Flow based on team needs

References

Installationen

Installationen 42
Globales Ranking #601 von 601

Sicherheitsprüfung

ath Safe
socket Safe
Warnungen: 0 Bewertung: 90
snyk Low
EU EU-Hosted Inference API

Power your AI Agents with the best open-source models.

Drop-in OpenAI-compatible API. No data leaves Europe.

Explore Inference API

GLM

GLM 5

$1.00 / $3.20

per M tokens

Kimi

Kimi K2.5

$0.60 / $2.80

per M tokens

MiniMax

MiniMax M2.5

$0.30 / $1.20

per M tokens

Qwen

Qwen3.5 122B

$0.40 / $3.00

per M tokens

So verwenden Sie diesen Skill

1

Install git-workflow by running npx skills add oakoss/agent-skills --skill git-workflow in your project directory. Führen Sie den obigen Installationsbefehl in Ihrem Projektverzeichnis aus. Die Skill-Datei wird von GitHub heruntergeladen und in Ihrem Projekt platziert.

2

Keine Konfiguration erforderlich. Ihr KI-Agent (Claude Code, Cursor, Windsurf usw.) erkennt installierte Skills automatisch und nutzt sie als Kontext bei der Code-Generierung.

3

Der Skill verbessert das Verständnis Ihres Agenten für git-workflow, und hilft ihm, etablierte Muster zu befolgen, häufige Fehler zu vermeiden und produktionsreifen Code zu erzeugen.

Was Sie erhalten

Skills sind Klartext-Anweisungsdateien — kein ausführbarer Code. Sie kodieren Expertenwissen über Frameworks, Sprachen oder Tools, das Ihr KI-Agent liest, um seine Ausgabe zu verbessern. Das bedeutet null Laufzeit-Overhead, keine Abhängigkeitskonflikte und volle Transparenz: Sie können jede Anweisung vor der Installation lesen und prüfen.

Kompatibilität

Dieser Skill funktioniert mit jedem KI-Coding-Agenten, der das skills.sh-Format unterstützt, einschließlich Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider und anderen Tools, die projektbezogene Kontextdateien lesen. Skills sind auf Transportebene framework-agnostisch — der Inhalt bestimmt, für welche Sprache oder welches Framework er gilt.

Data sourced from the skills.sh registry and GitHub. Install counts and security audits are updated regularly.

EU Made in Europe

Chat with 100+ AI Models in one App.

Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.

Kundensupport