get_contribution_playbook
Fetch a repository's contribution guidelines to learn its rules, required templates, commit conventions, testing setup, and security reporting before submitting changes.
Instructions
START HERE before contributing to a repo (Layer 0). Returns the repo's contribution rules, read from the local clone at the default branch: CONTRIBUTING, code of conduct, SECURITY policy (security bugs are always reported privately, never as public issues/PRs), PR and issue templates (with required fields), governance/CODEOWNERS, CLA, DCO sign-off, commit message convention, changelog/news-fragment rules, dev setup and test commands, pre-commit hooks, CI workflows, whether an issue must come before a PR, the AI policy, and (with a GitHub token) maintainer activity stats. Each item names its source file and quotes it. Cached per default-branch commit; refresh=True rebuilds. Follow it; then call get_contribution_steps.
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": "<repo>"
},
"name": "get_contribution_playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| refresh | No |