Get Person Activity Tool
get-person-activity-toolWhat one person on the team has actually been doing, over a recent window (default 8 weeks). Answers "is Dave still shipping?" or "what has Sam been working on?" with three counts read together rather than one in isolation: pull requests opened and merged, reviews given to other people, and production deploys triggered — plus a week-by-week rollup, the busiest days, and the longest quiet run.
Lead with the headline. A pull request count on its own supports the wrong
conclusion: someone who opened 5 pull requests and gave 70 reviews is carrying the
team's review load, not coasting. The headline says which of those it is.
Identify the person by name or provider login ("dave", "Dave Smith", "@dsmith").
When the reference is ambiguous or unknown the tool returns the team's member names
in candidates instead of guessing — ask which one rather than reporting activity
for the wrong person.
not_captured lists what this data cannot see (commits, review comment volume,
ticket assignment, anything outside git). Repeat those limits when the answer is
"this person looks quiet" — never present an absence of pull requests as an absence
of work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to summarize. Defaults to 56 (8 weeks), clamped to 7–84. The 84-day ceiling is where review history stops being complete. | |
| person | Yes | Who to look up, by name or provider login — "dave", "Dave Smith" or "@dsmith". Ambiguous references return candidates rather than a guess. | |
| repository | No | Optional "owner/name" slug (from `git remote get-url origin`) of the repository you are working in — binds the session to the owning team when you belong to several. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Window length in days. | |
| person | Yes | Resolved person name. | |
| totals | Yes | pull_requests_opened, pull_requests_merged, reviews_given, deploys, active_days. | |
| weekly | Yes | Per-week rollup: week_starting, pull_requests_opened, reviews_given, deploys. | |
| end_date | Yes | Last day of the window (YYYY-MM-DD, UTC). | |
| headline | Yes | The sentence to lead with — the three counts and what they mean read together. | |
| start_date | Yes | First day of the window (YYYY-MM-DD, UTC). | |
| busiest_days | Yes | Up to five highest-activity days with their per-row counts. | |
| not_captured | Yes | What this data cannot see. Repeat these limits when reporting that someone looks quiet. | |
| identities_collapsed | Yes | How many linked provider identities were merged into this person. | |
| longest_quiet_run_days | Yes | Longest unbroken run of days with no recorded activity. |