/britts-agent-skills:at-risk-detectionfrom Britt's Agent Skills
Scans GitHub issues and PRs to detect stale, blocked, or deadline-risky items using heuristics on staleness, labels, milestones, and size. Produces a severity-ranked at-risk report.
Ships in Britt's Agent Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Proactively scan GitHub issues and pull requests to identify at-risk items before they become problems.
Activate when:
Prerequisite: Requires the gh CLI. Fetch data with, e.g.:
gh issue list --state open --limit 30 --json number,title,updatedAt,labels,assignees,milestone,comments
gh pr list --state open --json number,title,updatedAt,additions,deletions,isDraft,reviewRequests
Fetch the 30 most recent open issues:
Fetch ALL open issues by paginating:
Signal: No activity for extended period Default Threshold: 14 days for issues, 3 days for PRs awaiting review Severity Escalation:
How to detect: Check updated_at field on each issue/PR. Calculate days since last update.
Signals:
blocked, waiting, on-hold, waiting-for-responseHow to detect: Check labels array for blocking keywords. Search body text for blocking phrases.
Signal: Milestone deadline approaching or overdue Severity Levels:
How to detect: Check if issue has a milestone with a due_on date. Compare to current date.
Signals:
How to detect: Check comments count on issues. For PRs, check additions + deletions if available.
Signal: High-priority issue without assignee
Priority Labels: priority:high, urgent, P1, P0, critical, blocker
How to detect: Check if assignee is null AND labels contain any priority keywords.
## Project Health: [Project Name]
### Summary
- **Total Open Items**: X (Y issues, Z PRs)
- **At-Risk Items**: N
- **Health Score**: X%
### Risk Breakdown
- Critical: X
- Warning: Y
- Info: Z
### Overloaded Assignees (if any)
- @username: N assigned issues
Health Score = 100 × (1 − atRiskCount / totalOpenItems), rounded to the nearest integer.
## At-Risk: #[number] - [title]
**Severity**: [Critical | Warning | Info]
**Type**: [Issue | PR]
**URL**: [link]
**Assignee**: @username
### Risk Signals
- [signal type]: [description]
### Suggestions
- [actionable recommendation]
For each risk signal detected, provide actionable suggestions:
| Risk Type | Suggestion |
|---|---|
| Stale issue | "Comment with status update or close if no longer relevant" |
| Stale PR | "Request review or close if superseded" |
| Blocked | "Resolve blocking dependency or re-prioritize" |
| Deadline approaching | "Break into smaller milestones or adjust deadline" |
| Scope creep | "Split into smaller issues or create a tracking epic" |
| Unassigned high-priority | "Assign an owner immediately" |
| Overloaded assignee | "Redistribute work or adjust priorities" |
Track issue counts per assignee:
| Setting | Default | Description |
|---|---|---|
| staleDays | 14 | Days before issue is stale |
| prStaleReviewDays | 3 | Days before PR awaiting review is stale |
| deadlineWarningDays | 7 | Days before deadline to warn |
| maxCommentsBeforeScopeWarning | 30 | Comment threshold for scope creep |
| maxAssignedIssuesPerPerson | 10 | Max issues before overload warning |
on-hold are intentionally parked; report them separately from genuinely forgotten stale items.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub britt/agent-skills --plugin britts-agent-skills32 skills in this plugin
/architecture-diagrammingUse when the user asks for an architecture diagram, says 'show me the system architecture' or 'diagram the components', or during project planning - generates GitHub-compatible Mermaid flowcharts showing components, layers, subgraph boundaries, and data flows/build-faq-from-issuesUse when building or updating an FAQ from closed GitHub issues, documenting recurring support questions, or reducing repeat questions - extracts common questions from resolved issues and generates a categorized FAQ document with synthesized answers and source links/context-aware-questionsUse when asked 'what am I missing?', reviewing an issue or draft before submission, or checking documentation completeness - detects requirement, spec, and doc gaps and generates prioritized actionable questions/daily-planning-ritualUse when the user asks to plan their day with phrases like "plan the day", "plan my day", "plan today", or similar variations, or wants a morning check-in on how to spend the day across work and the rest of their life./dependency-mappingUse when asked to map issue dependencies, show what blocks what, or find the critical path through project work - reads GitHub issues for blocked-by/depends-on signals and generates Mermaid flowcharts of blocking chains/estimating-change-footprintUse when writing or refining a GitHub issue that needs a cost estimate, when asked to estimate, size, budget or forecast agent spend on work, or when deciding whether an item is an issue or an epic - gives an issue a change footprint (expected lines changed and expected files read, each in a bucket) that predicts coding-agent token spend, recorded as labels, a Footprint section, and a project field3 plugins in one repository ship this exact skill · first indexed Jul 6, 2026
Other plugins' skills for the same job