Skip to main content

commit-and-push

Creates atomic conventional git commits using git-agent and pushes changes to the remote repository.

소스 정보

저장소
FradSer/dotclaude
최근 소스 활동
2026년 8월 11일 16:50
감지된 SKILL.md 언어
영어
스타
593
포크
50

설치 방법

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

소스 파일 검토

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

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
commit-and-push
description
Creates atomic conventional git commits using git-agent and pushes changes to the remote repository.
user-invocable
true
argument-hint
[intent or --co-author]
allowed-tools
["Bash(git-agent:*)","Bash(git:*)"]
CRITICAL: - Do NOT run `git status`, `git diff`, `git log`, or any other read commands before `git-agent commit`. - Execute `git-agent commit` directly. `git-agent` (v0.7.0+) automatically detects active model attribution from session environment variables (`PI_MODEL`, etc.). ## Execution 1. Derive a concise one-sentence intent from the conversation or `$ARGUMENTS`. 2. Pass `--co-author "<co-author>"` if explicitly specified in `$ARGUMENTS` or user instructions. 3. Run primary commit command: ```bash git-agent commit --intent "<intent>" ``` 4. If specific files are already staged, pass `--no-stage`: ```bash git-agent commit --no-stage --intent "<intent>" ``` 5. On auth error (401), retry with `--free`: ```bash git-agent commit --free --intent "<intent>" ``` 6. **Fallback** (if `git-agent` binary is not found): report the error and ask the user to install git-agent or run git commands manually. 7. Push to remote repository: ```bash git push ``` (If upstream is not set, use `git push -u origin <branch>`). CLI Reference: `../../references/cli.md` > **Deterministic messages:** When an exact commit message is required (e.g. version bump `chore: bump version to 0.11.0`), pass the full conventional message as the `--intent` value. The intent is used as the commit subject verbatim.
GitHub에서 보기