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

How should the SPECIFY FEATURE environment variables be configured?

Open migodev42 opened this issue 10 months ago • 3 comments

Description

I am seeking clarification on the correct way to implement the SPECIFY_FEATURE environment variable within spec-kit. Currently, I am attempting to isolate or prioritize specific features during execution, but the configuration does not seem to be recognized by the system.

Attempted Configurations

I have tried the following methods to define the variable, but neither has yielded the expected results:

  1. Via .env file: Added the following line to the root .env file:
SPECIFY_FEATURE="xxx-feature"

  1. Via Agent Definition (e.g., QWEN.md): Included the variable within the metadata/configuration section of the Agent file:
SPECIFY_FEATURE="xxx-feature"

Observed Behavior

Despite these definitions, the system appears to ignore the SPECIFY_FEATURE flag, when I use /speckit.specify it always create a new branch.

Questions

  • What is the intended scope and priority for the SPECIFY_FEATURE variable?
  • Is there a specific syntax or a different configuration file (e.g., a global config or CLI flag) required to make this effective?

migodev42 avatar Jan 05 '26 11:01 migodev42

UP

kristiantenfen avatar Feb 03 '26 10:02 kristiantenfen

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 Jul 04 '26 00:07 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 Aug 04 '26 00:08 github-actions[bot]