Add code formatting to file paths and code references

This commit updates the `reviewing-changes/SKILL.md` document to improve readability. Code formatting (using backticks) has been applied to file paths, file extensions, and code-specific terms such as `StateFlow`, `@HiltViewModel`, and `biometricPrompt`.
This commit is contained in:
Patrick Honkonen 2025-10-23 18:16:58 -04:00
parent 9a0bd0b371
commit 60d00cf4ea
No known key found for this signature in database
GPG Key ID: 27C65CF8B03CC9FB

View File

@ -15,14 +15,14 @@ Start with high-level assessment of the change's purpose and approach. Read PR/c
### Step 2: Verify Compliance ### Step 2: Verify Compliance
Systematically check each area against Bitwarden standards documented in CLAUDE.md: Systematically check each area against Bitwarden standards documented in `CLAUDE.md`:
1. **Architecture**: Follow patterns in docs/ARCHITECTURE.md 1. **Architecture**: Follow patterns in `docs/ARCHITECTURE.md`
- MVVM + UDF (ViewModels with StateFlow, Compose UI) - MVVM + UDF (ViewModels with `StateFlow`, Compose UI)
- Hilt DI (interface injection, @HiltViewModel) - Hilt DI (interface injection, `@HiltViewModel`)
- Repository pattern and proper data flow - Repository pattern and proper data flow
2. **Style**: Adhere to docs/STYLE_AND_BEST_PRACTICES.md 2. **Style**: Adhere to `docs/STYLE_AND_BEST_PRACTICES.md`
- Naming conventions, code organization, formatting - Naming conventions, code organization, formatting
- Kotlin idioms (immutability, null safety, coroutines) - Kotlin idioms (immutability, null safety, coroutines)
@ -47,7 +47,7 @@ Systematically check each area against Bitwarden standards documented in CLAUDE.
### Step 3: Document Findings ### Step 3: Document Findings
Identify specific violations with file:line_number references. Be precise about locations. Identify specific violations with `file:line_number` references. Be precise about locations.
### Step 4: Provide Recommendations ### Step 4: Provide Recommendations
@ -77,13 +77,13 @@ Note well-implemented patterns (briefly, without elaboration). Keep positive fee
This PR adds biometric authentication to the login flow, implementing MVVM pattern with proper state management. This PR adds biometric authentication to the login flow, implementing MVVM pattern with proper state management.
## Critical Issues ## Critical Issues
- app/login/LoginViewModel.kt:45 - Mutable state exposed; use StateFlow instead of MutableStateFlow - `app/login/LoginViewModel.kt:45` - Mutable state exposed; use `StateFlow` instead of `MutableStateFlow`
- data/auth/BiometricRepository.kt:120 - Missing null safety check on biometricPrompt result - `data/auth/BiometricRepository.kt:120` - Missing null safety check on `biometricPrompt` result
## Suggested Improvements ## Suggested Improvements
- Consider extracting biometric prompt logic to separate use case class - Consider extracting biometric prompt logic to separate use case class
- Add integration tests for biometric failure scenarios - Add integration tests for biometric failure scenarios
- app/login/LoginScreen.kt:89 - Consider using existing BitwardenButton component - `app/login/LoginScreen.kt:89` - Consider using existing `BitwardenButton` component
## Good Practices ## Good Practices
- Proper Hilt DI usage throughout - Proper Hilt DI usage throughout
@ -91,8 +91,8 @@ This PR adds biometric authentication to the login flow, implementing MVVM patte
- Clear separation of concerns - Clear separation of concerns
## Action Items ## Action Items
1. Fix mutable state exposure in LoginViewModel 1. Fix mutable state exposure in `LoginViewModel`
2. Add null safety check in BiometricRepository 2. Add null safety check in `BiometricRepository`
3. Consider adding integration tests for error flows 3. Consider adding integration tests for error flows
``` ```