docs: add ralph-runner Claude Skill
- SKILL.md: Complete documentation for Ralph automation - scripts/status.sh: Check project and Ralph status - scripts/start.sh: Start Ralph loop with options - scripts/commit.sh: Git commit helper - README.md: Skill usage guide Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
27
.claude/skills/ralph-runner/scripts/commit.sh
Executable file
27
.claude/skills/ralph-runner/scripts/commit.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
# Git Commit Helper
|
||||
# Usage: ./commit.sh "commit message"
|
||||
|
||||
PROJECT_DIR="/vol1/1000/docker_server/traefik/web/zly"
|
||||
cd "$PROJECT_DIR"
|
||||
|
||||
MESSAGE="${1:-"chore: update changes"}"
|
||||
|
||||
echo "📝 Committing changes..."
|
||||
echo "Message: $MESSAGE"
|
||||
echo ""
|
||||
|
||||
# Show staged files
|
||||
echo "📁 Files to commit:"
|
||||
git diff --cached --name-only
|
||||
echo ""
|
||||
|
||||
# Commit
|
||||
git commit -m "$MESSAGE
|
||||
|
||||
Co-Authored-By: Claude <noreply@anthropic.com>"
|
||||
|
||||
echo ""
|
||||
echo "✅ Commit successful"
|
||||
echo "📊 Recent commits:"
|
||||
git log --oneline -3
|
||||
Reference in New Issue
Block a user