# PR Health ## Imports ```ts import check from 'kody:@ifyoumakeit/pr-health/check' ``` ## Smoke tests Read-only. From `execute`: ```ts import check from 'kody:@ifyoumakeit/pr-health/check' export default async () => check({}) ``` If more than one GitHub credential exists, pass the execute credentials map, e.g. `{ github: "github-platform" }`. Expect `{ stuck, checked, skipped: { drafts, parked }, summary }`. Show the user `summary`. ## Edge cases - Unknown input keys throw. Accepted: `abandonedDays`, `botWindowDays`, `ignoreBots`. - `mergeable` can be `UNKNOWN` while GitHub computes it; that is not treated as a conflict. - Only the first 100 open PRs authored by the viewer are checked. - Uses the GitHub GraphQL `statusCheckRollup`, which combines check runs and commit statuses.