Skip to content

Git Skills

ACT provides git skills that automate common git workflows with conventional commits and pull requests.

Create a conventional commit for staged changes only.

Terminal window
/act-git-commit

ACT analyzes your staged changes and generates a conventional commit message.

Create a conventional commit for all changes.

Terminal window
/act-git-commit-all

This stages everything first, then commits.

Push the current branch to GitHub and create a pull request.

Terminal window
/act-git-push-make-pr

This skill:

  1. Checks for uncommitted changes
  2. Pushes the branch
  3. Checks for an existing PR
  4. Looks for a matching plan in ai_specs/
  5. Generates a PR title and summary
  6. Creates the PR with gh pr create

Switch to the main branch and pull the latest changes.

Terminal window
/act-git-switch-main-pull

Use this to get back to a clean main branch after finishing a feature.

Manage git worktrees for isolated parallel feature development.

Terminal window
/act-git-worktree [action]

Typical actions include creating, listing, switching, copying .env, deleting, and cleaning up worktrees.

Terminal window
# 1. Work on your feature
/act-workflow-work ai_specs/feature-plan.md
# 2. If you ran work without --create-pr, do it manually
/act-git-push-make-pr
# 3. After PR is merged, get back to main
/act-git-switch-main-pull