jsturtevant/rally/squad-sdk-local-build

Claude Code and agent skill by jsturtevant/rally

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Workaround for installing Squad SDK from GitHub branches that don't have dist/ committed

Install

npx vskill@latest install jsturtevant/rally/squad-sdk-local-build

SKILL.md

Squad SDK Local Build Workaround

Problem

When installing the Squad SDK (@bradygaster/squad) from a GitHub branch, npm does NOT:

  • Install devDependencies of the package
  • Run prepare scripts that require devDependencies (like TypeScript)

This means branches without a committed dist/ folder will fail to import because the compiled JavaScript doesn't exist.

Error symptom:

Cannot find module '@bradygaster/squad/packages/squad-sdk/dist/index.js'

Why npm flags don't help

FlagWhat it doesWhy it doesn't help
--include=devInstalls YOUR project's devDepsDoesn't affect installed package's devDeps
--install-linksChanges symlink handlingDoesn't trigger build scripts
Global TypeScriptMakes tsc availablenpm doesn't run prepare for GitHub tarballs

Workaround

  1. Clone the SDK repo locally and build it:

``bash cd /tmp git clone https://github.com/jsturtevant/squad-pr.git cd squad-pr git checkout consult-mode-impl npm install npm run build ``

  1. Update package.json to use the local path:

``bash npm pkg set dependencies.@bradygaster/squad="file:/tmp/squad-pr" npm install ``

  1. Verify:

``bash ls node_modules/@bradygaster/squad/packages/squad-sdk/dist/ # Should show: index.js, index.d.ts, etc. ``

When to use this

  • Testing SDK changes before they're published to npm
  • Using feature branches that have TypeScript source but no dist/
  • Any branch where setupConsultMode() or other new features aren't in the published npm version

Permanent fix (for SDK team)

The SDK team should do ONE of:

  1. Commit `dist/` to branches — simplest, works immediately
  2. Publish to npm — proper solution for releases
  3. Add `prepublishOnly` that builds — already exists, but only runs on npm publish

Current state

  • package.json uses file:/tmp/squad-pr
  • Local build at /tmp/squad-pr includes dist/ folder
  • Tests pass (104/104)

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
34
Repository forks
2
7-day trend score
18

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jsturtevant/rally/squad-sdk-local-build/badge)](https://verified-skill.com/skills/jsturtevant/rally/squad-sdk-local-build)

Something wrong with this skill or its page? Tell us.