본문으로 건너뛰기
Skillpedia
일반 코딩20k · #10372

commit-dis

하는 일

이 스킬은 AI가 현재 대화 중에 수정한 파일만 이미 체크아웃된 브랜치에 커밋하도록 합니다. 작업을 Git에 빠르게 저장하고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓「이거 커밋해」, 「내 작업 저장해」, 또는 이 대화에서 한 작업을 커밋해 달라고 말할 때.
  • ✓관련 없는 변경은 건드리지 않고, 이 대화에서 만든 파일만 커밋하고 싶을 때.
  • ✓커밋을 현재 브랜치에 남기고 푸시나 풀 리퀘스트는 하고 싶지 않을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“방금 이 대화에서 한 변경 사항을 현재 브랜치에 커밋해 주세요. 나머지는 그대로 두세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 현재 브랜치와 변경된 파일 목록을 확인하고, 이 세션에서 만든 파일만 이름으로 지정해 스테이징한 뒤 커밋을 하나 만듭니다. 푸시나 풀 리퀘스트는 하지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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).
자주 묻는 질문

새 브랜치를 만드나요?

아니요. 이미 체크아웃된 브랜치에 커밋하며, 그것이 main이라도 마찬가지입니다.

이 대화에서 나온 것이 아닌 파일이 바뀌어 있으면 어떻게 하나요?

스킬은 그 파일을 스테이징하지 않고 그대로 둡니다. 세션 소속이 불분명하면 먼저 물어봅니다.

커밋을 푸시하나요?

아니요. 푸시나 풀 리퀘스트를 요청하지 않는 한 커밋 후에 멈춥니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
20k
순위
#10372
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