Repository navigation
feat(settings): unify skill card status and add Linear agent-skill section - #9218
Conversation
…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.
Manual in-app validation ✅Ran the dev build from this worktree ( 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 Not exercised live: the actual |
|
Note Reviews pausedIt 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 Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdds 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)
✅ Passed checks (4 passed)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
src/renderer/src/components/settings/SkillUsageExamplesSection.tsx (1)
34-49: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winUse the shared
Buttonprimitive for the example cards.Replace the raw
<button>with the shadcnButtonfromsrc/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
📒 Files selected for processing (19)
src/renderer/src/components/settings/LinearAgentSkillPane.test.tsxsrc/renderer/src/components/settings/LinearAgentSkillPane.tsxsrc/renderer/src/components/settings/OrchestrationPane.tsxsrc/renderer/src/components/settings/Settings.tsxsrc/renderer/src/components/settings/SkillUsageExampleDialog.tsxsrc/renderer/src/components/settings/SkillUsageExamplesSection.tsxsrc/renderer/src/components/settings/agent-skill-installed-command-callers.test.tssrc/renderer/src/components/settings/linear-agent-skill-search.tssrc/renderer/src/hooks/useLinearProviderConnected.tssrc/renderer/src/hooks/useSettingsNavigationMetadata.test.tssrc/renderer/src/hooks/useSettingsNavigationMetadata.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.jsonsrc/renderer/src/lib/linear-usage-examples.tssrc/renderer/src/lib/orchestration-usage-examples.tssrc/renderer/src/lib/skill-usage-example.ts
This reverts commit 3ff45f9.
…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
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
freshnessSkillNameprop 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:
linear-ticketsinstalls continue using their installed name, while canonical or dual-name installs useorca-linear;/orca-linearprompts (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
SkillUsageExamplesSection/SkillUsageExampleDialog(the old orchestration-only dialog is generalized with aslashCommandprop) so orchestration and Linear share one implementation.linearsection to thecapabilitiesgroup in the nav registry (buildSettingsNavigationMetadata), gated on a newisLinearConnectedparam, placed right after Orchestration.Screenshots
Orchestration card now shows "Up to date" (and the Linear nav entry is present because Linear is connected):
New Linear section — skill card (Up to date, Update / Re-check) + "How to use it" grid:
Gating — with Linear disconnected, the sidebar entry and the section are gone (pane falls back to Agents):
(Screenshots are uploaded as PR attachments so the code diff stays clean.)
Testing
typecheck:web,oxlint,verify:localization-catalog,verify:localization-coverage— all clean.AgentSkillSetupPanelcaller-governance test, plus SettingsSidebar / load-performance / Cmd+J palette suites.Not exercised live: the actual
npx skillsinstall/update terminal run, and the first-time not-installed empty state (the skill was already installed and current on this machine).