gates — community multi-agent-ralph-loop, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Multi-Agent AI Orchestration Agents requiring comprehensive quality validation across various programming languages. Multi-Agent AI Orchestration with GLM-4.7 PRIMARY, Claude, Codex, Gemini. Quality gates, memory system, 67 hooks. MiniMax deprecated.

alfredolopez80 alfredolopez80
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The gates skill by alfredolopez80 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Multi-Agent AI Orchestration Agents requiring comprehensive quality validation across various programming languages.

Core Value

Empowers agents to perform TLDR-assisted analysis, leveraging model-agnostic quality gates that work seamlessly with GLM-5, Claude, or any configured model, utilizing settings-driven model selection via ANTHROPIC_DEFAULT_*_MODEL env vars.

Capabilities Granted for gates

Validating code quality across 9 programming languages
Configuring model-agnostic quality gates for AI workflows
Integrating TLDR-assisted analysis for enhanced code review

! Prerequisites & Limits

  • Requires configuration of default model in ~/.claude/settings.json or CLI/env vars
  • Deprecates MiniMax, requiring migration to supported models
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

gates

Install gates, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Gates - Quality Validation (v2.37)

Comprehensive quality validation across 9 programming languages with TLDR-assisted analysis.

v2.88 Key Changes (MODEL-AGNOSTIC)

  • Model-agnostic: Uses model configured in ~/.claude/settings.json or CLI/env vars
  • No flags required: Works with the configured default model
  • Flexible: Works with GLM-5, Claude, Minimax, or any configured model
  • Settings-driven: Model selection via ANTHROPIC_DEFAULT_*_MODEL env vars

Quick Start

bash
1/gates # Run all quality gates 2ralph gates # Via CLI 3ralph gates src/ # Specific directory

LSP Usage for Type Checking

IMPORTANT: Use LSP for efficient type checking instead of reading entire files.

When to Use LSP

  • Type checking TypeScript/JavaScript files
  • Finding type errors without running tsc --noEmit
  • Getting hover information for symbols
  • Finding references across the codebase

LSP Commands

yaml
1# Type check a specific file (TypeScript) 2LSP: 3 server: typescript-language-server 4 action: diagnostics 5 file: src/auth/login.ts 6 7# Get hover information for a symbol 8LSP: 9 server: typescript-language-server 10 action: hover 11 file: src/auth/login.ts 12 line: 42 13 character: 10 14 15# Find all references 16LSP: 17 server: typescript-language-server 18 action: references 19 file: src/auth/login.ts 20 line: 42 21 character: 10 22 23# Python type checking with pyright 24LSP: 25 server: pyright 26 action: diagnostics 27 file: src/auth/login.py

LSP vs Traditional Type Checking

MethodTokens UsedSpeedUse Case
tsc --noEmitHIGH (reads all files)SlowFull project check
LSP diagnosticsLOW (indexed access)FastSingle file check
LSP hoverMINIMALInstantQuick type lookup

Pre-Gates: TLDR Language Detection (v2.37)

AUTOMATIC - Detect project languages efficiently:

bash
1# Get codebase structure to detect languages (95% token savings) 2tldr structure . > /tmp/project-structure.md 3 4# From structure, identify: 5# - Primary language(s) 6# - Config files present 7# - Test frameworks used

Supported Languages

LanguageLinterFormatterTypes
TypeScriptESLintPrettiertsc
JavaScriptESLintPrettier-
PythonRuffBlackmypy
RustClippyrustfmtcargo check
Gogolintgofmtgo vet
JavaCheckstylegoogle-java-format-
RubyRuboCop-Sorbet
PHPPHP_CodeSnifferphp-cs-fixerPHPStan
SoliditySolhintprettier-solidity-

Workflow

1. Detect Languages

bash
1# Auto-detect based on file extensions and config files

2. Run Linters

bash
1# Per-language linting 2npx eslint src/ # TypeScript/JavaScript 3ruff check . # Python 4cargo clippy # Rust 5golangci-lint run # Go

3. Check Formatting

bash
1npx prettier --check . # JS/TS 2black --check . # Python 3rustfmt --check src/ # Rust 4gofmt -l . # Go

4. Type Checking

bash
1npx tsc --noEmit # TypeScript 2mypy . # Python 3cargo check # Rust 4go vet ./... # Go

5. Run Tests

bash
1npm test # Node projects 2pytest # Python 3cargo test # Rust 4go test ./... # Go

Exit Codes

CodeMeaning
0All gates passed
1Lint errors
2Format errors
3Type errors
4Test failures

Gate Configuration

Minimal (fast)

bash
1ralph gates --minimal # Lint only

Standard (default)

bash
1ralph gates # Lint + Format + Types

Full (CI)

bash
1ralph gates --full # Lint + Format + Types + Tests

Integration

  • Invoked by /orchestrator in Step 6
  • Pre-step: tldr structure for language detection (v2.37)
  • Must pass before VERIFIED_DONE
  • Hooks: quality-gates.sh (PostToolUse)

