fix(SOL-418): stackone-connect - update stale StackOne docs links and hub guidance
Merged
FA
2mo ago+52+52+01234567890123456789-107-107-012345678901234567890123456789
Summary
StackOne moved the account linking docs under /embed/, which broke the docs links in the stackone-connect skill. guides/connect-tools-overview, guides/webhooks and guides/embedding-stackone-hub now redirect, and the npm page for @stackone/hub returns 403 to automated fetches. Some facts in the skill had also gone stale, for example Auth Links being "valid 5 days" (the dashboard default is now 30 days and the API takes expires_in) and the Hub's csv-importer mode.
Changes
- Current pages: the skill points to the Embed pages: Account Linking, StackOne Hub (React), Connect Session, Auth Link and Handle Account Events. The account check uses the v2 Get An Account reference.
- Durable links: appending
.mdreturns a page as markdown. If a URL 404s, the agent searches the "Embed" section ofllms.txtby topic. The Hub repository README is the fallback for the package itself. - Facts come from the docs: props, peer dependencies and link expiry are no longer restated in the skill.
references/hub-reference.mdis deleted because it duplicated the StackOne Hub (React) page and had drifted from it. - Additions from the current docs:
- the
<stackone-hub>web component for non-React apps - the warning to set
origin_owner_idon the server - a troubleshooting note that account events are subscribed on the webhook itself, not on a connector profile
- the
- Skill
metadata.versionbumped from 2.0 to 2.1. The plugin version is left to release-please.
Files
| File | Change |
|---|---|
plugins/integrations/stackone-connect/skills/stackone-connect/SKILL.md | Links, fallback, method table, examples, troubleshooting |
plugins/integrations/stackone-connect/skills/stackone-connect/references/hub-reference.md | Deleted |
Test plan
- Every URL in
SKILL.mdreturns 200 directly (no redirects) -
claude plugin validate .passes - The
stackone-connecteval cases (embed-hub-in-react,oauth-app-whose-credentials) pass on Claude Sonnet, and the React case now fetches only current pages instead of redirected and guessed paths
🤖 Generated with Claude Code
Summary by cubic
Updates the stackone-connect skill after StackOne moved account linking docs under /embed/, which broke several links and left facts like Auth Link expiry and Hub modes stale.
- Docs links now point to current Embed pages, fetched as markdown by appending
.md; if a page 404s, the skill falls back tollms.txtand the Hub repo README, and tells the agent to contact StackOne support rather than inventing an answer. - Deletes
references/hub-reference.md, which duplicated and drifted from the StackOne Hub page; props, peer dependencies, link expiry, and the account event table are now taken from the docs instead of restated. - Adds the
<stackone-hub>web component, a warning to setorigin_owner_idserver-side, and a troubleshooting note that account events are subscribed on the webhook itself. - Bumps skill
metadata.versionfrom 2.0 to 2.1.