一键导入
at-risk-detection
Proactively identify at-risk issues and PRs: stale items, blocked work, deadline risks, scope creep, and unassigned high-priority items
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Proactively identify at-risk issues and PRs: stale items, blocked work, deadline risks, scope creep, and unassigned high-priority items
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Generate Mermaid architecture diagrams showing system components, layers, and data flows
Extract common questions from closed GitHub issues and generate an FAQ document with answers
Search project notes by topic, synthesize findings into a consolidated summary with cross-references
Proactively identify information gaps in project context and generate actionable questions to surface missing requirements, unclear specifications, or documentation gaps
Generate Mermaid dependency graphs showing issue relationships, blocking chains, and critical paths
Decompose project descriptions into well-structured GitHub issues with user stories, acceptance criteria, dependencies, and estimates
| name | at-risk-detection |
| description | Proactively identify at-risk issues and PRs: stale items, blocked work, deadline risks, scope creep, and unassigned high-priority items |
| instructions | When checking project health, finding stale or blocked issues, identifying deadline risks, or detecting scope creep |
| tags | ["risk","health","stale","blocked","deadline","project-management"] |
| allowed-tools | list_github_issues get_github_issue_with_comments |
Proactively scan GitHub issues and pull requests to identify at-risk items before they become problems.
Activate when:
| Tool | Purpose |
|---|---|
list_github_issues | Fetch open issues and PRs for analysis |
get_github_issue_with_comments | Deep-dive into specific issues for detailed risk signals |
Fetch the 30 most recent open issues using list_github_issues:
Fetch ALL open issues by paginating through list_github_issues:
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
## 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 |
list_github_issues to fetch recent open issuesget_github_issue_with_comments for the specific issue