Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 06:00 UTC
docs(cli): correct the lint and test-clock guidance in agent skills (#5205)
This PR: - fixes the `effect-v4` skill and its `core-patterns` reference, which said ESLint bans `async`/`await` and `try`/`catch` in `ts/packages/cli/src`. oxlint rejects `try`/`catch` (`TryStatement` in `.oxlintrc.json`), and no rule covers `async`/`await` - reconciles the "Time in tests" guidance with the suite. The skill said never to use `it.live` for the client's retry backoff, while the client retry tests run on the live clock and answer with `retry-after-ms: 0`. Examples: `composio-clients.test.ts`, `composio-client-singleton.test.ts`, `tool-permissions.test.ts` (`it.live`), and `tools.execute.client.cmd.test.ts`, `proxy.client.cmd.test.ts` (`layer(..., { excludeTestServices: true })`) - documents that case in `core-patterns.md` and `typescript-testing/references/effect-v4-cli.md`, and names both live-clock forms in the `stubComposioClient` doc comment - `bun run validate:agent-skills`, `validate:skill-routing`, `bun test test/cli-skills.test.ts` and the skill TypeScript block compilation pass locally. The CLI typecheck step of `check-cli-skills.ts` was left to CI, since only a doc comment changed in code