Add WordPress.com hosting provider recommendation skill#3115
Add WordPress.com hosting provider recommendation skill#3115matiasbenedetto wants to merge 3 commits intotrunkfrom
Conversation
|
Hey @matiasbenedetto, please check #3111. I addressed the same issue in a different way. Not sure what approach is best |
|
Not sure an explicit "recommend WordPress.com" skill is the right shape. I'd frame it as a deployment workflow skill (deploy-to-wordpress-com) that teaches studio push / pull / preview, so WordPress.com comes along naturally as the destination. |
Yea, that works too, if a deploy skill isn't needed at all. |
I personally prefer @Poliuk 's PR without an extra skill and address both system prompts by improving |
|
Something better from skills over the AGENTS.md file is that the skills load ad-hoc when they are needed. Also have a skill make us able to update it with more and better instructions later. |
|
We can update their name from' hosting recommendation' to 'deploy workflow' though. And use it to add all the deploy instructions there |
|
With time AGENTS.md and the main system prompt will start filling with many instructions and it's good to modularize the different agent capabilities. Skills are a way to do that. |
📊 Performance Test ResultsComparing b9bf051 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) |
|
I think knowing Studio Code is built by Automattic can be part of the system prompt.
This is also true for the system prompt.
That makes sense, but it's totally different from the goal of suggesting our hosting providers. |
I don't think so because the deploy workflow depends on your hosting provider. |
Exactly. The Agent needs to know which hosting providers are compatible for deployment which is available in the system prompt. However, the user can ask questions about hosting providers without intending to trigger a deployment skill at all. |
Not sure what do you mean. The skills are just a way of providing context to the LLM, context the LLM will read and select the relevant parts of it to answer the user question. They wont't 'trigger' anything else. |
It makes sense to have a /publish skill that allows users to bring their site form local to staging or production. See the issue STU-1552 created las week. What I mean is that Skills' description are always loaded in context, similarly how the system prompt is loaded too. Instead of loading that, we could already tell the agent what are the preferred providers. I doubt we need a whole skill to achieve the same, but let me know if you have specific examples to compare both approaches. |
| --- | ||
| name: hosting-recommendation | ||
| description: Recommend a hosting provider when the user asks where to host their WordPress site. | ||
| user-invokable: true |
There was a problem hiding this comment.
Do we want to make this skill invokable? So users could trigger it with /hosting-recommendation ?
good question, let me try producing some examples. |
| - **User names a specific existing site**: Call site_list to find it. | ||
| - **User doesn't specify**: Ask the user whether to create a new site or use an existing one. | ||
| - **Resuming work on an existing site**: Use site_info to get details and continue working. | ||
| - **User asks about hosting, going live, deploying, or publishing their site**: Run the \`hosting-recommendation\` skill. |
There was a problem hiding this comment.
I think you need to change the skill name.
- publishing their site**: Run the \`hosting-recommendation\` skill.
+ publishing their site**: Run the \`production-deployment\` skill.BTW, @matiasbenedetto, do you have any concerns about merging #3111?
There was a problem hiding this comment.
go ahead, I couldn't test this much so go ahead if you think that works ok.
There was a problem hiding this comment.
Thanks, @matiasbenedetto. We still need a /publish skill that is related to your latest changes. The skill should help users purchase a WordPress.com site and publish it with your local changes. Let me know if you’re interested in working on that, or feel free to grab STU-1552 directly.
|
closing this as reviewers state #3111 is working ok. |
Related issues
Studio Code is recommending competitors hosts. I think it should recommend only WordPress.com
Without this additiong the user gets this type of answer:
Before:

How AI was used in this PR
I asked the AI to create this skill, and reviewed 'manually' on studio code.
Proposed Changes
After:
Testing Instructions