원클릭으로
commit-code
Analyze code changes to prepare conventional commit message and commit to a new branch.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyze code changes to prepare conventional commit message and commit to a new branch.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use the correct AWS CLI profile when running AWS commands based on the target environment.
Analyze code changes between two local Git branches and perform a comprehensive code review. Use ONLY for local git branch comparisons. Do NOT use when a GitLab or GitHub MR/PR URL or MR ID is provided — use gitlab-cli or github-cli skill instead.
Create optimized, secure, production-ready Dockerfiles based on user requirements and application context.
Create a new SKILL.md file based on a guided conversation about a task or workflow.
Create a detailed upgrade plan for a Helm release managed by Terraform, comparing the current and desired chart versions including breaking changes and required code changes.
Perform GitHub operations on GitHub using the gh CLI. Use for issues, pull requests, pipelines, repositories, and project management. ALSO use this skill when asked to review a GitHub PR — when a GitHub PR URL or PR ID is provided, use gh to fetch and review the diff instead of the code-review skill.
| name | commit-code |
| description | Analyze code changes to prepare conventional commit message and commit to a new branch. |
Run this skill when asked to commit code changes, create a commit message, or push changes to a new branch.
Ask the user the following question:
Kindly let me know:
1. Branch Name: What should I name the new branch? (name of the branch)
If the user has already provided the answer upfront, skip the question and use the provided value.
git checkout -b <BRANCH_NAME>
pre-commit run -a
If the command fails, try again only one more time. If it fails again, report the output to the user and stop. Do not continue until the user resolves any failures.
terraform fmt -recursive
git add .
Before proceeding, list the staged files and check for potentially sensitive files (e.g. .env, *.pem, *.key, *credentials*, *secret*, *token*, *password*):
git diff --cached --name-only
If any staged file matches a sensitive pattern, pause and ask the user to confirm whether it should be included in the commit. Do not proceed until confirmed.
And then analyze the code changes in each staged file with the following command:
git diff --cached -- <FILE_PATH>
Then based on all the code changes, determine the appropriate conventional commit type, compose a single one-liner commit message, and commit the changes with the following command:
git commit -m "<TYPE>: <COMMIT_MESSAGE>"
<COMMIT_MESSAGE> must be capitalized.| Type | When to use |
|---|---|
feat | A new feature |
fix | A bug fix |
docs | Documentation only changes |
style | Formatting changes that do not affect code meaning |
refactor | Code change that neither fixes a bug nor adds a feature |
perf | Code change that improves performance |
test | Adding or correcting tests |
chore | Build process or auxiliary tool changes |
ci | Changes to CI configuration files and scripts |
build | Changes that affect the build system or external dependencies |
git push origin $(git rev-parse --abbrev-ref HEAD) --set-upstream
main or master directly — always create a new branch.pre-commit run -a fails, try again only one more time. If it fails again, stop and report the errors before proceeding.\n or multi-line -m flags.