agentleFS
matteingmatteing/opal/.claude/skills/git/SKILL.md

git

Skill59 starsChanged 9 months agoMITView on GitHub

Enforces conventional commit messages and good git hygiene. Use this skill automatically whenever creating commits, preparing PRs, or performing any git operations in this repository.

57 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use sql, databases and 10 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.
  • thechandanbhagatSkill

    sql

    Write SQL queries, optimize database performance, design schemas, and debug SQL issues. Use for database operations, query optimization, and schema design.

    Also in 4 projects that use this

  • mrgoonieSkill

    databases

    Work with MongoDB (document database, BSON documents, aggregation pipelines, Atlas cloud) and PostgreSQL (relational database, SQL queries, psql CLI, pgAdmin). Use when designing database schemas, writing queries and aggregations, optimizing indexes for performance, performing database migrations, configuring replication and sharding, implementing backup and restore strategies, managing database users and permissions, analyzing query performance, or administering production databases.

    Also in 3 projects that use this

  • mrgoonieSkill

    devops

    Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.

    Also in 4 projects that use this

  • MicrosoftSkill

    typescript

    TypeScript best practices for this monorepo. Use this skill when: (1) writing new TypeScript code, (2) reviewing TypeScript code, (3) working with API responses, fetch calls, or JSON parsing, (4) adding or modifying types and interfaces.

    Also in 4 projects that use this

  • VercelSkill

    react

    React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    test

    Also in 8 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 51 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every commit message MUST follow this format:

    line 13
  2. Distinctive:

    Use a scope to identify the affected area:

    line 40
  3. Distinctive:

    Always: use conventional commit format.

    line 68
  4. Distinctive:

    Description: must be lowercase, imperative mood, no period at the end.

    line 69
  5. Distinctive:

    Scope: should match the table above when the change is localized.

    line 70
  6. Distinctive:

    One logical change per commit: Don't bundle unrelated changes.

    line 72
  7. Distinctive:

    Before committing, verify the message parses as a valid conventional commit.

    line 73

“Common” is measured: kept by at least 6 in 10 of the 51 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 Conventional Commit Skill

You enforce Conventional Commits on every commit in this repository. This is critical for consistent changelogs and semantic version bumps.

Commit message format

Every commit message MUST follow this format:

<type>(<scope>): <description>

[optional body]

[optional footer(s)]

Types (required)

TypeWhen to useVersion bump
featA new feature or capabilityminor
fixA bug fixpatch
docsDocumentation onlynone
styleFormatting, semicolons, whitespace — no logicnone
refactorCode change that neither fixes a bug nor adds a featurenone
perfPerformance improvementpatch
testAdding or correcting testsnone
buildBuild system or external dependency changesnone
ciCI configuration changesnone
choreMaintenance tasks (deps, tooling, releases)none

Scopes (recommended)

Use a scope to identify the affected area:

ScopeMeaning
coreElixir core (lib/opal/ directory)
cliTypeScript CLI (cli/ directory)
rpcJSON-RPC protocol layer
agentAgent loop / GenServer
toolsBuilt-in tool implementations
ciGitHub Actions workflows
releaseRelease and versioning infrastructure
docsDocumentation
sdkTypeScript SDK client

Omit the scope only when the change truly spans the entire project.

Breaking changes

Append ! after the type/scope for breaking changes:

feat(rpc)!: change message envelope format

Or add a BREAKING CHANGE: footer in the body.

Rules

  1. Always use conventional commit format. Never commit with a bare message like "fix stuff" or "updates".
  2. Description must be lowercase, imperative mood, no period at the end.
  3. Scope should match the table above when the change is localized.
  4. Body is optional but encouraged for non-trivial changes — explain why, not what.
  5. One logical change per commit. Don't bundle unrelated changes.
  6. Before committing, verify the message parses as a valid conventional commit.

Examples

feat(cli): add --json flag for machine-readable output
fix(core): prevent crash when tool returns empty response
docs(tools): document edit tool hashline format
refactor(agent): extract token counting into dedicated module
ci: add Elixir dialyzer step to CI pipeline
chore(release): 0.1.10
feat(rpc)!: switch from JSON-RPC 2.0 to msgpack framing

BREAKING CHANGE: RPC wire format changed from JSON to msgpack.
Clients must update to sdk >= 0.2.0.

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.