agentleFS
yuelenghanyuelenghan/orbit/skills/gitlab/SKILL.md

gitlab

Skill0 starsChanged 5 months agoMITView on GitHub

Use when the user needs GitLab repository, branch, merge request, comment, review, or commit operations through the packaged launcher and local CLI runtime.

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to operate GitLab repositories, branches, merge requests, reviews, and commits through the packaged launcher and local CLI …

    line 13
  2. Very specific:

    Always run the packaged launcher through ${GITLAB_SKILL_DIR} so it works from the user's current working directory:

    line 19
  3. Very specific:

    Do not call node app/dist/cli.js directly.

    line 26
  4. Distinctive:

    Do not call GitLab REST endpoints directly from skill content.

    line 32
  5. Very specific:

    Treat merge requests as the repo.pr.* capability surface.

    line 33
  6. Very specific:

    Run gitlab config get when configuration state is unknown or before the first provider-scoped task in a new session.

    line 71
  7. Very specific:

    Read references/commands.md for the packaged command surface.

    line 91
  8. Very specific:

    Read references/usage.md for execution expectations and shared framework positioning.

    line 92

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

GitLab Skill

Use this skill to operate GitLab repositories, branches, merge requests, reviews, and commits through the packaged launcher and local CLI runtime.

Within Orbit's shared provider framework, this skill is one implementation of the repo capability.

Runtime and execution

Always run the packaged launcher through ${GITLAB_SKILL_DIR} so it works from the user's current working directory:

  • macOS/Linux: ${GITLAB_SKILL_DIR}/bin/gitlab
  • Windows: ${GITLAB_SKILL_DIR}\bin\gitlab.cmd

${GITLAB_SKILL_DIR} is a documentation placeholder, not a guaranteed shell environment variable. Resolve BIN to a real launcher path once before the first CLI call. Do not call node app/dist/cli.js directly.

Scope and boundaries

  • GitLab API through the packaged CLI only.
  • CLI-mediated operations only.
  • Do not call GitLab REST endpoints directly from skill content.
  • Treat merge requests as the repo.pr.* capability surface.

Capability Domain

Domain:

  • repo

Provides:

  • repo.config.get
  • repo.config.set
  • repo.repo.list
  • repo.repo.search
  • repo.repo.get
  • repo.repo.content
  • repo.repo.default-branch.get
  • repo.branch.list
  • repo.branch.create
  • repo.pr.list
  • repo.pr.get
  • repo.pr.changes
  • repo.pr.diff
  • repo.pr.activities
  • repo.pr.create
  • repo.pr.update
  • repo.pr.comment
  • repo.pr.review-comment
  • repo.pr.approve
  • repo.commit.list
  • repo.commit.get
  • repo.commit.changes
  • repo.commit.pull-requests
  • provider-specific workflow helpers

Config check:

  • gitlab config get

Config check

Run gitlab config get when configuration state is unknown or before the first provider-scoped task in a new session.

Quick reference

TaskCommand
Version diagnosticsBIN version
Runtime diagnosticsBIN doctor
Store configBIN config set --base-url <URL> --token <TOKEN>
Read config metadataBIN config get
List namespace reposBIN repo list --namespace <group-or-user>
Get repositoryBIN repo get --namespace <group-or-user> --repo <name>
Read file contentBIN repo content --namespace <group-or-user> --repo <name> --path <path> [--at <ref>]
List merge requestsBIN pr list --namespace <group-or-user> --repo <name>
Get merge requestBIN pr get --namespace <group-or-user> --repo <name> --number <iid>

BIN means the resolved launcher path in the current session.

Supporting files

  • Read references/commands.md for the packaged command surface.
  • Read references/usage.md for execution expectations and shared framework positioning.

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.