studioflow 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
- # StudioFlow CLI
1
+ # StudioFlow
2
2
 
3
- StudioFlow turns natural-language demo intent into deterministic UI run artifacts and executes them through Screen Studio.
3
+ StudioFlow turns a plain-language demo request into a deterministic recorded run.
4
+
5
+ This package includes:
6
+ - a CLI runtime (`studioflow`) for deterministic artifact execution
7
+ - bundled agent skills for Codex and Claude (`studioflow-investigate`, `studioflow-cli`)
4
8
 
5
9
  ## Requirements
6
10
 
@@ -22,11 +26,10 @@ npm install -g studioflow
22
26
  studioflow setup
23
27
  ```
24
28
 
25
- Bundled skills include:
26
- - `studioflow-investigate` (intent -> deterministic artifacts, including `artifacts/flow.json`)
27
- - `studioflow-cli` (artifact execution workflow)
29
+ ## Default Workflow (Agent-First)
28
30
 
29
- ## Quick Start
31
+ You should not need to manually invoke multiple skills or manually run CLI commands for a normal demo request.
32
+ Open Codex or Claude in your project and describe the demo you want.
30
33
 
31
34
  1. Start your agent from the project root.
32
35
 
@@ -46,37 +49,31 @@ claude
46
49
 
47
50
  If your launcher command differs, start your usual Codex or Claude session in this repo root.
48
51
 
49
- 2. Trigger `studioflow-investigate` to generate `artifacts/flow.json`.
52
+ 2. Ask for the demo in plain language.
50
53
 
51
- Paste this prompt:
54
+ Example:
52
55
 
53
56
  ```text
54
- Use StudioFlow skill studioflow-investigate.
55
- Intent: "Record a demo for onboarding and billing."
56
- Generate artifacts/flow.json for this repo.
57
- If intent details are missing, ask concise follow-up questions before authoring the flow.
57
+ Record a demo for onboarding and billing.
58
58
  ```
59
59
 
60
- `studioflow-investigate` automatically collects project context artifacts before creating the flow.
61
-
62
- 3. Validate and run:
63
-
64
- ```bash
65
- studioflow validate --flow artifacts/flow.json
66
- studioflow demo --flow artifacts/flow.json --intent "onboarding and billing demo"
67
- ```
60
+ 3. StudioFlow skills + CLI handle the rest:
61
+ - investigate the codebase
62
+ - generate deterministic artifacts (`artifacts/flow.json`, related context artifacts)
63
+ - validate the flow
64
+ - execute recording through the CLI runtime
68
65
 
69
66
  `run`/`demo` automatically performs Screen Studio preflight checks. Use manual prep only for troubleshooting.
70
67
  Headed runs auto-open a maximized browser window for cleaner recording composition.
71
68
  Runs do not auto-export by default; include `recorder_export` in flow steps only when export is explicitly needed.
72
69
 
73
- ## Optional: Trigger Runtime Skill In Agent
70
+ ## Advanced Manual Mode (Optional)
74
71
 
75
- If you want the agent to drive execution too, use:
72
+ If you want to run the runtime yourself:
76
73
 
77
- ```text
78
- Use StudioFlow skill studioflow-cli.
79
- Validate artifacts/flow.json, run the demo, and report run artifact paths.
74
+ ```bash
75
+ studioflow validate --flow artifacts/flow.json
76
+ studioflow demo --flow artifacts/flow.json --intent "onboarding and billing demo"
80
77
  ```
81
78
 
82
79
  ## Documentation