emiliodominguez/flow-skills

flow-commit

Conventional commit messages and atomic commits.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/emiliodominguez/flow-skills --skill flow-commit

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Commit

Make one logical change understandable from history. A message draft, permission to commit, and pushing or opening a pull or merge request are separate outcomes.

Process

Decide the mode first. "Write a commit message" or "message for my staged changes" returns text only: no git add, no git commit, and say that nothing was committed.

  1. Inspect branch, status, staged, unstaged and relevant untracked changes. Read the index with

git diff --cached; git diff alone misses staged content. Preserve unrelated staging and working files.

  1. Group changes by intent. Keep tests, generated artifacts and docs with the behavior they

support; don't split an inseparable change to shrink file count.

  1. Conventional subject: type(scope): imperative description, following the repository's

types, scopes, length and language. Describe the effect, not a file list.

  1. Body: the why and the user-visible effect in one plain sentence (for example "Exports over

10k rows now run in the background and email a download link."), plus constraints, significant tradeoffs and breaking-change migration notes. Never invent rationale or claim unrun checks. Follow the repository's Co-Authored-By / generated-credit convention.

  1. Message-only request: return the message and stop. Authorized commit: stage only intended

paths/hunks. Use git add -p when interactive; in a noninteractive host use scoped paths or inspected patches rather than hanging.

  1. Inspect the final index, run the required gate, commit with hooks enabled. A failed plain

commit creates nothing, so a retry must not amend the previous good commit. After an interrupted explicit amend, check HEAD before retrying.

  1. Verify commit contents and remaining worktree. Report SHA and scope; never claim it is

pushed without remote confirmation.

Anti-patterns

  • git add . with unrelated changes in the index or working tree.
  • Mutating Git for "write me a commit message".
  • Bypassing hooks, weakening checks, or amending an unrelated commit after a failure.
  • Shell-interpolating a multi-line message; use a file or structured argument.

Done when

  • The message describes one logical change and its reason.
  • If committing was requested, the commit matches the intended scope, passes required checks,

and unrelated changes are preserved.

Use flow-ship only for delivery actions already in the user's request.

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills