devops-release-engineer
Skill4 starsChanged 39 days agoMITView on GitHub
DevOps and release engineering for Android and backend with Gradle builds, signing, GitHub Actions CI/CD, Docker, Firebase/Play Console deployment, and monitoring
- Reads credentials
In this repository13 other files it gives its agents.
- ai-integration-engineerSkill
- android-cliSkill
- android-frontend-engineerSkill
- android-security-engineerSkill
- android-security-lab-builderSkill
- android-testing-engineerSkill
- android-ui-ux-designSkill
- app-performance-engineerSkill
- app-product-architectSkill
- backend-api-engineerSkill
- database-offline-syncSkill
- firebase-supabase-engineerSkill
- fullstack-web-engineerSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 94
Never bypass quality gates: If tests fail, lint errors exist, or signing verification fails, stop and report.
- Distinctive: line 95
Never hardcode environment-specific values: Use build config fields, environment variables, or remote config.
- Distinctive: line 96
Always verify signatures: after signing. An unsigned or incorrectly signed release binary is a blocked release.
- Distinctive: line 108
Verify builds complete successfully for all variants
- Distinctive: line 111
Create or locate the release keystore
- Very specific: line 114
Verify signing with signingReport and apksigner verify
- Distinctive: line 118
Create GitHub Actions workflow for PR checks (build, test, lint)
- Distinctive: line 119
Add instrumented test jobs with emulator runner
- Distinctive: line 134
Run smoke tests against staging
- Distinctive: line 147
Verify Crashlytics mapping file upload for deobfuscation
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DevOps & Release Engineering Skill
Trigger Conditions
Activate this skill when the task involves any of:
- CI/CD setup: Creating or modifying GitHub Actions workflows, build pipelines, automated testing gates, branch protection rules, or merge strategies
- Release builds: Configuring Gradle build types, product flavors, R8/ProGuard shrinking, APK splits, AAB generation, or build optimization
- Signing configuration: Keystore management, upload keys, Play App Signing enrollment, CI/CD signing secrets, or signature verification
- Deployment: Firebase App Distribution, Play Console uploads, Docker container deployment, staging/production promotion, or rollout management
- Monitoring & observability: Crashlytics setup, performance monitoring, error alerting, SLI/SLO definition, or incident response
- Versioning & rollback: Version code/name strategy, changelog generation, Git tagging, release branches, staged rollouts, or rollback procedures
- Infrastructure: Docker compose services, reverse proxy configuration, database containers, health checks, or resource management
Capabilities
Android Build & Release
- Gradle release build configuration with debug/release/staging build types
- Product flavor management for multi-brand or environment-specific builds
- APK and AAB (Android App Bundle) generation with optimized output
- R8 code shrinking, obfuscation, and resource shrinking
- APK splits by ABI and screen density for reduced download size
- Version management with automated versionCode increment and semantic versionName
- Build cache and configuration cache for faster CI builds
Signing & Security
- Keystore creation and secure storage practices
- Environment variable-based signing configuration for CI/CD
- Google Play App Signing enrollment and upload key management
- Key rotation procedures and signing report verification
- APK/AAB signature verification with apksigner and bundletool
CI/CD with GitHub Actions
- Complete Android CI workflows: build, test, lint, instrumented tests
- Gradle caching strategies for faster pipeline execution
- Matrix builds across multiple API levels and device configurations
- Branch-based workflows: PR checks, develop builds, release tag deployments
- Artifact management: APK/AAB upload, test reports, lint results
- Status checks and branch protection rule configuration
Docker & Backend Deployment
- Multi-stage Dockerfiles for NestJS and FastAPI backends
- Docker Compose service orchestration (app, database, cache, reverse proxy)
- Environment configuration with .env files and Docker secrets
- Zero-downtime deployment with rolling updates
- Health check configuration and container resource limits
- Production compose overrides and logging strategies
Firebase & Distribution
- Firebase App Distribution via Gradle plugin with tester groups
- Firebase Hosting deployment for web dashboards and landing pages
- Cloud Functions deployment and Firestore security rules
- Beta distribution channels with release notes and feedback collection
- CI token-based authentication for automated deployments
Monitoring & Observability
- Crashlytics integration with custom keys, breadcrumbs, and mapping file upload
- Firebase Performance Monitoring with custom traces and HTTP metrics
- Structured logging and error alerting configuration
- SLI/SLO definition for mobile and backend services
- Incident response procedures and rollback decision trees
Versioning & Rollback
- Semantic versioning strategy for Android apps
- Automated changelog generation from conventional commits
- Git tagging and release branch management
- Play Console staged rollouts with percentage-based progression
- Rollback procedures including re-release and feature flag killswitches
- Post-mortem templates for release incidents
CRITICAL RULES
- Never publish signing keys, API keys, or secrets to version control, logs, or artifacts. Always use encrypted secrets, environment variables, or secret managers.
- Never rotate production signing keys without explicit approval and a documented rollback plan. Key rotation affects all existing users.
- Never delete production data, including Firestore collections, Cloud Storage buckets, or database tables, without explicit approval and a verified backup.
- Never deploy to production without explicit approval. Always deploy to staging first, verify, then promote.
- Never bypass quality gates. If tests fail, lint errors exist, or signing verification fails, stop and report. Do not use
--continueor--stacktraceto push through broken builds. - Never hardcode environment-specific values. Use build config fields, environment variables, or remote config.
- Always verify signatures after signing. An unsigned or incorrectly signed release binary is a blocked release.
- Always preserve mapping files (R8/ProGuard) for every release build. Without them, crash reports are unreadable.
Workflow
The standard release engineering workflow follows these phases:
Phase 1: Build Configuration
- Configure build variants (debug, staging, release) with appropriate build config fields
- Set up product flavors if multi-brand or environment-specific builds are needed
- Configure R8 shrinking with appropriate keep rules
- Set up resource shrinking and APK optimization (splits or AAB)
- Verify builds complete successfully for all variants
Phase 2: Signing Setup
- Create or locate the release keystore
- Configure signing in
build.gradle.ktsusing environment variables (never hardcoded paths or passwords) - Enroll in Google Play App Signing if not already done
- Verify signing with
signingReportandapksigner verify - Store signing credentials in CI/CD secret storage (GitHub Secrets, etc.)
Phase 3: CI Pipeline
- Create GitHub Actions workflow for PR checks (build, test, lint)
- Add instrumented test jobs with emulator runner
- Configure Gradle caching for build speed
- Set up artifact upload for APK/AAB and test reports
- Configure branch protection rules requiring status checks
Phase 4: Quality Gates
- Unit test pass rate threshold (100% pass required)
- Lint error threshold (zero errors, configurable warning limit)
- Code coverage minimum (configurable, recommend 70%+)
- APK size budget monitoring
- Dependency vulnerability scanning
Phase 5: Staging Deployment
- Deploy to Firebase App Distribution for internal/beta testers
- Deploy backend to staging Docker environment
- Run smoke tests against staging
- Collect tester feedback via Firebase channels
Phase 6: Production Release
- Obtain explicit approval for production deployment
- Tag the release commit with semantic version
- Build and sign the release AAB
- Upload to Play Console as staged rollout (start at 1-5%)
- Deploy backend with zero-downtime rolling update
- Monitor crash rate and ANR rate for 24-48 hours
- Increase rollout percentage progressively (5% -> 20% -> 50% -> 100%)
Phase 7: Post-Release
- Verify Crashlytics mapping file upload for deobfuscation
- Monitor crash-free rate against SLO (target: 99.5%+)
- Watch performance metrics for regression
- Generate changelog and update release notes
- Archive build artifacts and mapping files
Reference Documents
references/gradle-release.md- Gradle build configuration for release engineeringreferences/signing-security.md- Signing security practices and keystore managementreferences/github-actions.md- GitHub Actions CI/CD workflows for Androidreferences/docker-backend.md- Docker backend deployment configurationreferences/firebase-deployment.md- Firebase App Distribution and deploymentreferences/monitoring.md- Production monitoring and observabilityreferences/versioning-rollback.md- Versioning strategy and rollback procedures
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

