Skip to content

Update commerce API skill#1365

Merged
wcole1-godaddy merged 2 commits intomainfrom
update-commerce-api-skill
May 1, 2026
Merged

Update commerce API skill#1365
wcole1-godaddy merged 2 commits intomainfrom
update-commerce-api-skill

Conversation

@pbennett1-godaddy
Copy link
Copy Markdown
Collaborator

Summary

Updates the commerce-api skill to verify that @godaddy/cli is installed and running the latest version before using it for API discovery. Previously the skill had a single npm install -g instruction
with no detection, update, or user preference handling.

Changes

  • packages/react/skills/commerce-api/SKILL.md — Replaced the one-line global install instruction with a structured 4-step flow:
    1. Detect existing installations (global via npm ls -g, local via pnpm ls)
    2. Prompt the user to choose global vs dev dependency install, with a trade-off comparison table
    3. Update to @latest to ensure the most recent API schemas are available for discovery
    4. Verify the CLI works, with guidance on using pnpm exec for local installs

Changeset

  • Changeset added (docs)

Test Plan

@pbennett1-godaddy pbennett1-godaddy requested a review from a team as a code owner May 1, 2026 15:56
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 1, 2026

🦋 Changeset detected

Latest commit: 62e277d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@godaddy/react Patch
nextjs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@wcole1-godaddy wcole1-godaddy merged commit 5288e5c into main May 1, 2026
3 checks passed
@wcole1-godaddy wcole1-godaddy deleted the update-commerce-api-skill branch May 1, 2026 18:30
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.

2 participants