analyze-repository
Analyze repository code for dependencies, complexity, and specific file patterns. Customize depth and focus areas to optimize insights into code structure and behavior.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
depth | No | Analysis depth - higher values analyze more deeply but take longer (1-5) | |
includeComplexity | No | Include complexity metrics in the results | |
includeDependencies | No | Include dependency analysis in the results | |
repositoryUrl | Yes | URL of the repository to analyze (e.g., 'https://github.com/username/repo') | |
specificFiles | No | Specific files to analyze, can include glob patterns (e.g., ['src/*.ts', 'lib/utils.js']) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"depth": {
"default": 2,
"description": "Analysis depth - higher values analyze more deeply but take longer (1-5)",
"type": "number"
},
"includeComplexity": {
"default": true,
"description": "Include complexity metrics in the results",
"type": "boolean"
},
"includeDependencies": {
"default": true,
"description": "Include dependency analysis in the results",
"type": "boolean"
},
"repositoryUrl": {
"description": "URL of the repository to analyze (e.g., 'https://github.com/username/repo')",
"type": "string"
},
"specificFiles": {
"description": "Specific files to analyze, can include glob patterns (e.g., ['src/*.ts', 'lib/utils.js'])",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"repositoryUrl"
],
"type": "object"
}