[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AMXAVSY54B1BVW605F6RQZ":3,"skill-same:01M7AMXAVSY54B1BVW605F6RQZ":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7AMXAVSY54B1BVW605F6RQZ","bitbucket-azure",null,"Use when working with Bitbucket Pipelines in Azure\u002FMicrosoft environments, or when comparing Bitbucket vs GitHub Actions vs Azure DevOps for CI\u002FCD. Triggers on any Bitbucket Pipelines question, especially regarding Azure authentication, OIDC, deployment environments, or pricing.","the-vibey-project\u002Fvibey","the-vibey-project","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F329298758?v=4","01M7AJHGZ9722CTJ4JNQZVRH0Q","the vibey project","01M7AJHGZVMG2K7TGXQ6XFHVG3",5,"MIT","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fdevsecops-cicd\u002Fskills\u002Fbitbucket-azure\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bitbucket-azure\ndescription: Use when working with Bitbucket Pipelines in Azure\u002FMicrosoft environments, or when comparing Bitbucket vs GitHub Actions vs Azure DevOps for CI\u002FCD. Triggers on any Bitbucket Pipelines question, especially regarding Azure authentication, OIDC, deployment environments, or pricing.\n---\n\n# Bitbucket Pipelines for Azure Shops: Complete Reference\n\n## TL;DR Decision Guide\n\n**Use Bitbucket Pipelines if:**\n- Already committed to the Atlassian\u002FJira ecosystem\n- Azure surface is App Service, AKS, ACR, Static Web Apps\n- Acceptable to mitigate the OIDC-to-Azure gap with per-environment service-principal secrets + auto-rotation\n\n**Switch to GitHub Actions or Azure DevOps if:**\n- Security posture requires federated identity end-to-end with zero stored secrets\n- Need hosted Windows or macOS runners (Bitbucket has Linux-only hosted runners)\n- Release pipelines require multi-stage, multi-approver gates with auditable approvals\n- DevSecOps requires first-party SCA\u002Fsecret scanning\u002FSBOM (GitHub Advanced Security)\n\n---\n\n## The Critical Azure OIDC Gap\n\n**Bitbucket Pipelines OIDC tokens CANNOT be used to log into Azure (Entra ID).** This is not a configuration issue — it is an architectural incompatibility confirmed by Atlassian.\n\nAtlassian Team (Theodora Boudale, 27 Feb 2024): *\"Bitbucket's OIDC tokens cannot be used for logging in to Azure.\"*\n\nFeature request BCLOUD-22206 (\"Provide native support for authentication using OIDC within the Azure platform\") is status **Gathering Interest, Unresolved** as of January 2026. Atlassian has not committed to building this.\n\n**Root cause:** Bitbucket's `sub` claim is not in a stable, predictable subject-identifier format that Entra's federated-credential validator accepts. Entra also rejects Bitbucket's ARI-format audience for public cloud applications:\n> \"Failed to update federated credential. Expression is not supported for applications in this cloud 'Public' using issuer 'https:\u002F\u002Fapi.bitbucket.org\u002F…\u002Fpipelines-config\u002Fidentity\u002Foidc'.\"\n\nContrast with GitHub Actions (`azure\u002Flogin@v1` with federated credentials) and GitLab CI\u002FCD — both federate seamlessly into Entra without stored secrets. Bitbucket cannot.\n\n---\n\n## Mitigation Options for Azure Authentication\n\n### Option A: Per-Environment Service Principal Secrets (Most Common)\n\nProvision one service principal per environment, scoped tightly to a resource group:\n\n```bash\naz ad sp create-for-rbac \\\n  --name bitbucket-prod \\\n  --role Contributor \\\n  --scopes \u002Fsubscriptions\u002F\u003Csub>\u002FresourceGroups\u002Frg-prod\n```\n\nStore `AZURE_APP_ID`, `AZURE_PASSWORD`, `AZURE_TENANT_ID` as **deployment variables** (not repository variables) so they are only injected when `deployment: \u003Cenv>` is on the step:\n\n```yaml\n- step:\n    name: Deploy to Prod\n    deployment: production    # Scopes these variables to this step only\n    script:\n      - pipe: microsoft\u002Fazure-arm-deploy:1.0.0\n        variables:\n          AZURE_APP_ID: $AZURE_APP_ID\n          AZURE_PASSWORD: $AZURE_PASSWORD\n          AZURE_TENANT_ID: $AZURE_TENANT_ID\n          AZURE_RESOURCE_GROUP: rg-prod\n          AZURE_TEMPLATE_LOCATION: infra\u002Fmain.bicep\n```\n\n**Auto-rotate secrets** via a scheduled custom pipeline:\n```yaml\ncustom:\n  rotate-azure-credentials:\n    - variables:\n        - name: TARGET_ENV\n          default: prod\n          allowed-values: [dev, staging, prod]\n    - step:\n        script:\n          - az login --service-principal -u $AZURE_APP_ID -p $AZURE_PASSWORD --tenant $AZURE_TENANT_ID\n          - NEW_SECRET=$(az ad app credential reset --id $AZURE_APP_ID --query password -o tsv)\n          - curl -X PUT \"https:\u002F\u002Fapi.bitbucket.org\u002F2.0\u002Frepositories\u002F$BITBUCKET_WORKSPACE\u002F$BITBUCKET_REPO_SLUG\u002Fdeployments_config\u002Fenvironments\u002F$ENV_UUID\u002Fvariables\u002F$VAR_UUID\" \\\n              -H \"Authorization: Bearer $BITBUCKET_ACCESS_TOKEN\" \\\n              -d \"{\\\"value\\\": \\\"$NEW_SECRET\\\", \\\"secured\\\": true}\"\n```\n\n### Option B: Token Broker Azure Function (Recommended for Zero Long-Lived Secrets)\n\nBuild an Azure Function that:\n1. Validates the incoming `BITBUCKET_STEP_OIDC_TOKEN` against Bitbucket's JWKS endpoint\n2. Verifies expected claims: `workspaceUuid`, `repositoryUuid`, `deploymentEnvironmentUuid`\n3. On success, mints a short-lived (1-hour) client secret on a per-environment App Registration\n4. Returns temporary credentials to the pipeline\n\n```yaml\n- step:\n    oidc: true    # Enables BITBUCKET_STEP_OIDC_TOKEN in this step\n    deployment: production\n    script:\n      # Exchange Bitbucket OIDC token for short-lived Azure credentials\n      - |\n        CREDS=$(curl -s -X POST \"https:\u002F\u002Ftoken-broker.azurewebsites.net\u002Fapi\u002Fexchange\" \\\n          -H \"Content-Type: application\u002Fjson\" \\\n          -d \"{\\\"oidcToken\\\": \\\"$BITBUCKET_STEP_OIDC_TOKEN\\\", \\\"environment\\\": \\\"production\\\"}\")\n        export AZURE_APP_ID=$(echo $CREDS | jq -r '.clientId')\n        export AZURE_PASSWORD=$(echo $CREDS | jq -r '.clientSecret')\n        export AZURE_TENANT_ID=$(echo $CREDS | jq -r '.tenantId')\n      - az login --service-principal -u $AZURE_APP_ID -p $AZURE_PASSWORD --tenant $AZURE_TENANT_ID\n```\n\nThe token broker validates Bitbucket OIDC (which works fine for non-Azure targets) and then uses a \"Management App\" with `Application.ReadWrite.OwnedBy` to mint short-lived credentials. Treat the Function as security-critical: rate-limit by repository UUID, log every exchange to a Sentinel workspace.\n\n### Option C: Azure Pipelines as Orchestrator\n\nKeep Bitbucket as code host but run deployment legs on Azure Pipelines with its native workload-identity service connection:\n\n- Bitbucket Cloud is a first-class repository type in Azure Pipelines (YAML pipelines + PR triggers supported)\n- Azure Pipelines builds the **latest commit on the PR source branch** (not merge commit — Bitbucket Cloud doesn't expose merge-commit info via API)\n- Keep CI (build, test, lint) on Bitbucket Pipelines; run deployment legs on Azure Pipelines\n\n### Option D: HashiCorp Vault as Intermediary\n\nBitbucket OIDC works fine with Vault (unlike Azure). Use Vault's `azure` secrets engine:\n\n```yaml\n- step:\n    oidc: true\n    script:\n      - vault login -method=jwt jwt=$BITBUCKET_STEP_OIDC_TOKEN role=bitbucket-deployer\n      - AZURE_CREDS=$(vault read azure\u002Fcreds\u002Fdeployer -format=json)\n      - export AZURE_APP_ID=$(echo $AZURE_CREDS | jq -r '.data.client_id')\n      - export AZURE_PASSWORD=$(echo $AZURE_CREDS | jq -r '.data.client_secret')\n```\n\n---\n\n## Pipeline Model and Core Mechanics\n\n### Single-File Structure\n\nEverything in `bitbucket-pipelines.yml` at the repo root. Unlike GitHub Actions (multiple `.github\u002Fworkflows\u002F*.yml` files), Bitbucket uses a single file. YAML anchors and the new shared-config import mechanism mitigate duplication.\n\n```yaml\nimage: atlassian\u002Fdefault-image:4    # Default Docker image for all steps\n\ndefinitions:\n  caches:\n    custom-cache: .\u002Fbuild-cache     # Custom path-based cache\n  services:\n    docker:\n      memory: 3072                  # Increase beyond default 1 GB for image builds\n    postgres:\n      image: postgres:16\n      variables:\n        POSTGRES_PASSWORD: testpw\n\npipelines:\n  default:                          # Runs on push to any branch not matched below\n    - step:\n        script:\n          - echo \"build and test\"\n\n  branches:\n    main:\n      - stage:\n          name: Build & Test\n          steps:\n            - step:\n                name: Build\n                script:\n                  - npm ci\n                  - npm run build\n                artifacts:\n                  - dist\u002F**          # Available to subsequent steps\n            - parallel:\n                fail-fast: true\n                steps:\n                  - step:\n                      name: Unit Tests\n                      script: [npm test]\n                  - step:\n                      name: Integration Tests\n                      script: [npm run test:integration]\n                      services: [postgres]\n      - step:\n          name: Deploy to Production\n          deployment: production     # Environment-scoped variables + Deployments dashboard\n          trigger: manual           # Any write-access user can trigger\n          script:\n            - pipe: atlassian\u002Fazure-aks-helm-deploy:1.0.0\n              variables:\n                AZURE_APP_ID: $AZURE_APP_ID\n                AZURE_PASSWORD: $AZURE_PASSWORD\n                AZURE_TENANT_ID: $AZURE_TENANT_ID\n                CLUSTER_NAME: aks-prod\n                RESOURCE_GROUP: rg-prod\n                RELEASE_NAME: myapp\n                CHART: .\u002Fcharts\u002Fmyapp\n                VALUES_FILE: helm\u002Fvalues-prod.yaml\n\n  pull-requests:\n    '**':\n      - step:\n          script:\n            - npm test\n            - npm run lint\n\n  tags:\n    'v*.*.*':\n      - step:\n          deployment: production\n          script:\n            - echo \"Deploying tag $BITBUCKET_TAG\"\n```\n\n### Triggers Block (November 2025+)\n\nThe new `triggers:` block enables event-driven chaining:\n\n```yaml\npipelines:\n  custom:\n    deploy-after-scan:\n      triggers:\n        - type: pipeline-completed\n          pipeline: security-scan\n          condition:\n            status: successful\n      steps:\n        - step:\n            script:\n              - echo \"Security scan passed, deploying\"\n```\n\nSupported event types: `repository-push`, `pullrequest-push`, `pipeline-completed`, `deployment-completed`, `pullrequest-created\u002Fupdated\u002Ffulfilled\u002Frejected\u002Freviewer-status-updated`.\n\n---\n\n## Azure Pipes Reference\n\nMicrosoft and Atlassian maintain these pipes for Azure deployments:\n\n| Pipe | Purpose |\n|---|---|\n| `microsoft\u002Fazure-cli-run:1.x` | Run arbitrary `az` commands |\n| `microsoft\u002Fazure-arm-deploy:1.x` | Deploy ARM\u002FBicep templates |\n| `microsoft\u002Fazure-functions-deploy:1.x` | Deploy Azure Functions |\n| `atlassian\u002Fazure-web-apps-deploy:1.x` | Deploy zip-based App Service code |\n| `atlassian\u002Fazure-web-apps-containers-deploy:1.x` | Deploy container images to App Service |\n| `microsoft\u002Fazure-aks-deploy:1.x` | kubectl against AKS |\n| `atlassian\u002Fazure-aks-helm-deploy:1.x` | Helm against AKS |\n| `microsoft\u002Fazure-storage-deploy:1.x` | Sync to Azure Storage |\n| `microsoft\u002Fazure-static-web-apps-deploy:1.x` | Deploy to Azure Static Web Apps |\n\nAll pipes expect `AZURE_APP_ID`, `AZURE_PASSWORD`, `AZURE_TENANT_ID` as variables. ACR pushes:\n\n```yaml\nscript:\n  - docker build -t myregistry.azurecr.io\u002Fmyapp:$BITBUCKET_COMMIT .\n  - docker login myregistry.azurecr.io -u $AZURE_APP_ID -p $AZURE_PASSWORD\n  - docker push myregistry.azurecr.io\u002Fmyapp:$BITBUCKET_COMMIT\n```\n\n---\n\n## Deployment Environments and Variables\n\nBitbucket has three variable scopes:\n1. **Workspace variables** — shared across all repos in the workspace\n2. **Repository variables** — scoped to one repo\n3. **Deployment variables** — scoped to a specific environment (`deployment: production`)\n\nUse deployment variables for environment-specific credentials. Variables marked **Secured** are masked in logs and not accessible via the API after creation.\n\n**Important:** The only built-in gate is `trigger: manual` — any user with write access can trigger. There is no native multi-approver workflow, no required reviewers, no environment protection rules equivalent to GitHub Environments or Azure DevOps Approvals & Checks.\n\nOn **Premium** plan, deployment permissions allow restricting which users can deploy to each environment. For multi-approver workflows, integrate Jira Service Management change management.\n\n---\n\n## YAML Anchors for In-Repo Reuse\n\nYAML anchors are the mechanism for deduplication within a single `bitbucket-pipelines.yml`:\n\n```yaml\ndefinitions:\n  steps:\n    - step: &build-step\n        name: Build\n        script:\n          - npm ci\n          - npm run build\n        caches: [node]\n        artifacts: [dist\u002F**]\n\n    - step: &test-step\n        name: Test\n        script: [npm test]\n        caches: [node]\n\npipelines:\n  branches:\n    main:\n      - step: *build-step\n      - step: *test-step\n      - step:\n          name: Deploy\n          script: [.\u002Fdeploy.sh]\n\n    develop:\n      - step: *build-step\n      - step: *test-step\n```\n\nFor reuse across repos, use the shared pipeline config mechanism (Premium feature):\n```yaml\n# In consuming repo's bitbucket-pipelines.yml\nimport:\n  repository: myorg\u002Fshared-pipelines\n  ref: main\n  path: security-scan-pipeline\n\npipelines:\n  branches:\n    main:\n      - import: security-scan-pipeline\n```\n\n---\n\n## Runners: Hosted vs Self-Hosted\n\n### Hosted Runners (Atlassian-managed)\n\n**Linux only** — x86_64 by default, ARM available via `runtime.cloud.arch: arm`. No hosted Windows, no hosted macOS.\n\nStep sizes and memory:\n| Size | Memory | vCPU | Minute multiplier |\n|---|---|---|---|\n| 1x (default) | 4 GB | 2 | 1x |\n| 2x | 8 GB | 4 | 2x |\n| 4x | 16 GB | 8 | 4x |\n| 8x | 32 GB | 16 | 8x |\n| 16x–32x | 64–128 GB | 32–64 | 16x–32x |\n\n**Size multipliers consume minutes at the multiplier rate** — a 4x step costs 4 minutes per 1 minute of wall-clock time. This is the single most common source of cost surprise.\n\n```yaml\n- step:\n    name: Heavy Build\n    size: 4x    # Costs 4x minutes — check before committing to this size\n    script:\n      - mvn clean package\n```\n\n**Docker service memory** is capped at 1 GB independent of step `size:`. Modern images exceed this. Always set explicitly for image-heavy pipelines:\n\n```yaml\ndefinitions:\n  services:\n    docker:\n      memory: 3072    # 3 GB — must set separately from step size\n```\n\n### Self-Hosted Runners\n\nRequired for Windows, macOS, or builds needing private network access (private AKS clusters, App Service with IP restrictions).\n\n```yaml\n- step:\n    name: Windows Build\n    runs-on:\n      - self.hosted    # Routes to self-hosted runners\n      - windows        # Label filtering\n    script:\n      - dotnet build\n      - dotnet test\n```\n\n**Pricing (March 2026 model):** Up to 100 free self-hosted runners per workspace. Premium Runners add-on billed by maximum concurrent build slots used per month. V3\u002FV4 runners deprecated mid-2026 — migrate to V5.\n\n---\n\n## Pricing (May 2026, Atlassian List)\n\n| Plan | Price | Build minutes\u002Fmo | Concurrent steps | Key features |\n|---|---|---|---|---|\n| **Free** | $0 (≤5 users) | 50 | 10 | Unlimited repos, basic CI\u002FCD |\n| **Standard** | $3.65\u002Fuser\u002Fmo (flat $18.25\u002Fmo for 1–5) | 2,500 | up to 600 | 4x\u002F8x step sizes |\n| **Premium** | $7.25\u002Fuser\u002Fmo (flat $36.25\u002Fmo for 1–5) | 3,500 | up to 600 | IP allowlisting, merge checks, deployment permissions, required 2SV |\n\n- Overage: $10 per 1,000 additional minutes\n- Additional LFS storage: $10 per 100 GB\n- Build minutes are **workspace-pooled** — a single noisy repo can starve all others. No per-repo quota.\n\n**SSO is a separate Atlassian Guard subscription**: Guard Standard $4.20\u002Fuser\u002Fmo, Guard Premium $8.18\u002Fuser\u002Fmo. For 100-user enterprise on Premium + Guard Premium: effective $15.43\u002Fuser\u002Fmonth, not $7.25.\n\n**Cost intuition:** A 16-minute pipeline fanning out across 4 parallel containers can easily consume 70+ workspace minutes per run. 100 runs\u002Fday = ~210,000 minutes\u002Fmonth = ~$2,100\u002Fmonth in overage above the Standard plan's 2,500 bundled minutes.\n\n---\n\n## Comparison: Bitbucket vs GitHub Actions vs Azure DevOps\n\n| Feature | Bitbucket Pipelines | GitHub Actions | Azure DevOps |\n|---|---|---|---|\n| Pipeline structure | Single YAML file | Multiple workflow files | YAML + classic editor |\n| Hosted OS | Linux only | Linux, Windows, macOS | Linux, Windows, macOS |\n| OIDC to Azure | **Not supported** | Native (azure\u002Flogin) | Native (workload identity) |\n| Multi-approver gates | trigger: manual only | Environments + required reviewers | Approvals & Checks |\n| Marketplace | 50–100+ pipes | 20,000+ actions | Thousands of extensions |\n| Free build minutes\u002Fmo | 50 | 2,000 | 1,800 |\n| Native secret scanning | No (third-party pipes) | Yes (GitHub Advanced Security) | No (third-party tasks) |\n| Jira integration | Native | Via GitHub Issues | Via Azure Boards |\n| Matrix builds | Manual parallel expansion | Native strategy.matrix | Via PowerShell loops |\n| Job DAG | No (sequential + parallel) | Yes (needs:) | Yes (dependsOn) |\n\n---\n\n## Known Limitations and Gotchas\n\n1. **No OIDC to Azure** — the largest gap for Azure shops. No committed delivery from Atlassian.\n\n2. **Hosted Linux only** — .NET Framework builds, Windows containers, iOS\u002FmacOS all require self-hosted runners.\n\n3. **One YAML file per repo** — 30-workflow GitHub repos collapse into one potentially sprawling file.\n\n4. **Docker service 1 GB memory cap** — independent of step `size:`. OOM in docker build does not respond to `size: 4x` alone — must also raise `definitions.services.docker.memory`.\n\n5. **Docker cache limited to 1 GB** — modern images quickly exceed this. Use registry cache (`--cache-from`), self-hosted runners with disk, or Depot.\n\n6. **Artifacts expire after 14 days** — manual gate steps become un-clickable if the gate is held longer than 2 weeks because input artifacts are gone.\n\n7. **No matrix builds** — multi-runtime test matrices (Node 18×20×22 on Linux×Windows) that are one-liners in GHA require hand-expansion in Bitbucket.\n\n8. **Parallel steps cannot reliably share artifacts** — only the first finishing step can write a given cache. Fan-out → fan-in patterns require careful design.\n\n9. **IP allowlisting** — use `runtime.cloud.atlassian-ip-ranges: true` to constrain hosted runs to publishable IP ranges for Azure resources with IP restrictions.\n\n10. **Pushing more than 5 tags\u002Fbranches\u002Fbookmarks in one push skips pipeline runs entirely** — anti-runaway protection that can bite automation scripts.\n\n11. **IPv4 only** — if your Azure landing zone requires IPv6, this is a blocker.\n\n12. **Self-hosted runner pricing in flux** — the model changed significantly in early 2026; verify before any architectural commitment.\n\n---\n\n## Security Scanning Integration\n\nBitbucket has no first-party security scanning comparable to Dependabot or CodeQL. Wire in third-party tools via pipes:\n\n```yaml\npipelines:\n  pull-requests:\n    '**':\n      - parallel:\n          steps:\n            - step:\n                name: Snyk Dependency Scan\n                script:\n                  - pipe: snyk\u002Fsnyk-scan:1.0.0\n                    variables:\n                      SNYK_TOKEN: $SNYK_TOKEN\n                      SEVERITY_THRESHOLD: high\n                      FAIL_ON_ISSUES: 'true'\n\n            - step:\n                name: Secrets Scan\n                script:\n                  - pip install gitleaks\n                  - gitleaks detect --source . --verbose\n\n            - step:\n                name: SonarCloud Analysis\n                script:\n                  - pipe: sonarsource\u002Fsonarcloud-scan:2.0.0\n                    variables:\n                      SONAR_TOKEN: $SONAR_TOKEN\n```\n\nFor a comprehensive DevSecOps posture on Bitbucket, the pipeline cannot match GitHub Actions' first-party toolchain (Dependabot + CodeQL + secret scanning built into the platform). Budget for Snyk or Mend licenses as equivalents.\n\n---\n\n## Recommendations by Team Profile\n\n**Azure shop committed to Atlassian ecosystem:**\nUse Bitbucket Pipelines for CI, store Azure credentials as deployment-scoped secured variables, automate rotation, enforce Premium deployment permissions to restrict who can deploy to production.\n\n**Security review demands zero long-lived secrets:**\nBuild the Azure Function token broker (Option B above). 1 engineering-week to build, negligible runtime cost. Treats the function as security-critical with rate limiting and Sentinel logging.\n\n**Large enterprise with .NET + Azure portfolio:**\nHybrid: Bitbucket as code host, Azure Pipelines YAML pipelines for deployment legs (workload-identity service connections, native Windows\u002FmacOS hosted agents). One Azure DevOps Basic license per active user cleanly resolves the OIDC gap and hosted runner limitations.\n\n**Migration trigger thresholds:**\n- If monthly Bitbucket overage minutes bill exceeds ~$1,500, model GitHub Actions or Azure Pipelines economics\n- If maintaining more than 10 self-hosted runners, evaluate the Premium Runners tier or GitHub's larger hosted runners\n- If BCLOUD-22206 ships native Azure OIDC, retire the token broker immediately\n","# Bitbucket Pipelines for Azure Shops: Complete Reference\n\n## TL;DR Decision Guide\n\n**Use Bitbucket Pipelines if:**\n- Already committed to the Atlassian\u002FJira ecosystem\n- Azure surface is App Service, AKS, ACR, Static Web Apps\n- Acceptable to mitigate the OIDC-to-Azure gap with per-environment service-principal secrets + auto-rotation\n\n**Switch to GitHub Actions or Azure DevOps if:**\n- Security posture requires federated identity end-to-end with zero stored secrets\n- Need hosted Windows or macOS runners (Bitbucket has Linux-only hosted runners)\n- Release pipelines require multi-stage, multi-approver gates with auditable approvals\n- DevSecOps requires first-party SCA\u002Fsecret scanning\u002FSBOM (GitHub Advanced Security)\n\n---\n\n## The Critical Azure OIDC Gap\n\n**Bitbucket Pipelines OIDC tokens CANNOT be used to log into Azure (Entra ID).** This is not a configuration issue — it is an architectural incompatibility confirmed by Atlassian.\n\nAtlassian Team (Theodora Boudale, 27 Feb 2024): *\"Bitbucket's OIDC tokens cannot be used for logging in to Azure.\"*\n\nFeature request BCLOUD-22206 (\"Provide native support for authentication using OIDC within the Azure platform\") is status **Gathering Interest, Unresolved** as of January 2026. Atlassian has not committed to building this.\n\n**Root cause:** Bitbucket's `sub` claim is not in a stable, predictable subject-identifier format that Entra's federated-credential validator accepts. Entra also rejects Bitbucket's ARI-format audience for public cloud applications:\n> \"Failed to update federated credential. Expression is not supported for applications in this cloud 'Public' using issuer 'https:\u002F\u002Fapi.bitbucket.org\u002F…\u002Fpipelines-config\u002Fidentity\u002Foidc'.\"\n\nContrast with GitHub Actions (`azure\u002Flogin@v1` with federated credentials) and GitLab CI\u002FCD — both federate seamlessly into Entra without stored secrets. Bitbucket cannot.\n\n---\n\n## Mitigation Options for Azure Authentication\n\n### Option A: Per-Environment Service Principal Secrets (Most Common)\n\nProvision one service principal per environment, scoped tightly to a resource group:\n\n```bash\naz ad sp create-for-rbac \\\n  --name bitbucket-prod \\\n  --role Contributor \\\n  --scopes \u002Fsubscriptions\u002F\u003Csub>\u002FresourceGroups\u002Frg-prod\n```\n\nStore `AZURE_APP_ID`, `AZURE_PASSWORD`, `AZURE_TENANT_ID` as **deployment variables** (not repository variables) so they are only injected when `deployment: \u003Cenv>` is on the step:\n\n```yaml\n- step:\n    name: Deploy to Prod\n    deployment: production    # Scopes these variables to this step only\n    script:\n      - pipe: microsoft\u002Fazure-arm-deploy:1.0.0\n        variables:\n          AZURE_APP_ID: $AZURE_APP_ID\n          AZURE_PASSWORD: $AZURE_PASSWORD\n          AZURE_TENANT_ID: $AZURE_TENANT_ID\n          AZURE_RESOURCE_GROUP: rg-prod\n          AZURE_TEMPLATE_LOCATION: infra\u002Fmain.bicep\n```\n\n**Auto-rotate secrets** via a scheduled custom pipeline:\n```yaml\ncustom:\n  rotate-azure-credentials:\n    - variables:\n        - name: TARGET_ENV\n          default: prod\n          allowed-values: [dev, staging, prod]\n    - step:\n        script:\n          - az login --service-principal -u $AZURE_APP_ID -p $AZURE_PASSWORD --tenant $AZURE_TENANT_ID\n          - NEW_SECRET=$(az ad app credential reset --id $AZURE_APP_ID --query password -o tsv)\n          - curl -X PUT \"https:\u002F\u002Fapi.bitbucket.org\u002F2.0\u002Frepositories\u002F$BITBUCKET_WORKSPACE\u002F$BITBUCKET_REPO_SLUG\u002Fdeployments_config\u002Fenvironments\u002F$ENV_UUID\u002Fvariables\u002F$VAR_UUID\" \\\n              -H \"Authorization: Bearer $BITBUCKET_ACCESS_TOKEN\" \\\n              -d \"{\\\"value\\\": \\\"$NEW_SECRET\\\", \\\"secured\\\": true}\"\n```\n\n### Option B: Token Broker Azure Function (Recommended for Zero Long-Lived Secrets)\n\nBuild an Azure Function that:\n1. Validates the incoming `BITBUCKET_STEP_OIDC_TOKEN` against Bitbucket's JWKS endpoint\n2. Verifies expected claims: `workspaceUuid`, `repositoryUuid`, `deploymentEnvironmentUuid`\n3. On success, mints a short-lived (1-hour) client secret on a per-environment App Registration\n4. Returns temporary credentials to the pipeline\n\n```yaml\n- step:\n    oidc: true    # Enables BITBUCKET_STEP_OIDC_TOKEN in this step\n    deployment: production\n    script:\n      # Exchange Bitbucket OIDC token for short-lived Azure credentials\n      - |\n        CREDS=$(curl -s -X POST \"https:\u002F\u002Ftoken-broker.azurewebsites.net\u002Fapi\u002Fexchange\" \\\n          -H \"Content-Type: application\u002Fjson\" \\\n          -d \"{\\\"oidcToken\\\": \\\"$BITBUCKET_STEP_OIDC_TOKEN\\\", \\\"environment\\\": \\\"production\\\"}\")\n        export AZURE_APP_ID=$(echo $CREDS | jq -r '.clientId')\n        export AZURE_PASSWORD=$(echo $CREDS | jq -r '.clientSecret')\n        export AZURE_TENANT_ID=$(echo $CREDS | jq -r '.tenantId')\n      - az login --service-principal -u $AZURE_APP_ID -p $AZURE_PASSWORD --tenant $AZURE_TENANT_ID\n```\n\nThe token broker validates Bitbucket OIDC (which works fine for non-Azure targets) and then uses a \"Management App\" with `Application.ReadWrite.OwnedBy` to mint short-lived credentials. Treat the Function as security-critical: rate-limit by repository UUID, log every exchange to a Sentinel workspace.\n\n### Option C: Azure Pipelines as Orchestrator\n\nKeep Bitbucket as code host but run deployment legs on Azure Pipelines with its native workload-identity service connection:\n\n- Bitbucket Cloud is a first-class repository type in Azure Pipelines (YAML pipelines + PR triggers supported)\n- Azure Pipelines builds the **latest commit on the PR source branch** (not merge commit — Bitbucket Cloud doesn't expose merge-commit info via API)\n- Keep CI (build, test, lint) on Bitbucket Pipelines; run deployment legs on Azure Pipelines\n\n### Option D: HashiCorp Vault as Intermediary\n\nBitbucket OIDC works fine with Vault (unlike Azure). Use Vault's `azure` secrets engine:\n\n```yaml\n- step:\n    oidc: true\n    script:\n      - vault login -method=jwt jwt=$BITBUCKET_STEP_OIDC_TOKEN role=bitbucket-deployer\n      - AZURE_CREDS=$(vault read azure\u002Fcreds\u002Fdeployer -format=json)\n      - export AZURE_APP_ID=$(echo $AZURE_CREDS | jq -r '.data.client_id')\n      - export AZURE_PASSWORD=$(echo $AZURE_CREDS | jq -r '.data.client_secret')\n```\n\n---\n\n## Pipeline Model and Core Mechanics\n\n### Single-File Structure\n\nEverything in `bitbucket-pipelines.yml` at the repo root. Unlike GitHub Actions (multiple `.github\u002Fworkflows\u002F*.yml` files), Bitbucket uses a single file. YAML anchors and the new shared-config import mechanism mitigate duplication.\n\n```yaml\nimage: atlassian\u002Fdefault-image:4    # Default Docker image for all steps\n\ndefinitions:\n  caches:\n    custom-cache: .\u002Fbuild-cache     # Custom path-based cache\n  services:\n    docker:\n      memory: 3072                  # Increase beyond default 1 GB for image builds\n    postgres:\n      image: postgres:16\n      variables:\n        POSTGRES_PASSWORD: testpw\n\npipelines:\n  default:                          # Runs on push to any branch not matched below\n    - step:\n        script:\n          - echo \"build and test\"\n\n  branches:\n    main:\n      - stage:\n          name: Build & Test\n          steps:\n            - step:\n                name: Build\n                script:\n                  - npm ci\n                  - npm run build\n                artifacts:\n                  - dist\u002F**          # Available to subsequent steps\n            - parallel:\n                fail-fast: true\n                steps:\n                  - step:\n                      name: Unit Tests\n                      script: [npm test]\n                  - step:\n                      name: Integration Tests\n                      script: [npm run test:integration]\n                      services: [postgres]\n      - step:\n          name: Deploy to Production\n          deployment: production     # Environment-scoped variables + Deployments dashboard\n          trigger: manual           # Any write-access user can trigger\n          script:\n            - pipe: atlassian\u002Fazure-aks-helm-deploy:1.0.0\n              variables:\n                AZURE_APP_ID: $AZURE_APP_ID\n                AZURE_PASSWORD: $AZURE_PASSWORD\n                AZURE_TENANT_ID: $AZURE_TENANT_ID\n                CLUSTER_NAME: aks-prod\n                RESOURCE_GROUP: rg-prod\n                RELEASE_NAME: myapp\n                CHART: .\u002Fcharts\u002Fmyapp\n                VALUES_FILE: helm\u002Fvalues-prod.yaml\n\n  pull-requests:\n    '**':\n      - step:\n          script:\n            - npm test\n            - npm run lint\n\n  tags:\n    'v*.*.*':\n      - step:\n          deployment: production\n          script:\n            - echo \"Deploying tag $BITBUCKET_TAG\"\n```\n\n### Triggers Block (November 2025+)\n\nThe new `triggers:` block enables event-driven chaining:\n\n```yaml\npipelines:\n  custom:\n    deploy-after-scan:\n      triggers:\n        - type: pipeline-completed\n          pipeline: security-scan\n          condition:\n            status: successful\n      steps:\n        - step:\n            script:\n              - echo \"Security scan passed, deploying\"\n```\n\nSupported event types: `repository-push`, `pullrequest-push`, `pipeline-completed`, `deployment-completed`, `pullrequest-created\u002Fupdated\u002Ffulfilled\u002Frejected\u002Freviewer-status-updated`.\n\n---\n\n## Azure Pipes Reference\n\nMicrosoft and Atlassian maintain these pipes for Azure deployments:\n\n| Pipe | Purpose |\n|---|---|\n| `microsoft\u002Fazure-cli-run:1.x` | Run arbitrary `az` commands |\n| `microsoft\u002Fazure-arm-deploy:1.x` | Deploy ARM\u002FBicep templates |\n| `microsoft\u002Fazure-functions-deploy:1.x` | Deploy Azure Functions |\n| `atlassian\u002Fazure-web-apps-deploy:1.x` | Deploy zip-based App Service code |\n| `atlassian\u002Fazure-web-apps-containers-deploy:1.x` | Deploy container images to App Service |\n| `microsoft\u002Fazure-aks-deploy:1.x` | kubectl against AKS |\n| `atlassian\u002Fazure-aks-helm-deploy:1.x` | Helm against AKS |\n| `microsoft\u002Fazure-storage-deploy:1.x` | Sync to Azure Storage |\n| `microsoft\u002Fazure-static-web-apps-deploy:1.x` | Deploy to Azure Static Web Apps |\n\nAll pipes expect `AZURE_APP_ID`, `AZURE_PASSWORD`, `AZURE_TENANT_ID` as variables. ACR pushes:\n\n```yaml\nscript:\n  - docker build -t myregistry.azurecr.io\u002Fmyapp:$BITBUCKET_COMMIT .\n  - docker login myregistry.azurecr.io -u $AZURE_APP_ID -p $AZURE_PASSWORD\n  - docker push myregistry.azurecr.io\u002Fmyapp:$BITBUCKET_COMMIT\n```\n\n---\n\n## Deployment Environments and Variables\n\nBitbucket has three variable scopes:\n1. **Workspace variables** — shared across all repos in the workspace\n2. **Repository variables** — scoped to one repo\n3. **Deployment variables** — scoped to a specific environment (`deployment: production`)\n\nUse deployment variables for environment-specific credentials. Variables marked **Secured** are masked in logs and not accessible via the API after creation.\n\n**Important:** The only built-in gate is `trigger: manual` — any user with write access can trigger. There is no native multi-approver workflow, no required reviewers, no environment protection rules equivalent to GitHub Environments or Azure DevOps Approvals & Checks.\n\nOn **Premium** plan, deployment permissions allow restricting which users can deploy to each environment. For multi-approver workflows, integrate Jira Service Management change management.\n\n---\n\n## YAML Anchors for In-Repo Reuse\n\nYAML anchors are the mechanism for deduplication within a single `bitbucket-pipelines.yml`:\n\n```yaml\ndefinitions:\n  steps:\n    - step: &build-step\n        name: Build\n        script:\n          - npm ci\n          - npm run build\n        caches: [node]\n        artifacts: [dist\u002F**]\n\n    - step: &test-step\n        name: Test\n        script: [npm test]\n        caches: [node]\n\npipelines:\n  branches:\n    main:\n      - step: *build-step\n      - step: *test-step\n      - step:\n          name: Deploy\n          script: [.\u002Fdeploy.sh]\n\n    develop:\n      - step: *build-step\n      - step: *test-step\n```\n\nFor reuse across repos, use the shared pipeline config mechanism (Premium feature):\n```yaml\n# In consuming repo's bitbucket-pipelines.yml\nimport:\n  repository: myorg\u002Fshared-pipelines\n  ref: main\n  path: security-scan-pipeline\n\npipelines:\n  branches:\n    main:\n      - import: security-scan-pipeline\n```\n\n---\n\n## Runners: Hosted vs Self-Hosted\n\n### Hosted Runners (Atlassian-managed)\n\n**Linux only** — x86_64 by default, ARM available via `runtime.cloud.arch: arm`. No hosted Windows, no hosted macOS.\n\nStep sizes and memory:\n| Size | Memory | vCPU | Minute multiplier |\n|---|---|---|---|\n| 1x (default) | 4 GB | 2 | 1x |\n| 2x | 8 GB | 4 | 2x |\n| 4x | 16 GB | 8 | 4x |\n| 8x | 32 GB | 16 | 8x |\n| 16x–32x | 64–128 GB | 32–64 | 16x–32x |\n\n**Size multipliers consume minutes at the multiplier rate** — a 4x step costs 4 minutes per 1 minute of wall-clock time. This is the single most common source of cost surprise.\n\n```yaml\n- step:\n    name: Heavy Build\n    size: 4x    # Costs 4x minutes — check before committing to this size\n    script:\n      - mvn clean package\n```\n\n**Docker service memory** is capped at 1 GB independent of step `size:`. Modern images exceed this. Always set explicitly for image-heavy pipelines:\n\n```yaml\ndefinitions:\n  services:\n    docker:\n      memory: 3072    # 3 GB — must set separately from step size\n```\n\n### Self-Hosted Runners\n\nRequired for Windows, macOS, or builds needing private network access (private AKS clusters, App Service with IP restrictions).\n\n```yaml\n- step:\n    name: Windows Build\n    runs-on:\n      - self.hosted    # Routes to self-hosted runners\n      - windows        # Label filtering\n    script:\n      - dotnet build\n      - dotnet test\n```\n\n**Pricing (March 2026 model):** Up to 100 free self-hosted runners per workspace. Premium Runners add-on billed by maximum concurrent build slots used per month. V3\u002FV4 runners deprecated mid-2026 — migrate to V5.\n\n---\n\n## Pricing (May 2026, Atlassian List)\n\n| Plan | Price | Build minutes\u002Fmo | Concurrent steps | Key features |\n|---|---|---|---|---|\n| **Free** | $0 (≤5 users) | 50 | 10 | Unlimited repos, basic CI\u002FCD |\n| **Standard** | $3.65\u002Fuser\u002Fmo (flat $18.25\u002Fmo for 1–5) | 2,500 | up to 600 | 4x\u002F8x step sizes |\n| **Premium** | $7.25\u002Fuser\u002Fmo (flat $36.25\u002Fmo for 1–5) | 3,500 | up to 600 | IP allowlisting, merge checks, deployment permissions, required 2SV |\n\n- Overage: $10 per 1,000 additional minutes\n- Additional LFS storage: $10 per 100 GB\n- Build minutes are **workspace-pooled** — a single noisy repo can starve all others. No per-repo quota.\n\n**SSO is a separate Atlassian Guard subscription**: Guard Standard $4.20\u002Fuser\u002Fmo, Guard Premium $8.18\u002Fuser\u002Fmo. For 100-user enterprise on Premium + Guard Premium: effective $15.43\u002Fuser\u002Fmonth, not $7.25.\n\n**Cost intuition:** A 16-minute pipeline fanning out across 4 parallel containers can easily consume 70+ workspace minutes per run. 100 runs\u002Fday = ~210,000 minutes\u002Fmonth = ~$2,100\u002Fmonth in overage above the Standard plan's 2,500 bundled minutes.\n\n---\n\n## Comparison: Bitbucket vs GitHub Actions vs Azure DevOps\n\n| Feature | Bitbucket Pipelines | GitHub Actions | Azure DevOps |\n|---|---|---|---|\n| Pipeline structure | Single YAML file | Multiple workflow files | YAML + classic editor |\n| Hosted OS | Linux only | Linux, Windows, macOS | Linux, Windows, macOS |\n| OIDC to Azure | **Not supported** | Native (azure\u002Flogin) | Native (workload identity) |\n| Multi-approver gates | trigger: manual only | Environments + required reviewers | Approvals & Checks |\n| Marketplace | 50–100+ pipes | 20,000+ actions | Thousands of extensions |\n| Free build minutes\u002Fmo | 50 | 2,000 | 1,800 |\n| Native secret scanning | No (third-party pipes) | Yes (GitHub Advanced Security) | No (third-party tasks) |\n| Jira integration | Native | Via GitHub Issues | Via Azure Boards |\n| Matrix builds | Manual parallel expansion | Native strategy.matrix | Via PowerShell loops |\n| Job DAG | No (sequential + parallel) | Yes (needs:) | Yes (dependsOn) |\n\n---\n\n## Known Limitations and Gotchas\n\n1. **No OIDC to Azure** — the largest gap for Azure shops. No committed delivery from Atlassian.\n\n2. **Hosted Linux only** — .NET Framework builds, Windows containers, iOS\u002FmacOS all require self-hosted runners.\n\n3. **One YAML file per repo** — 30-workflow GitHub repos collapse into one potentially sprawling file.\n\n4. **Docker service 1 GB memory cap** — independent of step `size:`. OOM in docker build does not respond to `size: 4x` alone — must also raise `definitions.services.docker.memory`.\n\n5. **Docker cache limited to 1 GB** — modern images quickly exceed this. Use registry cache (`--cache-from`), self-hosted runners with disk, or Depot.\n\n6. **Artifacts expire after 14 days** — manual gate steps become un-clickable if the gate is held longer than 2 weeks because input artifacts are gone.\n\n7. **No matrix builds** — multi-runtime test matrices (Node 18×20×22 on Linux×Windows) that are one-liners in GHA require hand-expansion in Bitbucket.\n\n8. **Parallel steps cannot reliably share artifacts** — only the first finishing step can write a given cache. Fan-out → fan-in patterns require careful design.\n\n9. **IP allowlisting** — use `runtime.cloud.atlassian-ip-ranges: true` to constrain hosted runs to publishable IP ranges for Azure resources with IP restrictions.\n\n10. **Pushing more than 5 tags\u002Fbranches\u002Fbookmarks in one push skips pipeline runs entirely** — anti-runaway protection that can bite automation scripts.\n\n11. **IPv4 only** — if your Azure landing zone requires IPv6, this is a blocker.\n\n12. **Self-hosted runner pricing in flux** — the model changed significantly in early 2026; verify before any architectural commitment.\n\n---\n\n## Security Scanning Integration\n\nBitbucket has no first-party security scanning comparable to Dependabot or CodeQL. Wire in third-party tools via pipes:\n\n```yaml\npipelines:\n  pull-requests:\n    '**':\n      - parallel:\n          steps:\n            - step:\n                name: Snyk Dependency Scan\n                script:\n                  - pipe: snyk\u002Fsnyk-scan:1.0.0\n                    variables:\n                      SNYK_TOKEN: $SNYK_TOKEN\n                      SEVERITY_THRESHOLD: high\n                      FAIL_ON_ISSUES: 'true'\n\n            - step:\n                name: Secrets Scan\n                script:\n                  - pip install gitleaks\n                  - gitleaks detect --source . --verbose\n\n            - step:\n                name: SonarCloud Analysis\n                script:\n                  - pipe: sonarsource\u002Fsonarcloud-scan:2.0.0\n                    variables:\n                      SONAR_TOKEN: $SONAR_TOKEN\n```\n\nFor a comprehensive DevSecOps posture on Bitbucket, the pipeline cannot match GitHub Actions' first-party toolchain (Dependabot + CodeQL + secret scanning built into the platform). Budget for Snyk or Mend licenses as equivalents.\n\n---\n\n## Recommendations by Team Profile\n\n**Azure shop committed to Atlassian ecosystem:**\nUse Bitbucket Pipelines for CI, store Azure credentials as deployment-scoped secured variables, automate rotation, enforce Premium deployment permissions to restrict who can deploy to production.\n\n**Security review demands zero long-lived secrets:**\nBuild the Azure Function token broker (Option B above). 1 engineering-week to build, negligible runtime cost. Treats the function as security-critical with rate limiting and Sentinel logging.\n\n**Large enterprise with .NET + Azure portfolio:**\nHybrid: Bitbucket as code host, Azure Pipelines YAML pipelines for deployment legs (workload-identity service connections, native Windows\u002FmacOS hosted agents). One Azure DevOps Basic license per active user cleanly resolves the OIDC gap and hosted runner limitations.\n\n**Migration trigger thresholds:**\n- If monthly Bitbucket overage minutes bill exceeds ~$1,500, model GitHub Actions or Azure Pipelines economics\n- If maintaining more than 10 self-hosted runners, evaluate the Premium Runners tier or GitHub's larger hosted runners\n- If BCLOUD-22206 ships native Azure OIDC, retire the token broker immediately\n",{"name":5,"description":7},"develop","ae32736a1aabddabca5d2c96d665aa0ebc7d8700","src\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fdevsecops-cicd\u002Fskills\u002Fbitbucket-azure",3,"https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey","https:\u002F\u002Fthe-vibey-project.github.io\u002Fvibey\u002F","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project","https:\u002F\u002Fvibewithadam.matthewsteinberger.com","freedom for software engineers","2026-11-15 05:47:42",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add the-vibey-project\u002Fvibey --skill bitbucket-azure",{"tool":40,"command":41},"bunx","bunx skills add the-vibey-project\u002Fvibey --skill bitbucket-azure",{"tool":43,"command":44},"pnpm","pnpm dlx skills add the-vibey-project\u002Fvibey --skill bitbucket-azure","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fdevsecops-cicd\u002Fskills\u002Fbitbucket-azure\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7AT1FQJAE1FQYAMDTF490Y4","white-paper-writing","Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks \"how should I structure this\" for a long-form document.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fwhite-paper-writing\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AT16BJRJJKK2MASXRZS76G","prose-technical-mechanics","Use when editing or writing prose at a technical\u002Fmechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-technical-mechanics\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AT0W9HT0ZZ9Y287NW99MR3","prose-mechanics","Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate\u002FJamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix \"AI-sounding\" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-mechanics\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7AT0KR635JX66X2X6F3E2CP","narrative-structure","Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or \"how should I structure this story\u002Fpitch\u002Fpresentation\" request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fnarrative-structure\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7AT0AKGW09NKKZDYBT8VRDE","legal-brief-writing","Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic\u002Fneurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Flegal-brief-writing\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7AT00VWPS4Q8B5VEMXX9NQT","journal-publishability-criteria","Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs\u002Fpaper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fjournal-publishability-criteria\u002FSKILL.md",[],[]]