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

[ASK] Can `spec-kit` be used in existing projects and analyze problematic code?

Open ghost opened this issue 1 year ago • 8 comments

Hi, thanks for providing spec-kit! I have a couple of questions about its usage:

  1. Can spec-kit be integrated into an already existing project (not a fresh one created with spec-kit)?
  2. If yes, is it possible to use it for analyzing existing or problematic code within that project — for example, checking code quality, structure, or inconsistencies?

Basically, I’d like to know if spec-kit works more like a standalone project generator, or if it can also be plugged into current projects as a code analysis or validation tool.

Thanks in advance for clarifying! 🙏

ghost avatar Sep 09 '25 01:09 ghost

When I started to use it, the same question popped into my head, can it be used in existing projects? But by reading the docs it looks like it is not intended to be used in existing projects(at least not now?), it would be nice if that was the case!

leowise avatar Sep 09 '25 03:09 leowise

for the same still waiting for the guide

aliha-smchs avatar Sep 09 '25 03:09 aliha-smchs

It would be nice if the use-case to "break down this PRD into actoinable features" (and then go from there) would be documented.

steviee avatar Sep 09 '25 05:09 steviee

As noted in the README.md, it supports initialization in the current directory. You can use the command uvx --from git+https://github.com/github/spec-kit.git specify init --here to initialize it in your current directory.

Click to expand the detailed step-by-step walkthrough
You can use the Specify CLI to bootstrap your project, which will bring in the required artifacts in your environment. Run:

specify init <project_name>

Or initialize in the current directory:

specify init --here

w-ww avatar Sep 09 '25 05:09 w-ww

Most of these kinds of projects are built for Vibe Coders who want AI to handle everything from scratch, like: 'Build me a YouTube app,' and the AI just does it all. But if you’re a developer with an existing project, you usually have to put in a lot of effort to make those tools work with your code. I’m hoping this kit is different."

Thelastpoet avatar Sep 09 '25 11:09 Thelastpoet

Not everyone who codes with a vibes-first approach starts from scratch. Many developers work with existing projects, where the challenge isn’t just build me an app from zero but making sure AI can understand the context, structure, and goals of the current codebase. That’s why project analysis becomes important—so the AI isn’t just generating new code, but actually adapting to the architecture, dependencies, and logic that are already in place.

ghost avatar Sep 09 '25 11:09 ghost

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 Feb 12 '26 00:02 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 Apr 03 '26 14:04 github-actions[bot]