glab-cli
Skill0 starsChanged 11 days agoMITView on GitHub
Automatización de flujos de GitLab (MRs con Conventional Commits, emojis, Scoped Labels, diagnóstico de CI/CD y releases) usando glab CLI y scripts.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- chenwei791129/agent-skillstheir own version, first seen Oct 19, 2026
- danielsitek/skillstheir own version, first seen Oct 13, 2026
- nb-99/skillektiontheir own version, first seen Aug 19, 2026
- flc1125/skillstheir own version, first seen Aug 12, 2026
- DataKnifeAI/agent-skillstheir own version, first seen Apr 11, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- flc1125/skills★ 38same name
- nb-99/skillektion★ 1same name
- chenwei791129/agent-skills★ 0same name
- danielsitek/skills★ 0same name
- DataKnifeAI/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- git-cleanupSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- skill-creatorSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- flutter-architectureSkill
- monorepo-architectureSkill
- nestjs-architectureSkill
- nextjs-architectureSkill
- react-native-architectureSkill
- dart-import-organizerSkill
- ssh-connectSkill
- git-cleanupSkill
- gh-cliSkill
- ts-import-organizerSkill
The file
Files
🦊 GitLab CLI (glab) Workflow & Automation
🎯 Propósito
Guiar al asistente y desarrollador en la gestión y automatización de repositorios en GitLab utilizando glab CLI y scripts auxiliares. Estandariza la creación de Merge Requests (MRs) siguiendo las normas estrictas del equipo (Conventional Commits, mapeo de emojis, Scoped Labels y ausencia de scope cuando no hay issue), diagnóstico rápido de pipelines fallidos y gestión de releases.
⚡ Cuándo Activar esta Skill
- Al trabajar en proyectos alojados en GitLab (
gitlab.com, GitLab Self-Managed o Dedicated). - Al crear, revisar, aprobar o gestionar Merge Requests (
glab mroscripts/create_mr.sh). - Al diagnosticar jobs fallidos de CI/CD o ver logs de pipelines (
scripts/diagnose_pipeline.shoglab ci). - Al validar entorno de autenticación, variables o releases de GitLab.
📋 Flujo de Trabajo Paso a Paso
flowchart TD
A["Verificar Entorno\n(scripts/check_env.sh)"] --> B{"Tarea Requerida"}
B -->|"Crear Merge Request"| C["Ejecutar scripts/create_mr.sh\n(Validación de Emojis, Scope y Labels)"]
B -->|"Depurar CI/CD"| D["Ejecutar scripts/diagnose_pipeline.sh\n(glab ci trace <job>)"]
B -->|"Releases / Tags"| E["Ejecutar scripts/release_helper.sh\n(glab release list/create)"]- Paso 1: Verificación de Estado y Autenticación:
- Ejecutar el script de comprobación previa:
bash <skill-dir>/scripts/check_env.sh
- Ejecutar el script de comprobación previa:
- Paso 2: Creación Estandarizada de Merge Requests:
- Usar el script asistente para generar el MR con el título, emojis, labels y formato exacto:
# Con Issue ID detectado o explícito: bash <skill-dir>/scripts/create_mr.sh --issue 42 --domain auth # Sin Issue ID (genera título sin scope: <type>: <emoji> <desc>): bash <skill-dir>/scripts/create_mr.sh --domain operations - O manualmente con
glab mr create:glab mr create --fill --remove-source-branch --yes
- Usar el script asistente para generar el MR con el título, emojis, labels y formato exacto:
- Paso 3: Diagnóstico y Monitoreo de Pipelines de CI/CD:
- Inspeccionar el pipeline de la rama activa y jobs fallidos:
bash <skill-dir>/scripts/diagnose_pipeline.sh - Ver logs del job específico (ej.
lint,test:unit,build:app):bash <skill-dir>/scripts/diagnose_pipeline.sh --job lint --lines 50
- Inspeccionar el pipeline de la rama activa y jobs fallidos:
- Paso 4: Gestión de Releases y Notas de Versión:
- Listar o crear releases:
bash <skill-dir>/scripts/release_helper.sh list bash <skill-dir>/scripts/release_helper.sh draft-notes
- Listar o crear releases:
🛠️ Scripts y Herramientas Auxiliares
Rutas:
<skill-dir>es el directorio que contiene esteSKILL.md(p. ej..claude/skills/<name>/o.agents/skills/<name>/). Ejecuta los scripts desde la raíz del proyecto del usuario, no desde<skill-dir>.
scripts/check_env.sh: Validagit,glaby sesión activa.scripts/create_mr.sh: Creación automatizada de MR con validación de:- Formato con issue:
<type>(#<issue-id>): <emoji> <description> - Formato sin issue:
<type>: <emoji> <description>(sin scope) - Scoped Labels obligatorios (
type::*,layer::*,domain::*,priority::*). - Dominios permitidos: si existe
.glab-domainsen la raíz del repo (un dominio por línea),--domaindebe estar en esa lista; si no existe, se acepta cualquier nombre en kebab-case. Antes de crear el MR, lee ese archivo para elegir el dominio correcto. - Usa siempre
--dry-runprimero para mostrar el título y los labels al usuario.
- Formato con issue:
scripts/diagnose_pipeline.sh: Inspección de jobs y logs de CI.scripts/release_helper.sh: Consulta y generación de releases.
⚠️ Reglas Críticas
- Regla de Título y Scope de MR:
- Si hay Issue ID:
<type>(#<issue-id>): <emoji> <description>(ej.feat(#42): ✨ pet registration). - Si NO hay Issue ID:
<type>: <emoji> <description>(ej.chore: 🔧 upgrade dependencies). - NUNCA usar carpetas ni paths como scope (ej.
feat(web): ...está PROHIBIDO).
- Si hay Issue ID:
- Uso Exclusivo de Scoped Labels de Grupo:
- Solo usar labels de grupo (
type::feature,layer::frontend,domain::<dominio>, etc.). Nunca crear labels locales de repo. - Los dominios válidos son los del archivo
.glab-domainsdel proyecto; nunca inventes uno que no esté ahí.
- Solo usar labels de grupo (
- No interactividad en scripts: Usar siempre
--yeso flags no interactivas.
📚 Referencias Adicionales
- Estándares de GitLab, Emojis y Scoped Labels
- CheatSheet Completo de Comandos glab
- Guía de CI/CD y Resolución de Problemas
- Ejemplos de Flujos de Trabajo
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
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.

