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

commit

Stage and commit changes using conventional commits format

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

Chemaclass/bashdep스타 19(GitHub 19 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.5 KB

SKILL.md(원문)

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

Commit with Conventional Commits

Stage and commit current changes using the conventional commits format.

IMPORTANT: This skill MUST be used for ALL commits - even when the user just says "commit" without /commit. Never commit without following these steps.

Current State

  • Branch: !git branch --show-current
  • Status: !git status --short
  • Staged diff: !git diff --cached --stat 2>/dev/null
  • Unstaged diff: !git diff --stat 2>/dev/null
  • Recent commits: !git log --oneline -5 2>/dev/null

Arguments

  • $ARGUMENTS - Optional hint for the commit message (e.g., clean orphan files race)

Instructions

  1. Review the state above - understand what changed and why.

  2. Stage files - add only the relevant changed files by name. Never use git add -A or git add .. Never stage files that contain secrets (.env, credentials, lib/ artifacts, local/, tmp/).

  3. Determine the commit type from the nature of the changes:

    • feat - new feature or capability
    • fix - bug fix
    • docs - documentation only
    • style - formatting, whitespace (no logic change)
    • refactor - code restructuring (no behavior change)
    • test - adding or updating tests
    • chore - maintenance, tooling, config
    • perf - performance improvement
    • ci - CI/CD config (.github/workflows/)
  4. Determine the scope from the area of the codebase affected:

    • install - bashdep::install / install_from
    • lock - lockfile read/write helpers
    • doctor - bashdep::doctor
    • clean - bashdep::clean
    • uninstall - bashdep::uninstall
    • setup - bashdep::setup
    • cli - CLI dispatch / flags
    • release - release.sh and release tooling
    • docs - docs/, README.md
    • ci - .github/workflows/
    • Use the most specific scope that fits. Omit if changes span many areas.
  5. Write the commit message:

    • Format: <type>(<scope>): <description>
    • Description: imperative mood, lowercase, no period, under 70 chars
    • Focus on why, not what
    • Add a body (separated by blank line) only when the why isn't obvious from the description
    • Never mention AI, Claude, or automation in the message
    • Never add a Co-Authored-By trailer (repo settings.json sets includeCoAuthoredBy: false)
  6. Create the commit:

    git commit -m "$(cat <<'EOF'
    <type>(<scope>): <description>
    
    <optional body>
    EOF
    )"
    
  7. Verify the commit was created:

    git log --oneline -1
    

Examples

feat(doctor): report orphan files in dev dir
fix(lock): preserve trailing newline on lockfile rewrite
test(clean): cover dry-run output for orphan removal
refactor(install): extract _classify_dep helper
docs(api): document bashdep::self_update target_path arg
chore(ci): bump shellcheck to v0.10
perf(install): skip re-download when lock + file are in sync

Rules

  • One logical change per commit - don't mix unrelated changes
  • Never use --no-verify - if hooks fail, fix the underlying issue
  • Never amend unless the user explicitly asks
  • Always create a NEW commit - even after a hook failure
  • Author: use the git config identity (never commit as default user)

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Add a new bashdep:: lifecycle command with TDD

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

Chemaclass/bashdep192026년 10월 20일 업데이트

Coverage gap analysis for the bashdep public API plus a bashdep::doctor audit

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

Chemaclass/bashdep192026년 10월 20일 업데이트

fix-test

무료

Debug and fix failing bashdep tests systematically

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

Chemaclass/bashdep192026년 10월 20일 업데이트

gh-issue

무료

Fetch a GitHub issue, create a branch, plan and implement with TDD, then open a PR

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

Chemaclass/bashdep192026년 10월 20일 업데이트

pr

무료

Push branch and create a GitHub PR following the bashdep PR template

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

Chemaclass/bashdep192026년 10월 20일 업데이트

Run a comprehensive pre-release validation checklist for bashdep

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

Chemaclass/bashdep192026년 10월 20일 업데이트

Chemaclass의 스킬 모두 보기

이 스킬의 문제 신고