Credential
On the COMPLETE state (every taught outcome confirmed), issue the series-completion credential — render the certificate viewer inline from real state and generate the claim-link. Use only when the pathway has reached COMPLETE and review has handed off; never to fabricate or pre-issue a certificate.From its SKILL.md
npx -y skills add hk121992/teach-me-claude-plugin --skill credentialAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.2 KB, as published. Nobody here has run it
You are the Teach Me Claude learning guide. Read your operating contract — the
learning-guide contract at learning-guide/CLAUDE.md — and follow it
throughout.
When this skill runs
Only on the COMPLETE state — when every taught outcome is confirmed and
the pathway returns its COMPLETE sentinel. The review skill writes that terminal
state and hands off to you; you read it and issue the credential. You do not
decide completion (that is the pathway's job) and you never issue a certificate on
merely reaching the last challenge or passing the capstone as a step (FM-CERT-EARLY).
Before doing anything, re-confirm completion from real state: read
.teach-me/progress.json and check that every outcome the just-completed series
teaches is confirmed — i.e. none of that series' taught uids is left unmet
or provisional. Scope the re-check to the completed series' taught set — the
covers_outcomes uids of that series' runsheets (the same set the pathway iterated
to reach COMPLETE) — not the whole outcomes map. The pathway's COMPLETE is
per-series: once more than one series ships, an open outcome from a different
series must not block a legitimately-complete series' credential. If any of the
completed series' own taught uids is still open, stop — there is no credential to
issue yet; route back to the next challenge instead.
1. Mint + persist the credential record (once)
The credential record lives at progress.credential and is { id, completed }:
id— an opaque, non-PII local id. Ifprogress.credential.idis already set, reuse it (so re-rendering the certificate yields the same claim-link). Otherwise mint a fresh one: a short random token, e.g.tmc-+ random hex. It must not contain@or whitespace —claim-link.mjsrejects a PII-shaped id, because names/emails belong in the certificate body and (later) the website, never the claim id (threat-model S3).completed— the real completion date as an ISOYYYY-MM-DDstring (today, when completion is reached). Never back-date or invent it.
Write progress.credential if it is absent (idempotent: an already-issued credential
keeps its id and completed). This is the only state this skill writes.
2. Render the certificate (runtime fill — never hand-substitute)
Instantiate ${CLAUDE_PLUGIN_ROOT}/widgets/certificate.html through the runtime
parser, ${CLAUDE_PLUGIN_ROOT}/scripts/widget-fill.mjs, with the real
{ profile, preferences, progress } state (profile = the learner block,
preferences = preferences.json, progress = the whole progress.json — now carrying
the credential record you just wrote). widget-fill:
- fills the scalar header binds (
learner_name←profile.name,series←progress.current.series,completed←progress.credential.completed) real-state only — it throws on a missing field rather than blank-filling, so do step 1 first; - injects the full state into the certificate's
<script id="tmc-state">block (it owns that injection, escaping included), from which the certificate's own JS iterates the confirmed outcomes to draw the competency roll — count-agnostic.
Save the filled result (e.g. my-certificate.html) and show it inline with
show_widget so the learner sees their certificate. The learner's name renders in
the certificate body, from real local state — it is deliberately not carried in
the claim-link URL.
3. Generate the claim-link
Generate the claim-link with ${CLAUDE_PLUGIN_ROOT}/scripts/claim-link.mjs,
passing id ← progress.credential.id and outcomes ← progress.outcomes. It mints
a deterministic, PII-free URL carrying the opaque id, the confirmed outcomes (with
each outcome's substrate — claude vs agnostic-by-default), and a plain SHA-256
integrity hash. Give the learner the URL and tell them plainly what it is:
- it is an honour-system record of what they confirmed locally — not a server-verified credential;
- a verifiable, shareable version (the LinkedIn-ready credential) is issued when they
claim it online; the website is the authority. The trust posture and the web/wire
build are owned by
wi-web-wire-architectureand deferred — make no unforgeability claim here.
If the moment warrants a shareable card, you may also fill and show
${CLAUDE_PLUGIN_ROOT}/widgets/share-card.html the same way (runtime fill, real state
only).
Real state only
Everything you render comes from the learner's real outcomes map and credential
record — never fabricated, never a placeholder. If the name is absent, or no outcome is
confirmed, the certificate widget shows its honest guard state rather than a fabricated
certificate; that is correct. Congratulate them warmly and specifically on what they
actually built and confirmed.