agentleFS
grandcamelgrandcamel/GitLab-Assistant-Skills/CLAUDE.md

GitLab-Assistant-Skills

CLAUDE.md4 starsChanged 10 months agoMITView on GitHub

Claude Code guidance for the GitLab-Assistant-Skills project. This project provides Claude Code skills for interacting with GitLab. This project wraps the glab CLI tool. Skills document glab commands rather than implementing custom scripts. See /gitlab-assistant-setup for installation instructions. Note: All plugin components (commands/, skills/) are at project root. Paths in .claude-plugin/plugin.json are relative to project root. Configuration priority: 1. Environment variables 2. CLI configuration 3. Project defaults Follow conventional commits: All operations are marked with risk levels:

The file

We split this CLAUDE.md into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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:

    All operations are marked with risk levels:

    line 118

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “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
CLAUDE.md

GitLab-Assistant-Skills

Claude Code guidance for the GitLab-Assistant-Skills project.

Overview

This project provides Claude Code skills for interacting with GitLab.

CLI Tool

This project wraps the glab CLI tool. Skills document glab commands rather than implementing custom scripts.

Installation

See /gitlab-assistant-setup for installation instructions.

Available Skills

SkillPurposeLocation
gitlab-assistantHub skill - routes to specialized skillsskills/gitlab-assistant/
gitlab-mrMerge request operationsskills/gitlab-mr/
gitlab-issueIssue operationsskills/gitlab-issue/
gitlab-ciCI/CD pipeline operationsskills/gitlab-ci/
gitlab-repoRepository operationsskills/gitlab-repo/
gitlab-releaseRelease operationsskills/gitlab-release/
gitlab-labelLabel operationsskills/gitlab-label/
gitlab-milestoneMilestone operationsskills/gitlab-milestone/
gitlab-variableCI/CD variable operationsskills/gitlab-variable/
gitlab-groupGroup/team management (API)skills/gitlab-group/
gitlab-searchGlobal/project/group search (API)skills/gitlab-search/
gitlab-protected-branchBranch protection rules (API)skills/gitlab-protected-branch/
gitlab-webhookWebhook management (API)skills/gitlab-webhook/
gitlab-fileRepository file operations (API)skills/gitlab-file/
gitlab-wikiWiki page management (API)skills/gitlab-wiki/
gitlab-discussionMR/Issue discussions (API)skills/gitlab-discussion/
gitlab-badgeProject badges (API)skills/gitlab-badge/
gitlab-containerContainer registry (API)skills/gitlab-container/
gitlab-vulnerabilitySecurity vulnerabilities (API)skills/gitlab-vulnerability/

Project Structure

GitLab-Assistant-Skills/
├── .claude-plugin/           # Plugin manifest only
│   ├── plugin.json          # Plugin definition
│   └── marketplace.json     # Marketplace registry
├── commands/                 # Slash commands (at project root)
├── skills/                   # Skill documentation (autodiscovered)
│   ├── gitlab-assistant/    # Hub/router skill
│   ├── gitlab-*/            # Feature skills
│   └── shared/              # Shared docs and config
├── conftest.py              # Root test fixtures
├── pytest.ini               # Test configuration
├── VERSION                  # Single version source
└── CLAUDE.md                # This file

Note: All plugin components (commands/, skills/) are at project root. Paths in .claude-plugin/plugin.json are relative to project root.

Configuration

Configuration priority:

  1. Environment variables
  2. CLI configuration
  3. Project defaults

Testing

Run Tests

# All tests
pytest skills/ -v

# Specific skill
pytest skills/gitlab-issue/tests/ -v

# Skip destructive tests
pytest skills/ -v -m "not destructive"

# Only smoke tests
pytest skills/ -v -m "smoke"

Test Markers

MarkerDescription
@pytest.mark.unitUnit tests (fast, no deps)
@pytest.mark.liveLive API tests
@pytest.mark.destructiveModifies state
@pytest.mark.readonlyRead-only operations

Git Commit Guidelines

Follow conventional commits:

feat(skill-name): add new capability
fix(skill-name): correct bug in X
test(skill-name): add tests for Y (N/N passing)
docs(skill-name): update documentation
refactor(skill-name): restructure without behavior change

TDD Two-Commit Pattern

  1. test(scope): add failing tests for feature - Tests fail
  2. feat(scope): implement feature (N/N tests passing) - Tests pass

Risk Levels

All operations are marked with risk levels:

RiskSymbolDescription
Safe-Read-only operations
Caution⚠️Single-item modifications
Warning⚠️⚠️Bulk/destructive operations
Danger⚠️⚠️⚠️Irreversible operations

Version Management

Single source of truth: VERSION file

To update version:

echo "2.0.0" > VERSION

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.