Skip to content

Commit 5d7533b

Browse files
pranaygpadriandlam
authored andcommitted
Add claude demo command
1 parent f4c15a2 commit 5d7533b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.claude/commands/demo.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
description: Run the 7_full demo workflow
3+
allowed-tools: Bash(curl:*), Bash(npx workflow:*), Bash(pnpm dev)
4+
---
5+
6+
7+
Start the $ARUGMENTS workbench (default to the nextjs turboback workbench available in the workbenches directory). Run it in dev mode, and also start the workflow web UI (run `npx workflow web` inside the appropriate workbench directory).
8+
9+
Then trigger the 7_full.ts workflow example. you can see how to trigger a specific example by looking at the trigger API route for the workbench - it is probably just a POST request using bash (maybe curl) to this endpoint: <http://localhost:3000/api/trigger\?workflowFile\=workflows/7_full.ts\&workflowFn\=handleUserSignup>>

.claude/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"Bash(pnpm build:*)",
99
"Bash(pnpm typecheck:*)"
1010
],
11-
"deny": ["Bash(curl:*)", "Read(./.env)", "Read(./.env.*)"],
11+
"deny": ["Read(./.env)", "Read(./.env.*)"],
1212
"additionalDirectories": ["../workflow-server"]
1313
}
1414
}

0 commit comments

Comments
 (0)