Dev git workflow

From BlueSkyXN/Codex-is-all-you-need · View interactive version

Dev git workflow is an AI agent skill from the GitHub repository BlueSkyXN/Codex-is-all-you-need. Use for non-trivial Git state such as branch strategy, worktrees, merge/rebase decisions, conflicts, reviewer-facing PR preparation, tags, and release notes. Do not trigger for a routine commit, push, or PR that needs no strategy decision.

How to use this skill

Skill file

Git workflow

Use this workflow when the task involves non-trivial Git state, branch management,

reviewer-facing PR preparation, merge strategy, or release history.

Steps

  1. Inspect state first.
  1. Preserve user work.
  1. Choose the operation.
  1. Validate history and diff.
  1. Prepare PR metadata when opening, updating, or rewriting a PR.

title or body.

validation evidence, and delivery state.

descriptive text and the body. An English commit subject is not a repository

language requirement.

must still pass the contract.

state.

  1. Publish, gate, and read back remote state when requested.

mergeability, and checks after creation or update.

changes, unresolved review conversations, and applicable repository gates,

including required approvals/checks and the allowed merge method or queue.

whether repository rules require them.

repair stale or unclear copy before declaring the PR complete.

validated head. After merge, read back the merged state and target branch.

  1. Communicate exact boundaries.

Output

Return:

  1. Git operation performed or recommended
  2. Branch and commit details
  3. Files included
  4. PR title/body or remote PR URL when in scope
  5. Validation
  6. Remaining remote, review, release, or runtime state

Do not

main.

temporary files, or internal session links in PR-facing copy.

the applicable repository rules.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.