contribos

v0.2.4
io.github.adityatiwari101104/contribos Checked 15 hours ago Published 25 days ago

Help open-source contributors earn maintainer trust: repo rules, briefs, and pre-submit checks.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

contribos_policy

What a GitHub repository expects from outside contributors: AI policy, vouch/trust gates, claim-first norms, tests, changelog, sign-off, activity. Every finding cites file:line. Call this before starting work on any repo.

ParameterTypeDescription
repo *stringowner/name
jsonbooleanreturn machine-readable rules instead of markdown

contribos_brief

Evidence-backed contribution brief for an issue: files to read with reasons, similar past PRs, related tests, look-alike files to avoid, house rules and likely review questions.

ParameterTypeDescription
issue_urlstringGitHub issue URL (needs API access)
repostringowner/name, when giving title instead of issue_url
titlestring

contribos_setup

Exact steps to set up and test a repository, taken from its CI and contributing docs.

ParameterTypeDescription
repo *string

contribos_diagnose

Explain a failed install or test run: missing dependency, wrong version, service not running, missing env var, flaky test, or a real test failure.

ParameterTypeDescription
logstringthe failing command's output
output_filestringor a file holding that output

contribos_check

Pre-submit review of the local branch against the repo's rules and history: scope versus similar past changes, tests, changelog, sign-off, debug leftovers, AI policy, and whether the contributor's own explanation covers the change, AI-disclosure trailers, competing PRs, and (with verify_test) whether the test fails without the fix. Do not write the explanation for the user.

ParameterTypeDescription
ai_notestringhow AI was used, e.g. 'Claude Code: drafted the test'
basestringbranch the work started from (default: auto-detect)
explain_filestringor a file holding it
explanationstringthe contributor's own explanation, as text
issueintegerissue number, to look for competing PRs
pathstringlocal checkout
verify_teststringtest command to run with and without the fix

contribos_review

Review coach for an open PR: classifies each reviewer comment, shows the code it points at, drafts replies, and lists comments still waiting on the author.

ParameterTypeDescription
dataobjector saved review data: author, review_comments, issue_comments, reviews
pathstringlocal checkout, to show the code each comment points at
pr_urlstringPR URL (needs API access)

contribos_claim

Draft the short proposal a contributor posts on an issue before coding (and a vouch introduction where the repo needs one). The human rewrites and posts it; never post it.

ParameterTypeDescription
issue_urlstringGitHub issue URL (needs API access)
repostringowner/name, when giving title instead of issue_url
titlestring

contribos_tone

Check text the human is about to post for machine-written tells, length, and a clear question. Points at problems; the human rewrites.

ParameterTypeDescription
text *string
kindstring

contribos_find

Find open issues where a newcomer is actually welcome, with takeability evidence.

ParameterTypeDescription
languagestring
reposarray
topicstring