Agent SkillsAutomattic/studio › hosting-plans-helper

hosting-plans-helper

GitHub

根据WordPress.com官方API实时查询主机计划、定价及功能解锁情况,严禁凭记忆回答。用于解答用户关于套餐升级、费用及特定功能支持的咨询,确保信息准确且已本地化。

apps/cli/ai/skills/hosting-plans-helper/SKILL.md Automattic/studio

Trigger Scenarios

询问WordPress.com计划详情 查询套餐价格 确认某功能所属层级 咨询升级建议

Install

npx skills add Automattic/studio --skill hosting-plans-helper -g -y
More Options

Non-standard path

npx skills add https://github.com/Automattic/studio/tree/trunk/apps/cli/ai/skills/hosting-plans-helper -g -y

Use without installing

npx skills use Automattic/studio@hosting-plans-helper

指定 Agent (Claude Code)

npx skills add Automattic/studio --skill hosting-plans-helper -a claude-code -g -y

安装 repo 全部 skill

npx skills add Automattic/studio --all -g -y

预览 repo 内 skill

npx skills add Automattic/studio --list

SKILL.md

Frontmatter
{
    "name": "hosting-plans-helper",
    "description": "Answer WordPress.com plan, pricing, upgrade, and feature-tier questions (plan names, what each tier unlocks — plugins, themes, custom code, SSH, hosting — and current prices) from authoritative live data. Load before answering ANY plan, pricing, or feature-gating question; never answer these from memory.",
    "user-invokable": true
}

Hosting Plans Helper

Use this skill whenever the user asks about WordPress.com (or Pressable) plans, pricing, upgrades, or what a plan tier unlocks — for example "which plan do I need for plugins?", "what does Business include?", "how much is Commerce?", "can I use custom CSS on Premium?", or "should I upgrade?".

Hard rule: never answer from memory

Plan names, prices, and feature-tier gating change, and your training data is stale. You MUST fetch current data with this skill before answering. Do not state a plan name, a price, or which tier unlocks a feature from memory — even if you are confident. If the fetch fails, say you can't verify current plan data right now and point the user to https://wordpress.com/pricing; do not guess.

Step 1: Fetch plan names and features

Fetch wpcom/v2/plans/features. It returns, per plan, the current name, the product_slug (used to look up the price in Step 2), and the full list of features that tier unlocks — grouped (Essential features, Performance boosters, High Availability, Developer tools, Security, etc.).

Local sites (Bash tool available):

curl -s "https://public-api.wordpress.com/wpcom/v2/plans/features?locale=en"

Connected WordPress.com sites (wpcom_request tool available, no Bash):

wpcom_request  method=GET  path="!/plans/features"  apiNamespace="wpcom/v2"

Step 2: Fetch current prices

Fetch wpcom/v2/products for prices. It is keyed by product slug; each product has a cost_display (the formatted, already-localized price, e.g. "$300") and a currency_code.

Local sites:

curl -s "https://public-api.wordpress.com/wpcom/v2/products"

Connected WordPress.com sites:

wpcom_request  method=GET  path="!/products"  apiNamespace="wpcom/v2"

Both endpoints are public (no authentication) and both are reachable in either environment.

Step 3: Answer from the fetched data only

  • Use the exact plan names from Step 1 — do not rename or substitute legacy names.
  • For a plan's price, look up products[ plan.product_slug ].cost_display and quote it as-is (it is already localized; mention the currency). The free plan has no price.
  • To answer "does plan X include feature Y?" or "what do I need for Y?", check the per-plan features list from Step 1. Each feature has a title, a tooltip (use it to explain), and a group. Recommend the lowest tier whose features includes what the user needs.
  • When recommending an upgrade, name the specific tier and the concrete features it unlocks for the user's stated goal.

Phrasing

Answer directly and authoritatively, as plain product knowledge. Do not mention that you fetched anything, or reference "the live data", "the data I fetched", "according to the API", or any source or tool. The fetched data is simply the truth — state it.

  • Yes: "Plugins are supported on the Personal plan and above."
  • No: "Based on the live data I just fetched, plugins are supported on Personal and above."

Scope

Currently covers the WordPress.com consumer plans (Free, Personal, Premium, Business, Commerce). If the user asks about a plan or product not in the response (e.g. Pressable, Woo Hosted, VIP, enterprise), say it's not covered by this data and point them to https://wordpress.com/pricing rather than answering from memory.

Version History

  • 0d55cb5 Current 2026-08-20 12:15

Same Skill Collection

apps/cli/ai/skills/annotate/SKILL.md
apps/cli/ai/skills/block-content/SKILL.md
apps/cli/ai/skills/liberate/SKILL.md
apps/cli/ai/skills/need-for-speed/SKILL.md
apps/cli/ai/skills/plugin-recommendations/SKILL.md
apps/cli/ai/skills/rank-me-up/SKILL.md
apps/cli/ai/skills/site-spec/SKILL.md
apps/cli/ai/skills/taxonomist/SKILL.md
apps/cli/ai/skills/visual-design/SKILL.md
apps/cli/ai/skills/visual-polish/SKILL.md
apps/cli/ai/skills/wpcom-remote-management/SKILL.md
packages/data-liberation-agent/skills/adapt/SKILL.md
packages/data-liberation-agent/skills/creating-blocks/SKILL.md
packages/data-liberation-agent/skills/creating-themes/SKILL.md
packages/data-liberation-agent/skills/design-foundations/SKILL.md
packages/data-liberation-agent/skills/diagnose/SKILL.md
packages/data-liberation-agent/skills/editing-blocks/SKILL.md
packages/data-liberation-agent/skills/editing-themes/SKILL.md
packages/data-liberation-agent/skills/generating-patterns/SKILL.md
packages/data-liberation-agent/skills/migrate/SKILL.md
packages/data-liberation-agent/skills/model-local-data/SKILL.md
packages/data-liberation-agent/skills/qa/SKILL.md
packages/data-liberation-agent/skills/rebuild-section/SKILL.md
packages/data-liberation-agent/skills/testing-js/SKILL.md
packages/data-liberation-agent/skills/testing-php/SKILL.md
packages/data-liberation-agent/skills/testing-wp-runtime/SKILL.md
skills/studio-cli/SKILL.md
packages/data-liberation-agent/skills/compose-page-blocks/SKILL.md
packages/data-liberation-agent/skills/design-qa/SKILL.md
packages/data-liberation-agent/skills/match-page/SKILL.md
packages/data-liberation-agent/skills/match-section/SKILL.md
packages/data-liberation-agent/skills/replicate-theme/SKILL.md
packages/data-liberation-agent/skills/replicate-with-blocks/SKILL.md

Metadata

Files
0
Version
0d55cb5
Hash
4bb8f913
Indexed
2026-08-20 12:15

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 08:46
浙ICP备14020137号-1 $방문자$