[PR #6650] llm: Add resolving-sdk-updates skill #12895

Open
opened 2026-04-11 03:53:00 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/6650

State: open
Merged: No


🎟️ Tracking

Internal tooling — no Jira ticket.
Used to resolve breaking changes in #6615

📔 Objective

Adds a new Claude Code skill (resolving-sdk-updates) that teaches Claude to diagnose and resolve build failures from Bitwarden SDK (com.bitwarden:sdk-android) version updates.

The skill provides a five-phase workflow:

  1. Identify — extract SDK version diff and parse PR body for sdk-internal PR references and Jira tickets
  2. Diagnose — categorize compiler errors (exhaustive when, removed API, renamed type, new required parameter, new error type)
  3. Investigate — read sdk-internal PR diffs to understand the author's intent behind breaking changes
  4. Fix — apply appropriate patterns from the bundled reference guide, then grep for non-compiler-caught usages
  5. Assess — classify changes as compile-only vs feature-requiring and trace Jira tickets for follow-up work

Preprocessed context injection:

  • Skill automatically runs git branch, git diff, and gh run list on load to detect current branch, SDK version delta, and CI failures
  • Proactive behavior skips to Phase 2 when CI failures are detected

Allowed-tools (least-privilege):

  • Read-only git: git branch --show-current, git diff *
  • Read-only GitHub CLI: gh run list *, gh run view *, gh pr view *, gh pr diff *
  • No write/destructive operations permitted

Files added:

  • .claude/skills/resolving-sdk-updates/SKILL.md — main skill instructions with preprocessed context and allowed-tools frontmatter
  • .claude/skills/resolving-sdk-updates/references/common-fix-patterns.md — error category to fix strategy quick-reference
**Original Pull Request:** https://github.com/bitwarden/android/pull/6650 **State:** open **Merged:** No --- ## 🎟️ Tracking Internal tooling — no Jira ticket. Used to resolve breaking changes in #6615 ## 📔 Objective Adds a new Claude Code skill (`resolving-sdk-updates`) that teaches Claude to diagnose and resolve build failures from Bitwarden SDK (`com.bitwarden:sdk-android`) version updates. **The skill provides a five-phase workflow:** 1. **Identify** — extract SDK version diff and parse PR body for `sdk-internal` PR references and Jira tickets 2. **Diagnose** — categorize compiler errors (exhaustive `when`, removed API, renamed type, new required parameter, new error type) 3. **Investigate** — read `sdk-internal` PR diffs to understand the author's intent behind breaking changes 4. **Fix** — apply appropriate patterns from the bundled reference guide, then grep for non-compiler-caught usages 5. **Assess** — classify changes as compile-only vs feature-requiring and trace Jira tickets for follow-up work **Preprocessed context injection:** - Skill automatically runs `git branch`, `git diff`, and `gh run list` on load to detect current branch, SDK version delta, and CI failures - Proactive behavior skips to Phase 2 when CI failures are detected **Allowed-tools (least-privilege):** - Read-only git: `git branch --show-current`, `git diff *` - Read-only GitHub CLI: `gh run list *`, `gh run view *`, `gh pr view *`, `gh pr diff *` - No write/destructive operations permitted **Files added:** - `.claude/skills/resolving-sdk-updates/SKILL.md` — main skill instructions with preprocessed context and allowed-tools frontmatter - `.claude/skills/resolving-sdk-updates/references/common-fix-patterns.md` — error category to fix strategy quick-reference
GiteaMirror added the pull-request label 2026-04-11 03:53:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#12895