본문으로 건너뛰기
Skillpedia
일반 코딩48k · #4212

commit

하는 일

이 도구는 저장하는 코드에 대한 ‘커밋’ 메시지를 만드는 데 도움을 줍니다. Sentry 프로젝트에서 쓰는 형식을 따르며, 무엇이 왜 바뀌었는지 분명하게 설명하도록 합니다. 또한 코드를 올바른 곳에 저장하고 있는지도 확인합니다.

사용하는 경우

  • ✓코드 변경 사항을 저장하고 싶을 때(‘커밋’을 만들 때).
  • ✓특정 형식에 맞춘 ‘커밋’ 메시지가 필요한 경우.
  • ✓‘main’ 같은 중요한 브랜치에 코드를 직접 저장하지 않도록 할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/commit/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/commit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“비밀번호가 표시되는 로그인 버그를 수정하기 위한 커밋 메시지를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 코드에서 바뀐 내용을 분석하고, 타입(버그라면 ‘fix’ 같은 것), 요약, 변경에 대한 세부 내용으로 된 표준 형식을 사용합니다. 또한 안전한 브랜치에 있는지 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Sentry Commit Messages

Follow these conventions when creating commits for Sentry projects.

When to Use

  • The user asks to commit code, prepare a commit message, or save changes in git.
  • You need Sentry-style commit formatting with conventional commit structure and issue references.
  • The task requires enforcing branch safety before committing, especially avoiding direct commits on main or master.

Prerequisites

Before committing, always check the current branch:

git branch --show-current

Read repository policy before creating a commit. If the default branch is PR-only, create an authorized topic branch and use the repository's native maintainer flow, even when an administrator could bypass server checks. AAS requires antigravity-maintainer-batch-release and protected source PRs.

Inspect git status --short, git diff --cached, and the intended changed paths; preserve unrelated staged/dirty work. Use an installed create-branch helper only if available and appropriate, otherwise create the topic branch through the repository workflow. Verify the actual branch before proceeding. A request for a message alone does not authorize staging, committing or pushing.

Format

<type>(<scope>): <subject>

<body>

<footer>

The header is required. Scope is optional. All lines must stay under 100 characters.

Commit Types

Type Purpose
feat New feature
fix Bug fix
ref Refactoring (no behavior change)
perf Performance improvement
docs Documentation only
test Test additions or corrections
build Build system or dependencies
ci CI configuration
chore Maintenance tasks
style Code formatting (no logic change)
meta Repository metadata
license License changes

Subject Line Rules

  • Use imperative, present tense: "Add feature" not "Added feature"
  • Capitalize the first letter
  • No period at the end
  • Maximum 70 characters

Body Guidelines

  • Explain what and why, not how
  • Use imperative mood and present tense
  • Include motivation for the change
  • Contrast with previous behavior when relevant

Footer: Issue References

Reference issues in the footer using these patterns:

Fixes GH-1234
Fixes #1234
Fixes SENTRY-1234
Refs LINEAR-ABC-123
  • Fixes closes the issue when merged
  • Refs links without closing

AI-Generated Changes

Follow the repository's attribution policy and identify the actual contributor. The following is an example for Claude; do not attach it to work produced by a different agent or invent a person's contribution:

Co-Authored-By: Claude <noreply@anthropic.com>

Repository attribution and disclosure rules take precedence. Do not add phrases like "Generated by AI", "Written with Claude", or similar markers in the subject, body, or anywhere else in the commit message.

Examples

Simple fix

fix(api): Handle null response in user endpoint

The user API could return null for deleted accounts, causing a crash
in the dashboard. Add null check before accessing user properties.

Fixes SENTRY-5678
Co-Authored-By: Claude <noreply@anthropic.com>

Feature with scope

feat(alerts): Add Slack thread replies for alert updates

When an alert is updated or resolved, post a reply to the original
Slack thread instead of creating a new message. This keeps related
notifications grouped together.

Refs GH-1234

Refactor

ref: Extract common validation logic to shared module

Move duplicate validation code from three endpoints into a shared
validator class. No behavior change.

Breaking change

feat(api)!: Remove deprecated v1 endpoints

Remove all v1 API endpoints that were deprecated in version 23.1.
Clients should migrate to v2 endpoints.

BREAKING CHANGE: v1 endpoints no longer available
Fixes SENTRY-9999

Revert Format

revert: feat(api): Add new endpoint

This reverts commit abc123def456.

Reason: Caused performance regression in production.

Principles

  • Each commit should be a single, stable change
  • Commits should be independently reviewable
  • The repository should be in a working state after each commit

References

Limitations

  • Use this skill only when the task clearly matches the scope described above.

…

자주 묻는 질문

‘커밋’이란 무엇인가요?

특정 시점의 코드를 찍은 스냅샷과 같습니다. 이 스냅샷에는 사용자가 한 변경 사항이 저장되어 있어, 필요할 때 그 시점으로 돌아갈 수 있습니다.

‘Sentry 스타일’이란 무엇인가요?

커밋 메시지를 쓰는 규칙입니다. 버그 수정이나 새 기능 추가처럼 각 코드 변경이 무엇을 하는지 빠르게 이해할 수 있도록 도와줍니다.

‘브랜치’를 확인하는 이유는 무엇인가요?

프로젝트를 망가뜨릴 수 있는 중요한 부분을 실수로 바꾸지 않기 위해서입니다. 그림을 그리기 전에 올바른 캔버스에 그리고 있는지 확인하는 것과 같습니다.

상세 정보

작성자의 원본 설명

Prepare or create commits using Sentry-style message conventions when the repository requests them; inspect staged scope and honor its protected branch workflow.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4212
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