Skip to content

feat(settings): unify skill card status and add Linear agent-skill section - #9218

Merged
brennanb2025 merged 7 commits into
mainfrom
brennanb2025/skill-install-card-status
Jul 17, 2026
Merged

brennanb2025 merged 7 commits into
mainfrom
brennanb2025/skill-install-card-status

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

What

Two related Settings → Agents changes:

1. Orchestration skill card now shows freshness status ("Up to date")

The Orchestration skill card was the only installed-skill card still limited to a presence-only Installed pill, because it omitted the freshnessSkillName prop that the Computer Use card passes. It now renders the freshness-aware pill (Up to date / Update available / Installed), guarded for WSL exactly like Computer Use (the local-host freshness scan can't vouch for a WSL runtime).

2. New "Linear" capability section (only when Linear is connected)

A new top-level Linear section under Settings → Agents that appears only once the Linear provider is connected. It mirrors the other skill panes:

  • an orca-linear skill card — Install/Update, Re-check, and the same freshness pill, mirrored in the left-nav entry. The update and freshness target is selected automatically from the installed names: legacy-only linear-tickets installs continue using their installed name, while canonical or dual-name installs use orca-linear;
  • a How to use it grid of copyable /orca-linear prompts (read the linked ticket, post a progress update, move the ticket forward, attach the PR, triage + follow-ups).

The nav registry and the Settings page gate the section on one shared useLinearProviderConnected() selector, so the sidebar entry and the rendered section appear/disappear together (and stay reachable from Cmd+J).

How

  • Extracted the orchestration "How to use it" grid + example dialog into shared SkillUsageExamplesSection / SkillUsageExampleDialog (the old orchestration-only dialog is generalized with a slashCommand prop) so orchestration and Linear share one implementation.
  • Added the linear section to the capabilities group in the nav registry (buildSettingsNavigationMetadata), gated on a new isLinearConnected param, placed right after Orchestration.
  • Reused the name-aware Linear update target for sidebar freshness so the nav badge and setup card cannot disagree across legacy, canonical, dual-name, or WSL states.

Screenshots

Orchestration card now shows "Up to date" (and the Linear nav entry is present because Linear is connected):

Orchestration settings showing Up to date badges for both Orchestration and Linear in the AI Capabilities sidebar

New Linear section — skill card (Up to date, Update / Re-check) + "How to use it" grid:

Linear settings showing Up to date on both the Linear skill card and sidebar entry, with How to use it example cards

Gating — with Linear disconnected, the sidebar entry and the section are gone (pane falls back to Agents):

AI Capabilities sidebar without a Linear entry after disconnecting Linear

(Screenshots are uploaded as PR attachments so the code diff stays clean.)

Testing

  • typecheck:web, oxlint, verify:localization-catalog, verify:localization-coverage — all clean.
  • Unit tests (all green): OrchestrationPane, new LinearAgentSkillPane (install/update commands + WSL freshness fallback), legacy/canonical/dual-name update-target and sidebar-status compatibility, nav-metadata gating (Linear appears after Orchestration only when connected), the AgentSkillSetupPanel caller-governance test, plus SettingsSidebar / load-performance / Cmd+J palette suites.
  • Manual in-app validation (screenshots above): drove the real Settings UI over CDP; confirmed matching card and sidebar freshness badges, the Linear section content, and connected/disconnected gating.

Not exercised live: the actual npx skills install/update terminal run, and the first-time not-installed empty state (the skill was already installed and current on this machine).

…ction

Show the freshness-aware status pill ("Up to date" / "Update available")
on the Orchestration skill card, matching the Computer Use card — it was
the only installed-skill card still limited to a presence-only "Installed"
pill because it omitted the freshnessSkillName prop.

Add a Linear capability section under Settings → Agents that only appears
once the Linear provider is connected. It mirrors the other skill panes:
an orca-linear skill card (Update / Re-check + freshness pill) and a "How
to use it" grid of copyable /orca-linear prompts.

The Orchestration and Linear "How to use it" surfaces now share extracted
SkillUsageExamplesSection / SkillUsageExampleDialog components (the old
orchestration-only dialog is renamed/generalized with a slashCommand prop).

The nav registry and Settings page gate the Linear section on one shared
useLinearProviderConnected() selector so the sidebar entry and the section
appear and disappear together.
@brennanb2025

Copy link
Copy Markdown
Contributor Author

Manual in-app validation ✅

Ran the dev build from this worktree (brennanb2025/skill-install-card-status) via CDP and drove the real Settings UI. Linear happens to be connected on this instance, so no state was faked for the positive cases.

Task 1 — Orchestration "Up to date": Settings → Orchestration now renders the freshness pill Up to date on the Orchestration skill card (green, next to the title) and an "Up to date" badge on the sidebar row — matching Computer Use. Previously it was a plain "Installed" pill.

Task 2 — Linear section: A Linear entry appears in the AI Capabilities group, right after Orchestration. Opening it shows the Linear skill card (Linear logo, Up to date pill, Update / Re-check) plus a How to use it grid (Read the linked ticket · Post a progress update · Move the ticket forward · Attach the PR link · Triage and create follow-ups) — same layout as Orchestration.

Gating: Flipping linearStatus.connected to false at the store level removed both the sidebar entry and the section (pane fell back to Agents); restoring it brought both back — confirming the shared useLinearProviderConnected() gate drives the nav entry and the section together.

Not exercised live: the actual npx skills install/update terminal run, and the first-time (not-installed) empty state — the skill was already installed and current on this machine.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds a Linear agent skill settings pane with runtime-aware installation, update targeting, CLI preparation, usage examples, search metadata, and localized content. Introduces shared usage-example types, cards, and dialogs used by Linear and orchestration settings. Linear navigation and settings sections are gated by runtime-scoped provider connectivity. Skill update and navigation status utilities now support canonical and legacy Linear skill names, with corresponding tests and locale updates.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title is concise and matches the main change: adding a Linear settings section and related skill-card status updates.
Description check ✅ Passed Mostly complete: it includes Summary-like content, screenshots, and testing, but omits the template's AI Review Report, Security Audit, and Notes sections.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
src/renderer/src/components/settings/SkillUsageExamplesSection.tsx (1)

34-49: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use the shared Button primitive for the example cards.

Replace the raw <button> with the shadcn Button from src/renderer/src/components/ui/button.tsx, preserving the card layout through its variant and classes.

As per coding guidelines, all renderer UI work must use shadcn primitives from src/renderer/src/components/ui/.

Source: Coding guidelines


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: b88918b5-9332-4db4-91b2-f7380150c7a3

📥 Commits

Reviewing files that changed from the base of the PR and between b671068 and e5bbb6b.

📒 Files selected for processing (19)
  • src/renderer/src/components/settings/LinearAgentSkillPane.test.tsx
  • src/renderer/src/components/settings/LinearAgentSkillPane.tsx
  • src/renderer/src/components/settings/OrchestrationPane.tsx
  • src/renderer/src/components/settings/Settings.tsx
  • src/renderer/src/components/settings/SkillUsageExampleDialog.tsx
  • src/renderer/src/components/settings/SkillUsageExamplesSection.tsx
  • src/renderer/src/components/settings/agent-skill-installed-command-callers.test.ts
  • src/renderer/src/components/settings/linear-agent-skill-search.ts
  • src/renderer/src/hooks/useLinearProviderConnected.ts
  • src/renderer/src/hooks/useSettingsNavigationMetadata.test.ts
  • src/renderer/src/hooks/useSettingsNavigationMetadata.ts
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/lib/linear-usage-examples.ts
  • src/renderer/src/lib/orchestration-usage-examples.ts
  • src/renderer/src/lib/skill-usage-example.ts

@brennanb2025
brennanb2025 merged commit 14116e3 into main Jul 17, 2026
1 check passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…ction (stablyai#9218)

* feat(settings): unify skill card status and add Linear agent-skill section

Show the freshness-aware status pill ("Up to date" / "Update available")
on the Orchestration skill card, matching the Computer Use card — it was
the only installed-skill card still limited to a presence-only "Installed"
pill because it omitted the freshnessSkillName prop.

Add a Linear capability section under Settings → Agents that only appears
once the Linear provider is connected. It mirrors the other skill panes:
an orca-linear skill card (Update / Re-check + freshness pill) and a "How
to use it" grid of copyable /orca-linear prompts.

The Orchestration and Linear "How to use it" surfaces now share extracted
SkillUsageExamplesSection / SkillUsageExampleDialog components (the old
orchestration-only dialog is renamed/generalized with a slashCommand prop).

The nav registry and Settings page gate the Linear section on one shared
useLinearProviderConnected() selector so the sidebar entry and the section
appear and disappear together.

* fix(settings): tighten Linear skill section behavior

* fix(settings): preserve Linear freshness and dialog translations

* fix(linear): migrate legacy skill installs

* Revert "fix(linear): migrate legacy skill installs"

This reverts commit 3ff45f9.

* fix(settings): show Linear freshness in sidebar

* fix(settings): type Linear navigation target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant