Project Context Detection
Automatically analyzes the current project to detect technologies, frameworks, and development patterns.
When to Use
This skill is invoked when:
- Running
/auto-skills command
Detection Methods
1. File System Analysis
Check for configuration files and lock files:
| Technology |
Indicators |
| Node.js |
package.json, package-lock.json, yarn.lock, pnpm-lock.yaml |
| Go |
go.mod, go.sum, *.go files |
| Python |
requirements.txt, pyproject.toml, Pipfile, poetry.lock |
| Ruby |
Gemfile, Gemfile.lock |
| Rust |
Cargo.toml, Cargo.lock |
| Java |
pom.xml, build.gradle |
| TypeScript |
tsconfig.json |
2. Framework Detection
| Framework |
Indicators |
| Next.js |
next.config.js, app/ directory with page.tsx |
| React |
package.json contains react, JSX files |
| Vue |
package.json contains vue, .vue files |
| GraphQL |
.graphql files, schema.graphql, Apollo/GraphQL in deps |
| Express |
express in dependencies |
| FastAPI |
fastapi in dependencies |
| Django |
django in dependencies, manage.py |
| Rails |
rails in dependencies, config/routes.rb |
3. Testing Frameworks
| Framework |
Indicators |
| Jest |
jest.config.js, *.test.js, *.spec.js |
| Playwright |
playwright.config.js, *.spec.ts |
| Pytest |
pytest.ini, conftest.py, test_*.py |
| Go testing |
*_test.go files |
4. Code Analysis
Analyze file extensions and imports:
- Count file types (
.go, .tsx, .py, etc.)
- Analyze import statements for frameworks
- Check for API routes, database schemas
Output Format
Return a structured context object:
{
"languages": ["go", "javascript"],
"frameworks": ["nextjs", "graphql"],
"testing": ["playwright", "go-testing"],
"packageManager": "pnpm",
"hasApi": true,
"hasDatabase": true,
"projectType": "fullstack"
}
Example Workflow
When detecting context for a project:
- Scan root directory for config files
- Analyze
package.json, go.mod, or equivalent
- Count file types in
src/ or main directories
- Check for test files and frameworks
- Return structured context for auto-installation decisions
Integration
This skill feeds into:
- scan: Determines which SkillsMP skills to fetch
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: context-detection-23description: Automatically detect project tech stack, frameworks, and development context Use when this capability is needed.4---56# Project Context Detection78Automatically analyzes the current project to detect technologies, frameworks, and development patterns.910## When to Use1112This skill is invoked when:13- Running `/auto-skills` command1415## Detection Methods1617### 1. File System Analysis1819Check for configuration files and lock files:2021| Technology | Indicators |22|------------|------------|23| **Node.js** | `package.json`, `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml` |24| **Go** | `go.mod`, `go.sum`, `*.go` files |25| **Python** | `requirements.txt`, `pyproject.toml`, `Pipfile`, `poetry.lock` |26| **Ruby** | `Gemfile`, `Gemfile.lock` |27| **Rust** | `Cargo.toml`, `Cargo.lock` |28| **Java** | `pom.xml`, `build.gradle` |29| **TypeScript** | `tsconfig.json` |3031### 2. Framework Detection3233| Framework | Indicators |34|-----------|------------|35| **Next.js** | `next.config.js`, `app/` directory with `page.tsx` |36| **React** | `package.json` contains `react`, JSX files |37| **Vue** | `package.json` contains `vue`, `.vue` files |38| **GraphQL** | `.graphql` files, `schema.graphql`, Apollo/GraphQL in deps |39| **Express** | `express` in dependencies |40| **FastAPI** | `fastapi` in dependencies |41| **Django** | `django` in dependencies, `manage.py` |42| **Rails** | `rails` in dependencies, `config/routes.rb` |4344### 3. Testing Frameworks4546| Framework | Indicators |47|-----------|------------|48| **Jest** | `jest.config.js`, `*.test.js`, `*.spec.js` |49| **Playwright** | `playwright.config.js`, `*.spec.ts` |50| **Pytest** | `pytest.ini`, `conftest.py`, `test_*.py` |51| **Go testing** | `*_test.go` files |5253### 4. Code Analysis5455Analyze file extensions and imports:56- Count file types (`.go`, `.tsx`, `.py`, etc.)57- Analyze import statements for frameworks58- Check for API routes, database schemas5960## Output Format6162Return a structured context object:6364```json65{66 "languages": ["go", "javascript"],67 "frameworks": ["nextjs", "graphql"],68 "testing": ["playwright", "go-testing"],69 "packageManager": "pnpm",70 "hasApi": true,71 "hasDatabase": true,72 "projectType": "fullstack"73}74```7576## Example Workflow7778When detecting context for a project:79801. Scan root directory for config files812. Analyze `package.json`, `go.mod`, or equivalent823. Count file types in `src/` or main directories834. Check for test files and frameworks845. Return structured context for auto-installation decisions8586## Integration8788This skill feeds into:89- **scan**: Determines which SkillsMP skills to fetch9091---92> Converted and distributed by [TomeVault](https://tomevault.io/claim/jovermier) — claim your Tome and manage your conversions.93<!-- tomevault:4.0:skill_md:2026-04-13 -->