detect_project_type
Detects project type from repository file paths, returning the recommended Codemagic template and confidence level. Optionally accepts package.json content for improved detection in JavaScript/TypeScript projects.
Instructions
Detect the Codemagic project type from a repository file listing. Returns the recommended template type, confidence level, and the suggested debug template to use for initial onboarding. For JavaScript/TypeScript projects, providing package.json content significantly improves accuracy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_paths | Yes | File paths in the repository relative to the root. Include at least two directory levels for best results. | |
| package_json_content | No | Content of package.json if present — used to detect React Native vs Ionic by inspecting dependencies |