Skip to content
Back to skills

Coach Gaps

ASecurity

When a job's evaluate-job verdict lands at gate REVIEW with named fit gaps, name each gap a plan the candidate can act on — either an honest evidence-claim draft grounded in evidence already on record, or an explicit no-close-path — and save each draft through the evidence firewall, with an undo, before offering a re-evaluation.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 27, 2026
ai-agentsrustgorailskubernetes

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add CodesWhat/careerrat --skill coach-gaps --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coach Gaps?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coach Gaps
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/codeswhat-coach-gaps/badge)](https://www.skillsdirectory.com/skills/codeswhat-coach-gaps)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: coach-gaps
description: When a job's evaluate-job verdict lands at gate REVIEW with named fit gaps, name each gap a plan the candidate can act on — either an honest evidence-claim draft grounded in evidence already on record, or an explicit no-close-path — and save each draft through the evidence firewall, with an undo, before offering a re-evaluation.
metadata:
  tier_1_inputs:
    - application.evaluation.gate
    - application.evaluation.fitRisks
    - candidate/evidence.yml#claims
    - saved JD body
  tier_2_inputs: []
---

# coach-gaps

Use this skill when the user asks how to close a fit gap, improve their fit for a role, or
says something like "why did this land at review" and wants to do something about it. It is
the DB workspace's coaching loop, not a scanner: it only ever fires on a role
`evaluate-job` already body-read and scored, never on a raw sourced listing.

> **Runs under AGENTS.md.** These contracts bind without being restated here: Honesty
> Firewall, Placeholder/Bracket Ban, Domain-Neutral Rule, and the Tracker Write Contract
> (stamp → verify → snapshot → activity). Inline reminders at point-of-use are intentional.
> Bare `candidate/` and `workspace/` paths below are symbolic; resolve them per
> AGENTS.md's Path Resolution rule.
> **One hard rail specific to this skill: a suggestion is never invented.** An evidence-claim
> draft may only restate what is already in `candidate/evidence.yml` or the current
> conversation — nothing new is fabricated to make a gap look closeable. A gap with nothing
> honest to say about it gets an explicit `no-close-path` suggestion, which is a correct,
> expected answer, never a fallback failure.

`evaluate-job` stays the narrow gate exactly as it is today — this skill never changes what
that gate does or how it scores. It only reads the gate's own output (`gate`, `fitRisks`)
after the fact.

---

## STEP 0 — Trigger

Fires **only** when both are true on the application's current typed `evaluation`:

- `evaluation.gate === "review"`
- `evaluation.fitRisks` is a non-empty array

Never on `gate: "keep"` (nothing to coach — the role already cleared) and never on
`gate: "cut"` (nothing to coach toward — comp-floor failures and hard cuts are not a coaching
problem). It runs on its own the moment such a verdict lands, once per evaluation. From the terminal, `careerrat evaluate <job> --write` is what saves that verdict
(`evaluate-job` STEP 9); without it there is nothing to coach. Asking for coaching again runs it on demand. If no AI is set up
the automatic run is skipped with a short note instead of an error.

---

## STEP 1 — Build the plan

Run `buildCoachingPlan` (`src/core/coaching/plan.mjs`), which is modeled directly on
`evaluatePacketGate` (`src/core/packet/gate.mjs`): the same `runBoundedAI` bounded-AI call,
the same schema-validated JSON contract (`coachingPlanSchema`,
`src/core/coaching/schemas.mjs`), and the same `NO_AI_ROUTE` degradation to a reviewable
(never fabricated) result when no AI route is configured.

Inputs, read fresh every run, never cached beyond the single call:

- `evaluation.fitRisks` — the gate's own named gaps, taken **verbatim**. The model never
  restates them; the persisted `gapText` is always the exact source string.
- `candidate/evidence.yml#claims` — the confirmed evidence bank (via the same
  `buildPacketContext` packet generation already reads).
- The saved JD body (`buildPacketContext`'s own JD read) — same body-read invariant
  `evaluate-job` used to produce the verdict this plan is built against.

For every named gap, in order, the model returns one suggestion:

- **`evidence-claim`** — only when the evidence bank or the current conversation already
  contains something that honestly closes the gap. The draft claim may not go beyond what is
  already on record.
- **`no-close-path`** — when nothing on record honestly closes the gap. Correct and expected
  for a real gap; never forced into an evidence-claim just to fill the slot.

A suggestion that claims `evidence-claim` but arrives with no usable draft is downgraded to
`no-close-path` before it is ever shown or saved — the plan never hands the candidate a claim
CareerRat cannot ground.

Suggestions are matched to gaps by array position, but a position is only trusted when the
model's own echoed `gapText` for that slot lines up (trimmed, case-insensitive) with the
verbatim risk at that index. A model response that reordered, dropped, or merged gaps fails
that check and is downgraded to `no-close-path` instead of attaching its suggestion to the
wrong risk — the persisted `gapText` is always the verbatim `fitRisks` string regardless.

---

## STEP 2 — Persist the plan

Written through the existing generic `appSetFields` patch verb (`src/core/db/verbs/app.mjs`)
onto the application row's `coachingPlan` field — no new DB verb. Shape:

```jsonc
"coachingPlan": {
  "generatedAt": "2026-08-20T12:00:00.000Z",
  "basedOn": { "gate": "review", "fitScore": 68, "fitBucket": "med", "evaluatedAt": "..." },
  "gaps": [
    {
      "id": "no-direct-kubernetes-production-experience",
      "gapText": "No direct Kubernetes production experience on record",
      "suggestion": {
        "kind": "evidence-claim",
        "draftClaim": { "claim": "...", "evidence": "..." },
        "rationale": "..."
      },
      "status": "open"
    }
  ]
}
```

`status` starts `"open"` on every gap and only ever moves forward — `"closed"` once its draft
is saved into evidence (STEP 3), `"dismissed"` if the candidate skips it. This mirrors
`config/tracker.schema.json`'s `coachingPlan` block.

---

## STEP 3 — Save the drafts into evidence (the firewall)

Once the plan is built, save the drafts grounded in evidence already on record, for every
open gap that has an evidence-claim draft, and record each save so it can be undone. A draft the
firewall refuses is not saved: its gap stays open and the plan says why. Undoing a saved claim
removes it from the evidence bank and reopens its gap; if other work cites the claim now, the
undo is refused and the gap stays closed. Only the plan's own stored `gap.suggestion.draftClaim`
is persisted. There is no caller-supplied override, so the text in the plan is the exact text
that gets written. Before
touching anything, the save checks two invariants:

- **Staleness.** `coachingPlan.basedOn` is compared against the application's current
  `evaluation` (`evaluatedAt` is the discriminator; `gate`/`fitScore` are a sanity check on
  top). A plan built against a since-superseded evaluation throws `COACHING_PLAN_STALE`
  instead of acting — re-run STEP 0 first.
- **Gap status.** Only an `"open"` gap can be saved; a dismissed gap throws
  `COACHING_GAP_NOT_OPEN` rather than silently re-writing it.

Then the draft routes through the **same** evidence firewall every other guarded evidence
write uses — never a bypass:

1. `computeEvidenceWrite` (`src/core/profile/evidence-writer.mjs`) validates the claim
   (id/claim/evidence required, placeholder-lint clean, no `current_base` leak) and computes
   the merged claim set.
2. `candidateEvidenceMerge` (`src/core/db/verbs/candidate.mjs`) is the actual DB-mode
   persistence — the exact branch `src/cli/evidence.mjs`'s own `add --write` path takes when a
   DB workspace exists, enforcing the identical lint/leak backstop a second time
   (`assertCleanEvidenceClaims`) before the row is written. If the claim's text already exists
   in the bank under a different id, `candidateEvidenceMerge` reports it as skipped rather than
   added — the confirmation message reflects that ("already in your evidence bank", not
   "saved"), never claiming a fresh write that didn't happen.
3. On success (added or a reported duplicate), the matching gap's `status` flips to `"closed"`
   via `appSetFields`.

A validation failure is never silently swallowed or treated as a save: in the auto-save it
leaves the gap open and is reported in the plan message, and from a manual save it surfaces
as a real error.

Skipping a gap sets its `status` to `"dismissed"` via a plain `appSetFields` field patch (it
changes nothing about evidence or scoring).

---

## STEP 4 — Offer a re-evaluation

Once at least one gap is closed, offer **"See if this changed your fit"** — a re-run of
`evaluate-job`, exactly as it already runs. This skill never
re-scores anything itself and never promises the score will move; it only offers the same
gate a second time now that new evidence is on record.

---

## Copy rules

Normal-people language, no jargon, no em dashes. Never promise a score will improve. Show the
gap plainly, show the suggestion plainly, and let "See if this changed your fit" do the
asking rather than a prediction.

---

## Honesty rails (hard)

- **Grounded only.** An evidence-claim draft may restate only what is already in the evidence
  bank or the current conversation — never a new fact, metric, tool, or credential.
- **`no-close-path` is not a failure.** It is the honest, correct answer for a gap nothing on
  record closes, and it is always available as a first-class outcome, never hidden behind a
  forced evidence-claim.
- **No bypass of the evidence firewall.** Every write onto `candidate/evidence.yml` /
  `candidate_evidence_claims`, from any entry point, passes through the same
  validate-then-persist path this skill uses.
- **Automatic runs keep every rule above.** The auto-run saves only drafts the evidence
  firewall accepts, logs each with an Undo, and never fires on `keep` or `cut`.

---

## Domain-Neutrality Rule

No hardcoded role families, companies, or skills in this skill's behavior. Gaps come entirely
from the tracker row's own `evaluation.fitRisks`; suggestions come entirely from the
candidate's own evidence bank. With no evidence bank, every gap is honestly a
`no-close-path`. See the Domain-Neutral Rule in AGENTS.md.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.