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: docs/getting-started/quick-start-consumers.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ The install command guides your agent through the setup process:
13
13
npx @tanstack/intent@latest install
14
14
```
15
15
16
+
Examples use `npx` for npm projects. In pnpm, Yarn, or Bun projects, use the matching runner: `pnpm dlx`, `yarn dlx`, or `bunx`.
17
+
16
18
This creates or updates an `intent-skills` guidance block. It:
17
19
18
20
1. Checks for existing `intent-skills` guidance in your config files (`AGENTS.md`, `CLAUDE.md`, `.cursorrules`, etc.)
@@ -30,13 +32,15 @@ Intent creates guidance like:
30
32
## Skill Loading
31
33
32
34
Before substantial work:
33
-
- Skill check: run `npx @tanstack/intent@latest list`, or use skills already listed in context.
34
-
- Skill guidance: if one local skill clearly matches the task, run `npx @tanstack/intent@latest load <package>#<skill>` and follow the returned `SKILL.md`.
35
+
- Skill check: run `pnpm dlx @tanstack/intent@latest list`, or use skills already listed in context.
36
+
- Skill guidance: if one local skill clearly matches the task, run `pnpm dlx @tanstack/intent@latest load <package>#<skill>` and follow the returned `SKILL.md`.
35
37
- Monorepos: when working across packages, run the skill check from the workspace root and prefer the local skill for the package being changed.
36
38
- Multiple matches: prefer the most specific local skill for the package or concern you are changing; load additional skills only when the task spans multiple packages or concerns.
37
39
<!-- intent-skills:end -->
38
40
```
39
41
42
+
Intent detects the package manager when generating this block, so the runner may be `npx`, `pnpm dlx`, `yarn dlx`, or `bunx`.
43
+
40
44
## 2. Use skills in your workflow
41
45
42
46
When your agent works on a task that matches an available skill, it loads the matching `SKILL.md` into context.
Scans the current project's installed dependencies for intent-enabled packages, including `node_modules`, workspace dependencies, and Yarn PnP projects without `node_modules`.
34
43
Global package scanning is explicit; pass `--global` to include global packages or `--global-only` to ignore local packages.
0 commit comments