You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: commands/init.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,18 +85,27 @@ Parse the JSON from Step 2. Filter to projects where `has_indexed_content` is tr
85
85
| No indexed projects | Output: "Your account has no indexed projects yet. Add a project at yavy.dev — paste a URL and Yavy will crawl and index it. Once done, run `/yavy:init` again." **Stop here.**|
86
86
| Has projects | Call `AskUserQuestion` with question "Which projects do you want to set up?" and options: first option "All {N} projects", then each project as "{org.slug}/{name} ({pages_count} pages)" |
87
87
88
-
### Step 4: Run yavy init
88
+
### Step 4: Choose Scope
89
+
90
+
Call `AskUserQuestion` with question "Where should the skill be installed?" and options ["This project only", "All my projects (global)"]. Map the answer:
91
+
92
+
| Answer |`--scope` value |
93
+
|--------|-----------------|
94
+
| This project only |`project`|
95
+
| All my projects (global) |`user`|
96
+
97
+
### Step 5: Run yavy init
89
98
90
99
Build the command from user selections. Use the plain `slug` field from the JSON (e.g., `knowledge-base`, NOT `org/slug`).
0 commit comments