SuperAPI AI Directory

ios-feature-audit

Testing & quality

View repository

Updated 10-16 06:44

About this skill

iOS Feature Audit

Comprehensive audit of a specific feature (Bible, Search, Community, etc.):

Inputs

  • Feature name (e.g., "Bible", "Search", "Community")

Audit Checklist

  1. Code Health:
    • Find feature directory in LeavnApp/Sources/Shared/Features/[Feature]/
    • Check for:
      • Dead code (#if false, deprecated markers)
      • TODOs and FIXMEs
      • TCA remnants (old Reducer/Store patterns)
      • Unused imports
  1. ViewModel Analysis:

    • Check if using @Observable (modern) or ObservableObject (old)
    • Look for memory leaks (retain cycles)
    • Verify async/await usage (not Combine)
  2. Test Coverage:

    • Find tests in Tests/ directories
    • Count test functions
    • Identify missing test scenarios
  3. UI/UX Review:

    • Check for SwiftLint violations
    • Look for accessibility issues
    • Verify responsive design
  4. Dependencies:

    • Check service usage via DIContainer.shared
    • Verify proper error handling
    • Check for hardcoded values

Return:

  • Bug count and severity
  • Dead code to delete
  • Test coverage gaps
  • Recommended fixes prioritized by impact