Git Workflow and Versioning
addyosmani/agent-skills
Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.
Manage Git branches and PRs using Graphite CLI (gt) instead of raw git commands.
$ npx skills add UsefulSoftwareCo/executor --skill graphite -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install UsefulSoftwareCo/executor graphite --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/UsefulSoftwareCo/executor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.skills/graphite .claude/skills/graphite && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "graphite" agent skill from https://github.com/UsefulSoftwareCo/executor/tree/main/.skills/graphite into .claude/skills/graphite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphite", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/UsefulSoftwareCo/executor/tree/main/.skills/graphiteType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add UsefulSoftwareCo/executor --skill graphite -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install UsefulSoftwareCo/executor graphite --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UsefulSoftwareCo/executor.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.skills/graphite .agents/skills/graphite && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "graphite" agent skill from https://github.com/UsefulSoftwareCo/executor/tree/main/.skills/graphite into .agents/skills/graphite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphite", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add UsefulSoftwareCo/executor --skill graphite -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install UsefulSoftwareCo/executor graphite --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UsefulSoftwareCo/executor.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.skills/graphite .cursor/skills/graphite && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "graphite" agent skill from https://github.com/UsefulSoftwareCo/executor/tree/main/.skills/graphite into .cursor/skills/graphite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphite", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/UsefulSoftwareCo/executor.git --path .skills/graphite--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add UsefulSoftwareCo/executor --skill graphite -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install UsefulSoftwareCo/executor graphite --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UsefulSoftwareCo/executor.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.skills/graphite .gemini/skills/graphite && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "graphite" agent skill from https://github.com/UsefulSoftwareCo/executor/tree/main/.skills/graphite into .gemini/skills/graphite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphite", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install UsefulSoftwareCo/executor graphiteInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add UsefulSoftwareCo/executor --skill graphite -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/UsefulSoftwareCo/executor.git skills-src && mkdir -p .github/skills && cp -r skills-src/.skills/graphite .github/skills/graphite && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "graphite" agent skill from https://github.com/UsefulSoftwareCo/executor/tree/main/.skills/graphite into .github/skills/graphite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphite", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add UsefulSoftwareCo/executor --skill graphite -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install UsefulSoftwareCo/executor graphite --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UsefulSoftwareCo/executor.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.skills/graphite .opencode/skills/graphite && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "graphite" agent skill from https://github.com/UsefulSoftwareCo/executor/tree/main/.skills/graphite into .opencode/skills/graphite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphite", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
graphiteManage Git branches and PRs using Graphite CLI (gt) instead of raw git commands.
Graphite is an agent skill from UsefulSoftwareCo/executor. Manage Git branches and PRs using Graphite CLI (gt) instead of raw git commands. Use this skill when committing code changes, amending commits, creating branches, or submitting pull requests. Triggers on git commit, git push, creating PRs, amending changes, stacking branches, or any version control workflow.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Git workflow, Commit messages and Pull requests. It works with Git. The repository describes itself as: The missing integration layer for AI agents. Let them call any OpenAPI / MCP / GraphQL / custom js functions in secure environment. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 27dccb8. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Graphite loads about 2.6k tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 1,266 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from UsefulSoftwareCo/executor at commit 27dccb8, republished under its MIT licence (© UsefulSoftwareCo). 1,266 words, ~2,554 tokens.
.claude/skills/graphite/SKILL.md (or your agent's skills folder).Use gt commands instead of their git counterparts for commit and branch management. Raw git bypasses Graphite's stack metadata, leaving descendants un-restacked and the CLI's view of the stack out of sync.
| Instead of | Use |
|---|---|
git checkout -b <name> | gt create <name> |
git commit -m "msg" | gt modify -c -m "msg" |
git commit --amend | gt modify --amend |
git commit -am "msg" | gt modify -cam "msg" |
Why: gt keeps stack metadata consistent and auto-restacks descendant branches when a parent changes.
Several commands are interactive by default and will hang without a TTY: gt modify, gt move, gt split, gt restack, gt checkout (no arg), gt submit.
gt move --onto <branch>, gt modify -m "msg", gt checkout <branch>, gt submit --no-interactive.--no-interactive (or --quiet) to skip prompts.When gt restack, gt move, gt sync, etc. pause on a conflict:
git status to find conflicted files.<<<<<<< / ======= / >>>>>>> markers.gt add -A (or git add <file>).gt continue — never git rebase --continue. Graphite tracks its own rebase state; using raw git desyncs it.gt log, run tests).To bail out: gt abort.
--help - Show help for a command--cwd - Working directory for operations--debug - Write debug output--interactive / --no-interactive - Enable/disable prompts (default: enabled)--verify / --no-verify - Enable/disable git hooks (default: enabled)--quiet - Minimize output, implies --no-interactiveCreate a new branch stacked on current branch with staged changes.
Flags:
-a, --all - Stage all unstaged changes including untracked files-m, --message - Commit message-i, --insert - Insert between current branch and its child-p, --patch - Pick hunks to stage-u, --update - Stage updates to tracked files only-v, --verbose - Show diff in commit template--ai / --no-ai - AI-generate branch name and messageAmend current branch's commit or create new commit. Auto-restacks descendants.
Flags:
-a, --all - Stage all changes-c, --commit - Create new commit instead of amending-e, --edit - Open editor for commit message-m, --message - New commit message-p, --patch - Pick hunks to stage-u, --update - Stage tracked file updates--into - Amend into specified downstack branch--interactive-rebase - Start git interactive rebase--reset-author - Set commit author to current userAmend staged changes to relevant commits in current stack.
Flags:
-a, --all - Stage all unstaged changes (not untracked)-d, --dry-run - Print what would happen-f, --force - Skip confirmation-p, --patch - Pick hunks to stageSquash all commits in current branch into single commit.
Flags:
-m, --message - Commit message--edit - Modify existing message-n, --no-edit - Keep existing messageFold branch's changes into parent, restack descendants.
Flags:
-k, --keep - Keep current branch name instead of parent'sSplit current branch into multiple branches.
Flags:
-c, --commit, --by-commit - Split by commit history-h, --hunk, --by-hunk - Split by hunk interactively-f, --file, --by-file - Split files matching pathspecsPush branches and create/update PRs on GitHub.
Flags:
-s, --stack - Include descendant branches-d, --draft - Create PRs as drafts-p, --publish - Publish draft PRs-e, --edit / -n, --no-edit - Edit/skip PR metadata--edit-title / --no-edit-title - Edit/skip title--edit-description / --no-edit-description - Edit/skip description-r, --reviewers - Set reviewers (comma-separated or prompt)-t, --team-reviewers - Team slugs for review-m, --merge-when-ready - Auto-merge when requirements met-c, --confirm - Confirm before submitting--dry-run - Report what would happen-f, --force - Force push (vs --force-with-lease)-u, --update-only - Only update existing PRs-v, --view - Open PR in browser after-w, --web - Edit metadata in browser--cli - Edit metadata via CLI--ai / --no-ai - AI-generate title/description--comment - Add comment to PR--restack - Restack before submitting--rerequest-review - Rerequest from current reviewers--always - Push even if unchanged--branch - Run from specified branch--target-trunk - PR target trunkMerge PRs from trunk to current branch via Graphite.
Flags:
-c, --confirm - Confirm before merging--dry-run - Report what would mergeSwitch to branch. Interactive selector if no branch provided.
Flags:
-a, --all - Show all trunks in selection-u, --show-untracked - Include untracked branches-s, --stack - Only show current stack-t, --trunk - Checkout trunkSwitch to child of current branch.
Flags:
-n, --steps - Levels to traverse--to - Target branch to navigate towardSwitch to parent of current branch.
Flags:
-n, --steps - Levels to traverseSwitch to tip of current stack. Prompts if ambiguous.
Switch to branch closest to trunk in current stack.
Ensure each branch has parent in Git history, rebasing if needed.
Flags:
--branch - Run from specified branch--downstack - Only restack branch and ancestors--upstack - Only restack branch and descendants--only - Only restack this branchRebase current branch onto target, restack descendants.
Flags:
-o, --onto - Target branch--source - Branch to move (default: current)-a, --all - Show all trunks in selectionReorder branches between trunk and current via editor.
Sync all branches with remote, clean merged/closed PRs, restack.
Flags:
-a, --all - Sync across all trunks-f, --force - Skip confirmations--restack / --no-restack - Restack after sync (default: true)Sync branches from trunk to specified branch/PR from remote.
Flags:
-d, --downstack - Don't sync upstack branches-f, --force - Overwrite with remote--restack / --no-restack - Restack after (default: true)-U, --unfrozen - Checkout as unfrozenDelete branch and Graphite metadata. Children restack to parent.
Flags:
-f, --force - Delete even if not merged/closed-c, --close - Close associated PR on GitHub--downstack - Also delete ancestors--upstack - Also delete childrenRename branch. Removes PR association.
Flags:
-f, --force - Allow rename with open PRStart tracking branch with Graphite by selecting parent.
Flags:
-f, --force - Use most recent tracked ancestor as parent-p, --parent - Specify parent branchStop tracking branch. Children also untracked.
Flags:
-f, --force - Skip confirmationDelete current branch but keep working tree state.
Freeze branch and downstack - prevents local modifications.
Unfreeze branch and upstack.
Show stacks. Forms: gt log, gt log short, gt log long.
Flags:
-a, --all - Show all trunks-r, --reverse - Print upside down-u, --show-untracked - Include untracked-s, --stack - Only current stack-n, --steps - Levels to show (implies --stack)--classic - Old styleDisplay branch information.
Flags:
-b, --body - Show PR body-d, --diff - Show diff vs parent-p, --patch - Show commit changes-s, --stat - Show diffstatShow parent, children, or trunk of current branch.
gt trunk flags:
--add - Add trunk-a, --all - Show all trunksOpen PR page for branch or PR number.
Flags:
--stack - Open stack pageContinue command halted by rebase conflict.
Flags:
-a, --all - Stage all changes firstAbort current command halted by conflict.
Flags:
-f, --force - Skip confirmationUndo most recent Graphite mutations.
Flags:
-f, --force - Skip confirmationInitialize Graphite by selecting trunk branch.
Flags:
--trunk - Trunk branch name--reset - Untrack all branchesAdd auth token for GitHub.
Flags:
-t, --token - Auth token from https://app.graphite.com/activateConfigure Graphite CLI (interactive).
Update CLI to latest stable version.
These pass arguments directly to git:
gt add [args..]gt cherry-pick [args..]gt rebase [args..]gt reset [args..]gt restore [args..]Create branch reverting a trunk commit.
Flags:
-e, --edit - Edit commit message© UsefulSoftwareCo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .skills/graphite of UsefulSoftwareCo/executor.
Open the folder on GitHubat commit 27dccb8
Graphite next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Graphite this skillUsefulSoftwareCo/executor | 4.1k | — | ~2.6k | Automated safety check: Pass | MIT | |
| Git Workflow and Versioningaddyosmani/agent-skills | 102k | 2 repos | ~3.5k | Automated safety check: Notes | MIT | |
| React Router Pull Request Creatorremix-run/react-router | 57k | — | ~2.5k | Automated safety check: Pass | MIT | |
| Emoji Commit ConventionsbaptisteArno/typebot.io | 11k | — | ~424 | Automated safety check: Pass | Custom licence | |
| Draft Pull Request Creatorwordpress-mobile/WordPress-Android | 3.2k | — | ~881 | Automated safety check: Notes | GPL-2.0 | |
| Adk Gitgoogle/adk-python | 22k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 |
addyosmani/agent-skills
Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.
remix-run/react-router
Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.
baptisteArno/typebot.io
Sets the repository's convention for commit messages and pull request titles: one emoji prefix for the main intent, a concise title and clean follow-up commits.
wordpress-mobile/WordPress-Android
Commits and pushes current changes, writes a pull request title and body from the branch history and template, and opens a draft PR on GitHub after you approve it.
google/adk-python
Writes commit messages and pull request descriptions for the adk-python repository: Conventional Commits types and scopes, subject lines that say why a change was made, and the linked-issue and…
wgzhao/Addax
Standard branch, commit, and pull-request workflow for this repo.
UsefulSoftwareCo/executor
Pattern for wrapping third-party SDK clients (Stripe, Resend, AWS, etc.) with Effect.
UsefulSoftwareCo/executor
Runbook for releasing the executor CLI package (stable and beta).
UsefulSoftwareCo/executor
Pattern for implementing optimistic UI updates with effect-atom in this codebase.
UsefulSoftwareCo/executor
Testing Effect HttpApi services end-to-end. An agent skill from UsefulSoftwareCo/executor.
UsefulSoftwareCo/executor
Use the @executor-js/emulate service emulators (GitHub, Google, Stripe, Resend, WorkOS, …) to test integrations for real — full OpenAPI specs, working OAuth flows, mintable credentials, and a…
UsefulSoftwareCo/executor
Query Executor's production telemetry — Axiom traces (executor-cloud dataset), prod Postgres via PlanetScale, PostHog product analytics — through the Executor MCP.
Works with
Categories
Manage Git branches and PRs using Graphite CLI (gt) instead of raw git commands. Graphite is an agent skill from UsefulSoftwareCo/executor. Manage Git branches and PRs using Graphite CLI (gt) instead of raw git commands.
Graphite fits situations like: committing code changes; amending commits; creating branches; submitting pull requests.
Run `npx skills add UsefulSoftwareCo/executor --skill graphite -a claude-code`. Or copy the skill folder (.skills/graphite in UsefulSoftwareCo/executor) into .claude/skills/graphite in your project. Claude Code loads it when a task matches its description.
Run `npx skills add UsefulSoftwareCo/executor --skill graphite -a codex`. Or copy the skill folder (.skills/graphite in UsefulSoftwareCo/executor) into .agents/skills/graphite in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add UsefulSoftwareCo/executor --skill graphite -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/graphite, .gemini/skills/graphite, .github/skills/graphite and .opencode/skills/graphite in your project.
Going by SKILL.md and its folder, Graphite needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Graphite is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Graphite: Git Workflow and Versioning (addyosmani/agent-skills, 102k stars), React Router Pull Request Creator (remix-run/react-router, 57k stars), Emoji Commit Conventions (baptisteArno/typebot.io, 11k stars) and Draft Pull Request Creator (wordpress-mobile/WordPress-Android, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
UsefulSoftwareCo (a GitHub organization) maintains it in UsefulSoftwareCo/executor, which has 4,085 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 7, 2026.
Source: UsefulSoftwareCo/executor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.