Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bitbucket-devops

БесплатноЗапускает вложенные скриптыНе проверен

Comprehensive Bitbucket pipeline automation using direct Node.js API calls. Monitor pipeline status, analyze failures, download logs, and trigger builds. Use…

aiskillstoreот aiskillstore★ 509 звёзд на GitHub

Об этом скилле

Bitbucket DevOps Skill

This skill provides comprehensive Bitbucket DevOps automation using direct Node.js API calls via a Bash-equivalent tool. Built on the bitbucket-mcp client library. It's plain Node.js CLI invocation with no Claude-specific dependency, so it runs unchanged under Claude Code, AGY, OpenCode, or any other agent runtime that can shell out to node.

Note on paths: Paths below (~/.claude/skills/bitbucket-devops/...) reflect Claude Code's skill-install convention, since install.sh/install.ps1 default to --llm claude. If this skill was installed with --llm agy or --llm opencode, substitute ~/.gemini/antigravity-cli/skills/bitbucket-devops/ or ~/.config/opencode/skills/bitbucket-devops/ respectively (or whatever TARGET_DIR was used) - the commands themselves are identical.

Key Advantage: Uses direct Node.js calls via a Bash-equivalent tool instead of MCP tools. This works the same way in any agent runtime that can invoke shell commands (Claude Code, AGY, OpenCode, etc.) - there's no Claude-specific API or tool assumption anywhere in this skill's code. In Claude Code specifically, Bash is auto-approved by default, which also eliminates the MCP approval-prompt friction described in GitHub Issue #10801; other runtimes may have their own approval model for shell commands, but the underlying calls are identical either way.

⚠️ MANDATORY: How to Approach User Requests

You MUST follow this three-tier fallback strategy for ALL Bitbucket operations. This is REQUIRED, not optional.

CRITICAL RULES:

  • DO NOT create new .js files for Bitbucket API calls
  • DO NOT use node -e for inline Bitbucket API operations
  • ONLY use the pre-built CLI tools listed below
  • ALWAYS start with Tier 1, fall back to Tier 2 if needed, use Tier 3 only as last resort

Tier 1: High-Level Helper Functions (REQUIRED FIRST STEP)

You MUST check these helpers FIRST before attempting any other approach.

These solve common workflows in a single command. If the user's request matches any of these patterns, you MUST use the corresponding helper.

Location: ~/.claude/skills/bitbucket-devops/lib/helpers.js

Available Commands:

  • get-latest-failed <workspace> <repo> - Get most recent failed pipeline
  • get-latest <workspace> <repo> - Get most recent pipeline (any status)
  • get-by-number <workspace> <repo> <build-number> - Find pipeline by build number
  • get-failed-steps <workspace> <repo> <pipeline-uuid> - Get all failed steps
  • download-failed-logs <workspace> <repo> <pipeline-uuid> <build-number> - Download all failed step logs
  • get-info <workspace> <repo> <pipeline-uuid> - Get formatted pipeline + steps info
  • list-environments <workspace> <repo> - List deployment environments (sandbox/production/etc)
  • create-environment <workspace> <repo> <name> [environment_type] [rank] - Create a deployment environment
  • list-deploy-variables <workspace> <repo> <environment> - List secured deployment variables for an environment
  • create-deploy-variable <workspace> <repo> <environment> <key> <value> [secured] - Add a deployment variable
  • update-deploy-variable <workspace> <repo> <environment> <variable> [key] [value] [secured] - Update a deployment variable
  • delete-deploy-variable <workspace> <repo> <environment> <variable> - Delete a deployment variable
  • check-credentials - Reports which credential file is active and whether it's shaped correctly (field names, format validity), WITHOUT ever printing a secret value. Run this instead of opening/catting a credentials file directly to debug an auth problem.
  • check-for-updates - Reports whether this repo's main branch has moved forward since this skill was installed. Report-only, never applies anything.
  • self-update [confirm] - Without confirm, same report as check-for-updates. With confirm, pulls/rebuilds the update in place (git checkout installs) or redeploys from a fresh clone (file-copy installs) - never overwrites credentials.json.

MUST use for: "latest failed build", "download logs for pipeline #123", "what failed in this build", "get pipeline by number", "create a sandbox/production deployment environment", "add a deployment secret/variable", "list deployment environments", "check for skill updates", "update this skill"

Requires a different app-password scope than the rest of this skill - see Deployment Environments & Variables below before using these six commands.

Usage:

node ~/.claude/skills/bitbucket-devops/lib/helpers.js <command> <args>

Example:

# User: "What's the latest failing pipeline?"
# You MUST use:
node ~/.claude/skills/bitbucket-devops/lib/helpers.js get-latest-failed "workspace" "repo"

# DO NOT create a new script
# DO NOT use node -e
# DO NOT write custom API calls

Полный SKILL.md на GitHub

Установить bitbucket-devops в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Grep
Glob

Вложенные файлы

.gitattributes.gitignore.gitmodulesCHANGELOG.mdCONTRIBUTING.mdLICENSEREADME.mdTESTING.mdcredentials.json.templateinstall.ps1install.shpackage.jsonskill-report.jsonsmoke-test.sh

FAQ

Что делает скилл bitbucket-devops?

Comprehensive Bitbucket pipeline automation using direct Node.js API calls. Monitor pipeline status, analyze failures, download logs, and trigger builds. Use this skill when the user asks to check pipeline status, find failing pipelines, download logs, trigger builds, or debug pipeline failures. No MCP approval prompts required - uses Bash tool with node commands.

Как установить скилл bitbucket-devops?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bitbucket-devops запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить bitbucket-devops с