mobile-sdk-android-pr-review

Review Android SDK PRs for API breakage, OAuth safety, and SQLCipher correctness.

361|392|Updated Nov 15, 2011
One-click install
npx skills add https://github.com/forcedotcom/SalesforceMobileSDK-Android --skill mobile-sdk-android-pr-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mobile-sdk-android-pr-review
Source: https://github.com/forcedotcom/SalesforceMobileSDK-Android/tree/main/.prizm/presubmits/skills/mobile-sdk-android-pr-review
Command: npx skills add https://github.com/forcedotcom/SalesforceMobileSDK-Android --skill mobile-sdk-android-pr-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that Pull Requests (PRs) to the Salesforce Mobile SDK for Android meet quality standards by reviewing for public-API breakage, OAuth/credential safety, SQLCipher correctness, multi-user account regressions, missing localization, and Android platform pitfalls.

Core Features & Use Cases

  • Public-API Breakage Review: Checks for changes that could break public APIs, ensuring backward compatibility.
  • OAuth/Credential Safety: Verifies that changes do not compromise OAuth flows or credential storage.
  • SQLCipher Encryption: Ensures SQLCipher encryption is correctly implemented and updated.
  • Multi-User Account Handling: Checks for issues related to handling multiple user accounts.
  • Localization: Ensures all user-facing strings are localized correctly.
  • Android Platform Hygiene: Reviews for adherence to Android platform best practices.
  • Sample Apps & API Contracts: Ensures sample apps reflect public SDK API changes.
  • Test Correctness & Coverage: Reviews test code for correctness and coverage.
  • Use Case: For instance, when a PR is submitted to update the SDK, this Skill will automatically check for any potential issues that could affect the SDK's public API or user experience.

Quick Start

Invoke the mobile-sdk-android-pr-review skill to review the PR #1234.

Frequently Asked Questions about mobile-sdk-android-pr-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Android PRs for public API breakage and OAuth safety?

To review Android PRs for public API breakage and OAuth safety, you can use an automated review process that checks for backward compatibility issues and verifies changes do not compromise OAuth flows or credential storage. This ensures SDK updates meet required security standards.

What is SQLCipher encryption review in mobile SDK PRs?

SQLCipher encryption review in mobile SDK PRs is the process of ensuring SQLCipher encryption is correctly implemented and updated within the codebase. It verifies that database security measures are maintained during SDK modifications.

How do I check for missing localization in Android SDK pull requests?

To check for missing localization in Android SDK pull requests, you apply an automated review that scans code changes to ensure all user-facing strings are localized correctly. This prevents localization regressions from being merged into the main branch.

Does this PR review process handle multi-user account regressions?

Yes, this PR review process handles multi-user account regressions by checking for issues related to handling multiple user accounts. It ensures that new code changes do not break the existing multi-user authentication and account switching functionality.

What Android platform pitfalls are checked during SDK code reviews?

During SDK code reviews, Android platform pitfalls are checked by reviewing adherence to Android platform best practices and ensuring sample apps reflect public SDK API changes. It verifies test correctness and coverage to maintain platform hygiene.

Can I automate code quality and security checks for Salesforce Mobile SDK for Android PRs?

You can automate code quality and security checks for Salesforce Mobile SDK for Android PRs by invoking a review skill that operates within defined criteria. It automatically generates warnings or blockers for PRs that do not meet required standards.