moai-workflow-loop

Orchestrate LSP diagnostics, AST-grep scans, and test validations in a continuous code-quality loop.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/yarang/fastapi-error-code --skill moai-workflow-loop-yarang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-workflow-loop
Source: https://github.com/yarang/fastapi-error-code/tree/main/.claude/skills/moai-workflow-loop
Command: npx skills add https://github.com/yarang/fastapi-error-code --skill moai-workflow-loop-yarang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ralph Engine automates a continuous code-quality feedback loop, surfacing LSP diagnostics and AST-grep checks to drive automated improvements.

Core Features & Use Cases

  • LSP diagnostics after edits to surface real-time issues
  • AST-grep security and quality scans to catch vulnerabilities and design smells
  • Loop orchestration with PostToolUse and Stop hooks for iterative fixes
  • Claude Code integration for actionable feedback and automated improvements
  • Use Case: teams implementing features with zero-defect goals and continuous quality validation across multi-language codebases.

Quick Start

Start the Ralph workflow loop with the /moai:loop command, observe LSP/AST findings, and let Claude apply automatic fixes until completion criteria are met.

Frequently Asked Questions about moai-workflow-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate a continuous code-quality feedback loop with LSP diagnostics?

You can automate a continuous code-quality feedback loop by orchestrating LSP diagnostics, AST-grep scans, and test validations to surface real-time issues and drive automated fixes. This workflow requires Ralph engine configuration and Claude Code hooks to operate.

How do I run AST-grep security and quality scans to catch vulnerabilities automatically?

AST-grep security and quality scans run automatically within the loop orchestration using PostToolUse and Stop hooks. This integration catches vulnerabilities and design smells, allowing Claude to apply iterative fixes until completion criteria are met.

Can I enforce zero-defect quality gates across Python, TypeScript, and Go codebases?

Yes, you can enforce zero-defect quality gates across Python, TypeScript, Go, and other languages. The loop applies LSP diagnostics and AST-grep checks across multi-language codebases to validate continuous quality during feature implementation.

What's the best way to integrate LSP diagnostics with AST-grep for iterative automated fixes?

The best way to integrate LSP diagnostics with AST-grep for automated fixes is using Ralph engine loop orchestration. Start the workflow with a loop command, observe the findings, and let Claude apply corrections until the defined completion criteria are satisfied.

Do I need Ralph engine configuration and Claude Code hooks to run automated code quality loops?

Yes, Ralph engine configuration, AST-grep rules, and Claude Code hooks are required to operate the automated code quality loop. Optional loop settings and completion criteria can also be configured to control the iterative fix process.