analyze_repository
Analyze any Git repository to extract its engineering culture and conventions, then generate executable skill scripts and rule documents for AI coding agents.
Instructions
Analyze a repository and return its engineering DNA as JSON.
Args:
repo_url: Git URL or local path of the repository to analyze.
history_depth: Number of commits to fetch for git history analysis.
output_dir: Optional directory to also write skills.sh and rules.md into.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_url": "<repo_url>"
},
"name": "analyze_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_url | Yes | ||
| output_dir | No | ||
| history_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |