/devops-pipeline:ci-pipelinefrom devops-pipeline
Pushes the current branch (with safety checks against main/master/production) and returns the pipeline tracking URL for GitLab CI or GitHub Actions.
Ships in devops-pipeline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pushes the current branch and returns the pipeline tracking link. Never force-push: this skill takes no flags.
BRANCH=$(git branch --show-current)
# 1. Safety checks
if echo "$BRANCH" | grep -qE "^(main|master|production)$"; then
echo "❌ Direct push to $BRANCH is not allowed. Create a feature/fix branch."
exit 1
fi
# 2. Check for uncommitted changes
UNCOMMITTED=$(git status --porcelain | wc -l | tr -d ' ')
if [ "$UNCOMMITTED" -gt 0 ]; then
echo "⚠️ $UNCOMMITTED uncommitted file(s):"
git status --short
echo ""
echo "Commit first with /commit or git add + git commit"
exit 0
fi
# 3. Push
echo "Pushing → origin/$BRANCH"
if ! git push origin "$BRANCH" 2>&1; then
echo "❌ Push failed. No pipeline was triggered by this run."
exit 1
fi
echo "✅ Push OK"
Run this step only if the block above printed ✅ Push OK. If the push failed or was skipped (uncommitted files), stop and report that.
REMOTE=$(git remote get-url origin 2>/dev/null || echo "")
WEB_URL=$(echo "$REMOTE" | sed 's/git@gitlab\.com:/https:\/\/gitlab.com\//' | sed 's/\.git$//')
echo ""
echo " Pipeline: $WEB_URL/-/pipelines?ref=$BRANCH"
# Live status via glab (if installed)
if command -v glab &>/dev/null; then
sleep 3
glab ci status --branch "$BRANCH" 2>/dev/null || true
fi
REMOTE=$(git remote get-url origin 2>/dev/null || echo "")
WEB_URL=$(echo "$REMOTE" | sed 's/git@github\.com:/https:\/\/github.com\//' | sed 's/\.git$//')
echo ""
echo " Actions: $WEB_URL/actions?query=branch%3A$BRANCH"
# Live status via gh (if installed)
if command -v gh &>/dev/null; then
sleep 5
gh run list --branch "$BRANCH" --limit 3 2>/dev/null || true
fi
Pushing → origin/feat/add-payment-retry
Enumerating objects: 12, done.
...
✅ Push OK
Pipeline: https://gitlab.com/org/my-app/-/pipelines?ref=feat/add-payment-retry
Pipeline status (after 3s):
⏳ lint running
⏸️ test waiting
⏸️ deploy waiting
/ci-pipeline
What SKILL.md sets; muted values are Claude Code's defaults
haikulowThree short reads, in order
13 skills in this plugin
/canaryPost-deploy monitoring: watch production after a deploy and alert on regressions/ci-allRun the local test suite and type check, push the current branch, and return the pipeline URL. Use before opening a PR./ci-statusShow the CI pipeline status for the active branch (GitLab CI or GitHub Actions), or for a given MR or PR number. Use when asked whether CI passed, is running, or failed./ci-testsRun the test suite for the current repo, auto-detecting Python (pytest/uv), Node (vitest/pnpm), or Rust (cargo test)npx claudepluginhub florianbruniaux/claude-code-plugins --plugin devops-pipelineOther plugins' skills for the same job