How to keep specs consistent and up-to-date with spec-kit?
- Linguagem predominante
- Python
- Estrelas
- 137k
- Forks
- 12.3k
- Merge médio
- 2d 12h
- PRs com merge (30d)
- 159
Descrição
With `spec-kit`, each feature defines its own spec. This works well at first, but over time and with the multiplication of features, some descriptions become outdated or are enriched by new features.
## Example
- Feature **001 – User Login** defines that a user can log in with email + password.
- A few months later, feature **009 – Two-Factor Authentication** enhances the login by adding an extra step (OTP code).
In this case, the original spec of feature 001 becomes partially outdated or needs to be complemented by feature 009.
## Discussion
- Is there a recommended approach to **consolidate specs over time**?
- Should the original feature be modified, or is it better to keep the historical record and add links to subsequent evolutions?
- Are there patterns used by the community to manage the evolution and consistency of specs as new features are added?
- **Idea:** Would it be useful to introduce a `/close` command (or equivalent) to mark a feature as deprecated and automatically update a centralized project documentation?
Guia de contribuição
Direção de pesquisa
Nenhum arquivo-fonte, teste ou ponto de entrada da implementação é identificado na issue. Comece revisando o workflow de feature-spec existente do spec-kit e a discussão aqui, depois defina o modelo de ciclo de vida, o tratamento de specs históricas versus atuais e o que um comando /close ou uma documentação centralizada precisaria mostrar.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Domínio
- documentation
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Pouca atividade
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100