repl-eca-development
MANDATORY - Load this skill to learn how to use repl in eca project to manual test ECA behavior in a running ECA session. Useful to know how providers behave or do a end to end test.
来源信息
- 仓库
- editor-code-assistant/eca
- 最近来源活动
- 2026年2月24日 13:58
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 994
- 分支
- 74
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- repl-eca-development
- description
- MANDATORY - Load this skill to learn how to use repl in eca project to manual test ECA behavior in a running ECA session. Useful to know how providers behave or do a end to end test.
# REPL ECA Development
## Requisites
- Load any other repl skill if not loaded yet to know how to eval Clojure code.
## Context
There is a running JVM ECA process running with a nrepl server available which is tied to the repl you have access, this is powerful to eval anything from eca project and see lively changing in that eca session.
Use this when you need to understand how a provider behaves or part of the ECA code.
When testing stuff, call high level functions which simulates a user interacting with ECA, so for example always use `eca.features.chat/prompt` to simulate chat talks.
## Components
To access eca components to pass to functions during manual eval, you can:
- db*: `eca.db/db*`
- db: `@eca.db/db*`
- config: `(eca.config/all db)`
- messenger `(-> db :dev :components :messenger)`
- metrics `(-> db :dev :components :metrics)`
- server `(-> db :dev :components :server)`
在 GitHub 查看