spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

file mention in /specify and /plan.

Open Paimon2806 opened this issue 1 year ago • 4 comments

I agree - /specify @ would be a much better solution.

Originally posted by @jaycangel in #140

I would love to be able to write "/specify @spec_file.md" and get the agent read from the file. Its convinient but I am not sure if we can do it without changing gemini files. If you think it can be then tell me. I would look into it. @localden

Paimon2806 avatar Sep 12 '25 07:09 Paimon2806

Could it not be done in a two step prosess ? If you detect and @ command you rewrite the prompt to the model to "read the file @ and process it"? That way enhancing the prompt could get the model to read in the file ?

Or maybe it could be done with a hook ?

On Fri, 12 Sept 2025, 08:08 Anurag Jyotishi, @.***> wrote:

Paimon2806 created an issue (github/spec-kit#198) https://github.com/github/spec-kit/issues/198

I agree - /specify @ would be a much better solution.

Originally posted by @jaycangel https://github.com/jaycangel in #140 https://github.com/github/spec-kit/issues/140#issuecomment-3278229711

I would love to be able to write "/specify @spec_file.md" and get the agent read from the file. Its convinient but I am not sure if we can do it without changing gemini files. If you think it can be then tell me. I would look into it. @localden https://github.com/localden

— Reply to this email directly, view it on GitHub https://github.com/github/spec-kit/issues/198, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJN3SWDDJMB63LW7F4UKP33SJWOTAVCNFSM6AAAAACGKA4746VHI2DSMVQWIX3LMV43ASLTON2WKOZTGQYDSMJXHA4TENA . You are receiving this because you were mentioned.Message ID: @.***>

jaycangel avatar Sep 12 '25 07:09 jaycangel

@Paimon2806 have you tried /specify #file my_app_specs.md

At least in VSCode and Github Copilot, the contents of my_app_specs.md seemed to properly seed creation of the specs.md document.

/plan does not appear to work the same way. I can see difference in the custom prompts and the underlying bash scripts. More study is needed.

jimthompson5802 avatar Sep 17 '25 00:09 jimthompson5802

This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Apr 03 '26 14:04 github-actions[bot]

This issue has been automatically closed due to inactivity (180 days total). If you believe this issue is still relevant, please reopen it or create a new issue.

github-actions[bot] avatar May 05 '26 00:05 github-actions[bot]