production-quality

pluginagentmarketplace's avatarfrom pluginagentmarketplace

Unit testing, performance optimization, security implementation, Play Store deployment. Use for production-ready app development.

⭐0stars🔀0forks📁View on GitHub🕐Updated Nov 19, 2025

When & Why to Use This Skill

This Claude skill is a comprehensive toolkit for building production-ready mobile applications, focusing on the critical final stages of the software development lifecycle. It provides automated workflows for unit testing, performance optimization, and robust security implementation, ensuring that Android applications meet high-quality standards before deployment. By integrating Google Play Store release management and staged rollout strategies, it helps developers minimize risks and maximize app stability in live environments.

Use Cases

  • Automated Quality Assurance: Streamline the creation of unit and integration tests using Kotlin and Mockk to maintain high code coverage and prevent regressions in complex codebases.
  • Security Hardening: Implement advanced security protocols such as SSL pinning, AES256 encrypted storage, and OWASP-aligned permission handling to protect sensitive user data.
  • Performance Profiling: Detect and resolve memory leaks, ANR (App Not Responding) issues, and battery drain to ensure a smooth 60 FPS user experience across various devices.
  • Deployment Pipeline Management: Manage the end-to-end release process on the Google Play Store, including App Bundle (AAB) generation, staged rollouts, and post-launch crash monitoring.
nameproduction
descriptionUnit testing, performance optimization, security implementation, Play Store deployment.
version"2.0.0"
sasmp_version"1.3.0"
bonded_agent07-production
bond_typePRIMARY_BOND
atomictrue
single_responsibilityProduction quality & deployment
typestring
enum[low, medium, high, critical]
requiredfalse
defaultmedium
max_attempts3
backoffexponential
on_failureescalate_to_human
levelwarn
include[concern_type, security_level, test_coverage]

Production Quality Skill

Quick Start

Unit Testing

@Test
fun loadUser_updates_state() = runTest {
    val user = User(1, "John")
    val mockRepo = mockk<UserRepository>()
    coEvery { mockRepo.getUser(1) } returns user
    
    val viewModel = UserViewModel(mockRepo)
    viewModel.loadUser(1)
    
    assertEquals(user, viewModel.state.value)
}

Security

// Encrypted storage
val prefs = EncryptedSharedPreferences.create(context, "secret",
    MasterKey.Builder(context).build(), AES256_SIV, AES256_GCM)

// SSL pinning
CertificatePinner.Builder()
    .add("api.example.com", "sha256/...").build()

Play Store Deployment

./gradlew bundleRelease
# Upload to Google Play Console
# Monitor crashes and ratings

Key Concepts

Testing

  • Unit tests (70-80% coverage)
  • Integration tests
  • UI tests with Espresso
  • Mock external dependencies

Performance

  • ANR prevention
  • Memory leak detection
  • 60 FPS target
  • Battery optimization

Security

  • Data encryption
  • HTTPS/SSL pinning
  • Permission handling
  • OWASP Top 10

Deployment

  • Internal → Closed → Open → Production
  • Staged rollout strategy
  • Crash analytics monitoring
  • User rating management

Best Practices

✅ Write comprehensive tests ✅ Profile regularly ✅ Implement security features ✅ Monitor production apps ✅ Use staged rollouts

Resources