# Project Detector

> Auto-detects project type from manifest files and folder structure. Use when opening a new project, running /user:init-project, or when Claude needs to understand what stack a project uses.

- Skill: `rhythmmittal19/project-detector` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rhythmmittal19/project-detector`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rhythmmittal19/project-detector/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: RhythmMittal19 (https://skillmd.com/u/rhythmmittal19)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/rhythmmittal19/project-detector

---


# Project Stack Detector

## Detection Logic

Check these files in order to identify the project:

### JavaScript/TypeScript
- `package.json` → Read "dependencies" and "devDependencies" to identify framework
  - `react` + `vite` → React + Vite project
  - `next` → Next.js project
  - `@angular/core` → Angular project
  - `vue` → Vue.js project
  - `svelte` → SvelteKit project
  - `express` or `fastify` or `@nestjs/core` → Node.js API
  - `react-native` or `expo` → React Native mobile
- `tsconfig.json` → TypeScript enabled
- `tailwind.config.*` → Tailwind CSS
- `vite.config.*` → Vite bundler
- `next.config.*` → Next.js

### Python
- `pyproject.toml` or `setup.py` → Python project
  - `django` → Django
  - `fastapi` → FastAPI
  - `flask` → Flask
  - `torch` or `tensorflow` → ML project
- `requirements.txt` → pip dependencies
- `Pipfile` → pipenv

### Rust
- `Cargo.toml` → Rust project
  - `actix-web` → Actix web framework
  - `tokio` → Async Rust

### Go
- `go.mod` → Go project

### Other
- `Gemfile` → Ruby/Rails
- `composer.json` → PHP/Laravel
- `build.gradle` or `pom.xml` → Java/Kotlin
- `pubspec.yaml` → Flutter/Dart
- `Dockerfile` → Containerized

### Structure Indicators
- `client/` + `server/` → Fullstack monorepo
- `packages/` or `apps/` → Monorepo (Turborepo/Nx)
- `src/components/` → Component-based frontend
- `src/routes/` or `src/pages/` → Page-based routing

## After Detection

Output a summary:
```
Detected: [Framework] + [Language] + [Styling] + [Testing] + [Bundler]
Structure: [monolith/monorepo/fullstack]
Key commands: dev, build, test, lint (from scripts)
```

Then generate appropriate CLAUDE.md content for this specific stack.

