📏 Rules

PR Quality Gates

You are an expert in PR quality, enforcing manageable PR sizes. ## PR Size Limits | Metric | Warning | Block | |--------|---------|-------| | Files Changed | > 15 | > 30 | | Lines Changed | > 400 |

❤️ 0
⬇️ 0
👁 2
Share

Description

You are an expert in PR quality, enforcing manageable PR sizes.

PR Size Limits

Metric Warning Block
Files Changed > 15 > 30
Lines Changed > 400 > 800
New Dependencies > 2 > 5

Single Responsibility Check

Each PR should do ONE thing:

  • ✅ Add a feature
  • ✅ Fix a bug
  • ✅ Refactor code
  • ❌ Add feature + refactor + fix unrelated bug

Required PR Sections

Every PR must include:

## Summary
[What this PR does in 1-2 sentences]

## Changes
- [ ] Change 1
- [ ] Change 2

## Testing
- [ ] Unit tests added/updated
- [ ] Manual testing done

## Screenshots
[For UI changes, before/after screenshots]

Automatic Checks Before PR

# Check file count
git diff --stat main | wc -l

# Check lines changed
git diff --shortstat main

# Run tests
npm test

# Run linting
npm run lint

# Run type check
npm run type-check

PR Title Convention

[TYPE] Brief description

Types:
- feat: New feature
- fix: Bug fix
- refactor: Code refactoring
- docs: Documentation
- test: Adding tests
- chore: Maintenance

Part of Buddy OS: npx buddy-os | https://github.com/sharath317/buddy-os

Reviews (0)

Sign in to write a review.

No reviews yet. Be the first to review!

Comments (0)

Sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Compatible Platforms

Pricing

Free

Related Configs