Skip to content

Compact plugin scripts and clean up project#9

Merged
rafet merged 1 commit into
mainfrom
compact-scripts
Feb 27, 2026
Merged

Compact plugin scripts and clean up project#9
rafet merged 1 commit into
mainfrom
compact-scripts

Conversation

@rafet

@rafet rafet commented Feb 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • sleepz_hook.sh: Remove debug_log infrastructure, inline variables, merge early exits into one-liners (119 → 70 lines, -41%)
  • sleepz.sh: Merge two separate awk calls into one, shorten output block (73 → 62 lines, -15%)
  • Cleanup: Remove stale __pycache__/ from .gitignore, add _bmad/, _bmad-output/, .claude/commands/; remove empty docs/ dir; drop /tmp/sleepz-log.txt reference from README

Test plan

  • bash tests/test_hook.sh — 20/20 passed
  • bash tests/test_wrapper.sh — 10/10 passed

🤖 Generated with Claude Code

- sleepz_hook.sh: remove debug_log, inline variables, merge early exits (119 → 70 lines)
- sleepz.sh: merge two awk calls into one, shorten output block (73 → 62 lines)
- README: remove stale /tmp/sleepz-log.txt reference
- .gitignore: drop __pycache__, add _bmad/, _bmad-output/, .claude/commands/
- Remove empty docs/ directory

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Feb 27, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@rafet has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 16 minutes and 22 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between b246fe4 and 518600a.

📒 Files selected for processing (4)
  • .gitignore
  • README.md
  • plugins/sleepz/hooks/sleepz_hook.sh
  • plugins/sleepz/scripts/sleepz.sh
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch compact-scripts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@rafet rafet merged commit bb73830 into main Feb 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant