A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
A Claude Code skill for comprehensive Bitbucket DevOps automation - manage pipelines, repositories, pull requests, and C
A Claude Code skill for comprehensive Bitbucket DevOps automation - manage pipelines, repositories, pull requests, and CI/CD workflows. Built on the bitbucket-mcp Model Context Protocol server.
Developed by Apra Labs - Building AI-powered developer tools
1. Clone and install:
git clone --recursive https://github.com/Apra-Labs/claude-bitbucket-devops-skill.git
cd claude-bitbucket-devops-skill
bash install.sh
2. Get Bitbucket App Password:
3. Configure credentials:
# Edit the file created by installer
nano ~/.claude/skills/bitbucket-devops/credentials.json
4. Restart VSCode:
Ctrl+Shift+P → "Developer: Reload Window"5. Test it:
Ask Claude: "What's the latest pipeline in my repo?"
✅ Done! Continue reading for detailed documentation.
🔍 Find Failures Fast
📊 Deep Analysis
📥 Smart Log Management
🚀 Pipeline Control
Pipeline development is painfully slow:
Average time to fix a failing pipeline: 2-4 hours (across multiple cycles)
With this skill, Claude Code transforms pipeline development into a rapid Read-Eval-Print Loop:
┌────────────────────────────────────────────────────────────────┐
│ REPL Loop for DevOps (Minutes, not Hours) │
├────────────────────────────────────────────────────────────────┤
│ 1. Claude observes your pipeline in real-time │
│ 2. Detects failures instantly │
│ 3. Downloads and analyzes logs automatically │
│ 4. Identifies root cause with AI │
│ 5. Suggests precise fixes to your code/script/yaml │
│ 6. You apply fix → Claude triggers new build │
│ 7. Repeat until green ✅✅ │
└────────────────────────────────────────────────────────────────┘
Result: 10-15 minute iteration cycles instead of hours
Example Conversation:
You: "The main branch build is failing"
Claude: [Checks latest pipeline, downloads logs, analyzes]
"Found the issue: TypeScript compilation error in auth.service.ts line 42
Missing return type. Here's the fix..."
You: "Apply it"
Claude: [Fixes code, commits, triggers new pipeline]
"Build #347 started. Monitoring..."
[5 minutes later]
"✅ Build passed! All tests green."
This is DevOps at the speed of thought - where your AI pair programmer handles the tedious observe-analyze-fix loop while you focus on building features.
Install the Claude Code extension for VSCode:
This skill uses direct Node.js API calls (no MCP server required):
💡 No MCP Server Needed! This skill uses the bitbucket-mcp codebase as a library (via git submodule), not as an MCP server. This approach eliminates approval prompts mentioned in GitHub Issue #10801 by using direct Node.js calls through the auto-approved Bash tool.
Create a Bitbucket App Password with these scopes:
Go to: https://bitbucket.org/account/settings/app-passwords/
Click "Create app password"
Select these permissions:
Save the generated password (you'll need it for configuration)
Clone and run the installer:
# Clone the skill repository
git clone --recursive https://github.com/Apra-Labs/claude-bitbucket-devops-skill.git
cd claude-bitbucket-devops-skill
# Run installer
# Unix/Linux/macOS:
bash install.sh
# Windows (PowerShell):
powershell -ExecutionPolicy Bypass -File install.ps1
The installer will:
~/.claude/skills/bitbucket-devops/If you prefer manual setup:
# 1. Clone with submodules
git clone --recursive https://github.com/Apra-Labs/claude-bitbucket-devops-skill.git ~/.claude/skills/bitbucket-devops
cd ~/.claude/skills/bitbucket-devops
# 2. Build the bitbucket-mcp library
cd bitbucket-mcp
npm install
npm run build
cd ..
# 3. Configure credentials
cp credentials.json.template credentials.json
# Edit credentials.json with your Bitbucket details
Edit ~/.claude/skills/bitbucket-devops/credentials.json:
{
"url": "https://api.bitbucket.org/2.0",
"workspace": "your-workspace-name",
"user_email": "your-email@example.com",
"username": "your-workspace-name",
"password": "your-bitbucket-app-password"
}
Important field distinctions:
user_email: Your Bitbucket account email (for API authentication)username: Your Bitbucket username/workspace slug (for git operations, typically same as workspace)workspace: Your workspace slug (repository owner)password: App password from BitbucketNote: The skill validates these fields and will show helpful error messages if you accidentally put your email in the username field or vice versa.
Alternative locations (priority order):
./credentials.json (highest priority)~/.bitbucket-credentials~/.claude/skills/bitbucket-devops/credentials.jsonTest that everything is working:
# Test helpers are available
node ~/.claude/skills/bitbucket-devops/lib/helpers.js get-latest "your-workspace" "your-repo"
# Expected: JSON output with latest pipeline info
If you get errors:
Important: Restart VSCode to load the skill:
Ctrl+Shift+P → "Developer: Reload Window"Open any project with Bitbucket pipelines and ask Claude:
"What's the latest pipeline?"
"Show me failing builds"
"Get logs from pipeline #123"
The skill activates automatically when you ask pipeline-related questions!
IMPORTANT: Bitbucket Cloud does NOT provide an API to download pipeline artifacts.
If you need to download build artifacts:
Tip: For programmatic artifact access, consider uploading to S3/Azure Blob Storage during your pipeline (separate skills available for those platforms).
This limitation has been thoroughly researched - no undocumented API exists. See ARTIFACTS_RESEARCH.md for full research details.
In each project where you use this skill, add to .gitignore:
# Pipeline debug logs
.pipeline-logs/
Just ask Claude naturally! The skill activates automatically for pipeline-related questions.
Find Latest Failure:
You: What's the latest failed pipeline?
Inspect Specific Pipeline:
You: Show me details for pipeline #34
Analyze Failures:
You: Which steps failed in pipeline #34?
You: Get logs for the failed steps
Trigger New Build:
You: Run the deploy-production pipeline on main
You: Trigger staging deployment with DRY_RUN=true
Work Across Projects:
You: Show latest failure in workspace/other-repo
You: Get pipeline #45 from my-workspace/my-project
Logs are downloaded to your current project directory:
your-project/
├── .pipeline-logs/ ← Created automatically
│ ├── pipeline-123-deploy.log
│ ├── pipeline-123-test.log
│ └── metadata.json
├── src/
└── ...
This means:
.gitignoreThe skill automatically works with any workspace/repo you specify:
Unlike traditional MCP-based skills, this skill does not require running an MCP server. Here's how it works:
The traditional MCP server approach (v1.0.0) required manual approval for every API call due to GitHub Issue #10801. By using direct Node.js calls through Bash (v1.1.0), we've eliminated all approval prompts while maintaining full functionality.
Benefits:
Solution: Restart VSCode to reload skills
Ctrl+Shift+P → "Developer: Reload Window"Possible causes:
Solution:
You: List recent pipelines
You: Show me the last 20 builds
Check:
Repository: Read and Pipeline: Read/Write scopescredentials.jsonReasons:
This skill is built on top of:
Note: While this skill uses the bitbucket-mcp codebase, it does NOT require running the MCP server. We use it as a library via git submodule.
We welcome contributions! See CONTRIBUTING.md for guidelines.
Ideas for contributions:
This work is licensed under a Creative Commons Attribution 4.0 International License.
You are free to:
Under the following terms:
See LICENSE for full details.
Foundation: Master the operational side of DevOps
Enhanced Build Monitoring
Deployment Operations
Failure Analysis & Recovery
Build Performance
Evolution: Build better pipelines
Pipeline Analysis
Pipeline Improvement
Advanced Pipeline Features
Testing & Quality Gates
Collaboration: Connect code to work
Pull Request Workflows
Code Review Assistance
Work Item Integration
PR Tasks & Collaboration
Organization: Manage code at scale
Smart Repository Management
Branch Strategy & Governance
Code Organization
Insights: Measure and improve
DevOps Metrics (DORA)
Team Performance
Operational Reports
Scale: Enterprise-ready features
External Integrations
Enterprise Features
Advanced Automation
Maintained by Apra Labs
Built with ❤️ for the Claude Code community
npx CLI installing 100+ agents, commands, hooks, and integrations in one command
干净、强大、属于你的 AI Agent 平台 --AI agents, without the clutter.
Native macOS app to monitor Claude AI usage limits and watch your coding sessions live
Pocket Flow: Codebase to Tutorial