LogoClawIndex
CasesSkillsAbout
LogoClawIndex

moai-workflow-loop - Ralph Engine Automated Code Quality Feedback Loop

Automated feedback loop system integrating LSP diagnostics, AST-grep scanning, and test validation for continuous code quality improvement.

Tags

Updated: 2026-09-20

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Provide real-time LSP diagnostics
  • Execute AST-grep structural security checks
  • Control iterative feedback loop execution
  • Integrate PostToolUse and Stop hooks
  • Execute single-shot code auto-fixing

Inputs

  • ralph.yaml configuration file
  • .moai_loop_state.json loop state file
  • Source file path and content
  • Project root directory path
  • .lsp.json configuration file

Outputs

  • PostToolUse hook diagnostic output
  • Stop hook loop status output
  • Updated .moai_loop_state.json state file

Requirements

  • Claude Code hook integration support
  • Language servers installed for target languages
  • Writable .moai/cache/ state directory
  • Python environment for hook execution

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
lsp
ast-grep
feedback-loop
code-quality
automation
diagnostics
ralph
Provide real-time LSP diagnostics
Execute AST-grep structural security checks
Control iterative feedback loop execution
Integrate PostToolUse and Stop hooks
ralph.yaml configuration file
.moai_loop_state.json loop state file
Source file path and content
PostToolUse hook diagnostic output
Stop hook loop status output
Updated .moai_loop_state.json state file