pr-stacking
PR Stacking
Break large features into logical, dependent PRs for better code quality and easier reviews.
Prerequisites
# Install GitHub CLI (required for PR creation)
brew install gh # macOS
# or: sudo apt install gh # Ubuntu/Debian
# Authenticate
gh auth login
When to Stack
Stack PRs when:
- Feature spans multiple logical steps (frontend + backend, model + UI)
More from bumgeunsong/daily-writing-friends
firebase-functions
Use when creating or modifying Firebase Cloud Functions in /functions directory. Enforces function structure and error handling patterns.
45commit
Use when creating git commits in this project
28refactoring
Use when user explicitly asks to refactor code, or when test coverage is requested for untested code with side effects. Enforces Functional Core Imperative Shell pattern extraction before any changes.
28api-layer
Use when creating or modifying API functions in */api/ directories. Enforces Firestore patterns and data fetching conventions.
28code-style
Use when writing or modifying any code. Enforces naming conventions, function design, and code clarity principles.
28react-component
Use when creating or modifying React components (.tsx files). Enforces component structure, import order, and hooks patterns.
28