> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skyhook.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Skyhook detect

## skyhook detect

Detect project configuration

### Synopsis

Analyze a project directory and detect its configuration.

This command scans the specified directory (or current directory) to detect:

* Programming language and framework
* Container port from Dockerfile
* Dockerfile build readiness and issues
* Repository information from git
* Monorepo structure (Nx, Turborepo, pnpm, etc.)
* Environment variables used in code
* Health, metrics, and documentation endpoints
* API specification files

Use this command to preview detection results, or for debugging detection issues.

```
skyhook detect [path] [flags]
```

### Examples

```
  skyhook detect                  # Analyze current directory
  skyhook detect ./my-service     # Analyze specific path
  skyhook detect --json           # Output as JSON (for scripting)
  skyhook detect --json | jq .    # Pipe to jq for processing
```

### Options

```
  -h, --help   help for detect
      --json   Output as JSON
```

### Options inherited from parent commands

```
      --debug        Enable debug mode (shows full API requests/responses)
  -o, --org string   Organization name
  -v, --verbose      Enable user-friendly verbose output
```

### SEE ALSO

* [skyhook](/cli-reference/skyhook)	 - skyhook is a CLI tool to help you create and manage k8s services
