Skip to content

Add an AI tab to the site overview for per-site skills and instructions - #4647

Draft
shaunandrews wants to merge 1 commit into
add-per-site-skills-connector-plumbingfrom
add-site-overview-ai-tab
Draft

Add an AI tab to the site overview for per-site skills and instructions#4647
shaunandrews wants to merge 1 commit into
add-per-site-skills-connector-plumbingfrom
add-site-overview-ai-tab

Conversation

@shaunandrews

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

  • Fully AI-authored (Claude Code): implementation and manual visual verification against a real local site via studio ui.

Proposed Changes

Light Dark
AI tab, light mode AI tab, dark mode

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, open localhost:8081, pick a site → AI tab.
  • Toggle a skill and an instruction file off/on — confirms install/remove round-trips against the real site folder.
  • Desktop: same tab appears in apps/studio's Electron build; not yet visually verified there — flagging for review.
  • npm run typecheck and npm test pass across all workspaces.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

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>
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