Calculate priority score for bugs, issues, or tasks based on severity, impact, and likelihood. Use for bug prioritization, task ordering, or risk assessment.
63
74%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.claude/skills/calculate-priority-score/SKILL.mdCalculate numeric priority score and category for issues based on multiple factors.
Accept issue attributes as input.
Expected Input:
{
"severity": "critical|high|medium|low",
"impact": "breaking|major|minor|none",
"likelihood": "certain|likely|possible|unlikely"
}Use scoring matrix to assign points.
Severity Scores:
Impact Scores:
Likelihood Scores:
Sum all factor scores.
Formula: score = severity + impact + likelihood
Range: 0-30
Map score to priority category.
Priority Categories:
P0 (Critical): 25-30
P1 (High): 19-24
P2 (Medium): 12-18
P3 (Low): 5-11
P4 (Minimal): 0-4
Return complete priority assessment.
Expected Output:
{
"score": 27,
"category": "P0",
"label": "Critical - Immediate Action Required",
"factors": {
"severity": 10,
"impact": 10,
"likelihood": 7
},
"recommendation": "Drop everything, fix now"
}Input:
{
"severity": "critical",
"impact": "breaking",
"likelihood": "certain"
}Output:
{
"score": 30,
"category": "P0",
"label": "Critical - Immediate Action Required",
"factors": {
"severity": 10,
"impact": 10,
"likelihood": 10
},
"recommendation": "Drop everything, fix now"
}Input:
{
"severity": "medium",
"impact": "minor",
"likelihood": "likely"
}Output:
{
"score": 15,
"category": "P2",
"label": "Medium - Schedule for Next Sprint",
"factors": {
"severity": 5,
"impact": 3,
"likelihood": 7
},
"recommendation": "Include in backlog, address soon"
}Input:
{
"severity": "low",
"impact": "minor",
"likelihood": "unlikely"
}Output:
{
"score": 7,
"category": "P3",
"label": "Low - Schedule When Convenient",
"factors": {
"severity": 2,
"impact": 3,
"likelihood": 2
},
"recommendation": "Nice to have, low priority"
}Input:
{
"severity": "high",
"impact": "breaking",
"likelihood": "unlikely"
}Output:
{
"score": 19,
"category": "P1",
"label": "High - Fix This Sprint",
"factors": {
"severity": 7,
"impact": 10,
"likelihood": 2
},
"recommendation": "Prioritize in current sprint"
}scoring-matrix.json: Factor scoring rules (see Supporting Files section)8c3b576
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.