devstack: Skill for OpenCode

.opencode/skills/git-operations/SKILL.md

git-operations is a skill for OpenCode from MartinKuhne/devstack. It costs 18 tokens per session (473 once invoked), scanned A, original, MIT.

Guidance for using Git, the version-control system used to track code changes. It covers feature branches, commits, rebasing, pushing, and resolving merge conflicts.

In plain words
What is it for?
Creating feature, bug-fix, and hotfix branches; writing conventional commits; updating branches from main; pushing work; and handling conflicts.
Why use it?
It helps keep changes organized and makes collaboration safer by using consistent branch names, commit messages, and update practices.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

This is MartinKuhne/devstack's own configuration. It tells OpenCode how to work on devstack itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything devstack configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MartinKuhne/devstack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MartinKuhne/devstack/main/.opencode/skills/git-operations/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/MartinKuhne/devstack

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-operations

README.md
[![agentmods](https://agentmods.dev/badge/skills/martinkuhne/devstack/git-operations/github.svg)](https://agentmods.dev/skills/martinkuhne/devstack/git-operations)
Your own site
<a href="https://agentmods.dev/skills/martinkuhne/devstack/git-operations"><img src="https://agentmods.dev/badge/skills/martinkuhne/devstack/git-operations/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-operations

Your own site · 80×15
<a href="https://agentmods.dev/skills/martinkuhne/devstack/git-operations"><img src="https://agentmods.dev/badge/skills/martinkuhne/devstack/git-operations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 473 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00473
Opus 5.5 $0.00007 $0.00189
Sonnet 5.5 $0.00004 $0.00095
Haiku 4.5 $0.00002 $0.00047

Measured 2mo ago against content hash 00b01808e3d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-operations scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skills/git-operations/SKILL.md · 107 lines

What it actually says

What I do

I provide guidance and best practices for Git operations, focusing on:

  • Creating and managing feature branches
  • Making commits with meaningful messages
  • Branch naming conventions
  • Handling merge conflicts
  • Keeping branches up-to-date with main

Branch Naming Convention

Use this format for feature branches:

feature/<ticket-id>-<short-description>
feature/ai-123-add-user-auth
bugfix/456-fix-login-error
hotfix/789-security-patch

Commit Message Format

Follow conventional commits:

<type>(<scope>): <subject>

<body>

<footer>

Types: feat, fix, docs, style, refactor, test, chore

Example:

feat(auth): add OAuth2 authentication support

- Implement Google OAuth2 flow
- Add token refresh logic
- Update user model with provider field

Closes #123

Working with Feature Branches

Create and Switch

git checkout -b feature/123-add-auth

Update from Main

git fetch origin
git rebase origin/main

Commit Changes

git add <files>
git commit -m "feat(scope): description"

Push Branch

git push -u origin feature/123-add-auth

Merge Conflict Resolution

  1. Identify conflicting files:
git status
  1. Open conflicting files and resolve marked sections:
your changes
=======
incoming changes
>>>>>>> branch-name
  1. After resolving, stage and commit:
git add <resolved-files>
git commit

Best Practices

  • Commit early and often with clear messages
  • Keep commits atomic (one logical change per commit)
  • Rebase over merge when updating from main
  • Use --force-with-lease when force pushing (never --force)
  • Delete merged branches after PR approval
  • Always pull latest main before creating new feature branches
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 107 lines · 18 tokens per session scan A 00b01808e3d8

Subscribe to this mod's changes

git-operations is a skill published in the GitHub repository MartinKuhne/devstack (2 stars, last pushed 5d ago), licensed MIT. It adds 18 tokens to every session and 473 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

git-operations compared with skills from other repositories

git-operations next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-operationsMartinKuhne/devstackSkill25d agoMITA18OpenCode
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex
repo-syncdavidondrej/skillsSkill4.3k3d agoMITA25Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill9.3kyesterdayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill3.9kyesterdayApache-2.0A25Claude Code
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k2d agoMITA53Claude Code, Codex