Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

gather-git-context

verified

Gather git context and branch data in one call.

View on GitHub

Marketplace

workaholic

qmu/workaholic

Plugin

core

development

Repository

qmu/workaholic

plugins/core/skills/gather-git-context/SKILL.md

Last Verified

February 4, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/qmu/workaholic/blob/main/plugins/core/skills/gather-git-context/SKILL.md -a claude-code --skill gather-git-context

Installation paths:

Claude
.claude/skills/gather-git-context/
Powered by add-skill CLI

Instructions

# Gather Git Context

Gathers all context needed for documentation subagents in a single shell script call.

## Usage

```bash
bash .claude/skills/gather-git-context/sh/gather.sh
```

## Output

JSON with all context values:

```json
{
  "branch": "feature-branch-name",
  "base_branch": "main",
  "repo_url": "git@github.com:owner/repo.git",
  "archived_tickets": [".workaholic/tickets/archive/branch/ticket1.md", "..."],
  "git_log": "abc1234 First commit\\ndef5678 Second commit"
}
```

## Fields

- **branch**: Current branch name
- **base_branch**: Default branch of the remote (usually `main`)
- **repo_url**: Remote origin URL
- **archived_tickets**: Array of archived ticket paths for current branch
- **git_log**: Git log from base branch to HEAD (oneline format)

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
754 chars