Skip to content

intent-skills block uses absolute local paths #90

@NimmLor

Description

@NimmLor

TanStack Intent version

v0.0.23

Runtime and version

bun v1.3.10

Package manager and version

bun v1.3.10

Describe the bug and the steps to reproduce it

The generated intent-skills block is currently writing absolute file paths, for example in copilot-instructions.md. That bakes in local machine details like my username and repo folder name.

Expected:
Use repo-relative paths in the generated block.

Actual:
Intent writes absolute paths such as /home/lorenz/my-corp/node_modules/...

If you want, I can also compress this into an even shorter 2-3 sentence version for pasting directly into GitHub.

Your Minimal, Reproducible Example

copy the output of npx @tanstack/intent@latest install into github copilot using GPT-5.4

Screenshots or Videos (Optional)

<!-- intent-skills:start -->
# Skill mappings - when working in these areas, load the linked skill file into context.
skills:
  - task: "adding or changing web routes and the TanStack Start app shell"
    load: "/home/lorenz/my-corp/node_modules/@tanstack/start-client-core/skills/start-core/SKILL.md"
  - task: "working on route loaders, preloading, and cached page data"
    load: "/home/lorenz/my-corp/node_modules/@tanstack/router-core/skills/router-core/data-loading/SKILL.md"
  - task: "working on protected routes and auth guards"
    load: "/home/lorenz/my-corp/node_modules/@tanstack/router-core/skills/router-core/auth-and-guards/SKILL.md"
  - task: "changing URL search params and shareable filter state"
    load: "/home/lorenz/my-corp/node_modules/@tanstack/router-core/skills/router-core/search-params/SKILL.md"
<!-- intent-skills:end -->

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions