gatefile
v0.1.4Extract a repo's contribution gates into machine-readable contribution-gates.json.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
extract_gates
Extract hidden contribution gates from a repo's docs into a contribution-gates.json object
| Parameter | Type | Description |
|---|---|---|
repo * | string | Repo in owner/repo form, e.g. shadcn-labs/pdfcn |
localPath | string | Local directory to read instead of the GitHub API |
validate_gates
Compare a recorded contribution-gates.json object against a fresh extraction and report drift
| Parameter | Type | Description |
|---|---|---|
recorded * | object | Parsed contribution-gates.json to validate |
repo * | string | Repo in owner/repo form, e.g. shadcn-labs/pdfcn |
localPath | string | Local directory to read instead of the GitHub API |
gates_badge
Render a README markdown snippet summarizing a repo's contribution gates
| Parameter | Type | Description |
|---|---|---|
repo * | string | Repo in owner/repo form, e.g. shadcn-labs/pdfcn |
localPath | string | Local directory to read instead of the GitHub API |