prgenius_doctor
Validate the pr-genius installation before trusting PR analysis: checks Python/package versions, knowledge-base coverage, gh CLI, MCP registration, and sample analysis, returning warnings.
Instructions
Self-test the pr-genius install (issue #70).
Run this before trusting analyze_pr output. Reports Python/package versions, knowledge-base readability and coverage (anti-patterns, success-patterns, profiles, case studies, policies), gh CLI availability, MCP tool registration, a sample analyze against a known profile, and data-coverage warnings.
Returns: dict with keys: ok, prgenius_version, python_version, platform, knowledge_base, gh, mcp, sample, warnings
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prgenius_doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||