| name | generate-pr-description |
| description | Generate structured PR descriptions for ProjectX by analyzing git diff, commit history, and related changes. Creates summary, change list, testing notes, and review checklist tailored to Swift 6 Apple platform development and Clean Architecture. |
Generate PR Description — ProjectX Apple Platforms
Workflow
- Run
git diff main --stat to get changed files
- Run
git log main..HEAD --oneline for commit history
- Categorize changes by layer (Domain / Data / Presentation / Shared)
- Generate PR description
Template
## Summary
_One-paragraph description of what this PR does and why._
## Changes
### Domain
- [ ] New entity: `EntityName`
- [ ] New use case: `EntityUseCase`
### Data
- [ ] New request: `EntityRequest` (CRUD endpoints)
- [ ] New service: `EntityService`
- [ ] New repository: `EntityRepository`
### Presentation
- [ ] New route: `.entityList`
- [ ] New view: `EntityListView` + `EntityListViewModel`
- [ ] DS components used: DSButton, DSText
### Shared
- [ ] New localization keys
- [ ] AppContainer wiring
## Testing
- [ ] Unit tests added for ViewModel (all state transitions)
- [ ] Unit tests added for UseCase
- [ ] Mapper tests added
- [ ] Build passes: `xcodebuild -scheme ProjectX ...`
- [ ] Full tests pass: `xcodebuild test -scheme ProjectX -destination 'platform=iOS Simulator,OS=26.2,name=iPhone 17' -parallel-testing-enabled NO`
## Review Checklist
- [ ] `@Observable` used (not `ObservableObject`)
- [ ] Swift Concurrency used for async feature flows instead of new Combine pipelines
- [ ] DS colors/fonts/spacing used (no hardcoded values)
- [ ] Route case added and wired
- [ ] Localized strings for user-facing text
- [ ] No Alamofire imports
- [ ] No force unwraps
- [ ] `[weak self]` in closures
## Screenshots
_If UI changes, attach before/after screenshots._