ambler-test

Installation
SKILL.md

Ambler Test

Follow these steps to create a test file for a node in the nodes/ directory.

1. Gather requirements

Before writing any code, determine:

  • Node name: The camelCase name (e.g., retry, prompt, validate) — the test file will be nodes/tests/<name>.test.ts.
  • Node's State, Edges, and Utils: Read nodes/<name>.ts to understand what the node does, which edges it has, and what utils it uses.
  • Branches to cover: Every return [edges.onEdgeName, ...] line is one branch; terminal nodes return [edges.onDone, state] where onDone will be null in the walk. List them all before writing any test.

If any of the above is unclear, read the node file first.


2. Determine sync vs async

Look at the node's factory return type:

Related skills

More from argenkiwi/ambler-ts

Installs
12
GitHub Stars
4
First Seen
Apr 27, 2026