본문으로 건너뛰기
cccskills
무료GitHub에 공개

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md2.4 KB
  • agents/openai.yaml236 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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:
type: brief summary of the change

- Change detail 1
- Change detail 2
  1. Do not add any AI-generated sign-off.
  2. 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.
  3. 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
  4. 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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jerrywu001/cc-sessions-viewer3992026년 10월 7일 업데이트

Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jerrywu001/cc-sessions-viewer3992026년 10월 7일 업데이트

Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jerrywu001/cc-sessions-viewer3992026년 10월 7일 업데이트

Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jerrywu001/cc-sessions-viewer3992026년 10월 7일 업데이트

Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jerrywu001/cc-sessions-viewer3992026년 10월 7일 업데이트

教你怎么设计高质量 SKILL.md 内容的 skill。当用户要创建新 skill 时自动触发。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jerrywu001/cc-sessions-viewer3992026년 10월 7일 업데이트

jerrywu001의 스킬 모두 보기

이 스킬의 문제 신고