david-li0406/meta-skill-evloving/jikime-workflow-loop
Claude Code and agent skill by david-li0406/meta-skill-evloving
- community
Checking that the SKILL.md file is still in the repository.
Ralph Loop workflow for iterative code improvement with LSP/AST-grep feedback
Install
npx vskill@latest install david-li0406/meta-skill-evloving/jikime-workflow-loopSKILL.md
Ralph Loop Workflow
Intelligent iterative code improvement with LSP/AST-grep feedback.
Quick Reference (30 seconds)
Ralph Loop enables autonomous code improvement through:
- Evidence-Based Iteration: Every loop collects LSP/AST-grep diagnostics
- Progressive Improvement: Track improvement rate across iterations
- Smart Termination: Auto-stop on stagnation, max iterations, or completion
Start a Loop
Completion Markers
Output one of these when done:
<jikime:done /><jikime:complete /><jikime>DONE</jikime>
Execution Protocol
Phase 1: Initial Analysis
When loop starts:
- Assess current state (error/warning counts)
- Identify scope (files, directories)
- Prioritize issues (errors before warnings)
Phase 2: Iterative Execution
Each iteration:
- Focus on highest severity issues first
- Make targeted fixes (one problem at a time)
- Verify changes don't introduce new issues
- Let LSP/AST-grep validate automatically
Phase 3: Completion
Loop completes when:
- All conditions satisfied (e.g., zero errors)
- Completion marker output (
<jikime:done />) - Max iterations reached
- Stagnation detected (no improvement in N iterations)
Feedback Integration
The loop collects diagnostics automatically via hooks:
- PostToolUse (LSP): Error/warning counts per file
- PostToolUse (AST-grep): Security issue detection
- Stop Hook: Evaluates completion, calculates progress
Example Feedback Output
Completion Criteria Options
| Criteria | Flag | Description | |
|---|---|---|---|
| Zero Errors | --zero-errors | Require 0 errors (default: true) | |
| Zero Warnings | --zero-warnings | Require 0 warnings | |
| Zero Security | --zero-security | Require 0 security issues | |
| Tests Pass | --tests-pass | Require all tests to pass | |
| Stagnation | --stagnation-limit N | Stop after N iterations without improvement |
Safety Guidelines
Avoid Infinite Loops
- Always set
--max-iterations(default: 10) - Don't ignore stagnation warnings
- Use completion markers when truly done
Best Practices
- Start with specific, measurable goals
- Fix one issue type at a time
- Verify each fix before proceeding
- Output
<jikime:done />when complete
Command Reference
Start Loop
Cancel Loop
Check Status
The Stop hook automatically reports status after each Claude response.
Integration with DDD
Ralph Loop integrates with Domain-Driven Development:
- ANALYZE: Loop collects diagnostic data
- PRESERVE: Each iteration validates existing behavior
- IMPROVE: Progressive fixes with measurable progress
Use manager-ddd for behavior-preserving iterations.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill-flow/data/skills-refined-autoskill-36k/skillsmp/jikime-workflow-loop/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/david-li0406/meta-skill-evloving/jikime-workflow-loop)