/spacelift:managefrom spacelift
This skill should be used when the user wants to manage Spacelift runs: confirm a pending run, discard a run, trigger a new deployment, retry a failed run, or cancel a queued run. Activates on: "confirm run", "confirm spacelift", "discard run", "discard spacelift", "trigger run", "trigger spacelift", "deploy spacelift", "retry spacelift", "cancel run", "cancel spacelift", "run spacelift", "lancia spacelift", "conferma run", "scarta run", "annulla run spacelift", "rilancia spacelift".
Ships in spacelift. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Manage Spacelift runs: confirm, discard, trigger, retry, and cancel runs.
Reference files: Consult reference/spacectl-tools.md for the full MCP tool catalog and CLI equivalents.
spacelift.spacectl-mcp): confirm_stack_run, discard_stack_run, trigger_stack_run, list_stack_runs, list_stack_proposed_runs, get_stack_runspacectl (also covers retry and cancel not available via MCP)Use ToolSearch with query spacelift to check if MCP tools are available. See reference/spacectl-tools.md § Tool Detection.
| User intent | MCP Tool | CLI Equivalent |
|---|---|---|
| Confirm a pending run | confirm_stack_run | spacectl stack confirm --id <slug> --run <id> |
| Discard a pending run | discard_stack_run | spacectl stack discard --id <slug> --run <id> |
| Trigger a tracked deployment | trigger_stack_run (type: TRACKED) | spacectl stack deploy --id <slug> |
| Trigger a proposed run | trigger_stack_run (type: PROPOSED) | N/A |
| Retry a failed run | N/A (CLI only) | spacectl stack retry --id <slug> --run <id> |
| Cancel a queued run | N/A (CLI only) | spacectl stack cancel --id <slug> --run <id> |
If the user only provided a stack name:
list_stack_runs to find tracked runs pending confirmation (state UNCONFIRMED)list_stack_proposed_runs for preview runsAlways ask for confirmation before executing destructive actions:
<id> on <stack>?"<stack>?"Use get_stack_run and get_stack_run_changes to gather the details needed for the confirmation prompt.
Execute the action and report the result:
Run `<run-id>` on stack `<stack-slug>` confirmed. The apply phase is now in progress.
For triggered runs, report the new run ID so the user can track it.
| Situation | Action |
|---|---|
| MCP tools not available | Fall back to CLI. See reference/spacectl-tools.md § CLI Equivalents |
| Run not in expected state | Show current state — e.g., "Run is FINISHED, nothing to confirm" |
| No pending runs found | List recent runs and show their states |
| Permission denied | Check Spacelift account permissions and API key scopes |
| Authentication failure | Check SPACELIFT_API_GITHUB_TOKEN and SPACELIFT_API_KEY_ENDPOINT env vars |
reference/spacectl-tools.md — Full MCP tool catalog, CLI equivalents, GraphQL queriesWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub fabn/claude-plugins --plugin spacelift5 skills in this plugin
/debugspacelift:debugThis skill should be used when the user wants to debug a failed Spacelift
run, understand why a plan or apply failed, or investigate Spacelift errors.
Follows a structured workflow: identify the failed run, fetch history and
logs, parse errors, and present findings with fix suggestions.
Activates on: "why did spacelift fail", "spacelift plan failed", "spacelift error",
"debug spacelift", "spacelift apply failed", "spacelift failure", "fix spacelift",
"what went wrong spacelift", "spacelift broken",
"perché spacelift ha fallito", "errore spacelift", "spacelift rotto",
"debug spacelift", "correggi spacelift".
/logsspacelift:logsThis skill should be used when the user wants to read Spacelift run logs,
inspect a specific run, view resource changes, or find the run associated
with a branch or PR.
Activates on: "spacelift logs", "spacelift run", "show run", "run logs",
"read logs", "spacelift changes", "run details", "find run", "run for this branch",
"spacelift run status", "what changed in the run",
"log spacelift", "mostra log", "dettagli run", "modifiche run spacelift".
/previewspacelift:previewThis skill should be used when the user wants to run a Spacelift local
preview, trigger a proposed run from the current workspace, or test
infrastructure changes before pushing.
Activates on: "local preview", "spacelift preview", "preview spacelift",
"test changes spacelift", "run preview", "spacelift local", "try changes",
"anteprima locale", "anteprima spacelift", "provare modifiche spacelift".
/statusspacelift:statusThis skill should be used when the user wants to list Spacelift stacks,
check stack status, show stack details, view dependencies, or get an
overview of their Spacelift infrastructure.
Activates on: "spacelift", "spacelift status", "list stacks", "spacelift stacks",
"check spacelift", "show stack", "stack details", "spacelift dependencies",
"spacelift resources", "spacelift overview",
"stato spacelift", "controlla spacelift", "lista stack", "dipendenze spacelift".