원클릭으로
commit
Format and create commits following Conventional Commits with project-specific scopes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Format and create commits following Conventional Commits with project-specific scopes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Reset estratégico de un producto existente: diagnosticar, visionar, planificar, ejecutar
Formal epic closure ritual — security audit, CHANGELOG consolidation, tagging, merge
Format commit messages following Conventional Commits — works in terminal and IDE
Universal workflow orchestrator — Pre-Flight checklist + 5 Gates for task lifecycle
Generate and update technical documentation — architecture, conventions, design decisions, changelogs
Detect and update out-of-sync documentation when closing an epic or feature
| name | commit |
| description | Format and create commits following Conventional Commits with project-specific scopes |
| version | 2.0.0 |
| compat | claude-code, codex, cursor, openclaw |
| fill | scopes, co-authored-by |
Format and create a commit following Conventional Commits with this project's conventions. Always use this skill before pushing — never commit with improvised messages.
Conventional Commits enables automated CHANGELOG generation, semantic versioning, and a readable history.
main or the epic branch)/commit
/commit "brief description of changes"
1. Review what's to be committed
git status
git diff --staged # if things are already staged
git diff # if nothing is staged yet
If nothing is staged, git add the relevant files first. Do not use git add . blindly — review what's being included.
2. Identify the commit type
Choose the type that best describes the main change:
| Type | When to use |
|---|---|
feat | New functionality visible to the user or system |
fix | Bug fix or incorrect behavior correction |
refactor | Code reorganization without observable behavior change |
test | Adding or modifying tests (no production changes) |
docs | Documentation, comments, or .md files only |
chore | Setup, configuration, dependencies, build scripts |
perf | Performance improvement without behavior change |
ci | CI/CD pipeline changes |
If the commit mixes types, split into two separate commits. If splitting isn't reasonable, use the dominant type.
3. Determine the scope
The scope indicates which area of the system changed. It must be consistent across commits within the same epic.
{{FILL: List valid scopes for this project.
Convention: scopes are system layers (auth, db, api) or business domains (catalog, payments, admin).
Examples:
If the change spans multiple scopes, omit the scope (use type only). }}
If the change spans multiple scopes, omit the scope (use type only).
4. Write the message
Required format:
<type>(<scope>): <description in lowercase, no period>
[optional body — one or more lines explaining the "why", not the "what"]
[the "what" is already in the diff]
{{FILL: If this project uses commits from an AI agent, optionally add:
Co-Authored-By: [Agent Name] <noreply@[domain].com>
Examples: Claude AI <noreply@anthropic.com>, GitHub Copilot <noreply@github.com>
If not applicable, omit this line.
}}
Rules for the description:
5. Create the commit
git commit -m "feat(scope): brief description
Optional explanation of why. The diff already shows what."
If this project uses Co-Authored-By (see {{FILL}} in step 4), add it at the end of the message.
Examples of well-formed messages:
feat(auth): add email verification on signup
Email verification was missing — users could sign up with invalid emails.
Added resend logic with 60s cooldown.
fix(api): return 404 when resource not found instead of empty array
refactor(core): extract validation logic to separate module
chore: add pre-commit hook for lint-staged
The commit is correct if:
git log --oneline -1 shows the message with the correct formatgit show --stat shows exactly the expected files (nothing extra)<type>(<scope>): descriptionA well-formed commit history enables:
feat: from a releasefeat: (minor bump) vs fix: (patch) vs breaking changes (major)fix: stuff ← doesn't describe what was fixed
WIP ← not a finished commit
feat: Add new feature. ← uppercase + period
update files ← no type, no scope, no useful description
BREAKING CHANGE: everything ← breaking changes go in the body, not the subject
Committing unrelated files. Always review git diff --staged before committing. A mixed commit makes history unreadable and rollback difficult.
Using "update" as a type. There is no update type. If something is updated, it's feat, fix, or chore depending on what changed.
Body describes the what, not the why. The diff already shows the what. The body is valuable when it explains the reason behind the decision — especially if it's not obvious to someone reading the history six months later.
Omitting Co-Authored-By when the project requires it. If the project uses the agent authorship convention (defined in the {{FILL}} of step 4), including it maintains traceability that an agent wrote the code — useful for audit and history.