Build a Play

Write a workflow in TypeScript, test it on a sample, and save it to run again.

Older Deepline skill · /deepline-plays

Play building is now part of Build GTM workflows (deepline-gtm). This older name still routes there.

Skill name
deepline-plays

Save the job as reusable code.

  1. Define the result

    Choose the input, output, and business rules.

  2. Write the Play

    Combine data tools with your own logic.

  3. Test the output

    Check the code and review a sample run.

  4. Save the version

    Publish the checked Play for future runs.

Run the same code with new inputs when you need it.
Read the full instructions
# deepline-plays (now part of deepline-gtm)

## Quick Start

```bash
npm install -g deepline
deepline -h
```

`deepline-plays` is a temporary alias kept so existing prompts, scripts, and saved commands keep working. It will be removed.

## What to do

Load the `deepline-gtm` skill and follow it for this request. Do not answer from this file; it contains no workflow of its own.

If the skill loader supports names, invoke `deepline-gtm`. Otherwise read the entrypoint directly, trying these roots in order and using the first that exists:

```bash
for candidate in \
  "$PWD/.skills/deepline-gtm" \
  "$HOME/.claude/skills/deepline-gtm" \
  "$HOME/.agents/skills/deepline-gtm"; do
  [ -d "$candidate" ] && { echo "$candidate/SKILL.md"; break; }
done
```

To run a play, run `deepline run --help`; to write, check, publish, or audit one, run `deepline plays --help`.

Then tell the user once, in a single line, that `/deepline-plays` is now `/deepline-gtm`, and continue with the actual request.

GTM systems are built, not bought.

Paste into your agent

+ more
Install and set up the official Deepline CLI globally from npm (package: deepline) by following https://code.deepline.com/INSTALL.md. After setup, continue my existing task if I gave one. Otherwise, present the guide's four starter choices verbatim, with each of the first three requests starting with /deepline-gtm.