Skip to main content

git-push

Use when the user explicitly asks to commit and push the current repository changes. Suitable for analyzing current changes, generating an English commit message that follows the repo's conventions, and completing the push. Not suitable for status-only checks, local-only commits, push-disallowed contexts, or any case where the user has not explicitly asked to write to the remote.

소스 정보

저장소
jerrywu001/cc-sessions-viewer
최근 소스 활동
2026년 8월 25일 09:28
감지된 SKILL.md 언어
영어
스타
391
포크
27

설치 방법

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

소스 파일 검토

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

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
git-push
description
Use when the user explicitly asks to commit and push the current repository changes. Suitable for analyzing current changes, generating an English commit message that follows the repo's conventions, and completing the push. Not suitable for status-only checks, local-only commits, push-disallowed contexts, or any case where the user has not explicitly asked to write to the remote.
# Git Push Only use this skill when the user explicitly asks to commit and push. ## Workflow 1. Run `git pull` first to fetch the latest remote changes. 2. If the pull output contains conflict markers such as `CONFLICT` or `Merge conflict`, stop immediately — do not commit or push — and clearly list the conflicting files. 3. Analyze the changes in parallel: - `git status --short` - `git diff HEAD` 4. Generate an English commit message. The commit type must be chosen from: - `feat` - `fix` - `doc` - `style` - `update` - `refactor` - `test` - `framework` - `revert` Use lowercase for the type because this repository's commitlint enforces lowercase conventional-commit types. 5. The commit message format must be: ```text type: brief summary of the change - Change detail 1 - Change detail 2 ``` 6. Do not add any AI-generated sign-off. 7. Before staging or committing, run the CI checks locally: - `npx vue-tsc --noEmit` - `npm run test:run` - `cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warnings` - `cargo test --manifest-path src-tauri/Cargo.toml` Stop immediately if any check fails; do not commit or push a failing change. 8. In the main repository, run: - `git add .` - `git restore --staged .env.development 2>/dev/null || true` (only skip committing `.env.development`; keep the local edits) - Commit with the multi-line message - `git push` 9. After completion, report the commit hash, commit message, current branch, and push result. ## Rules - If there are no changes, stop and explain that no commit is needed. - If commitlint or a git hook fails, fix the message or the underlying issue and retry; do not bypass validation. - Do not use interactive git commands. - Only push to the remote when the user has explicitly asked for a push. - `.env.development` changes must be removed from the staging area before commit; do not implement the exclusion by modifying `.gitignore`.
GitHub에서 보기