here-be-git_skill

This skill initialises a git repository in the current directory, configures agent commit workflow and optional .gitignore to streamline version control.
  • Python

151

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill intellectronica/agent-skills --skill here-be-git

  • SKILL.md2.5 KB

Overview

This skill initializes a Git repository in the current directory and optionally sets up agent commit instructions and a .gitignore. It guides the user through confirming automatic commit guidance for agents, creating or updating AGENTS.md and CLAUDE.md as needed, and generating a tailored .gitignore. The goal is a clean, version-controlled workspace with clear agent workflow notes.

How this skill works

The skill runs git init unless a repository already exists, then asks whether to add agent commit instructions. If confirmed, it creates or appends a Git workflow section to AGENTS.md and ensures CLAUDE.md references AGENTS.md at the top. It then offers to generate a .gitignore based on common flavours or user-specified patterns and commits changes with clear, atomic messages.

When to use it

  • You want to initialize version control in a project folder
  • You want agents to follow a consistent commit workflow
  • You need a .gitignore tailored to language or OS patterns
  • You are starting a new project and want immediate Git setup
  • You want concise, atomic commits documenting initial configuration

Best practices

  • Notify the user if git is already initialized and skip redundant init
  • Keep agent commit guidance brief and clear to encourage consistent behaviour
  • Create or append AGENTS.md atomically with a single clear commit
  • Prepend @AGENTS.md at the top of CLAUDE.md only if not already present
  • When creating .gitignore, include both common defaults for the chosen flavour and any user-specified patterns

Example use cases

  • New project: run the skill to initialize git, add Python .gitignore, and add agent commit rules
  • Existing repo without agent rules: skip init, append commit guidance to AGENTS.md and update CLAUDE.md
  • Cross-platform repo: generate a combined .gitignore for macOS, IDE files, and Node.js artifacts
  • Minimal setup: initialize git and only create AGENTS.md so agents know to commit frequently

FAQ

The skill detects an existing repository, informs you, and skips git init. It still offers to add or update AGENTS.md, CLAUDE.md, and .gitignore as requested.

How are commits created and messaged?

Changes are committed atomically with clear messages describing the created or updated files, e.g., "init: add AGENTS.md and CLAUDE.md" or "config: add .gitignore (Python)".

Will existing AGENTS.md or CLAUDE.md be overwritten?

No. AGENTS.md is appended if present; CLAUDE.md is prepended with @AGENTS.md only if that marker is not already at the top. Existing content is preserved.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational