Zum Inhalt springen
Skillpedia
Allgemeines Programmieren20k · #10372

commit-dis

Was er macht

Dieser Skill lässt die KI nur die Dateien, die sie in der aktuellen Unterhaltung geändert hat, als Commit auf dem Branch speichern, auf dem du gerade bist. Er ist für Leute gedacht, die ihre Arbeit schnell in Git sichern wollen.

Wann du ihn nutzt

  • ✓Wenn du sagst, committe das, speichere meine Arbeit oder committe, was wir in diesem Chat gemacht haben.
  • ✓Wenn du nur die Dateien aus diesem Chat committen willst, ohne unabhängige Änderungen anzufassen.
  • ✓Wenn du den Commit auf deinem aktuellen Branch behalten willst, ohne Push oder Pull Request.

Link zum Skill

https://github.com/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Committe die Änderungen, die wir gerade in diesem Chat gemacht haben, auf meinem aktuellen Branch, und lass alles andere unberührt.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Die KI prüft den aktuellen Branch und die Liste der geänderten Dateien, fügt nur die Dateien aus dieser Sitzung namentlich hinzu und erstellt einen Commit. Sie pusht nicht und öffnet keinen Pull Request.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

commit-dis — commit this session's work, here, now

Stage and commit the changes produced during this conversation onto the current branch. Nothing more. This is the quick "save what we just did" button.

THE RULES

  1. Stay on the current branch. Do NOT create, switch, or rename a branch. Commit wherever HEAD already points — even if that's main. Never run git checkout -b, git switch -c, or git branch.
  2. Only commit what this session changed. Stage the specific files you created or edited in this thread by path. Do NOT git add -A / git add . blindly — that risks sweeping in unrelated working-tree changes, untracked scratch files, or another task's edits. No overcommitting.
  3. No push, no PR. Stop after the commit unless the user explicitly asks to push or open a PR.
  4. One commit for the session's work unless the user asks otherwise.

Steps

  1. Confirm the branch and see what's changed:
    git rev-parse --abbrev-ref HEAD
    git status --short
    
  2. Identify the exact files this session touched. If anything in git status was NOT changed by this session, leave it unstaged. If it's ambiguous whether a dirty file belongs to this session, ask the user rather than guessing.
  3. Stage by explicit path (never -A/.):
    git add <file1> <file2> ...
    
  4. Commit with a clear message describing what this session did. End the message with the standard trailer:
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    
  5. Confirm:
    git log --oneline -1
    

Don't

  • Don't create or switch branches.
  • Don't git add -A, git add ., or git commit -a.
  • Don't push or open a PR.
  • Don't amend or rebase prior commits.
  • Don't stage files you didn't touch this session (build artifacts, other in-flight work, untracked scratch).
Häufige Fragen

Legt sie einen neuen Branch an?

Nein. Sie committet auf dem Branch, der gerade ausgecheckt ist, auch wenn das main ist.

Was ist, wenn eine geänderte Datei nicht aus diesem Chat stammt?

Der Skill sagt, sie bleibt ungestaged. Ist unklar, ob eine Datei zu dieser Sitzung gehört, fragt die KI nach.

Pusht sie meinen Commit?

Nein. Der Skill endet nach dem Commit, außer du bittest ausdrücklich um einen Push oder einen Pull Request.

Details

Originalbeschreibung des Autors

Stage and commit ONLY the work done in this session, on the CURRENT branch — no new branch, no PR, no push. Load whenever the user says 'commit this', 'commit-dis', 'git add commit what we did', 'commit dis', 'save my work', or otherwise asks to commit the changes from the current thread. Enforces: stay on the already-checked-out branch, never overcommit unrelated files.

repo: kortix-ai/suna

Beliebtheit

GitHub-Sterne
20k
Platz im Ranking
#10372
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills