ambler-node

Installation
SKILL.md

Ambler Node

Follow these steps to create a new node in the nodes/ directory.

1. Gather requirements

Before writing any code, determine:

  • Node name: The purpose of the node (e.g., retry, prompt, validate). The file will be named <name>.ts.
  • State shape: What fields does this node read or mutate? Every node has a minimum State interface that must include the fields it touches.
  • Edges: What named transitions can this node take? Define an Edge type (union of strings) for these names.
  • Utils: What side-effectful operations does the node perform? List them (e.g., print, readLine). Each becomes a field on the Utils type with a production default in defaultUtils.
  • Behavior: What does the node do, and how does it choose which Edge to follow?

2. Create nodes/<name>.ts

Use the following structure exactly. Adhere to naming conventions.

Related skills

More from argenkiwi/ambler-ts

Installs
8
GitHub Stars
4
First Seen
Apr 27, 2026