pipelinelisted
Install: claude install-skill chris-peterson/anchor
# Pipeline
Report a commit's forge pipeline state, or watch until it settles. This is the
entry point for forge-pipeline operations, and today those are the two it
covers:
- **Status (default)** — *"what's the pipeline doing?"* / *"get the latest
pipeline."* A one-shot read: resolve the pipeline for the commit and report
its state now.
- **Watch** — *"tell me when it's done"* / *"notify me when CI passes."* Poll
in the background until the pipeline reaches a terminal state, then report.
GitHub calls a pipeline a *workflow run* and GitLab calls it a *pipeline*; this
skill uses **pipeline** for both, and `glab api` / `gh run` for the forge calls.
**Don't narrate your work.** Every step below is an operating instruction, not a
script to read aloud — follow the execute-quietly discipline:
`${CLAUDE_PLUGIN_ROOT}/guides/execute-quietly.md`. For this skill, the only
things worth surfacing are the resolved repo in one line if it's ambiguous, and
the pipeline verdict.
```mermaid
%%{ init: { 'look': 'handDrawn' } }%%
flowchart TD
Start(["/pipeline"]) --> Repo["Confirm target repo"]
Repo --> Mode{Watch requested?}
subgraph once["One-shot (default)"]
Mode -->|No| Once["pipeline-status.sh"]
Once --> ReportA["Report current state"]
end
subgraph watch["Watch"]
Mode -->|Yes| Watch["pipeline-status.sh --watch in background"]
Watch --> Settle{Terminal state?}
Settle --> ReportB["Report verdict on settle"]
end
```
##