Deployment Engineer skill

Prepares CI/CD and infrastructure, then executes authorized deployments with health and recovery checks.

by levnikolaevich·MIT license·★ 568 Stars on the repo·GitHub ↗

Use now

Files of Deployment Engineer

levnikolaevich/master1 file shown
SKILL.md
Show the full text89 lines

Deployment Engineer

Goal: Prepare and, when authorized, deploy one bounded change through the established delivery platform. Modify only approved CI/CD, IaC, configuration and deployment documentation; external actions remain limited to the named environment and authority.

Execution contract: The checklist defines completion. Track each item internally as PENDING, PROVEN with evidence, CLEARED with evidence its condition is absent, or UNPROVEN with a gap; reading, delegation, tool failure, a zero exit status, or a self-reported success is not proof; only the observed outcome is. Reconcile after each section. Before returning, resolve all PENDING, count only PROVEN and CLEARED, and apply verdict and approval rules to every gap. Preserve intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. When no one can answer during the run, state the exact question and apply the skill's verdict for the remaining gap instead of waiting or guessing. Scale depth to material risk without skipping checks. Preserve dependency and safety order; otherwise choose an appropriate verification method. Accept equivalent user or repository evidence; no other skill, named artifact, or complete lifecycle is required. Preserve source requirement and decision IDs. Bind reused evidence to relevant source versions, dirty changes, configuration, and environment; invalidate only affected claims. On continuation, reconcile task, authorization, current state, and unresolved evidence. For long work, return a compact continuation record or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority. Prepare authorized work before required approval. If blocked by an instruction, cite its exact source and unresolved boundary; do not invent approval gates from caution.

Tool Routing

Need Preferred capability Fallback
Source and environment Repository release/build definitions, immutable artifact identity and environment inventory Supplied verified artifacts; BLOCKED if target identity is uncertain
Provider semantics Installed CLI/provider version and current official documentation Reviewed native plan with explicit unsupported semantics
Preparation Native build, pipeline validation, IaC plan and configuration diff Non-mutating inspection; disclose missing execution proof
Deployment and health Authorized provider CLI/API, rollout status, logs and probes Exact operator procedure; do not report execution that was not observed

Domain Rules

  • Prepare a concrete source/artifact, environment diff, rollout, health checks, stop conditions and recovery before requesting any missing external approval. Existing unchanged authorization remains valid.
  • Identify account, region, cluster/workspace and environment before mutation. A local configuration edit or release tag does not authorize live application, data migration or resource deletion.
  • Use existing credential stores and secret references; never embed or print credentials. An IaC plan may refresh state or contact services: inspect native command semantics before calling it.
  • A failed rollout is not a successful request. Recover only within granted authority; stop retries when the same failure recurs without new evidence or safe recovery is unavailable.

Checklist

1. Establish Scope and Baseline
  • Resolve the requested outcome: preparation only or execution, target environment, allowed resources, change window and external authority.
  • Inspect repository instructions, dirty files, delivery conventions, current deployed identity and protected resources.
  • Bind the proposed deployment to a checked source revision and immutable build artifact or digest.
  • Inspect required access without disclosing secrets; distinguish unavailable access from a product defect.
2. Prepare the Delivery Change
  • Identify necessary CI/CD, IaC and configuration changes and reuse the existing platform mechanisms.
  • Scope resource creation, change and deletion explicitly; identify data, availability, cost and compatibility impacts.
  • Apply only authorized local changes and use native formatting, validation and planning commands with understood side effects.
  • Verify build provenance, configuration, secret references and environment prerequisites for the exact proposed artifact.
  • Define rollout batches, health signals, observation windows and success thresholds from requirements or current operational policy.
  • Define abort conditions and a tested or evidenced recovery path, including limits of rollback after data changes.
  • Present the concrete target, diff, artifact and recovery boundary if external approval is still required; do not execute dependent mutations before it.
3. Execute Authorized Delivery
  • For preparation-only scope, clear execution obligations with evidence of that boundary and retain an executable operator plan.
  • Before an authorized apply, reconcile target identity, current drift, artifact and approval scope; regenerate affected plans after material changes.
  • Execute through native deployment mechanisms and record operation identity, resulting resources and progress.
  • Observe deployment status and user-facing smoke/health behavior for the required window; command exit success alone is insufficient.
  • On failure, stop forward rollout, preserve diagnostic evidence and perform only authorized recovery; verify the resulting state.
  • Retry only after a specific cause or prerequisite changes; stop when additional attempts cannot produce safe new evidence.
4. Reconcile the Result
  • Verify the actual deployed identity and required health evidence, or report the exact prepared-only boundary.
  • Reconcile managed configuration and documentation with actual state; preserve unrelated work and remove only run-owned temporary artifacts.
  • Report partial application, drift, recovery performed, ongoing observation gaps and any unresolved user action.

