Agentic UI: Bring per-site AI skills and instructions into the agentic UI - #4644
Closed
shaunandrews wants to merge 2 commits into
Closed
Agentic UI: Bring per-site AI skills and instructions into the agentic UI#4644shaunandrews wants to merge 2 commits into
shaunandrews wants to merge 2 commits into
Conversation
Studio Classic lets a site override the globally-selected skills and install AGENTS.md/CLAUDE.md/STUDIO.md at its root, but that per-site layer never made it into the new agentic UI (apps/ui) — only the global selection existed there. Adds a new "AI" tab to the site overview with the same install/remove controls, wired through both the Electron IPC connector and the studio ui browser connector (apps/local gets new /sites/:id/agent-instructions and /sites/:id/skills routes). The underlying instruction-file logic moves from apps/studio into packages/common (alongside the already-shared skills install logic) so both apps/studio and apps/local can use it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
shaunandrews
marked this pull request as draft
August 21, 2026 17:47
Collaborator
📊 Performance Test ResultsComparing ebec7cc vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
font-size-sm paired with line-height-md read visibly loose once the copy wrapped to two lines. Match the app-wide convention of pairing font-size-sm with line-height-sm instead. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Contributor
Author
|
Splitting this into a 3-PR stack for reviewability — 1,100+ lines in one PR was too much to ask anyone to hold in their head:
Closing this one in favor of the stack. |
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
studio ui) — new/sites/:id/agent-instructionsand/sites/:id/skillsroutes on the local server, plus the existing (previously unused) desktop IPC handlers.apps/studiointopackages/common, matching how skill installs were already shared — so the browser server can use the same code instead of duplicating it.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