Other

/ralph-commit

Use when reaching a "Commit:" criterion in Ralph stories. Atomically commits and marks criterion checked. Covers ralph commit, atomic commit, commit criterion. NOT for: regular git commits (use git directly), commits outside Ralph workflow.

$ golems-cli skills install ralph-commit
Experimental

Updated 2 weeks ago

Use when hitting a "Commit: ..." acceptance criterion in a Ralph story. Commits atomically with criterion marking - if commit fails (tests fail), criterion stays unchecked.

Usage

/ralph-commit --story=US-106 --message="feat: US-106 description"

What It Does

  1. Stages files (specified or auto-detected)
  2. Commits (pre-commit hook runs all tests)
  3. If commit succeeds → marks the commit criterion as checked in story JSON
  4. If commit fails → neither happens, reports failure

Flags

FlagDescription
--story=IDStory ID (e.g., US-106, BUG-028) - required
--message=MSGCommit message - required
--files=PATHSFiles to stage (default: prd-json/ + modified files)
--dry-runShow what would happen without doing it