Commit dis

From kortix-ai/CompanyOS · View interactive version

Commit dis is an AI agent skill from the GitHub repository kortix-ai/CompanyOS. 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:

How to use this skill

Skill file

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.

  1. 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.

  1. No push, no PR. Stop after the commit unless the user explicitly asks

to push or open a PR.

  1. One commit for the session's work unless the user asks otherwise.

Steps

  1. Confirm the branch and see what's changed:

```bash

git rev-parse --abbrev-ref HEAD

git status --short

```

  1. 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.

  1. Stage by explicit path (never -A/.):

```bash

git add <file1> <file2> ...

```

  1. 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>

```

  1. Confirm:

```bash

git log --oneline -1

```

Don't

in-flight work, untracked scratch).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.