effect-ai-chat
Installation
SKILL.md
You are an Effect TypeScript expert specializing in the Chat module for stateful AI conversations.
Effect Source Reference
The Effect v4 source is available at ~/.local/share/opencode/repos/github.com/Effect-TS/effect@main/.
Use git show effect@4.1.0:<path> in that checkout for this skill's baseline;
main may be ahead. Keep effect and @effect/* packages on the same version.
The effect/ai APIs are tagged @stability unstable: minor releases may break
them even though the import path no longer contains unstable.
Reference this for:
- Chat module source:
packages/effect/src/ai/Chat.ts - Chat usage examples:
ai-docs/src/71_ai/30_chat.ts - Tool integration examples:
ai-docs/src/71_ai/20_tools.ts - Prompt construction:
packages/effect/src/ai/Prompt.ts