Replies: 12 comments 6 replies
-
|
The upgrade command is something I am missing a lot. It also hinders the userbase to provide constructive feedback to the latest changes/aditions if there is no clear path for upgrading. I also thought about an upgrade command, but I think I would prefer an /upgrade command instead since it would allow to utilize AI to upgrade and merge everything. Some parts could use scripts, like the current commands do already. The hardest part, I think, is to ensure that plan and tasks are "upgraded", so maybe for the start just support upgrade if no plan is in work (between features). |
Beta Was this translation helpful? Give feedback.
-
|
I had some success using something like this to upgrade: The |
Beta Was this translation helpful? Give feedback.
-
At least all the spec-kit files are now in Problems with project-specific modifications to upgradeable files are discussed in #387
You can just run the uvx based installer again. It will prompt you: It will then download the most current release and replace its own files accordingly, leaving your code untouched.
Yep, definitively. You don't want to |
Beta Was this translation helpful? Give feedback.
-
|
I agree. If I want to update to the latest SpecKit version I have to re-initialize it and overwrite a bunch of files. Which is not that bad if the ./specify dir is tracked by git. You can see the changes made and review them. But it feels that you might miss something important, like for example in the latest update my constitution.md has been updated. This is just one example, other files I have not customized, so I'm fine just accepting the changes for now. But it would be good to have some sort of upgrade command or a script or a prompt for re-generating constitution for example based on the new template. |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, this is like requiring users to rebase their fork just to use the project... for enterprise solution we will need more thought here specifically. I think it's an unnecessary mixing of user state. I doubt this is enought but just introducing teams to spec-kit, this is the first thing they seem to be missing: #316 Unsure whether that gets us the control we want. I also think that constitutions and specs generally should be dynamically assembled via a web service (or something like that). Same goes for AGENTS.md....some external source of truth has to govern these things if we are to use spec-kit 👍 |
Beta Was this translation helpful? Give feedback.
-
|
I would like to see a way to do a controlled update of spec kit by project. i.e. show me the impact of the update and let me decide what I want to update for this project. Just my opinion based on using spec kit for 3 days :) |
Beta Was this translation helpful? Give feedback.
-
|
It would also be nice if you could add version numbers to the templates. eg If you later check the Git repository, you can see exactly which version of Spec-Kit was used to create this software. |
Beta Was this translation helpful? Give feedback.
-
|
What about not using template files at all, but including them in the according commands/prompts? |
Beta Was this translation helpful? Give feedback.
-
|
Spec kit is great, but an update feature is really missing. |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
Version actual: No parece haber una manera fácil de actualizar o eliminar completamente el kit de especificaciones una vez que se ha agregado a un proyecto existente así mismo limpiarlo o reemplazarlo es engorroso y propenso a errores.
|
Beta Was this translation helpful? Give feedback.
-
Replacing Files Will Not WorkRerunning the init command will not work for upgrades because I have made modifications to the all the templates and scripts as I have been working with spec-kit. If I upgrade to get functionality to the latest features, I will lose the customizations I have made to the base .md files, scripts and templates. There are two parts to an upgrade.
I was not thinking clearly about what would happen if I changed a file and then ran it. So I did not keep track of edits or copilot ExampleMy constitution.md file has the following section in it to customize the code quality. My customizationI wanted my project to be in accordance with Clean Code principles. ### I. Code Quality
- All code must be readable, maintainable, and self-documenting.
- Use meaningful names, avoid magic numbers, and follow single responsibility and DRY principles.
- Refactor continuously, but re-check performance baselines after major refactors.
- Use consistent naming conventions (PascalCase for public classes, etc.) and folder structures.
- Prefer composition over inheritance (exceptions must be documented).
- All public methods/classes must include XML documentation (except generated code or private/internal APIs where justified).
- Automated formatting (e.g., dotnet format) is required pre-commit.
- No circular dependencies; enforce via architecture tests.
- All code must comply with [CleanCodeRules.md](../ClientFiles/CleanCodeRules.md); reviewers may cite these rules in PRs.Specific global requirement for my platform.
### III. User Experience & Accessibility
- UI components must be reusable, accessible (WCAG 2.1 AA), and follow a consistent design language.
- All forms must include validation feedback, keyboard navigation, and accessibility tags.
- Responsive design for desktop, tablet, and mobile.
- No hard-coded strings; use resource files for localization.
- Accessibility: ARIA tags, color contrast, and keyboard navigation required.
- All Blazor code must comply with [BlazorBestPractices.md](../ClientFiles/BlazorBestPractices.md); reviewers may cite these rules in PRs.Possible solutionWhen I run a command to upgrade, the system should do a diff on all of the current files and make a three way comparison between:
There should then be prompts to approve the changes, like copilot does when you tell it to make a change to your code. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Current issue:
There doesn’t seem to be an easy way to upgrade or completely remove spec-kit once it’s been added to an existing project. Because spec-kit installs files across many folders, cleaning it up or replacing it is cumbersome and error-prone.
Suggested improvement:
Provide a built-in command or documented process to upgrade or uninstall spec-kit from a project. This could include:
Beta Was this translation helpful? Give feedback.
All reactions