feat: add ralph-loop plugin and update author info - #2
Conversation
Update marketplace.json, example-plugin plugin.json, and README.md with jito's author information. Co-Authored-By: Claude <noreply@anthropic.com>
Add the ralph-loop plugin from the official claude-plugins repository. This plugin implements the Ralph Wiggum technique for iterative, self-referential AI development loops. Features: - /ralph-loop command to start iterative development loops - /cancel-ralph command to cancel active loops - Stop hook that blocks session exit and feeds prompts back - Support for completion promises and max iterations - Comprehensive documentation and examples Files: - 8 plugin files copied from anthropics/claude-plugins-official - Executable permissions set on shell scripts - marketplace.json updated with plugin entry Co-Authored-By: Claude <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThe PR adds the "ralph-loop" plugin, enabling iterative self-referential AI loops for interactive development, while updating owner/author metadata from placeholders to production values and enhancing test infrastructure with helper library support. Changes
Sequence Diagram(s)sequenceDiagram
participant User as User/Claude
participant Setup as setup-ralph-loop.sh
participant State as .claude/ralph-loop.local.md
participant Stop as stop-hook.sh
participant Transcript as JSONL Transcript
User->>Setup: Run /ralph-loop with prompt & options
Setup->>Setup: Parse & validate arguments
Setup->>State: Create state file (iteration=0)
Setup->>User: Report loop configuration
loop Iteration Loop
User->>User: Execute prompt
User->>Transcript: Save assistant response
User->>Stop: Attempt to exit/stop
Stop->>State: Read state file
Stop->>Transcript: Extract last assistant message
alt Completion Promise Set & Matched
Stop->>User: Clean exit
Note over User: Loop terminates
else Max Iterations Reached
Stop->>User: Exit loop
Note over User: Loop terminates
else Continue Loop
Stop->>State: Increment iteration counter
Stop->>State: Extract next prompt
Stop->>User: Block exit, reissue prompt
Note over User: Feed prompt back for next iteration
end
end
Estimated Code Review Effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (14)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
… BATS replacement (#3) * chore: update author info to jito (#1) * chore: initial placeholder * chore: remove temporary file * fix: enable submodules in CI for BATS helpers * fix: install BATS helpers in CI, remove submodules * chore: update author info to jito Update marketplace.json, example-plugin plugin.json, and README.md with jito's author information. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Jiho <jito.hello@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> * feat: add ralph-loop plugin and update author info (#2) * chore: initial placeholder * chore: remove temporary file * fix: enable submodules in CI for BATS helpers * fix: install BATS helpers in CI, remove submodules * chore: update author info to jito Update marketplace.json, example-plugin plugin.json, and README.md with jito's author information. Co-Authored-By: Claude <noreply@anthropic.com> * feat: add ralph-loop plugin Add the ralph-loop plugin from the official claude-plugins repository. This plugin implements the Ralph Wiggum technique for iterative, self-referential AI development loops. Features: - /ralph-loop command to start iterative development loops - /cancel-ralph command to cancel active loops - Stop hook that blocks session exit and feeds prompts back - Support for completion promises and max iterations - Comprehensive documentation and examples Files: - 8 plugin files copied from anthropics/claude-plugins-official - Executable permissions set on shell scripts - marketplace.json updated with plugin entry Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Jiho <jito.hello@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> * fix: resolve merge conflict in test workflow - include both BATS and dependencies * test: add comprehensive test suite and improve CI Add new test infrastructure and improve CI workflow: - Add tests/run-tests.sh: Comprehensive test suite with 8 test cases - Required directories existence - plugin.json validation (JSON, required fields, naming) - marketplace.json validation (JSON, required fields) - SKILL.md frontmatter validation - Command/Agent file frontmatter validation - Colored output and test summary - Add scripts/validate-structure.sh: Plugin structure validation - Validates all required directories exist - Validates required files exist and have valid JSON - Update CI workflow: - Remove BATS installation (using custom test runner instead) - Add new test step to run tests/run-tests.sh - Keep validation script step - Update documentation: - README.md: Add test instructions, update project structure - docs/TESTING.md: Add "Running Tests" section with example All tests pass with clear pass/fail reporting. Co-Authored-By: Claude <noreply@anthropic.com> * feat: add dotfiles-plugin with commands, skills, agents, and hooks Migrate all Claude Code configuration from dotfiles repository into a single plugin. This includes 12 commands, 7 skills, 1 agent, and 1 hook. Components: - Commands: clean-worktree, create-command, create-hook, create-skill, debug, fix-ci, git-exclude, handoff, make-local-issues, pickup, research, sdd - Skills: ci-troubleshooting, commit-push-pr, nix-direnv-setup, setup-precommit-and-ci, using-git-worktrees, web-browser, writing-claude-commands - Agents: code-reviewer - Hooks: git-command-validator (prevents --no-verify usage) Co-Authored-By: Claude <noreply@anthropic.com> * fix: remove BATS and replace with bash test suite BATS (Bash Automated Testing System) has been completely removed and replaced with a native bash test suite. All validation functionality is preserved. Changes: - Replace BATS tests with bash-based test suite in tests/run-tests.sh - Tests cover: directory structure, JSON validity, required fields, and frontmatter validation - All 8 tests passing successfully Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Jiho <jito.hello@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
Summary
Ralph Loop Plugin
The ralph-loop plugin implements the Ralph Wiggum technique for iterative, self-referential AI development:
/ralph-loopcommand to start iterative development loops with completion promises/cancel-ralphcommand to cancel active loopsTest plan
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
Summary by CodeRabbit
Release Notes
New Features
Documentation
Chores
✏️ Tip: You can customize this high-level summary in your review settings.