github / github/spec-kit

[Feature]: stage wise constitution

未关闭
#4,419 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement feature-assess feature-needs-clarification needs-triage triage-can-wait
主要语言
Python
星标
137k
派生
12.3k
平均合并
2 天 12 小时
30 天内合并 PR
159

描述

### Problem Statement

Currently we have one constitution file and if I include a lot of instructions in that file, there is a tendency for speckit to ignore some of them. And all the instructions may not be relevant for all stages of a project. For e.g. during requirements, only instructions related to defining the requirements are relevant. During the implement, only instructions related to coding are relevant.

### Proposed Solution

we can have multiple constitution files e.g. constitution-specify.md, constitution-plan.md, constitution-tasks.md, constitution-implement.md etc. and each file can have instructions that are specific to the requirements, design, task breakdown, implementation stages.
This will require the commands of those specific stages to be modified to explicitly read those constitution files for a consistent experience.

### Alternatives Considered

_No response_

### Component

Specify CLI (initialization, commands)

### AI Agent (if applicable)

None

### Use Cases

_No response_

### Acceptance Criteria

_No response_

### Additional Context

_No response_

贡献指南

打开贡献指南

调研方向

Start by tracing the Specify CLI initialization flow and the stage-specific commands named in the issue: specify, plan, tasks, and implement. Then identify where the current constitution file is loaded and determine how each stage should select its instructions. Done means the proposed stage-specific constitution behavior is defined consistently across initialization and all listed commands.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
cli
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。