workflow-fix

द्वारा bitwarden

जाँचें कि bwwl उपलब्ध है या नहीं:

npx skills add https://github.com/bitwarden/ai-plugins --skill workflow-fix

Rules

  • No mutating API calls without confirmation. gh api GET requests are allowed freely. Any call using -X POST, -X PUT, -X PATCH, or -X DELETE must be shown to the user and approved before execution.
  • Never force-push, delete branches, or delete repositories.
  • Only modify files under .github/. Do not touch application code, scripts, or configuration outside of workflow files.
  • Show a diff and get confirmation before handing off for commit.
  • All PRs must be created as drafts.
  • Flag uncertainty. If a finding is ambiguous or a fix could break a workflow, stop and ask rather than guessing.

Step 1: Verify Prerequisites

Check if bwwl is available:

bwwl --version

If the command is not found, stop and inform the user that bwwl must be installed before continuing. Do not attempt to install it.

Step 2: Determine Scope

Parse the user's request to determine what to fix:

  • Single file or directory: Operate on the current repo only.
  • Multiple repos (e.g., "server, clients, android"): Operate on each repo sequentially. Ask the user for the base directory where their repos are cloned. For each repo, look for its local clone at <base-dir>/<repo>. If a clone is not found, inform the user and skip that repo.
  • No specific target: Fix all findings in .github/workflows/ of the current directory.

If the user has not run the workflow-audit skill first, run the linter now to identify findings before proceeding.

Step 3: For Each Repo in Scope

Repeat Steps 4–7 for each repo. Announce which repo is being worked on.

Step 4: Create a Fix Branch

Only create the fix branch if there are findings to fix:

git checkout -b fix/workflow-linter-findings

Step 5: Apply Fixes

Consult the bitwarden-workflow-linter-rules skill for the correct fix for each rule.

For mechanical findings: Apply all fixes without prompting.

Exception — step_pinned: Before applying each hash pin, follow the step_pinned fix procedure from the bitwarden-workflow-linter-rules skill (resolve SHA via gh api, show verification link, wait for user confirmation).

For judgment findings: For each one, pause and present the finding clearly. Ask the user which option they want (per the bitwarden-workflow-linter-rules skill), then apply their choice.

Step 6: Verify Fixes

Re-run the linter to confirm all findings are resolved:

bwwl lint -f .github/workflows/

If errors remain, analyze and fix them. Repeat until clean.

Step 7: Review and Create PR

After all fixes are applied:

  1. Show a git diff of all changes made.
  2. Ask the user to confirm they want to proceed with a PR.
  3. Do not run the staging, commit, or push commands yourself. Present the block below for the user to run manually as a suggestion:
git add .github/workflows/
git commit -m "Fix workflow linter findings"
git push -u origin fix/workflow-linter-findings
  1. Once the user confirms the push, create the draft PR:
gh pr create \
  --title "Fix workflow linter findings" \
  --body "Automated fixes for findings from the Bitwarden workflow linter (bwwl)." \
  --draft

Step 8: Summary

After processing all repos, output a summary table:

RepoFindings FixedPRs CreatedSkipped / Notes
............

bitwarden की और Skills

figma-to-angular
bitwarden
यह कौशल Figma डिज़ाइन स्पेक को Bitwarden क्लाइंट्स मोनोरेपो में Storybook स्टोरीज़ के साथ पूरी तरह से लागू किए गए Angular कम्पोनेंट में बदलता है। आउटपुट सभी कोडबेस परंपराओं का पालन करते हुए दृश्य रूप से डिज़ाइन से मेल खाना चाहिए।
force-multiplier
bitwarden
एक ही इरादे को एक साथ कई लक्ष्यों पर लागू करें — Bitwarden पारिस्थितिकी तंत्र में रिपॉजिटरीज़ का एक समूह, या एक मोनोरिपो के भीतर कई प्रोजेक्ट — N सुसंगत,…
analyzing-git-sessions
bitwarden
एक समय सीमा या कमिट रेंज के भीतर गिट कमिट और बदलावों का विश्लेषण करता है, कोड समीक्षा, रेट्रोस्पेक्टिव्स, कार्य लॉग या सत्र के लिए संरचित सारांश प्रदान करता है…
coordinating-cross-team-breakdown
bitwarden
Bitwarden Tech Breakdown के लिए क्रॉस-टीम समीक्षा और स्वीकृति का समन्वय करें। प्रभावित टीमों की पहचान करते समय, भाग 3 की स्वीकृति तालिका बनाते समय, अनुवर्ती कार्रवाई करते समय उपयोग करें…
assessing-jira-issue-relevance
bitwarden
उपयोग तब करें जब उपयोगकर्ता एकल Jira issue key प्रदान करता है और पूछता है कि क्या यह अभी भी प्रासंगिक है, अभी भी लागू है, अभी भी लंबित है, अभी भी बग है, ठीक हो गया है, या…
assessing-test-coverage
bitwarden
किसी विशिष्ट बदलाव (PR, Jira कुंजी, Tech Breakdown दस्तावेज़, Testmo CSV, बदले गए path, या नामित…) के लिए पहले से मौजूद test coverage का निर्धारण करते समय उपयोग करें।
retrospecting
bitwarden
क्लॉड कोड सत्रों का व्यापक विश्लेषण करता है, गिट इतिहास, वार्तालाप लॉग, कोड परिवर्तनों की जांच करता है, और उपयोगकर्ता प्रतिक्रिया एकत्र करके उत्पन्न करता है…
reviewing-incremental-changes
bitwarden
इस कौशल का उपयोग तब करें जब किसी PR की पुनः समीक्षा कर रहे हों जिसमें पहले से टिप्पणियाँ हों या प्रारंभिक समीक्षा के बाद डेवलपर परिवर्तनों का जवाब दे रहे हों। तब लागू करें जब PR थ्रेड मौजूद हों या...