moai-workflow-loop

Orchestrate LSP diagnostics and AST-grep scans in an automated feedback loop.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/gkswls5006-web/last-todo --skill moai-workflow-loop-gkswls5006-web
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-workflow-loop
Source: https://github.com/gkswls5006-web/last-todo/tree/main/.claude/skills/moai-workflow-loop
Command: npx skills add https://github.com/gkswls5006-web/last-todo --skill moai-workflow-loop-gkswls5006-web

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ralph moai-workflow-loop provides an automated feedback loop that orchestrates LSP diagnostics, AST-grep scanning, and test validation to drive continuous code quality improvement.

Core Features & Use Cases

  • LSP Diagnostics: Capture real-time language server feedback after edits and writes to guide immediate fixes.
  • AST-grep Scanning: Perform security and quality scans on code structure, enabling rapid risk detection.
  • Iterative Feedback Loop: Automatically fix issues, re-evaluate diagnostics, and continue until completion criteria are met.
  • Hooks & Orchestration: Uses PostToolUse and Stop hooks to integrate seamlessly with Claude Code workflows.

Quick Start

Start the loop with /moai:loop and let Ralph drive automated diagnostics and fixes.

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 LSP diagnostics and AST-grep scanning for continuous code quality?

You can automate continuous code quality by running an iterative feedback loop that orchestrates LSP diagnostics and AST-grep scanning to automatically detect, fix, and re-evaluate code issues until completion criteria are met.

What is an automated feedback loop for code quality improvement?

An automated feedback loop for code quality is a process that captures language server diagnostics and structural code scans after edits, then automatically applies fixes and re-evaluates the code until all validation checks pass.

How do I integrate AST-grep security scans into an automated CI validation loop?

You can integrate AST-grep security scans into CI validation by orchestrating them within an automated loop that uses PostToolUse and Stop hooks to trigger structural code scans, capture diagnostics, and iteratively apply fixes.

Can I use LSP diagnostics to automatically fix code issues during feature development?

Yes, you can use LSP diagnostics to automatically fix code issues during feature development by running an iterative loop that captures real-time language server feedback after edits and drives immediate automated corrections.

How do I configure loop control parameters to stop automated code fixes?

You can configure loop control parameters and Stop hooks to determine when automated code fixes should stop, allowing you to set specific completion criteria for the iterative diagnostic and scanning validation process.

Does automated code quality looping work for bug fixes and feature development?

Yes, automated code quality looping works for bug fixes, feature development, and CI workflows by applying configurable loop parameters, post-tool diagnostics, and loop control hooks to iteratively validate and improve code.