Gitdoctor — Security skill for Claude Code
One-command Git Flow for AI coding agents — start, finish, tag and audit releases from Claude Code or Cursor.
How to install Gitdoctor
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open cagatayuncu/gitdoctor and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Gitdoctor does
One-command Git Flow for AI coding agents — start, finish, tag and audit releases from Claude Code or Cursor.
Alternatives in Security
- Agent Memory Vault — Markdown-first shared memory vault for Claude Code and Codex with SQLite, Zvec, Git, closeout, and audit 314 ★
- Loongsuite Pilot — Local-first telemetry collector for AI coding agents — unified OpenTelemetry events for Claude Code, Codex, Cu 150 ★
- Git Crusade — Unleash parallel Git Purist agents to audit branches, commits, and worktrees across the codebase 51 ★
README
gitdoctor
One-command Git Flow for AI coding agents (Claude Code, Cursor, and anything that can follow a markdown playbook and run bash). Classic git-flow model: `main` + `develop`, `feature/*`, `release/x.y.z`, `hotfix/x.y.z`, SemVer tags on main.
**One command each:** start/finish feature, release and hotfix branches; scan the repo for anomalies (doctor); verify alignment (main↔develop, local↔origin, version file↔tag); SemVer tagging + CHANGELOG + GitHub Release; and branch-protection-aware PR/local merging.
What's inside
| Piece | Role |
|---|---|
SKILL.md |
Agent playbook: command routing, gates, dry-run contract, safety rails |
scripts/gitflow-doctor.sh |
The only executable: ~40 read-only checks + finish probes, JSON out |
references/*.md |
Choreographies (finish release/hotfix/feature, init/start), fix recipes, config schema |
adapters/cursor/ |
Cursor /gitdoctor command wrapper |
tests/ |
Fixture-based suite: every check has a scratch-repo test; probes and read-only guarantees included |
Design principles:
- Deterministic checks, agent-driven mutations. The doctor never writes
(one sanctioned
git fetch); the agent performs merges/tags/pushes gated on the doctor's JSON. - Idempotent finish. Every finish is a probe walk — rerun after any crash or CI wait and it continues from the first missing step. No state files as source of truth.
- Squash-aware. Content-equivalence via
git merge-treecatches squash-merged branches that ancestry checks miss; gh (when available) is the authoritative tier. - Protection-aware.
mergeMode: autoresolves PR vs local merge per target branch from GitHub branch protection.
Install
Requirements: git ≥ 2.38 recommended (≥ 2.30 works with degraded conflict prediction), bash (Git Bash on Windows), optional `gh` (authenticated) for PR mode + GitHub checks. No jq needed.
Claude Code (user-level skill)
./install.sh # or .\install.ps1 on Window
Related Skills
Forward Pass Nt
Fresh-eyes whole-app audit — walk the codebase start to finish hunting bugs, security issues, stray code, and
Guardskill
Read-only scanner for git settings that let a repository run code in coding agents (Claude Code, Codex, Cursor
Audit Flow
Claude Code skill for interactive system flow tracing across CODE, API, AUTH, DATA, NETWORK layers. SQLite per
Find Wasted Effort
Run the find-wasted-effort audit — the process-per-outcome (ceremony) sibling of /token-waste-audit. Parses Fl
Claude Code Marketing Skills
git clone https://github.com/cognyai/claude-code-marketing-skills ~/.claude/skills/claude-code-marketing-skill
Orca
A local harness for the coding agents you already run: let Claude Code or Codex spawn and depend on subagents
Related Agents
Git Release Tagger
Use this agent when you need to create a git tag for a version of the app. Supports both post-release tags (Ap
Release DevOps
Prepara y verifica releases a npm. Úsalo para bump de versión semver, actualización del CHANGELOG, tag de git
Sdlc DevOps
Generates missing infrastructure-as-code artifacts and cuts releases (changelog, semver bump, tag, publish) —