Skip to content

docs: add missing zod install step to typescript-sdk and agent-migration skills#70

Open
Ritik92 wants to merge 1 commit into
OpenRouterTeam:mainfrom
Ritik92:docs/zod-install-steps
Open

docs: add missing zod install step to typescript-sdk and agent-migration skills#70
Ritik92 wants to merge 1 commit into
OpenRouterTeam:mainfrom
Ritik92:docs/zod-install-steps

Conversation

@Ritik92

@Ritik92 Ritik92 commented Jul 4, 2026

Copy link
Copy Markdown

Summary

Fixes #16. The tool() examples in two skills import from zod, but neither skill's install section mentioned installing it — so anyone copy-pasting the documented patterns hit Cannot find module 'zod' with no indication an extra install step was needed.

  • openrouter-typescript-sdk/SKILL.md — add npm install zod to the Installation block (tool examples import zod at lines 412 / 1137 / 1213).
  • openrouter-agent-migration/SKILL.md — add an npm install zod step in Quick Migration → Step 1 (tool examples import zod at lines 128 / 168 / 255 / 279).

Test plan

  • Confirmed both SKILL.md install sections now list zod
  • Verified these are the only files needing the change — the two skills' READMEs cover only gh skill install, and neither skill ships a package.json

Closes #16

🤖 Generated with Claude Code

…ion skills

The tool() examples in both skills import from `zod`, but neither skill's
install section mentioned installing it, so anyone copy-pasting the
documented patterns hit `Cannot find module 'zod'`.

Closes OpenRouterTeam#16

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cursor

cursor Bot commented Jul 4, 2026

Copy link
Copy Markdown

Bugbot is not enabled for this team, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@perry-the-pr-maintainer perry-the-pr-maintainer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perry's Review

Adds the missing npm install zod step to two skill docs whose tool() examples import from zod but never told readers to install it.

Verdict: ✅ LGTM

Details

Risk: 🟢 Low

CI: all passing ✅

Findings: none — verified both skills' tool() examples actually import zod (typescript-sdk: lines 415/1140/1216; agent-migration: lines 134/174/261/285), confirmed neither skill ships a package manifest, and confirmed the READMEs only document gh skill install so no README change was needed. The install step is placed correctly in both files (before the "uninstall @openrouter/sdk" note in agent-migration; alongside the other package installs in typescript-sdk).

Research: n/a (trivial tier)

Security: no concerns — docs-only change, no secret patterns in the diff

Test coverage: n/a — documentation change, no code paths

Unresolved threads: none

Scope: first review (full)
Review: tier=trivial · model=claude-sonnet-latest · score=0.1

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.

docs: zod missing from installation steps in openrouter-typescript-sdk and openrouter-agent-migration

1 participant