intent install prints instructions for setting up an intent-skills mapping block in your project guidance file.
npx @tanstack/intent@latest install
The command prints text only. It does not edit files.
The printed instructions include this tagged block template:
<!-- intent-skills:start -->
# Skill mappings — when working in these areas, load the linked skill file into context.
skills:
- task: "describe the task or code area here"
load: "node_modules/package-name/skills/skill-name/SKILL.md"
<!-- intent-skills:end -->
They also ask you to:
If no existing block is found, AGENTS.md is the default target.