ambler-core

Installation
SKILL.md

Ambler Core

Follow these steps to create a new core in the cores/ directory.

1. Gather requirements

Before writing any code, determine:

  • Core name: The purpose of the core (e.g., retry, prompt, validate). The file will be named <name>.ts.
  • State shape: What fields does this core read or mutate? Every core has a minimum State interface that must include the fields it touches.
  • Edges: What named transitions can this core take? Define an Edge type (union of strings) for these names.
  • Utils: What side-effectful operations does the core 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 core do, and how does it choose which Edge to follow?

2. Create cores/<name>.ts

Use the following structure exactly. Adhere to naming conventions.

Related skills

More from argenkiwi/ambler-ts

Installs
4
GitHub Stars
4
First Seen
9 days ago