gitlab-coding-principles
Skill by gitlabhq
Directs an AI assistant to load GitLab's project coding principles before planning, implementing, refactoring or reviewing code changes. It is intended for contributors and reviewers working in the GitLab codebase.
Install gitlab-coding-principles
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gitlabhq/gitlabhq /tmp/gitlabhq && mkdir -p ~/.claude/skills && cp -r /tmp/gitlabhq/.claude/skills/gitlab-coding-principles ~/.claude/skills/gitlab-coding-principlesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install gitlab-coding-principles in Claude Code
git clone --depth 1 https://github.com/gitlabhq/gitlabhq /tmp/gitlabhq && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gitlabhq/.claude/skills/gitlab-coding-principles ~/.gemini/antigravity-cli/skills/gitlab-coding-principlesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gitlab-coding-principles in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
gitlab-coding-principles is a skill for the GitLab codebase. It tells an AI assistant to read the project's principle files before planning, implementing, refactoring or reviewing code changes. The source says the assistant should check every principle group and load each one that applies, since most tasks span several areas.
The groups cover database work, cells, organizations, security, permissions, code review, backend, API, workers, CI/CD, secrets manager, frontend, internationalization, testing, performance, documentation, feature flags, analytics, import, webhooks and MCP servers. Some files are loaded alongside others, for example database migrations also load database fundamentals. The skill is aimed at contributors and reviewers working in the GitLab repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Principle group routingMaps each type of task to the principle files the assistant should read.
- Database principlesLoads rules for model queries, migrations, schema, SQL and ClickHouse work.
- Security and permissionsLoads secure coding, authentication and granular PAT compliance rules.
- Code review guidanceLoads general review practices and rules for reviewing AI instruction files.
- Backend and API principlesLoads Ruby, service architecture, REST and GraphQL design guidance.
- Testing principlesLoads guidance for RSpec, Jest, migration, frontend and end-to-end tests.
- Frontend principlesLoads Vue, CSS, HAML, accessibility and internationalization guidance.
- Git and CI/CD guidancePoints to separate files for git, commits, branches and CI/CD pipelines.
What you need
- A GitLab repository containing the .ai/principles files
Try asking
- Review this GitLab merge request using the project's principles
- Plan a database migration for a new column, following project rules
- Check my GraphQL change against the GitLab API principles
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/gitlab-coding-principles/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to gitlab-coding-principles
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
gitlab-coding-principles: common questions
Which files does it load?
It points to files under .ai/principles/distilled/ and to .ai/git.md, .ai/ci-cd.md and .ai/security-fixes.md.
When should the assistant use it?
The source says to use it before planning, implementing, refactoring or reviewing GitLab code changes, including merge request reviews.
Do database rules apply to every task?
The source says database principles should be loaded for any database query, scope or data access work, whatever file is being edited.
How do I install gitlab-coding-principles?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gitlab-coding-principles free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is gitlab-coding-principles safe to use?
It scores 75 of 100. Grades: maintenance B, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gitlab-coding-principles?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
