docs: document intent skill loading

Adds the @tanstack/intent skill lookup step to AGENTS.md so agents check for a
matching local skill before editing files.
This commit is contained in:
Amruth Pillai
2026-08-17 22:32:33 +02:00
parent 9dc2aade46
commit b080fcddad
+11
View File
@@ -1,3 +1,14 @@
<!-- intent-skills:start -->
## Skill Loading
Before editing files for a substantial task:
- Run `pnpm dlx @tanstack/intent@latest list` from the workspace root to see available local skills.
- If a listed skill matches the task, run `pnpm dlx @tanstack/intent@latest load <package>#<skill>` before changing files.
- Use the loaded `SKILL.md` guidance while making the change.
- Monorepos: when working across packages, run the skill check from the workspace root and prefer the local skill for the package being changed.
- 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.
<!-- intent-skills:end -->
# AGENTS.md
## Cursor Cloud specific instructions