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

commit

Stage, commit, and push code changes with branch safety and explicit staging. Use when ready to commit work. Invoked by saying "commit", "push", or "commit and push".

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.6 KB

SKILL.md(원문)

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

Commit Your Changes

Stage, commit, and push only the files you modified in this session to the current working branch.


Branch Safety (BLOCKING GATE)

  1. Check the current branch — run git branch --show-current.
  2. If on master or main — STOP immediately. Do not stage, commit, or push. Tell the user and wait.
  3. If on dev — you may commit, but do NOT push automatically. After committing, ask: "Committed. Ready to push to dev?" Wait for explicit approval.
  4. Stay on the branch you started on. Never switch branches just to commit.
  5. Never push or commit directly to master or main unless explicitly instructed.

Verification Gate (BLOCKING)

Before committing, confirm that ALL required verification steps from the task plan have passed. If any verification is blocked or incomplete, do NOT commit. Report the blocker. See AGENTS.md → Blocker Protocol.


Steps

  1. Check git status --short — Review all modified/untracked files. Identify which ones you touched.

  2. Stage only your files — Use git add with explicit file paths. Never use git add -A or git add ..

  3. Write a high-quality commit message using multiple -m flags.

    Subject Format

    <type>(<optional-scope>): <action-oriented summary>
    

    Allowed Types: feat, fix, refactor, docs, style, data, config, chore, merge

    Rules:

    • Keep subjects under ~80 characters
    • Use lowercase for type and scope
    • Start with a clear verb
    • Be specific, not generic

    Body

    • 2–3 -m flags max
    • Summarize key changes in 3–5 sentences
    • End with Files: <key files>

    Quick Rewrite Guide

    • Updated gateway → feat(gateway): add support for digital wallet payments
    • fix stuff → fix(checkout): correct redirect URL for cancelled payments
  4. Push to the current working branch — If on dev, ask before pushing.


Rules

  • Never stage files you did not change.
  • Never use git add . or git add -A.
  • Never use a vague commit subject.
  • Do not include Copilot co-author trailers unless explicitly requested.
  • Never force push.
  • One commit per session batch.
  • ALWAYS present 3 commit message options (numbered 1–3, concise → descriptive). Wait for user to pick.
  • ALWAYS ask before pushing.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Batch-commit all uncommitted changes grouped by relevance. Use when multiple accumulated changes need committing. Invoked by saying "commit all" or "commit everything".

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

savedpixel/ai-agent-rules-generator82026년 4월 12일 업데이트

Document completed work — update task log, sync documentation, log observations. Use after finishing a task or batch of changes.

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

savedpixel/ai-agent-rules-generator82026년 4월 12일 업데이트

Execute a previously created implementation plan — implement, test, document, and close out. Use when a plan file exists and is ready for implementation.

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

savedpixel/ai-agent-rules-generator82026년 4월 12일 업데이트

Merge dev branch into master/main and push. Use when dev changes are ready for production branch. Invoked by saying "merge to master" or "merge to main".

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

savedpixel/ai-agent-rules-generator82026년 4월 12일 업데이트

plan-task

무료

Create a detailed implementation plan before coding. Use when starting a new feature, multi-step refactor, or complex task. Invoked by saying "plan", "create a plan", or "plan this task".

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

savedpixel/ai-agent-rules-generator82026년 4월 12일 업데이트

report

무료

Generate a structured report on completed work, a feature area, or a topic. Saved to the reports directory. Invoked by saying "report", "generate report", or "summarize work".

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

savedpixel/ai-agent-rules-generator82026년 4월 12일 업데이트

savedpixel의 스킬 모두 보기

이 스킬의 문제 신고