Add an AI tab to the site overview for per-site skills and instructions - #4647
Draft
shaunandrews wants to merge 1 commit into
Draft
Add an AI tab to the site overview for per-site skills and instructions#4647shaunandrews wants to merge 1 commit into
shaunandrews wants to merge 1 commit into
Conversation
Adds the "AI" tab to the site overview (apps/ui) — the user-visible piece of the stack. Two sections, each a toggle list matching the existing global Skills settings tab's style: - Skills: override the globally-selected skills for just this site, with an "Install all" bulk action. - Instructions: same pattern for AGENTS.md/CLAUDE.md/STUDIO.md. Studio Classic has had this per-site override (Edit Site > Skills / Instructions tabs) since it shipped; it never made it into the new agentic UI. Gated behind capabilities.siteAgentSkills so hosted mode (no local site filesystem) hides the tab. Third of a stack; see the first two PRs for the shared-lib move and the connector/route plumbing this UI calls. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issues
How AI was used in this PR
studio ui.Proposed Changes
capabilities.siteAgentSkills(added in Add per-site skills/instructions routes and connector plumbing #4646) so hosted mode, which has no local site filesystem, hides the tab entirely.Screenshots are a real site (
studio ui, browser connector) — WP-CLI & Ops genuinely isn't installed there, which is why "Install all" shows up.Testing Instructions
npm run cli:build:ui && node apps/cli/dist/cli/main.mjs ui --no-open, openlocalhost:8081, pick a site → AI tab.apps/studio's Electron build; not yet visually verified there — flagging for review.npm run typecheckandnpm testpass across all workspaces.Pre-merge Checklist