Skip to content
Skills Library
Programming · Tool integration

gerrit

/gerrit

Interact with the Storj Gerrit code review service at review.dev.storj.tools. Use when the user wants to post a Gerrit review, configure the Gerrit remote, install the commit-msg hook, or work with a change on Gerrit.

Author
storj ↗
Repository
storj ↗
Licence
AGPL-3.0
Last repository change
27.10.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

What it does and when to use it

Interact with the Storj Gerrit code review service at review.dev.storj.tools. Use when the user wants to post a Gerrit review, configure the Gerrit remote, install the commit-msg hook, or work with a change on Gerrit.

Original author description

Interact with the Storj Gerrit code review service at review.dev.storj.tools. Use when the user wants to post a Gerrit review, configure the Gerrit remote, install the commit-msg hook, or work with a change on Gerrit.

How it works

  1. Access configuration
  2. Post a review to a change
Original SKILL.md headings · 98 lines, 406 words
SKILL.md preview
---
name: gerrit
description: Interact with the Storj Gerrit code review service at review.dev.storj.tools. Use when the user wants to post a Gerrit review, configure the Gerrit remote, install the commit-msg hook, or work with a change on Gerrit.
allowed-tools: bash, git, WebFetch
---

# Storj Gerrit

Storj has a Gerrit service hosted on review.dev.storj.tools sub-domain. This document refers to it
as Gerrit.

The service allows read-only public access to the open source repositories. Write access requires
users to have an account.

This skill focus on users with write access.

Repositories are under `storj/` path. This repository URL is review.dev.storj.tools/c/storj/storj

This document use curly-brackets as variable values substitutions for URL, command, etc., patterns.

## Access configuration

Verify that the user has a Gerrit remote configured with SSH and the "commit-msg" hook is present.
`commit-msg` hook is in `.git/hooks/commit-msg`, must have executable permissions and its content
must have "From Gerrit Code Review".

Access is configured if user has both.

### "commit-msg" hook

If user doesn't have the hook download it executing

```
mkdir -p `git rev-parse --git-dir`/hooks/ \
    && curl -Lo `git rev-parse --git-dir`/hooks/commit-msg https://review.dev.storj.tools/tools/hooks/commit-msg \
    && chmod +x `git rev-parse --git-dir`/hooks/commit-msg
```

If it has it, but it doesn't contain "From Gerrit Code Review", tell them about it and to download
it manually and decide how to merge their logic.

### Configure remote

The use doesn't have a Gerrit remote configured.

Tell them that you need a remote to interact with Gerrit and they need to have an account; ask them
if they have one.

If they don't have it, tell them to ask to some Storj employee how to get one and to ask you again
to configure the access when they get it.

When they have an account, check if they have already a remote called `origin` and `gerrit`.
Ask them what's their username and what name they want for the Gerrit remote, suggesting `origin` if
it doesn't exist, otherwise `gerrit`, and if they have both list them to the user and don't suggest
any.

Add the new remote with
`git remote add {remote-name} "ssh://{username}@review.dev.storj.tools:29418/storj/storj"`

And download the hook as mentioned in the above "commit-msg hook" section.

## Post a review to a change

You can post review comments if you POST a json file to '/changes/{change-id}/revisions/{revision-id}/review'

`review.json` example:

```json
  {
    "tag": "jenkins",
    "message": "Some nits need to be fixed.",
    "labels": {
      "Code-Review": -1
    },
    "comments": {
      "gerrit-server/src/main/java/com/google/gerrit/server/project/RefControl.java": [
        {
          "line": 23,
          "message": "[nit] trailing whitespace"
        },
        {
          "line": 49,
          "message": "[nit] s/conrtol/control"
        },
        {
          "range": {
            "start_line": 50,
            "start_character": 0,
            "end_line": 55,
            "end_character": 20
          },
          "message": "Incorrect indentation"
        }
      ]
    }
  }
```

You should use `./scripts/submit-review.sh` script to post reviews.

Example:

./scripts/submit-review.sh review.json $(git rev-parse HEAD)

Versions

RepositoryScoreLicence
This page · storj/storj95AGPL-3.0
odyssey4me/agent-skills100Apache-2.0

Database snapshot: 13.11.2026 · package version a7abc9d1e383 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100gerrit-workflow
    This skill should be used when the user asks to "submit a change to Gerrit", "push for review", "upload a patch", "update a change in Gerrit", "add a patch set", "work with Gerrit", "push to refs/for", "fix a missing Change-Id", "amend a Gerrit change", or any task involving git…
  • 100gerrit-task-query
    Use when asked to check, list, or act on tasks for a Gerrit change. Triggers on phrases like "what tasks are blocking", "which tasks are actionable", "check task status", "what do I need to do for this change", "what is blocking this change".
  • 100typo3-core-contributions
    Use when analyzing TYPO3 Forge issues, submitting patches to Gerrit, contributing core bug fixes, documentation contributions, cherry-pick workflows, or CI debugging on Gerrit. Core `main` branch is v15-in-progress (PHP 8.4/8.5); v14.3 LTS bugfixes land on branch `14.3` and are…
  • 98security-review
    This skill should be triggered when a security code review, or security variation review is requested. You will be asked to review changes the agent or operator has made, a diff, a bug-id, or a Gerrit CL number.
  • 86commit-msg
    Generate a conventional commit message for staged NG-ZORRO changes. Use when asked for a commit message, a git commit title, or a summary of staged changes.
  • 95qodo-pr-resolver
    Use when the user wants to review Qodo PR feedback or fix code review comments. Capabilities: view issues by severity, apply fixes interactively or in batch, reply to inline comments, post fix summaries (GitHub, GitLab, Bitbucket, Azure DevOps, Gerrit)

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.