/spacelift:logsfrom spacelift
This 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".
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.
Read Spacelift run logs, inspect run details, view resource changes, and find runs by branch or PR.
Reference files: Consult reference/spacectl-tools.md for the full MCP tool catalog and CLI equivalents.
spacelift.spacectl-mcp): get_stack_run, get_stack_run_logs, get_stack_run_changes, list_stack_runs, list_stack_proposed_runsspacectlUse ToolSearch with query spacelift to check if MCP tools are available. See reference/spacectl-tools.md § Tool Detection.
The user may provide:
list_stack_proposed_runs, filter by branchgit branch --show-current, then filter proposed runspull_request_read with method: get_check_runs) to find the Spacelift check. The details_url contains the run URL with the run ID as the last path segment.Use get_stack_run (MCP) to get:
Use get_stack_run_logs (MCP) with stack_id and run_id.
skip and limit to paginate (e.g., skip: 0, limit: 200, then skip: 200, limit: 200)skip valuesed 's/\x1b\[[0-9;]*m//g'For phase-level logs (not available via MCP), use the GraphQL query in reference/spacectl-tools.md § Phase-level logs.
Use get_stack_run_changes (MCP) to show which resources were added, changed, or destroyed.
Format as:
**Run** `<run-id>` on stack `<stack-slug>`
**State**: FINISHED | FAILED | PLANNING | ...
**Branch**: feature/my-change
**Delta**: +3 ~1 -0
<log output or relevant excerpt>
For resource changes, show a table:
| Action | Resource | Address |
|--------|----------|---------|
| + add | aws_s3_bucket | module.storage.aws_s3_bucket.main |
| ~ update | aws_iam_role | module.iam.aws_iam_role.lambda |
| Situation | Action |
|---|---|
| MCP tools not available | Fall back to CLI. See reference/spacectl-tools.md § CLI Equivalents |
| Run not found | List runs for the stack with list_stack_runs or list_stack_proposed_runs and verify the run ID |
| No preview runs for branch | The PR may not have triggered Spacelift yet, or the stack doesn't watch that repo |
| Large log output | Use skip and limit to paginate, or focus on the tail |
| 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".
/managespacelift:manageThis 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".
/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".