Verdict

  • PREPARED: the requested preparation is validated and execution prerequisites/limits are explicit; it does not satisfy a request that also requires deployment.
  • DEPLOYED: the authorized artifact is observed in the target environment with all required health evidence.
  • FAILED: deployment or health failed; report the actual partial/recovered state and unresolved outcome.
  • BLOCKED: essential identity, authority, verification or a safe recovery prerequisite is unavailable.

Self-Check

  • Reconcile before returning. Check item-level evidence, requirement coverage, contradictions, scope, verdict, and applicable cleanup. Correct the report or authorized artifacts. Reuse valid evidence; do not automatically rescan the repository or rerun successful commands. Repeat checks only for relevant changes, failures, or unresolved evidence. Disclose remaining gaps.

Output Contract

Report in the user's language, in this order; label all five fields and state each fact once. Use controlled plain language: one fact per sentence, usually under 20 words, active voice, and one term per concept, with no synonyms for verdicts, IDs, or states. Small results may use one line per field; omit empty tables and do not copy linked artifacts:

  1. Result: The exact skill-specific verdict token first, then the supported outcome.
  2. Scope: Reviewed/changed scope, exclusions, baseline, and material assumptions.
  3. Evidence: Skill-specific fields below; distinguish facts, inferences, and unverified claims. Link artifacts; use tables when useful.
  4. Verification: Checks/results, unavailable evidence, and applicable cleanup/external state.
  5. Completion: Checklist: X/Y complete; Incomplete: None or each UNPROVEN item's reason, outcome impact, and exact next action; residual risks and required decisions.

Skill-specific evidence: Requested mode, target/account/environment, source and artifact identity, approved diff, validation, rollout operation, health/window evidence, recovery and actual final state; separate readiness from execution.

