원클릭으로
commit
Read this skill before making git commits
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Read this skill before making git commits
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Spin up throwaway service/database stacks for tests, migrations, and ingest without touching the user's real dev stack or live data. Use when a task runs `docker compose`, database migrations, ingest jobs, or any destructive command that could hit a shared or live service. Triggers on "run the migrations", "ingest the data", "spin up the stack", "run the integration tests", or any plan step that starts containers or writes to a database.
Run the `pi` coding agent as a headless subagent (--mode json) inside a visible tmux pane so the user can watch it stream while the agent still captures and verifies its structured output. Use when asked to "run pi in a pane", "let me watch pi work", "run pi where I can see it", or to delegate to pi with a live view. Requires running inside tmux. For a fully headless run with no pane, use use-pi-subagent instead.
Invoke the `pi` coding agent as a non-interactive subagent from the shell — delegate a self-contained coding or analysis task to a fresh pi process and read its structured JSON output. Use when asked to "run pi", "use pi as a subagent", "delegate this to pi", or to orchestrate pi coder/reviewer agents (see prompt.md).
Keep the computer awake for a set duration or while a command runs, using `caffeinate` on macOS. Use when the user wants to prevent sleep during a long-running task, download, or presentation.
Writes a self-contained handoff document that briefs another agent or person to execute a scoped task without the originating context. Triggers when the user asks to "write a handoff", "hand this off", "brief another agent", "create a delegation doc", or prep work for a sub-agent / worktree agent to pick up. Emits a markdown file following a fixed template.
| name | commit |
| description | Read this skill before making git commits |
Create a git commit for the current changes. Match the repo's existing commit style — don't impose a format the repo doesn't already use.
Run git log -n 30 --pretty=format:%s and look at recent subjects:
feat:, fix(scope):,
etc.), follow that convention.Fix the quoting of the clip command). Capitalize the first word, no trailing period.Project CLAUDE.md or user instructions take precedence over what you
infer from history. If they specify a style, follow it.
Include a body when the subject doesn't say it all — typically for non-trivial changes. The body should answer: what was the state before, how does this change address it, and are there side effects.
Skip the body for trivial changes where the subject is self-explanatory (typo fixes, renames, simple config tweaks).
When you do write a body:
Signed-off-by).main or master, ask the user to
confirm they really want to commit there. If they don't, ask for the
branch name they'd like to use and switch (or create) that branch
before continuing.git status and git diff to understand the current changes
(limit to argument-specified files if provided).git log -n 30 --pretty=format:%s to determine the repo's
commit style and commonly used scopes.AskUserQuestion for a structured
approve/edit prompt when available, otherwise plain text. If the
user explicitly opts out of review for the current task (e.g.
"just commit", "no need to review"), skip the prompt.git commit -m "<subject>" (and -m "<body>" if needed).