Skip to main content

commit

Commit local changes without pushing.

소스 정보

저장소
Tencent/libpag
최근 소스 활동
2026년 3월 12일 10:45
감지된 SKILL.md 언어
영어
스타
5,802
포크
533

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
commit
description
Commit local changes without pushing.
disable-model-invocation
true
# Commit — Local Commit Only Commits local changes to the current branch. Does not push or create a PR. ## Instructions - **NEVER** push. This skill only creates local commits. - All user-facing text must use the language the user has been using in the conversation. Do not default to English. --- ## Stage & Commit Run `git status --porcelain` and inspect the output: - **No output** → no local changes. Inform the user and stop. - **Staged changes exist, no unstaged changes** → proceed directly to commit. - **Staged changes exist, unstaged changes also exist** → ask the user: commit only the staged files (**partial**), or stage everything (**full**)? If **partial**: skip staging (files are already staged). If **full**: run `git add -A` first. - **No staged changes, unstaged changes exist** → run `git add -A` to stage everything, then commit. Read the staged diff (`git diff --cached`) and generate a commit message following the project's commit conventions. If no convention is found, default to a concise English message under 120 characters ending with a period, with no other punctuation, focusing on user-perceivable changes. Commit, then output a single line in the format: `已提交 {short_hash}:{commit message}` If the user chose **partial**, also inform them that unstaged changes remain and were not included in this commit.
GitHub에서 보기