# Shortlist ranking

A reusable skill the "Screen candidates against the scorecard" recipe pulls in. Add it once and every agent on the team can use it.

Rank the top candidates from the graded scores and note the gaps for each.

## Method
1. Sort all graded applicants by total scorecard score.
2. Take the top 5.
3. List the strongest matched criteria for each.
4. List the gaps against the scorecard for each.
5. Flag any candidate sitting close to the cutoff as borderline.
6. Compare this batch's shortlist against the last hiring digest for the same role.
7. Note any applicant who was borderline last time and applied again.

## Rules
- Rank by total scorecard score, not by any single criterion.
- Every shortlisted candidate lists both strengths and gaps — never one without the other.
- Borderline cases near the cutoff surface for the hiring manager, never auto-cut.
- Never reject anyone automatically; only the human advances or passes a candidate.
- Keep the shortlist size at 5 unless the panel changes it (set on first run, then stored in memory).

## Output
A ranked shortlist of 5 — name, score, top strengths, gaps — with borderline cases called out separately.
