agentleFS
StormixStormix/transcripts-mcp/.agents/skills/git-conventions/SKILL.md

git-conventions

Skill8 starsChanged 2 months agoMITView on GitHub

Git Conventions: Guidelines for commit messages, branch naming, and version control practices

18 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use testing, handoff and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the imperative, present tense: "change" not "changed" nor "changes"

    line 73
  2. Distinctive:

    Don't capitalize the first letter

    line 74
  3. Distinctive:

    No period (.) at the end

    line 75
  4. Distinctive:

    Keep it under 72 characters

    line 76
  5. Distinctive:

    Use the imperative, present tense

    line 82
  6. Very specific:

    Breaking Changes: should start with BREAKING CHANGE: followed by a description.

    line 90
  7. Distinctive:

    Use kebab-case for descriptions

    line 174
  8. Distinctive:

    Keep names descriptive but concise

    line 176
  9. Distinctive:

    Run this single command to gather all necessary information:

    line 197
  10. Very specific:

    When running /commit or creating commits for the user, use the checked-out branch as-is.

    line 215

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Git Commit and Version Control Conventions

Commit Message Format

This project follows the Conventional Commits specification for commit messages. This format enables automatic changelog generation, version bumping, and better collaboration.

Structure

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

[optional body]

[optional footer(s)]

Type

The type must be one of the following:

  • feat - A new feature for the user
  • fix - A bug fix
  • docs - Documentation only changes
  • style - Changes that don't affect the meaning of code (white-space, formatting, etc.)
  • refactor - Code change that neither fixes a bug nor adds a feature
  • perf - Code change that improves performance
  • test - Adding missing tests or correcting existing tests
  • build - Changes that affect the build system or external dependencies
  • ci - Changes to CI configuration files and scripts
  • chore - Other changes that don't modify src or test files
  • revert - Reverts a previous commit

Scope

Infer scope from staged file paths. Use the workspace directory name, not the npm package name (packages/cli is cli, not transcripts-mcp). Scope is optional; omit it or use repo for repo-wide work. Multiple scopes are allowed when each is a valid workspace or meta scope (feat(mcp,search):).

Apps:

  • mcp - stdio MCP server
  • www - Marketing site

Packages:

  • core - Types, adapter contract, jsonl reader
  • adapters - Cursor, Claude Code, and Codex adapters
  • search - Grep, FTS5, semantic search
  • cli - Published CLI package

Tools:

  • oxlint-plugins - Custom oxlint rules
  • typescript-config - Shared TypeScript config

Distribution:

  • plugin - Cursor plugin manifest and skill

Other:

  • deps - Dependency updates
  • repo - Repository-wide changes
  • release - Release-related changes

Subject

The subject contains a succinct description of the change:

  • Use the imperative, present tense: "change" not "changed" nor "changes"
  • Don't capitalize the first letter
  • No period (.) at the end
  • Keep it under 72 characters

Body (Optional)

The body should include the motivation for the change and contrast this with previous behavior.

  • Use the imperative, present tense
  • Wrap at 72 characters
  • Separate from subject with a blank line

Footer (Optional)

The footer should contain information about Breaking Changes and reference issues that this commit closes.

Breaking Changes should start with BREAKING CHANGE: followed by a description.

Closes references should be on a separate line and use the format: Closes #123, #456

Examples

Feature Addition

feat(search): add hybrid fusion ranking

Blend FTS5 and semantic hits so keyword and meaning both
influence the result order.

Closes #142

Bug Fix

fix(mcp): restore session id on grep hits

Resolve the session id from the adapter path so grep results
can open the matching transcript.

Breaking Change

feat(adapters)!: drop deprecated parse helpers

BREAKING CHANGE: Adapter parse helpers were removed. New harness
adapters must use defineJsonlAdapter.

Dependency Update

chore(deps): update zod to v4.4.3

Documentation

docs(repo): add installation instructions for Linux

Repo-wide or no scope

ci: run commitlint on pull request commits

Multiple scopes

refactor(mcp,search): extract fusion ranking

Simple Fix

fix(www): correct button alignment on mobile

Branch Naming Conventions

Branch Format

<type>/<ticket-or-description>

Types

  • feature/ - New features
  • bugfix/ - Bug fixes
  • hotfix/ - Critical fixes that need immediate deployment
  • refactor/ - Code refactoring
  • chore/ - Maintenance tasks
  • docs/ - Documentation updates

Branch Naming Rules

  • Use kebab-case for descriptions
  • Include ticket/issue numbers when applicable
  • Keep names descriptive but concise
  • Use lowercase letters

Branch Examples

# With ticket number
feature/KR-123-add-mod-collections
bugfix/KR-456-fix-download-crash
hotfix/KR-789-security-patch

# Without ticket number
feature/dark-mode-toggle
bugfix/pagination-edge-case
refactor/extract-validation-logic
chore/update-dependencies
docs/add-api-examples

Gathering Git Context

Run this single command to gather all necessary information:

echo "=== BRANCH ===" && git rev-parse --abbrev-ref HEAD && echo "=== STAGED FILES ===" && git diff --staged --stat && echo "=== STAGED CHANGES ===" && git diff --staged

This provides:

  • Current branch name
  • Staged files summary → determine scope (which workspace/package)
  • Actual changes → determine commit type and write description

Changesets Integration

This project uses changesets for version management. See 090-changesets.mdc for details on when and how to create changesets alongside commits.

Current branch (agents)

When running /commit or creating commits for the user, use the checked-out branch as-is. Do not create, switch to, or require a feature branch only because the current branch is main or master, unless the user explicitly asks for a different branch.

References

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.