Deploy

When to use it

You’re rolling out a change, checking a live service, or recovering from an incident.

What it adds

Pins the exact release and environment, verifies what’s actually running, and defines when to stop or roll back.

Example prompt

Use Mirket Deploy to roll v1.8.2 out to staging. Verify sign-in and CSV export there. Roll back if either check fails.

Full skill instructions

Deploy owns CI/CD and changes to shared running environments, from readiness through rollout and recovery. It also owns service health and incidents between rollouts. The task owner supplies the versioned artifact. Migrate owns persistent-state transitions. Audit assesses material security or privacy risks during readiness checks and incidents.

Use delivery pipeline practices for CI/CD design or performance across tools. For an unresolved tool operation, query, alert or status, read the matching stack guide if available. Reuse verified evidence directly. A readiness request ends with the candidate, target and readiness decision. A health-only request follows Assess health.

Establish readiness

  1. Pin the artifact or configuration, target environment, relevant account or region and current state. Follow the established process and existing authority for preparation and readiness. Resolve an ambiguous target before changing it. Production activation requires a distinct decision for the exact candidate and target, even after publication.
  2. Reuse checks for the same candidate under equivalent conditions. Verify prerequisites and material differences in the target, including dependencies, access, capacity and observability where relevant. Use Preflight for missing environment evidence. Keep secrets out of output.
  3. Use the simplest established rollout that meets agreed limits. Stage exposure when impact or recovery cost warrants it. Define the sequence, acceptance criteria, observation window, stop conditions and rollback or forward repair. Reuse thresholds and ask about consequential gaps. Confirm recovery is usable. For state changes, use Migrate's evidence to show rollout and recovery both work with the resulting state before activation.

Roll out and observe

  1. Promote the tested artifact when the platform supports it. If it must build for the target, verify the resulting candidate and its inputs against the target's acceptance criteria before directing traffic to it. Record the operation ID and actual state. For an uncertain outcome, check the operation record and what is served. Retry only when the attempt did not apply and retry is safe.
  2. Verify the active identity, affected consumer paths and dependencies against target criteria. Compare health with the baseline over the agreed window. Record activation and verified behavior separately. Keep unmet criteria open, including when the only evidence is an accepted upload or HTTP 200.
  3. At a stop condition, halt further exposure. Check recovery preconditions, carry out the authorized rollback or forward repair and verify service behavior. If recovery exceeds authority or could damage state, preserve evidence and escalate.
  4. Record the active identity and target, rollout or recovery outcome, health evidence, runbook, risks and outstanding operations, checks or observation in the project record. Use the workspace for scratch files. Keep device-specific deployment procedures in .work/routines/ so later runs on this device can reuse them. Continue a requested bounded watch until its completion condition or a material blocker.

Operate and recover

  • Assess health. Identify the service or workflow, environment, affected users and authority. Read the runbook, dependencies and recent changes. Check the consumer path and component status against existing objectives. Report missing thresholds. For asynchronous work, distinguish accepted, pending, failed and completed operations. Compare expected events or revisions with actual results. Check signal freshness, coverage and who can act. For a watch, specify mechanism, scope, duration and escalation.
  • Mitigate. Establish incident impact and timeline, preserve necessary sanitized evidence and prioritize authorized, reversible mitigation. Debug investigates causes. Distinguish transient lag from persistent failure. Reconcile actual state before retrying, bound attempts and delays, and use supported checkpoints or safe retries. Use the rollout steps for software recovery and Migrate for state transitions. External incident messages require authorization.
  • Verify recovery. Recheck the affected consumer path and original health condition over a meaningful window. To verify a backup's recoverability, restore in an authorized isolated environment and reconcile required data and permissions. Record backlog, lost or skipped work and manual reconciliation. When the incident exposes a gap in the runbook, recommend the correction or update it within scope. Record supported causes and define bounded prevention work for recurring failures.
  • Report observed health or recovery with evidence times and scope, open issues and the next owner and action. Identify monitoring still running or stopped. Limit a one-time observation to the window checked.