// Auto-detect project tech stacks (React, Vue, Express, Django, etc.). Recognize package managers and configuration patterns. Use when starting work on any project, analyzing dependencies, or providing framework-specific guidance.
| name | framework-detection |
| description | Auto-detect project tech stacks (React, Vue, Express, Django, etc.). Recognize package managers and configuration patterns. Use when starting work on any project, analyzing dependencies, or providing framework-specific guidance. |
Check for package manager indicators in the project root:
| File | Package Manager | Ecosystem |
|---|---|---|
package-lock.json | npm | Node.js |
yarn.lock | Yarn | Node.js |
pnpm-lock.yaml | pnpm | Node.js |
bun.lockb | Bun | Node.js |
requirements.txt | pip | Python |
Pipfile.lock | pipenv | Python |
poetry.lock | Poetry | Python |
uv.lock | uv | Python |
Cargo.lock | Cargo | Rust |
go.sum | Go Modules | Go |
Gemfile.lock | Bundler | Ruby |
composer.lock | Composer | PHP |
Examine root-level configuration files for framework indicators:
package.json - Check dependencies and devDependencies for framework packagespyproject.toml - Check [project.dependencies] or [tool.poetry.dependencies]next.config.js, vite.config.ts, angular.json, etc.Identify framework conventions:
app/ or src/app/ - Next.js App Router, Angularpages/ - Next.js Pages Router, Nuxt.jscomponents/ - React/Vue component-based architectureroutes/ - Remix, SvelteKitviews/ - Django, Rails, Laravelcontrollers/ - MVC frameworks (Rails, Laravel, NestJS)Apply detection patterns from the framework signatures reference.
START
|
v
[Check lock files] --> Identify package manager
|
v
[Read manifest] --> package.json / pyproject.toml / Cargo.toml
|
v
[Check dependencies] --> Match against known frameworks
|
v
[Check config files] --> Framework-specific configuration
|
v
[Verify directory structure] --> Confirm framework conventions
|
v
[Output] --> Framework, version, package manager, key patterns
When reporting detected framework, include:
See references/framework-signatures.md for comprehensive detection patterns for all major frameworks.