arn-assessing
This skill should be used when the user says "assessing", "arness assessing", "assess", "assess codebase", "technical review", "codebase assessment", "find…
This skill should be used when the user says "deploy", "deploy to staging", "deploy to production", "promote to production", "infra deploy", "arn infra deploy", "deploy infrastructure", "apply infrastructure", "push to prod", "go live", "tofu apply", "terraform apply", "pulumi
$ npx -y skills add AppsVortex/arness --skill arn-infra-deploy --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/arn-infra-deployContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when the user says "deploy", "deploy to staging", "deploy to production", "promote to production", "infra deploy", "arn infra deploy", "deploy infrastructure", "apply infrastructure", "push to prod", "go live", "tofu apply", "terraform apply", "pulumi
name: arn-infra-deploy description: >- This skill should be used when the user says "deploy", "deploy to staging", "deploy to production", "promote to production", "infra deploy", "arn infra deploy", "deploy infrastructure", "apply infrastructure", "push to prod", "go live", "tofu apply", "terraform apply", "pulumi up", "cdk deploy", "fly deploy", "deploy to railway", "release to prod", "promote environment", or wants to execute a deployment of their infrastructure to a target environment. This skill handles environment promotion, CI/CD enforcement, cost gates, safety layers, and resource tracking. version: 1.0.0
Execute infrastructure deployment to a target environment with environment promotion enforcement, CI/CD pipeline awareness, cost gates, safety layers, and post-deployment resource tracking. This skill orchestrates the actual apply/deploy step, producing handoff files with secret references and updating the issue lifecycle.
This skill is expertise-adaptive: beginner users deploy via platform CLI commands (`fly deploy`, `railway up`), while intermediate and expert users deploy via IaC tools (`tofu apply`, `pulumi up`). All experience levels receive the same safety protections.
Read `## Arness` from the project's CLAUDE.md. If no `## Arness` section exists or Arness Infra fields are missing, inform the user: "Arness Infra is not configured for this project yet. Run `/arn-infra-wizard` to get started — it will set everything up automatically." Do not proceed without it.
Extract:
Read the provider configuration:
Read <providers-config-path>
Read the environment configuration:
Read <environments-config-path>
---
Ask the user which environment they want to deploy to (if not already specified in the invocation):
"Which environment would you like to deploy to? [list environments from config in promotion order]"
**Environment promotion enforcement:**
Read the promotion pipeline from `environments.md`. Enforce the following rules:
1. **No skipping stages:** If the promotion pipeline is `dev --> staging --> production`, the user cannot deploy directly to production unless staging has been deployed and verified. Check the `Last deployed` field for each environment in the pipeline.
2. **Refuse direct-to-prod when staging exists:** If the promotion pipeline includes a staging environment and the user requests deployment to production:
3. **First deployment to any environment is allowed:** If no environment in the pipeline has been deployed yet, allow deployment to the first environment in the pipeline (typically dev or staging).
---
Check whether CI/CD pipelines exist for the target environment.
Scan for pipeline configurations:
**If pipelines exist AND the target is staging or production:**
Warn: "I detected CI/CD pipelines in this project. For staging and production deployments, CI/CD is the recommended deployment method -- it ensures reproducibility, audit trails, and team visibility."
Ask (using `AskUserQuestion`):
**"How would you like to deploy?"**
Options: 1. **Use CI/CD** -- Trigger the pipeline (I will help you push and monitor) 2. **Deploy locally** -- Proceed with local deployment (not recommended for staging/prod) 3. **Cancel** -- Do not deploy
If the user chooses CI/CD: help them trigger the pipeline (e.g., `git push`, `gh workflow run`) and monitor the deployment. Skip to Step 8 for post-deployment tracking.
If the user chooses local deployment: proceed with a warning logged and continue to Step 3.
**If no pipelines exist OR the target is dev:** Continue to Step 3 without CI/CD enforcement.
---
> Read the local override or plugin default for `deployment-safety-checklist.md`.
Arness — H not required. Structured AI workflows for Claude Code. From first idea to production deploy. Seven entry commands. That's all you need to remember.
This skill should be used when the user says "assessing", "arness assessing", "assess", "assess codebase", "technical review", "codebase assessment", "find…
This skill should be used when the user says "arness code assess", "arn-code-assess", "assess codebase", "technical review", "codebase assessment", "find…
This skill should be used when the user says "fix CVEs", "patch vulnerabilities", "apply security patches", "resolve security advisories", "batch CVE fix",…
This skill should be used when the user says "scan for CVEs", "CVE scan", "check for vulnerabilities", "find vulnerabilities", "check security advisories",…
This skill should be used when the user says "batch implement", "implement all", "batch execution", "implement all features", "parallel implement", "implement…
This skill should be used when the user says "batch merge", "merge batch", "arness batch merge", "arn-code-batch-merge", "merge all PRs", "merge batch PRs",…