TLDR Integration (v2.37)

PhaseTLDR CommandPurpose
Language detectiontldr structure .Identify languages
Error contexttldr context $FILE .Understand failing code
Impact analysistldr deps $FILE .Find related tests

Agent Teams Integration (v2.88)

Optimal Scenario: Integrated (Agent Teams + Custom Subagents)

Quality gates use Agent Teams coordination with specialized ralph-tester agents for parallel quality validation.

Why Scenario C for Gates

  • Multiple quality checks require coordination (lint, format, type, test)
  • Quality gates are meta-validation (hooks validate the validators)
  • Language-specific specialization via ralph-tester
  • TeammateIdle/TaskCompleted hooks for quality enforcement

Subagent Roles

SubagentRole in Gates
ralph-testerExecute test suites in parallel
ralph-reviewerAnalyze code quality issues
ralph-coderApply auto-fixes for linting/formatting

Parallel Gates Execution

When Agent Teams is active, gates run in parallel across subagents:

  1. Team Lead creates task list with gate phases
  2. ralph-tester runs tests concurrently
  3. ralph-reviewer reviews linter output
  4. ralph-coder applies fixes

Quality Gate Hooks

  • TeammateIdle: Triggers before agent goes idle
  • TaskCompleted: Validates gate completion

Action Reporting (v2.93.0)

Los resultados de /gates generan reportes automáticos completos:

Reporte Automático

Cuando /gates completa, se genera automáticamente:

  1. En la conversación de Claude: Resultados visibles de todas las validaciones
  2. En el repositorio: docs/actions/gates/{timestamp}.md
  3. Metadatos JSON: .claude/metadata/actions/gates/{timestamp}.json

Contenido del Reporte

Cada reporte incluye:

  • Summary: Tipo de validación ejecutada
  • Results: Resultados de linters, formatters, type checkers, tests
  • Errors: Errores encontrados por categoría
  • Recommendations: Acciones correctivas sugeridas
  • Next Steps: Qué hacer según el resultado

Generación Manual (Opcional)

bash
1# Al inicio 2source .claude/lib/action-report-lib.sh 3start_action_report "gates" "Running quality gates on src/" 4 5# Ejecutar validaciones 6if ! npx tsc --noEmit; then 7 record_error "TypeScript errors found" 8fi 9 10if ! npx eslint .; then 11 record_error "ESLint violations found" 12fi 13 14if ! npm test; then 15 record_error "Test failures found" 16fi 17 18# Al completar 19if [[ ${#CURRENT_ACTION_ERRORS[@]} -eq 0 ]]; then 20 complete_action_report \ 21 "success" \ 22 "All quality gates passed" \ 23 "Safe to commit: git commit -m 'chore: pass quality gates'" 24else 25 complete_action_report \ 26 "failed" \ 27 "Quality gates failed" \ 28 "Fix errors and run /gates again" 29fi

Ver Reportes Anteriores

bash
1# Listar todos los reportes de gates 2ls -lt docs/actions/gates/ 3 4# Ver el reporte más reciente 5cat $(ls -t docs/actions/gates/*.md | head -1) 6 7# Buscar reportes fallidos 8grep -l "Status: FAILED" docs/actions/gates/*.md 9 10# Ver tendencia de calidad 11grep -c "Status: COMPLETED" docs/actions/gates/*.md 12grep -c "Status: FAILED" docs/actions/gates/*.md

Integración CI/CD

Los metadatos JSON permiten integración con pipelines:

bash
1# En tu CI pipeline 2source .claude/lib/action-report-generator.sh 3 4# Ejecutar gates 5/gates 6 7# Obtener resultado del último reporte 8latest_report=$(find_latest_report "gates") 9status=$(grep "Status:" "$latest_report" | awk '{print $2}') 10 11if [[ "$status" != "COMPLETED" ]]; then 12 echo "Quality gates failed - blocking commit" 13 exit 1 14fi

Referencias del Sistema de Reportes

Anti-Patterns

  • Never skip gates for "quick fixes"
  • Never ignore type errors
  • Never commit with lint warnings

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is gates?

Perfect for Multi-Agent AI Orchestration Agents requiring comprehensive quality validation across various programming languages. Multi-Agent AI Orchestration with GLM-4.7 PRIMARY, Claude, Codex, Gemini. Quality gates, memory system, 67 hooks. MiniMax deprecated.

How do I install gates?

Run the command: npx killer-skills add alfredolopez80/multi-agent-ralph-loop/gates. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for gates?

Key use cases include: Validating code quality across 9 programming languages, Configuring model-agnostic quality gates for AI workflows, Integrating TLDR-assisted analysis for enhanced code review.

Which IDEs are compatible with gates?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for gates?

Requires configuration of default model in ~/.claude/settings.json or CLI/env vars. Deprecates MiniMax, requiring migration to supported models.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add alfredolopez80/multi-agent-ralph-loop/gates. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use gates immediately in the current project.

Related Skills

Looking for an alternative to gates or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI