agent-instructions
Use when writing project instructions for a coding agent (CLAUDE.md, AGENTS.md, or equivalent). Covers what belongs in them, what does not, structure, and…
Use when preparing a mobile app for release. Covers versioning, signing, staged rollout, crash monitoring, store review requirements, and rollback when an update goes wrong.
$ npx -y skills add nimadorostkar/Claude-Skills-collection --skill mobile-release --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mobile-releaseContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when preparing a mobile app for release. Covers versioning, signing, staged rollout, crash monitoring, store review requirements, and rollback when an update goes wrong.
name: mobile-release description: Use when preparing a mobile app for release. Covers versioning, signing, staged rollout, crash monitoring, store review requirements, and rollback when an update goes wrong. metadata: category: mobile version: 1.0.0 tags: [release, app-store, play-store, ci-cd, rollout]
Ship a mobile release safely. Unlike a web deploy, a bad mobile release cannot be rolled back — users have already installed it. The process must therefore prevent the bad release rather than recover from it.
1. **Build in CI, never on a laptop** — A build that only one machine can produce is a build you cannot reproduce when it breaks. 2. **Test the release build** — On real devices, including the oldest supported OS version. Debug builds hide crashes that only occur under release optimization. 3. **Ship behind a flag** — Anything risky is remotely toggleable. A feature flag is the only rollback a mobile app has. 4. **Stage the rollout** — 1%, then 10%, then 50%, then 100%, with at least a day between steps. Watch the crash-free rate at each stage. 5. **Define the abort criteria before you start** — For example: crash-free sessions below 99.5%, or any new crash affecting more than 0.1% of sessions. Halt the rollout automatically, do not debate it. 6. **Keep the previous build ready** — On Android you can halt a staged rollout; on iOS you can only submit a new build. Have one prepared.
**Rollout gate with explicit abort criteria:**
# .github/workflows/release.yml (excerpt)
- name: Staged rollout to Play Store
run: |
fastlane supply \
--track production \
--rollout 0.01 \
--aab app/build/outputs/bundle/release/app-release.aab
- name: Guard the rollout
run: |
# 6 hours of soak, then check the crash-free session rate before proceeding.
sleep 21600
RATE=$(crashlytics-cli crash-free-rate --version "$VERSION" --window 6h)
echo "crash-free sessions: ${RATE}%"
if (( $(echo "$RATE < 99.5" | bc -l) )); then
fastlane supply --track production --rollout 0 --skip-upload-aab # halt
echo "::error::Rollout halted: crash-free rate ${RATE}% is below the 99.5% threshold"
exit 1
fi**A kill switch that makes the release recoverable:**
if (await flags.isEnabled('checkout.new_payment_sheet')) {
return NewPaymentSheet();
}
return LegacyPaymentSheet(); // the fallback path stays in the binary for one releaseA curated library of 137 production-grade skills for Claude and other AI coding agents. Every skill follows one structure, speaks with one voice, and earns its place by changing what the agent does.
Repo: nimadorostkar/Claude-Skills-collection
Use when writing project instructions for a coding agent (CLAUDE.md, AGENTS.md, or equivalent). Covers what belongs in them, what does not, structure, and…
Use when an agent needs state that survives a session or a context compaction. Covers what to persist, file-based memory, structuring notes for retrieval, and…
Use when automating agent behavior with lifecycle hooks. Covers hook events, deterministic enforcement of rules the model should not be trusted to remember,…
Use when packaging skills, commands, hooks, and MCP servers into a distributable plugin. Covers manifest structure, bundling, versioning, testing, and…
Use when writing a new skill for an AI agent. Covers scoping, description writing for reliable triggering, progressive disclosure, and the difference between a…
Use when reviewing or improving an existing agent skill. Covers triggering accuracy, content quality, redundancy with the base model, and measuring whether the…