Agent skill
production
Unit testing, performance optimization, security implementation, Play Store deployment.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/production
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?