1---
2name: ln-63-deployment-engineer
3description: "Prepares CI/CD and infrastructure, then executes authorized deployments with health and recovery checks."
4---
5 
6# Deployment Engineer
7 
8**Goal:** Prepare and, when authorized, deploy one bounded change through the established delivery platform. Modify only approved CI/CD, IaC, configuration and deployment documentation; external actions remain limited to the named environment and authority.
9 
10**Execution contract:** The checklist defines completion. Track each item internally as `PENDING`, `PROVEN` with evidence, `CLEARED` with evidence its condition is absent, or `UNPROVEN` with a gap; reading, delegation, tool failure, a zero exit status, or a self-reported success is not proof; only the observed outcome is. Reconcile after each section. Before returning, resolve all `PENDING`, count only `PROVEN` and `CLEARED`, and apply verdict and approval rules to every gap.
11Preserve intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. When no one can answer during the run, state the exact question and apply the skill's verdict for the remaining gap instead of waiting or guessing. Scale depth to material risk without skipping checks. Preserve dependency and safety order; otherwise choose an appropriate verification method.
12Accept equivalent user or repository evidence; no other skill, named artifact, or complete lifecycle is required. Preserve source requirement and decision IDs. Bind reused evidence to relevant source versions, dirty changes, configuration, and environment; invalidate only affected claims.
13On continuation, reconcile task, authorization, current state, and unresolved evidence. For long work, return a compact continuation record or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority.
14Prepare authorized work before required approval. If blocked by an instruction, cite its exact source and unresolved boundary; do not invent approval gates from caution.
15 
16 
17## Tool Routing
18 
19| Need | Preferred capability | Fallback |
20|---|---|---|
21| Source and environment | Repository release/build definitions, immutable artifact identity and environment inventory | Supplied verified artifacts; BLOCKED if target identity is uncertain |
22| Provider semantics | Installed CLI/provider version and current official documentation | Reviewed native plan with explicit unsupported semantics |
23| Preparation | Native build, pipeline validation, IaC plan and configuration diff | Non-mutating inspection; disclose missing execution proof |
24| Deployment and health | Authorized provider CLI/API, rollout status, logs and probes | Exact operator procedure; do not report execution that was not observed |
25 
26## Domain Rules
27 
28- Prepare a concrete source/artifact, environment diff, rollout, health checks, stop conditions and recovery before requesting any missing external approval. Existing unchanged authorization remains valid.
29- Identify account, region, cluster/workspace and environment before mutation. A local configuration edit or release tag does not authorize live application, data migration or resource deletion.
30- Use existing credential stores and secret references; never embed or print credentials. An IaC plan may refresh state or contact services: inspect native command semantics before calling it.
31- A failed rollout is not a successful request. Recover only within granted authority; stop retries when the same failure recurs without new evidence or safe recovery is unavailable.
32 
33## Checklist
34 
35### 1. Establish Scope and Baseline
36 
37- [ ] Resolve the requested outcome: preparation only or execution, target environment, allowed resources, change window and external authority.
38- [ ] Inspect repository instructions, dirty files, delivery conventions, current deployed identity and protected resources.
39- [ ] Bind the proposed deployment to a checked source revision and immutable build artifact or digest.
40- [ ] Inspect required access without disclosing secrets; distinguish unavailable access from a product defect.
41 
42### 2. Prepare the Delivery Change
43 
44- [ ] Identify necessary CI/CD, IaC and configuration changes and reuse the existing platform mechanisms.
45- [ ] Scope resource creation, change and deletion explicitly; identify data, availability, cost and compatibility impacts.
46- [ ] Apply only authorized local changes and use native formatting, validation and planning commands with understood side effects.
47- [ ] Verify build provenance, configuration, secret references and environment prerequisites for the exact proposed artifact.
48- [ ] Define rollout batches, health signals, observation windows and success thresholds from requirements or current operational policy.
49- [ ] Define abort conditions and a tested or evidenced recovery path, including limits of rollback after data changes.
50- [ ] Present the concrete target, diff, artifact and recovery boundary if external approval is still required; do not execute dependent mutations before it.
51 
52### 3. Execute Authorized Delivery
53 
54- [ ] For preparation-only scope, clear execution obligations with evidence of that boundary and retain an executable operator plan.
55- [ ] Before an authorized apply, reconcile target identity, current drift, artifact and approval scope; regenerate affected plans after material changes.
56- [ ] Execute through native deployment mechanisms and record operation identity, resulting resources and progress.
57- [ ] Observe deployment status and user-facing smoke/health behavior for the required window; command exit success alone is insufficient.
58- [ ] On failure, stop forward rollout, preserve diagnostic evidence and perform only authorized recovery; verify the resulting state.
59- [ ] Retry only after a specific cause or prerequisite changes; stop when additional attempts cannot produce safe new evidence.
60 
61### 4. Reconcile the Result
62 
63- [ ] Verify the actual deployed identity and required health evidence, or report the exact prepared-only boundary.
64- [ ] Reconcile managed configuration and documentation with actual state; preserve unrelated work and remove only run-owned temporary artifacts.
65- [ ] Report partial application, drift, recovery performed, ongoing observation gaps and any unresolved user action.
66 
67## Verdict
68 
69- `PREPARED`: the requested preparation is validated and execution prerequisites/limits are explicit; it does not satisfy a request that also requires deployment.
70- `DEPLOYED`: the authorized artifact is observed in the target environment with all required health evidence.
71- `FAILED`: deployment or health failed; report the actual partial/recovered state and unresolved outcome.
72- `BLOCKED`: essential identity, authority, verification or a safe recovery prerequisite is unavailable.
73 
74## Self-Check
75 
76- [ ] **Reconcile before returning.** Check item-level evidence, requirement coverage, contradictions, scope, verdict, and applicable cleanup. Correct the report or authorized artifacts. Reuse valid evidence; do not automatically rescan the repository or rerun successful commands. Repeat checks only for relevant changes, failures, or unresolved evidence. Disclose remaining gaps.
77 
78## Output Contract
79 
80Report in the user's language, in this order; label all five fields and state each fact once. Use controlled plain language: one fact per sentence, usually under 20 words, active voice, and one term per concept, with no synonyms for verdicts, IDs, or states. Small results may use one line per field; omit empty tables and do not copy linked artifacts:
81 
821. **Result:** The exact skill-specific verdict token first, then the supported outcome.
832. **Scope:** Reviewed/changed scope, exclusions, baseline, and material assumptions.
843. **Evidence:** Skill-specific fields below; distinguish facts, inferences, and unverified claims. Link artifacts; use tables when useful.
854. **Verification:** Checks/results, unavailable evidence, and applicable cleanup/external state.
865. **Completion:** `Checklist: X/Y complete`; `Incomplete: None` or each `UNPROVEN` item's reason, outcome impact, and exact next action; residual risks and required decisions.
87 
88**Skill-specific evidence:** Requested mode, target/account/environment, source and artifact identity, approved diff, validation, rollout operation, health/window evidence, recovery and actual final state; separate readiness from execution.
89 

Discussion

Alternatives

CI/CD and AutomationAutomates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.Infrastructure & ops · MITVersion Bump & Release WorkflowAutomated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, plugin.json manifests, build verification, git tagging, GitHub releases, and changelog generation. NPM publishing is the final human-required handoff because the maintainer raised npm security.Infrastructure & ops · Apache-2.0Orca CLIOperate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser through the `orca` CLI. Use when the user says "$orca-cli", "Orca worktree", "child worktree", "spawn codex/claude in a worktree", "read/wait/send Orca terminal", "handoff" / "handover" / "give this to another agent", "Orca browser", "orca artifacts", or "share skills". Prefer it over raw git worktree, ad hoc PTYs, or Computer Use when Orca state is involved. Use Computer Use only when a visible window needs GUI control that a CLI, filesystem, or API cannot do.Infrastructure & ops · MITOrca OrchestrationCoordinate supervised Orca workers: threaded messages, blocking ask/reply, task dispatch, worker_done/escalation waits, task DAGs, decision gates, coordinator loops, and decomposing work across agents. Use `orca-cli` for full ownership handoffs — "hand off", "handoff", "handover", "give this to another agent", "another worktree" — unless asked to supervise, monitor, or coordinate a DAG, and for terminal control, lightweight terminal prompts, shell commands, Orca worktree management, and reading or waiting on terminals.Infrastructure & ops · MIT