fix(SOL-422): stackone-unified-connectors - update stale StackOne docs links and description
Summary
StackOne moved the connector-building docs, which broke the docs links in the stackone-unified-connectors skill. /guides/connector-engine returns 404, and /guides/connector-engine/cli-reference only works through a redirect. The description also told users to use this skill alongside unified-hris-schema and unified-crm-schema, which are not skills anyone can install. They are examples of schema skills the user creates.
Changes
- Links: the CLI documentation link and the Key URLs table point to the Connector Building pages. The table also gains Defined Output Schemas and the Connector YAML Reference.
- Durable links: appending
.mdreturns a page as markdown. If a URL 404s, the agent searchesllms.txtby topic for the current page. - Description: now says "domain-specific schema skills that you create" instead of naming skills that do not exist. The body already described them as skills to create.
- Field mapping uses action-level
fieldConfigs: the skill told agents to putfieldsinline in themap_fieldsstep and avoidfieldConfigs, claiming it caused schema inference build failures. The Defined Output Schemas checklist usesfieldConfigs, and so do nearly all unified actions in the most recently built connectors (Jenkins, Loom, Statuspage, Keeper and others). The skill andfield-mapping-patterns.mdnow declare fields infieldConfigs, withmap_fieldsandtypecasttaking only adataSource. The schema inference troubleshooting entry is removed. - Expression context: the skill said
fieldConfigsexpressions need a step ID prefix ($.get_employees.email). They are evaluated against each record, so they reference fields directly ($.email), as real connectors do. - Case-insensitive enum matching:
($.status || "").toLowerCase()returnsundefinedbecause the expression language has no string methods. Replaced with the documentedlower()function in the reference and the troubleshooting section. - Skill
metadata.versionbumped from 2.1 to 2.2. The plugin version is left to release-please.
scope-patterns.md and pagination-patterns.md are unchanged. One rule is still being checked with the team: preferring request over paginated_request when the action takes inputs. Many connectors pass $.inputs.* into paginated_request.
Files
| File | Change |
|---|---|
plugins/integrations/stackone-unified-connectors/skills/stackone-unified-connectors/SKILL.md | Links, fallback, description, fieldConfigs pattern, expression context, version |
plugins/integrations/stackone-unified-connectors/skills/stackone-unified-connectors/references/field-mapping-patterns.md | fieldConfigs pattern, lower() for case-insensitive matching, checklist |
Test plan
- Every
docs.stackone.comURL in the skill returns 200 directly (no redirects) and appears inllms.txt - The description only references skills that a user can install or create
- Every expression in
field-mapping-patterns.mdevaluates as intended with@stackone/expressions -
claude plugin validate .passes - The
cursor-pagination-nexteval case fails on Claude Sonnet: the skill steers the agent torequestinstead of thepaginated_requestdocs. Expected to pass once thepaginated_requestrule above is resolved
Closes SOL-422.
🤖 Generated with Claude Code
Summary by cubic
Updates the stackone-unified-connectors skill so its docs links, description, and field mapping guidance match current StackOne behavior.
- Connector Engine links now point to the Connector Building pages; the Key URLs table gains Defined Output Schemas and Connector YAML Reference entries.
- The
.mdfallback only applies todocs.stackone.comURLs that don't already end in.md;llms.txtis fetched as is. - If a docs URL 404s or a page doesn't answer the question, the skill tells agents to search
llms.txtfor the current page and to contact StackOne support rather than invent an answer. - The description now references "domain-specific schema skills that you create" instead of nonexistent skills.
map_fieldsandtypecaststeps now take only adataSource;fieldConfigsexpressions are relative to each record with no step prefix.- Enum matching uses
lower()instead of unsupported.toLowerCase(); the schema inference troubleshooting entry is removed. - Skill
metadata.versionbumped from 2.1 to 2.2; plugin version is left to release-please.
Migration: The request vs. paginated_request rule is unchanged pending team review; the cursor-pagination-next eval case still expects the paginated_request resolution.