check_best_practices
Audit a GitHub repository against 12 open-source best practices to get a weighted 0-100 score, grade, and actionable fixes for missing items.
Instructions
Checks whether a GitHub repository follows open-source community best practices.
Evaluates 12 checks: README, LICENSE, SECURITY.md, CONTRIBUTING.md, CODE_OF_CONDUCT, issue/PR templates, branch protection, Dependabot, CI/CD, description, and topics.
Returns a weighted 0-100 score with A-F grade, per-check pass/fail/unknown status, and actionable suggestions for missing items.
Side effects: None. Read-only operation.
Rate limits: ~6 GitHub API calls per invocation.
Branch protection check requires admin access — returns "unknown" (not penalized) if token lacks permission.
Use this tool to audit repo quality and discoverability. For a computed health grade based on CI/security/activity, use 'get_health_score' instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repository name (e.g., 'react') | |
| owner | Yes | GitHub repository owner (e.g., 'facebook') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| grade | Yes | ||
| score | Yes | ||
| checks | Yes | ||
| failed | Yes | ||
| passed | Yes | ||
| unknown | Yes | ||
| checkedAt | Yes | ||
| suggestions | Yes | ||
| totalChecks | Yes |