# Pull Request: [Title] ## ๐Ÿ“‹ Summary ## ๐ŸŽฏ Related Issues Closes # ## ๐Ÿš€ What's New ### Core Changes #### 1. [Feature/Component Name] **Purpose**: [Why this change was made] **Implementation**: - Change 1 - Change 2 - Change 3 **Key Code** (if applicable): ```javascript // Show important code snippets with file paths // /path/to/file.js:123-145 ``` ## ๐Ÿ“Š Type of Change - [ ] ๐Ÿ› Bug fix (non-breaking change that fixes an issue) - [ ] โœจ New feature (non-breaking change that adds functionality) - [ ] ๐Ÿ’ฅ Breaking change (fix or feature that would cause existing functionality to change) - [ ] ๐Ÿ“ Documentation update - [ ] ๐Ÿ”ง Configuration change - [ ] โ™ป๏ธ Code refactoring (no functional changes) - [ ] โšก Performance improvement - [ ] ๐ŸŽจ UI/UX change - [ ] ๐Ÿงช Test coverage improvement - [ ] ๐Ÿ”’ Security fix ## ๐Ÿงช Testing ### Automated Tests - [ ] Unit tests added/updated - [ ] Integration tests added/updated - [ ] All existing tests pass **Test Coverage**: - [ ] New code has test coverage - [ ] Edge cases covered - [ ] Error handling tested **Test Results**: ```bash # Include test output or summary โœ“ 42 tests passing โœ“ 0 tests failing ``` ### Manual Testing **Testing Checklist**: - [ ] Tested in development environment - [ ] Tested in staging environment (if applicable) - [ ] Tested with real data/production-like scenarios - [ ] Tested error scenarios - [ ] Verified no console errors/warnings - [ ] Checked browser console for issues (frontend changes) **Environments Tested**: - [ ] Development - [ ] Staging - [ ] Production (if safe to test) ## ๐Ÿ“ธ Screenshots/Videos ### Before ### After ## ๐Ÿš€ Deployment Strategy ### Deployment Steps 1. Step 1 2. Step 2 3. Step 3 ### Configuration Changes - [ ] Environment variables added/updated: `VARIABLE_NAME=value` - [ ] Feature flags required: `FEATURE_FLAG=true` - [ ] Database migrations needed - [ ] External service configuration required ### Phased Rollout (if applicable) - [ ] **Phase 1**: Deploy to staging for validation (recommended duration: X days) - [ ] **Phase 2**: Deploy to production with feature flag disabled - [ ] **Phase 3**: Enable feature flag for production traffic - [ ] **Phase 4**: Monitor metrics and remove feature flag ## ๐Ÿ”™ Rollback Plan **Quick Rollback**: - Disable feature flag: `FEATURE_FLAG=false` and restart service (< 1 minute) - OR: Revert to previous deployment revision - OR: Git revert commit hash **Cleanup Required** (if rollback is performed): - [ ] Database changes to revert - [ ] Cache to clear - [ ] External services to notify ## ๐Ÿ’ฐ Cost Impact **Expected Cost Changes**: - Cloud Run: +/- $X/month - Storage: +/- $X/month - API calls: +/- $X/month - **Total Estimated Impact**: +/- $X/month **Cost Optimization Notes**: - [Explain any cost optimizations included] ## โšก Performance Impact **Expected Performance Changes**: - Response time: +/- Xms - Memory usage: +/- XMB - Database queries: +/- X queries - API calls: +/- X calls **Benchmarks** (if applicable): ```text Before: Xms average response time After: Xms average response time ``` ## ๐Ÿ” Code Quality - [x] ESLint passed (auto-checked by pre-commit hooks) - [x] Prettier formatting applied (auto-checked by pre-commit hooks) - [x] Markdownlint passed for docs (auto-checked by pre-commit hooks) - [x] Commit messages follow conventional commits - [ ] Code reviewed by AI agent or peer - [ ] No console.log statements in production code - [ ] No commented-out code left behind - [ ] Error handling implemented for edge cases - [ ] Security considerations reviewed (XSS, SQL injection, auth, etc.) ## ๐Ÿ“š Documentation - [ ] README.md updated (if user-facing changes) - [ ] CONTRIBUTING.md updated (if dev workflow changes) - [ ] API documentation updated (if API changes) - [ ] Inline code comments added for complex logic - [ ] Architecture documentation updated (if structural changes) - [ ] CLAUDE.md updated (for AI context in future sessions) ## ๐Ÿ” Security Considerations - [ ] No sensitive data logged or exposed - [ ] Authentication/authorization implemented correctly - [ ] Input validation added for user input - [ ] SQL injection prevention (parameterized queries) - [ ] XSS prevention (sanitized output) - [ ] CSRF protection (if applicable) - [ ] Secrets stored securely (not in code/logs) - [ ] Rate limiting considered (if applicable) ## ๐Ÿ“‹ Pre-Merge Checklist - [ ] All tests pass locally - [ ] All pre-commit hooks pass - [ ] Code has been self-reviewed - [ ] Changes generate no new warnings - [ ] Dependent changes have been merged - [ ] Documentation has been updated - [ ] Reviewer(s) have approved the PR - [ ] Branch is up to date with base branch - [ ] Commit messages are clean and descriptive - [ ] Ready for production deployment ## ๐Ÿ”— Additional Context ## ๐Ÿšฆ Status - [ ] ๐Ÿ”ด Draft - Work in progress - [ ] ๐ŸŸก Ready for Review - Code complete, needs review - [ ] ๐ŸŸข Approved - Ready to merge - [ ] ๐Ÿ”ต Merged - Deployed to staging - [ ] โœ… Complete - Deployed to production ---