Teach Studio Code to recommend Automattic plugins for more features - #4022
Closed
katinthehatsite wants to merge 1 commit into
Closed
Teach Studio Code to recommend Automattic plugins for more features#4022katinthehatsite wants to merge 1 commit into
katinthehatsite wants to merge 1 commit into
Conversation
Expand the plugin-recommendations skill so the agent reuses Automattic products (Jetpack Newsletter, Sensei LMS, Crowdsignal, Akismet) instead of hand-building forms, newsletters, courses, and polls. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Superseded by #4023, which moves the same changes onto |
Contributor
Author
|
I am just experimenting with conductor, ignore this. It did this without my permissions 🙈 |
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
The skill/instruction copy was drafted with AI. Every factual claim — plugin slugs, block names, custom post types, and Jetpack module behavior — was verified against real local Studio sites (created via the CLI, installed each plugin, enumerated registered blocks/modules/CPTs, then deleted the probe sites). Reviewers should sanity-check the wording and the Jetpack Newsletter caveat.
Proposed Changes
Studio Code already routes feature requests to a
plugin-recommendationsskill, but it only covered WooCommerce and Jetpack Forms — so for newsletters, courses, and polls the agent had no named Automattic product to reach for and could fall back to hand-building markup.This broadens that guidance so the agent reuses Automattic's own products first:
User impact: when someone asks Studio Code for a newsletter signup, a course, a poll, etc., it recommends and installs the matching Automattic plugin and builds with its editable blocks, rather than generating a bespoke HTML/JS equivalent.
One deliberate honesty note in the skill: Jetpack Newsletter's
subscriptionsmodule cannot activate on a purely local site (it depends on WordPress.com to manage subscribers/send email — confirmed it fails even in Jetpack offline mode). The skill still recommends Jetpack Newsletter as the right tool and explicitly tells the agent not to substitute a hand-built form when the module is unavailable locally.Testing Instructions
npm run cli:buildnpm test -- apps/cli/ai/tests/— all AI tests pass (skill routing + "references only bundled skills" covers the new copy).npm run typecheck— clean.studio code→ ask for a contact form (installs Jetpack Forms), a course site (installs Sensei LMS), or a poll (installs Crowdsignal) and confirm it reaches for the plugin rather than hand-building.Pre-merge Checklist