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

It should be possible to /re-spec or /re-clarify

Open ibotu opened this issue 1 year ago • 8 comments

When creating a spec on the spot, and during it's clarification or planning, you discover a new aspect of that spec, shouldn't it be possible to re-spec it? I think the solution now is to create another new spec?

ibotu avatar Oct 06 '25 17:10 ibotu

I have the same issue here

svstoyanov avatar Oct 06 '25 20:10 svstoyanov

Spec-Kit is a collection of instructions for the Spec-Driven Development process. You can add your own custom commands or prompts for specific cases, or simply have the LLM read through your feature design documents and make refinements.

Here is my "all-purpose" prompt to provide the LLM with your feature design documents:

<Additional_info>
**Optionally**, you can retrieve information about the current feature we are working on. Do so **only if it's really necessary**.
For getting more context on feature we are working on:
1. Run `.specify/scripts/bash/check-prerequisites.sh --json` from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute.
2. Load and analyze available design documents:
   - IF EXISTS: Read tasks.md for the complete task list and execution plan
   - IF EXISTS: Read plan.md for tech stack, architecture, and file structure
   - IF EXISTS: Read data-model.md for entities
   - IF EXISTS: Read contracts/ for API endpoints
   - IF EXISTS: Read research.md for technical decisions
   - IF EXISTS: Read quickstart.md for test scenarios
   - IF EXISTS: Read spec.md for user stories and non-technical requirements
</Additional_info>

Scripts are already in your project dir if you have initialized spec-kit

outp1 avatar Oct 07 '25 08:10 outp1

Spec-Kit is a collection of instructions for the Spec-Driven Development process. You can add your own custom commands or prompts for specific cases, or simply have the LLM read through your feature design documents and make refinements.

Here is my "all-purpose" prompt to provide the LLM with your feature design documents:

<Additional_info> Optionally, you can retrieve information about the current feature we are working on. Do so only if it's really necessary. For getting more context on feature we are working on:

  1. Run .specify/scripts/bash/check-prerequisites.sh --json from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute.
  2. Load and analyze available design documents:
    • IF EXISTS: Read tasks.md for the complete task list and execution plan
    • IF EXISTS: Read plan.md for tech stack, architecture, and file structure
    • IF EXISTS: Read data-model.md for entities
    • IF EXISTS: Read contracts/ for API endpoints
    • IF EXISTS: Read research.md for technical decisions
    • IF EXISTS: Read quickstart.md for test scenarios
    • IF EXISTS: Read spec.md for user stories and non-technical requirements </Additional_info> Scripts are already in your project dir if you have initialized spec-kit

Did you mean when /specify feature_update, followed by <Additional_info>?

xuxiong avatar Oct 12 '25 05:10 xuxiong

@xuxiong You can ask llm to do whatever you want to do like refining your spec or plan. Snippet I've provided adds to context info about current feature design docs and asks it to run script for evaluating FEATURE_DIR.

outp1 avatar Oct 13 '25 16:10 outp1

The spec.md template already provides comprehensive information about the file structure and how to write everything down. After re-specifying your feature with custom prompt (not using /speckit.specify), you just need to run /clarify without the need for an explicit "re-clarify" command. The clarify command autonomously works with ambiguous specifications.

outp1 avatar Oct 13 '25 17:10 outp1

But I do agree that maybe built-in command for updating design docs and other artifacts could be really helpful for users.

outp1 avatar Oct 13 '25 17:10 outp1

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 08 '26 01:05 github-actions[bot]