moai-workflow-loop

Solid

Ralph Engine - Automated feedback loop with LSP diagnostics and AST-grep integration for continuous code quality improvement. Use when implementing error-driven development, automated fixing, or continuous quality validation workflows.

AI & Automation 1,050 stars 192 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Ralph Engine Automated feedback loop system integrating LSP diagnostics, AST-grep security scanning, and test validation for continuous code quality improvement. ## Quick Reference Core Capabilities: - LSP Integration: Real-time diagnostics from language servers - AST-grep Scanning: Structural code analysis and security checks - Feedback Loop: Iterative error correction until completion conditions met - Hook System: PostToolUse and Stop hooks for seamless Claude Code integration Key Components: - post_tool__lsp_diagnostic: LSP diagnostics after Write/Edit operations - stop__loop_controller: Loop iteration control - ralph.yaml: Configuration settings Commands: - /moai: One-click Plan-Run-Sync automation (default) - /moai loop: Start feedback loop - /moai fix: One-time auto-fix When to Use: - Implementing features with zero-error goal - Automated code quality improvement - Continuous integration workflows - Error-driven development patterns ## Implementation Guide ### Architecture Overview The Ralph Engine follows a layered architecture. User commands such as /moai:loop, /moai:fix, and /moai enter the Command Layer. The Command Layer invokes the Hook System, which contains the PostToolUse Hook for LSP diagnostics and the Stop Hook for loop control. The Hook System connects to Backend Services including the LSP Client (MoAILSPClient), AST-grep Scanner, and Test Runner. Backend Services feed into Completion Check which evaluates whether errors are zero, tests pass,...

Details

Author
modu-ai
Repository
modu-ai/moai-adk
Created
8 months ago
Last Updated
today
Language
Go
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

ralph-loop

Activate autonomous Ralph Wiggum loop mode for iterative task completion. Use when you have a well-defined task with clear completion criteria that benefits from persistent, autonomous execution.

47 Updated 1 weeks ago
belumume
AI & Automation Solid

ralph-loop

Codex-compatible Ralph loop runner with dual engines (compat local state loop + optional open-ralph-wiggum backend).

2,210 Updated 1 weeks ago
foryourhealth111-pixel
Testing & QA Listed

super-ralph-wiggum

Super Ralph Wiggum - autonomous iteration loops with templates, PRD support, progress tracking, and browser testing. This skill should be used when running Claude Code in autonomous loops for test coverage improvement, PRD-based feature development, documentation generation, dataset creation, lint fixing, code cleanup, or framework migrations. Combines the plugin's in-session loop mechanism with specialized templates and best practices from Geoffrey Huntley, Ryan Carson, and AI Hero.

33 Updated 2 days ago
tdimino
AI & Automation Listed

setup-ralph-loop

Infrastructure skill for setting up Ralph loop scripts for Claude-driven AFK execution. Use when a repo wants a HITL-to-AFK runner around /execute with bounded iterations, GitHub-native durable state, and explicit feedback loops. Not a normal feature-delivery stage; it prepares the repo for safer autonomous execution.

2 Updated 2 days ago
chrislacey89
AI & Automation Listed

ralph-wiggum

Support files for Ralph Wiggum loop commands and setup.

2 Updated 2 days ago
nota-america