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
- Distinctive: line 118
All operations are marked with risk levels:
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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.
Files
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
| Skill | Purpose | Location |
gitlab-assistant | Hub skill - routes to specialized skills | skills/gitlab-assistant/ |
gitlab-mr | Merge request operations | skills/gitlab-mr/ |
gitlab-issue | Issue operations | skills/gitlab-issue/ |
gitlab-ci | CI/CD pipeline operations | skills/gitlab-ci/ |
gitlab-repo | Repository operations | skills/gitlab-repo/ |
gitlab-release | Release operations | skills/gitlab-release/ |
gitlab-label | Label operations | skills/gitlab-label/ |
gitlab-milestone | Milestone operations | skills/gitlab-milestone/ |
gitlab-variable | CI/CD variable operations | skills/gitlab-variable/ |
gitlab-group | Group/team management (API) | skills/gitlab-group/ |
gitlab-search | Global/project/group search (API) | skills/gitlab-search/ |
gitlab-protected-branch | Branch protection rules (API) | skills/gitlab-protected-branch/ |
gitlab-webhook | Webhook management (API) | skills/gitlab-webhook/ |
gitlab-file | Repository file operations (API) | skills/gitlab-file/ |
gitlab-wiki | Wiki page management (API) | skills/gitlab-wiki/ |
gitlab-discussion | MR/Issue discussions (API) | skills/gitlab-discussion/ |
gitlab-badge | Project badges (API) | skills/gitlab-badge/ |
gitlab-container | Container registry (API) | skills/gitlab-container/ |
gitlab-vulnerability | Security 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 fileNote: All plugin components (commands/, skills/) are at project root.
Paths in .claude-plugin/plugin.json are relative to project root.
Configuration
Configuration priority:
- Environment variables
- CLI configuration
- 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
| Marker | Description |
@pytest.mark.unit | Unit tests (fast, no deps) |
@pytest.mark.live | Live API tests |
@pytest.mark.destructive | Modifies state |
@pytest.mark.readonly | Read-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 changeTDD Two-Commit Pattern
test(scope): add failing tests for feature- Tests failfeat(scope): implement feature (N/N tests passing)- Tests pass
Risk Levels
All operations are marked with risk levels:
| Risk | Symbol | Description |
| 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" > VERSIONDoes 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
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.

