원클릭으로
commit
Read this skill before making git commits. Creates commits following this project conventions with semantic splitting.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Read this skill before making git commits. Creates commits following this project conventions with semantic splitting.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | commit |
| description | Read this skill before making git commits. Creates commits following this project conventions with semantic splitting. |
Create git commits following the commit conventions laid in the next sections.
By invoking this skill, the user is explicitly requesting to create one or more commits. You will follow the procedure mentioned in the section "Procedure" without deviation. After the approved commits are created, you will not create more commits unless requested again.
<kind(module)>: Brief descriptive message
Rationale of the change, informed by the Shortcut story context.
(module).Add a blank line after the subject, then short paragraphs. Frame changes in terms of what they enable and, most importantly, WHY the change is needed, not implementation details.
In order to ensure good formatting, ALWAYS pass the commit message via a HEREDOC, a la this example:
git commit -m "$(cat <<'EOF'
fix(introspection): use PlainValidator instead of BeforeValidator for Django models
Use PlainValidator instead of BeforeValidator to avoid Pydantic warning
about validators returning non-self values. PlainValidator is designed
for custom validation logic that transforms input values.
This fixes the Pydantic 2.8 warning:
A custom validator is returning a value other than self. Returning
anything other than self from a top level model validator isn't
supported when validating via __init__.
The warning was triggered because Pydantic was treating BeforeValidator
on Django model annotations as a model-level validator rather than a
field-level validator. PlainValidator correctly indicates we're doing
complete custom validation/transformation (PK -> Model instance).
EOF
)"
Run the following steps. You can run some of the steps in parallel.
git status, git diff, git diff --cached to understand the current changes.Git Safety Protocol:
push --force, reset --hard, checkout ., restore ., clean -f, branch -D) unless the user explicitly requests these actions. Taking unauthorized destructive actions is unhelpful and can result in lost work, so it's best to ONLY run these commands when given direct instructions--no-verify, --no-gpg-sign, etc) unless the user explicitly requests itgit add -A or git add ., which can accidentally include sensitive files (.env, credentials) or large binariesWhen the diff contains logically separate changes, split into multiple commits ordered from general to specific. Each commit should compile and pass linting on its own. Present a summary of planned commits before executing.
Treat caller-provided arguments as additional guidance:
amend: Amend the previous commit. Use git log to check the existing message and update it if needed.all: Use git add to include all modified tracked files.