Skip to content
Back to skills

Speq Git Operations

ASecurity

The git and gh operations, safety rules, and PR-title and version-bump rules for /speq-plan-pr, /speq-implement-pr, and /speq-patch-pr.

  • 56 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 9, 2026
ai-agentsgitapi

Works with

  • api

Security analysis

A100/100

Scanned November 18, 2026

npx -y skills add marconae/speq-skill --skill speq-git-operations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Speq Git Operations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Speq Git Operations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/marconae-speq-git-operations/badge)](https://www.skillsdirectory.com/skills/marconae-speq-git-operations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: speq-git-operations
description: The git and gh operations, safety rules, and PR-title and version-bump rules for /speq-plan-pr, /speq-implement-pr, and /speq-patch-pr.
---

# Git Operations

## Rules

- Write commit messages as Conventional Commits. The type `spec` marks spec changes.
- Stage only the paths you name. Touch only the refs and PRs you name.
- A no-op (nothing to commit, PR already exists, already ready) is not an error. Report it and continue.
- Report a not-found or ambiguous target. Do not guess.
- Never merge a PR. Never force-push. Never rewrite history.

## PR Title and Version Bump

PR title from `<plan-name>`: `<type>(<scope>): <slug>`.
- **type**: `add`/`change` → `feat`, `remove` → `chore`, `refactor` → `refactor`, `fix` → `fix`, `chore` for an unparseable name.
- **scope**: the token after the verb. Without one, emit `<type>: <slug>`.
- **slug**: the plan name with hyphens turned into spaces.

Example: `add-plan-export` → `feat(plan): add plan export`.

Version bump: major for a breaking change (a `!` type or a `BREAKING CHANGE` in the plan's Impact), minor for `feat`, patch otherwise.

## Operations

| Operation | What it does |
|-----------|--------------|
| `create-branch` | Fetch, then create `branch` off `base` (default `origin/<default-branch>`) and check it out |
| `checkout` | A PR number or URL → `gh pr checkout`. A local or remote branch → check it out. Otherwise not-found. Creates nothing. Report the branch and its PR, if any |
| `commit` | Stage `paths`, commit with `message` |
| `push` | Push the current branch, with `-u origin <branch>` on first push |
| `create-pr` | `gh pr create` with `title`, `body`, and `--draft` when asked. If a PR exists for the branch, return it unchanged |
| `ready-pr` | `gh pr ready` when the PR is a draft |
| `comment-pr` | `gh pr comment` with `body` |
| `read-comments` | All three PR comment kinds posted at or after `since`: conversation comments and review summaries (`gh pr view --json comments,reviews`) and inline comments (`gh api repos/{owner}/{repo}/pulls/<n>/comments`, with path and line) |
| `ship-draft` | `commit` → `push` → `create-pr` (draft) |
| `ship-ready` | `commit` → `push` → `create-pr` (draft) → `ready-pr` |

A composite operation stops at the first failing step and reports which steps completed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.