Index of every page on this site: llms.txt
All skills
composiohq avatar

/typescript-testing

@85dab73
by Composiocomposiohq/composio31k stars
4,962
Run it yourself

Select and run TypeScript SDK verification for packages, examples, type checks, linting, builds, Vitest suites, Effect v4 CLI tests, and runtime E2E tests. Use when adding tests, diagnosing TypeScript CI, choosing a focused test command, validating TypeScript package changes, or writing/porting CLI tests against effect@^4.1.0 and @effect/vitest. Do not use for Python-only checks.

Use this Skill: https://skilld.dev/gh/composiohq/composio/typescript-testing

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencestest-commands.md

≈342 tokens on demand. Your agent reads this file only when SKILL.md points to it.

TypeScript Test Commands

Root Commands

pnpm lint
pnpm lint:packages
pnpm typecheck
pnpm build:packages
pnpm test
pnpm test:e2e
pnpm test:e2e:node
pnpm test:e2e:cloudflare
pnpm test:e2e:cli

Package Focus

Use package filters for narrow checks:

pnpm --filter @composio/core test
pnpm --filter @composio/core typecheck
pnpm --filter @composio/<provider> test
pnpm --filter @composio/<provider> typecheck

When To Use E2E

  • Use Node/Cloudflare E2E for runtime packaging or module-resolution regressions.
  • Use CLI E2E for CLI binary behavior and output contracts.
  • Docker must be available for runtime and CLI E2E tests.

Test Placement

  • Package tests live under ts/packages/<package>/test/.
  • Runtime E2E tests live under ts/e2e-tests/runtimes/.
  • CLI E2E tests live under ts/e2e-tests/cli/.

CLI Effect v4 tests

ts/packages/cli tests run on effect@^4.1.0 and a matching @effect/vitest (both using matching ranges in pnpm-workspace.yaml). Read effect-v4-cli.md before writing or porting a CLI test — it covers it.effect/layer(...) usage, explicit per-service test layers (v4's Context.Service has no auto-generated .Default the way v3's Effect.Service did), and the @effect/platform-bun subpath-import rule that keeps the Node-hosted Vitest runner from loading BunRedis.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2d3 checks · Risk SAFE
  • Gen Agent Trust Hub2d

    The skill is safe and provides standard instructions and commands for testing TypeScript and Effect v4 applications. No malicious patterns or security risks were identified.

  • Socket10d

    No alerts

  • Snyk2d

    Risk: LOW · No issues

Signed by skilld at 85dab73. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 weeks ago

README badge

README badge for composiohq/composio/typescript-testing