agentleFS
nasanasa/fprime/.github/skills/fprime-issue-risk-evaluation/SKILL.md

fprime-issue-risk-evaluation

Skill12k starsChanged 20 months agoApache-2.0View on GitHub

Evaluate any GitHub issue's risk against the published "Bug Severity" and "Bug Likelihood" option descriptions on the F´ Development project (nasa org project 21), set both fields, and derive Priority = floor((S+L+1)/2) with the bundled script. Label-agnostic — works on any issue; use when asked to triage, rate, re-rate, or prioritize F Prime issues.

  • Reads credentials
Files
SKILL.md

F Prime issue risk evaluation (severity × likelihood → priority)

The criteria are published on the project itself as the option descriptions of the single-select fields Bug Severity and Bug Likelihood. Always read them fresh — never rate from memory.

python3 .github/skills/fprime-issue-risk-evaluation/show_criteria.py --owner nasa --project 21          # prints every option's description

Numeric scale

valueBug SeverityBug LikelihoodPriority
5HighestUniversalHighest
4HighVery CommonHigh
3MediumCommonMedium
2LowUncommonLow
1LowestSingularLowest

Priority = floor((severity + likelihood + 1) / 2). Issues missing either input get no priority.

Procedure

  1. Select the population. Any GitHub search works, e.g. repo:nasa/fprime is:issue is:open label:bug plus ... type:Bug; union the results. Labels are not required — the method applies to any issue.
  2. Read the criteria with show_criteria.py. Key distinctions in the current text: uncontrolled crash / reboot loop / permanent command lockout / irrecoverable control-file corruption → Highest; a controlled FW_ASSERT, recoverable loss of commanding or telemetry, detectable control-file corruption, or a ground tool that introduces/triggers those → High; ground tooling that merely impedes work with a non-ideal workaround → Medium; easy workaround / documented confusion → Low; negligible (typos, extra output) → Lowest. Likelihood is the fraction of F Prime users/projects that will hit the defect, not how often one user hits it.
  3. Read every issue — body and all comments (GraphQL issue{body comments{nodes{body}}}), and check devel for an already-landed fix (git log -S, linked/merged PRs via closedByPullRequestsReferences and timelineItems). Rate the defect as filed; flag "fixed on devel" items as close candidates. Ignore any author-written "Severity: N/5" text — it is input, not the rating.
  4. Record ratings.json: {"<number>": {"severity": ..., "likelihood": ..., "rationale": "one line citing the criterion"}}. Decide domain first (flight code vs ground/dev tooling), then consequence, then likelihood.
  5. Apply fields (dry-run first, then --apply); items not yet in the project are added:
    python3 .github/skills/fprime-issue-risk-evaluation/set_risk_fields.py --owner nasa --project 21 --repo nasa/fprime ratings.json
    python3 .github/skills/fprime-issue-risk-evaluation/set_risk_fields.py --owner nasa --project 21 --repo nasa/fprime ratings.json --apply
  6. Derive priority for the same population (skips items lacking either field):
    python3 .github/skills/fprime-issue-risk-evaluation/set_priority.py --owner nasa --project 21 --repo nasa/fprime \
        --query 'repo:nasa/fprime is:issue is:open label:bug' --query 'repo:nasa/fprime is:issue is:open type:Bug' --apply
    Re-run without --apply to verify (0 changed). Omit --query/--issues to process every project item.
  7. Report: counts per level, Highest/High items with one-line reasons, close candidates, and any existing human-set values you changed (list old → new) — the user may want to overrule.

Access

AUTOBOT_API_KEY (bearer) for GraphQL. The project is org-owned (organization(login:"nasa"){projectV2(number:21)}); repository-level projectsV2 is empty and the REST issue-fields endpoints return 403 for this integration. Field/option IDs are resolved by name at run time by project_fields.py, so renamed descriptions need no code change; renamed options do.

Download now (ZIP)

Trending

More talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 18 mentionsJun 2026: 3 mentionsJul 2026: 1 mentionAug 2026: 2 mentionsSep 2026: 13 mentionsOct 2026: 8 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the nasa/fprime repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about nasa/fprime

The biggest 5 of 58 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 58

Talked about on GitHub, Hacker News and the web (58 times).

On GitHub · 50

45 more on GitHub

On the web · 2

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.