[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D8V640QAC0QKG8M8NFRPBE":3,"skill-same:01M7D8V640QAC0QKG8M8NFRPBE":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7D8V640QAC0QKG8M8NFRPBE","loker-persiapan",null,"The Careevo \"persiapan lowongan\" surface — the course recommendations and job-sourced mastery path on the loker detail page. Use when editing src\u002Flib\u002Fjobs\u002Frekomendasi-kursus.ts, src\u002Flib\u002Fagents\u002Fkursus-loker\u002F, src\u002Flib\u002Fagents\u002Fjalur-loker\u002F, src\u002Factions\u002Floker-persiapan.ts, the rekomendasi-kursus-panel \u002F jalur-loker-panel components, or MasteryTopic.jobId \u002F the \"Buka lowongan\" link in the mastery topic view; when a recommendation is missing, wrong, or suspicious; or when deciding how a failure should look without a model.","vaskoyudha\u002Fcareevo","vaskoyudha","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F144796975?v=4","01M7D8S8JQXJPR42R223YADWJ4","Vasco Yudha Nodyatama Sera","01M7D8S8KTG6RWZDBH30REP56C",0,"MIT","https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Floker-persiapan\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: loker-persiapan\ndescription: >-\n  The Careevo \"persiapan lowongan\" surface — the course recommendations and\n  job-sourced mastery path on the loker detail page. Use when editing\n  src\u002Flib\u002Fjobs\u002Frekomendasi-kursus.ts, src\u002Flib\u002Fagents\u002Fkursus-loker\u002F,\n  src\u002Flib\u002Fagents\u002Fjalur-loker\u002F, src\u002Factions\u002Floker-persiapan.ts, the\n  rekomendasi-kursus-panel \u002F jalur-loker-panel components, or\n  MasteryTopic.jobId \u002F the \"Buka lowongan\" link in the mastery topic view; when\n  a recommendation is missing, wrong, or suspicious; or when deciding how a\n  failure should look without a model.\nlicense: MIT\nmetadata:\n  owner: careevo\n  area: jobs\n---\n\n# Loker preparation — courses + mastery path\n\nThe detail page (`\u002Floker\u002F[id]`) has two cards under the assessment grid:\n**Kursus yang cocok** and **Jalur penguasaan**. The grid above judges the\nposting (Sentinel + A–H); these two build toward it. They are one feature, not\ntwo, because they share one argument: the posting is the source of truth, and\nthe two failure policies are deliberately asymmetric.\n\n## Shape\n\n```\nrekomendasiKursusLokerAction (server action)   ← auth-checked, on demand\n  ├─ ambilLokerById        ← refuses rejected postings (404)\n  ├─ katalogBelajar()      ← published courses + fixture resources\n  ├─ rekomendasiKursusUntukLoker  ← DETERMINISTIC shortlist (no model)\n  └─ jelaskanKursus (LLM)  ← decorates the shortlist, never re-picks it\n       └─ validasiAlasanKursus ← drops any id NOT in the shortlist\n\nbuatJalurLokerAction (server action)           ← auth-checked, a WRITE\n  ├─ listMasteryTopics    ← duplicate guard: one active topic per job per user\n  ├─ susunJalurLoker (LLM) ← extracts 3–12 points from the description\n  └─ createMasteryTopic   ← persists with jobId; point ids from job id + index\n```\n\nFiles:\n\n| File | Role |\n|---|---|\n| `src\u002Flib\u002Fjobs\u002Frekomendasi-kursus.ts` | `skorKursusUntukLoker`, `rekomendasiKursusUntukLoker` |\n| `src\u002Flib\u002Fagents\u002Fkursus-loker\u002F{skema,prompt,alasan}.ts` | why each course fits |\n| `src\u002Flib\u002Fagents\u002Fjalur-loker\u002F{skema,prompt,jalur}.ts` | the mastery path |\n| `src\u002Flib\u002Fllm\u002Fgagal.ts` | shared failure classification (also used by A–H) |\n| `src\u002Factions\u002Floker-persiapan.ts` | both server actions |\n| `src\u002Fcomponents\u002Ffeatures\u002Fjobs\u002F{rekomendasi-kursus,jalur-loker}-panel.tsx` | the UI |\n| `src\u002Flib\u002Fmastery\u002F{types,store}.ts` + `mastery-topic-view.tsx` | `jobId` source + \"Buka lowongan\" |\n\n## The hybrid: deterministic pick, LLM explains\n\nThe shortlist is chosen by `rekomendasiKursusUntukLoker`, **not by the model**.\nThe model is only allowed to *decorate* the already-decided picks. Two rules make\nthat real, and both have tests:\n\n1. **Level and free are tiebreakers, never relevance.** The first RED test caught\n   it: a Godot course was passing the relevance floor on level + free alone while\n   sharing zero tags with the posting. A course with no content overlap scores 0.\n   Do not \"soften\" that — it is how the list stays about the job.\n2. **The model cannot add courses.** `validasiAlasanKursus` checks every id\n   against the shortlist; an invented id is dropped, not rendered. The prompt says\n   \"jangan memilih kursus lain\" because a model asked to \"recommend\" will happily\n   return something the ranker never picked.\n\n## Failure policy — the asymmetry is the point\n\nWith no model:\n\n- **The course list still renders.** The picks are deterministic and already\n  correct; only the reason lines go missing. `jelaskanKursus` skips the call\n  entirely for an empty shortlist, and a non-model failure returns the shortlist\n  without reasons. Showing an error banner here would imply the recommendation\n  broke when it did not.\n- **There is no mastery path.** Its points must be read from the description, so\n  no model = no path. The panel shows the typed message; a guessed tree would\n  look like a considered plan and is worse than a blank. This mirrors the A–H\n  panel's \"no score, never a fake one\".\n\nA well-formed object carrying **no usable reason** is success with zero reasons\n(not `hasil_tidak_valid`) — the shortlist stands exactly as it does with no\nmodel. The mastery-path schema is deliberately the opposite: an empty points\narray IS a real failure, because there the points are the artifact.\n\n## Learner copy must never contain the provider's body\n\nThis feature found, in a real browser run, a bug that predates it: the shared\ngateway answered 503 wrapping a nested `429 quota reached`, and `klasifikasiGagal`\npassed that body through as `pesan` — ~200 characters of escaped JSON rendered at\na job seeker. The fix (`src\u002Flib\u002Fllm\u002Fgagal.ts`) is the one place this is decided:\n\n- `pesan` is written per `JenisGagal` and never assembled from `hasil.message`.\n- `hasil.message` rides along as `detail`, which the action carries but the panel\n  never renders.\n- The detail rule is an **exclusion** list (`missing_api_key` adds nothing), not\n  an allow-list, so a future port reason cannot silently lose its diagnostic.\n\nDo not reintroduce `hasil.message` into a rendered string. If a new agent needs a\nfailure, use `klasifikasiGagal` and render `pesan` only. The A–H panel inherits\nthe same fix, so `gagal.ts` is shared and must stay shared — two copies are the\ndrift it was extracted to prevent.\n\n## Point ids are never model-derived\n\n`pointIdLoker(jobId, index)` → `loker-\u003Cid>::kp\u003Cn>`. Regenerating a path keeps a\npoint's attempt history because the id comes from the job id and the index, not\nfrom model output. The course path does the same (`moduleId::kp\u003Cn>`). Keep both.\n\n## One active topic per job per user\n\n`MasteryTopic.jobId` is optional and only set for job-sourced topics. The action\nguards before creating: `listMasteryTopics` → an active topic with the same\n`jobId` returns that topic instead of creating a duplicate. Course-derived topics\nhave no `jobId` and render \"Buka kursus\"; job-sourced ones render \"Buka\nlowongan\" (`mastery-topic-view.tsx`).\n\n## The panels differ on purpose\n\nCourses are a read: button + `useTransition`, mirroring `EvaluasiPanel`. The\nmastery path is a write: a real `\u003Cform action>` + `useActionState`, which works\nwithout JavaScript. The course summary reuses `ringkasEntri` from the dashboard\njelajah (`provider · menit · level`) rather than restating it, so the catalog\nline cannot drift. Both re-check the session — a server action is a public\nendpoint, and the `(app)` layout is not a gate.\n\n## Verifying\n\n```bash\nnpm run check      # typecheck + lint + skills:check + test\n```\n\nUnit tests: `rekomendasi-kursus.test.ts` (scoring + shortlist),\n`kursus-loker\u002Falasan.test.ts` (shortlist guard, no-reason = success, 429),\n`jalur-loker\u002F{skema,jalur}.test.ts` (3–12 range, unknown type rejects, fenced\nJSON, no-model, 429), `src\u002Factions\u002Floker-persiapan.test.ts` (auth, unknown job,\nrejected posting, duplicate topic, blank jobId).\n\n**What unit tests cannot show:** the live LLM path. The whole surface was\nbrowser-verified against a real chromium and the production build: both cards\nrender, 3 courses recommend with real meta, no page errors, and the failure path\nunder a live 503 shows the typed message. The *success* path (course reasons,\nthe 3–12 point path, the back-link, duplicate reuse) has only ever been exercised\nagainst a stubbed gateway — the shared quota was exhausted at verification time.\nSay \"not verified live\" until a real model run happens; do not claim otherwise.\n","# Loker preparation — courses + mastery path\n\nThe detail page (`\u002Floker\u002F[id]`) has two cards under the assessment grid:\n**Kursus yang cocok** and **Jalur penguasaan**. The grid above judges the\nposting (Sentinel + A–H); these two build toward it. They are one feature, not\ntwo, because they share one argument: the posting is the source of truth, and\nthe two failure policies are deliberately asymmetric.\n\n## Shape\n\n```\nrekomendasiKursusLokerAction (server action)   ← auth-checked, on demand\n  ├─ ambilLokerById        ← refuses rejected postings (404)\n  ├─ katalogBelajar()      ← published courses + fixture resources\n  ├─ rekomendasiKursusUntukLoker  ← DETERMINISTIC shortlist (no model)\n  └─ jelaskanKursus (LLM)  ← decorates the shortlist, never re-picks it\n       └─ validasiAlasanKursus ← drops any id NOT in the shortlist\n\nbuatJalurLokerAction (server action)           ← auth-checked, a WRITE\n  ├─ listMasteryTopics    ← duplicate guard: one active topic per job per user\n  ├─ susunJalurLoker (LLM) ← extracts 3–12 points from the description\n  └─ createMasteryTopic   ← persists with jobId; point ids from job id + index\n```\n\nFiles:\n\n| File | Role |\n|---|---|\n| `src\u002Flib\u002Fjobs\u002Frekomendasi-kursus.ts` | `skorKursusUntukLoker`, `rekomendasiKursusUntukLoker` |\n| `src\u002Flib\u002Fagents\u002Fkursus-loker\u002F{skema,prompt,alasan}.ts` | why each course fits |\n| `src\u002Flib\u002Fagents\u002Fjalur-loker\u002F{skema,prompt,jalur}.ts` | the mastery path |\n| `src\u002Flib\u002Fllm\u002Fgagal.ts` | shared failure classification (also used by A–H) |\n| `src\u002Factions\u002Floker-persiapan.ts` | both server actions |\n| `src\u002Fcomponents\u002Ffeatures\u002Fjobs\u002F{rekomendasi-kursus,jalur-loker}-panel.tsx` | the UI |\n| `src\u002Flib\u002Fmastery\u002F{types,store}.ts` + `mastery-topic-view.tsx` | `jobId` source + \"Buka lowongan\" |\n\n## The hybrid: deterministic pick, LLM explains\n\nThe shortlist is chosen by `rekomendasiKursusUntukLoker`, **not by the model**.\nThe model is only allowed to *decorate* the already-decided picks. Two rules make\nthat real, and both have tests:\n\n1. **Level and free are tiebreakers, never relevance.** The first RED test caught\n   it: a Godot course was passing the relevance floor on level + free alone while\n   sharing zero tags with the posting. A course with no content overlap scores 0.\n   Do not \"soften\" that — it is how the list stays about the job.\n2. **The model cannot add courses.** `validasiAlasanKursus` checks every id\n   against the shortlist; an invented id is dropped, not rendered. The prompt says\n   \"jangan memilih kursus lain\" because a model asked to \"recommend\" will happily\n   return something the ranker never picked.\n\n## Failure policy — the asymmetry is the point\n\nWith no model:\n\n- **The course list still renders.** The picks are deterministic and already\n  correct; only the reason lines go missing. `jelaskanKursus` skips the call\n  entirely for an empty shortlist, and a non-model failure returns the shortlist\n  without reasons. Showing an error banner here would imply the recommendation\n  broke when it did not.\n- **There is no mastery path.** Its points must be read from the description, so\n  no model = no path. The panel shows the typed message; a guessed tree would\n  look like a considered plan and is worse than a blank. This mirrors the A–H\n  panel's \"no score, never a fake one\".\n\nA well-formed object carrying **no usable reason** is success with zero reasons\n(not `hasil_tidak_valid`) — the shortlist stands exactly as it does with no\nmodel. The mastery-path schema is deliberately the opposite: an empty points\narray IS a real failure, because there the points are the artifact.\n\n## Learner copy must never contain the provider's body\n\nThis feature found, in a real browser run, a bug that predates it: the shared\ngateway answered 503 wrapping a nested `429 quota reached`, and `klasifikasiGagal`\npassed that body through as `pesan` — ~200 characters of escaped JSON rendered at\na job seeker. The fix (`src\u002Flib\u002Fllm\u002Fgagal.ts`) is the one place this is decided:\n\n- `pesan` is written per `JenisGagal` and never assembled from `hasil.message`.\n- `hasil.message` rides along as `detail`, which the action carries but the panel\n  never renders.\n- The detail rule is an **exclusion** list (`missing_api_key` adds nothing), not\n  an allow-list, so a future port reason cannot silently lose its diagnostic.\n\nDo not reintroduce `hasil.message` into a rendered string. If a new agent needs a\nfailure, use `klasifikasiGagal` and render `pesan` only. The A–H panel inherits\nthe same fix, so `gagal.ts` is shared and must stay shared — two copies are the\ndrift it was extracted to prevent.\n\n## Point ids are never model-derived\n\n`pointIdLoker(jobId, index)` → `loker-\u003Cid>::kp\u003Cn>`. Regenerating a path keeps a\npoint's attempt history because the id comes from the job id and the index, not\nfrom model output. The course path does the same (`moduleId::kp\u003Cn>`). Keep both.\n\n## One active topic per job per user\n\n`MasteryTopic.jobId` is optional and only set for job-sourced topics. The action\nguards before creating: `listMasteryTopics` → an active topic with the same\n`jobId` returns that topic instead of creating a duplicate. Course-derived topics\nhave no `jobId` and render \"Buka kursus\"; job-sourced ones render \"Buka\nlowongan\" (`mastery-topic-view.tsx`).\n\n## The panels differ on purpose\n\nCourses are a read: button + `useTransition`, mirroring `EvaluasiPanel`. The\nmastery path is a write: a real `\u003Cform action>` + `useActionState`, which works\nwithout JavaScript. The course summary reuses `ringkasEntri` from the dashboard\njelajah (`provider · menit · level`) rather than restating it, so the catalog\nline cannot drift. Both re-check the session — a server action is a public\nendpoint, and the `(app)` layout is not a gate.\n\n## Verifying\n\n```bash\nnpm run check      # typecheck + lint + skills:check + test\n```\n\nUnit tests: `rekomendasi-kursus.test.ts` (scoring + shortlist),\n`kursus-loker\u002Falasan.test.ts` (shortlist guard, no-reason = success, 429),\n`jalur-loker\u002F{skema,jalur}.test.ts` (3–12 range, unknown type rejects, fenced\nJSON, no-model, 429), `src\u002Factions\u002Floker-persiapan.test.ts` (auth, unknown job,\nrejected posting, duplicate topic, blank jobId).\n\n**What unit tests cannot show:** the live LLM path. The whole surface was\nbrowser-verified against a real chromium and the production build: both cards\nrender, 3 courses recommend with real meta, no page errors, and the failure path\nunder a live 503 shows the typed message. The *success* path (course reasons,\nthe 3–12 point path, the back-link, duplicate reuse) has only ever been exercised\nagainst a stubbed gateway — the shared quota was exhausted at verification time.\nSay \"not verified live\" until a real model run happens; do not claim otherwise.\n",{"name":5,"license":15,"metadata":24,"description":7},{"area":25,"owner":26},"jobs","careevo","main","94c24699d1bf162ee5c4b5e46038d64cc14894b6",".agents\u002Fskills\u002Floker-persiapan","https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo","www.careevo.my.id","https:\u002F\u002Fgithub.com\u002Fvaskoyudha","CS Student @ UNNES | AI Enthusiast | Building intelligent systems for social impact 🇮🇩","2026-10-06 12:21:37",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add vaskoyudha\u002Fcareevo --skill loker-persiapan",{"tool":41,"command":42},"bunx","bunx skills add vaskoyudha\u002Fcareevo --skill loker-persiapan",{"tool":44,"command":45},"pnpm","pnpm dlx skills add vaskoyudha\u002Fcareevo --skill loker-persiapan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Floker-persiapan\u002FSKILL.md",true,[],[50,57,64,71,79,86],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7D8XPJB9Y9KE69KJJ3B9RD1","career-ops-plugin-notion","How to mirror the career-ops tracker to a Notion database and read records back as job leads.","https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo\u002Fblob\u002Fmain\u002Fengine\u002Fplugins\u002Fnotion\u002Fskill.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7D8XHQJ2N6T6ARHDP25YFRR","career-ops-plugin-gmail","How to pull job leads from a Gmail label into the career-ops pipeline.","https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo\u002Fblob\u002Fmain\u002Fengine\u002Fplugins\u002Fgmail\u002Fskill.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7D8XDWFM3VN6HF4FGXKMH96","career-ops-plugin-apify","How to scan a job source through an Apify actor as a keyed provider.","https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo\u002Fblob\u002Fmain\u002Fengine\u002Fplugins\u002Fapify\u002Fskill.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7D8XC5PPAPSD0Y1FYWFRSMG","career-ops-plugin-{{NAME}}","How to use the {{NAME}} plugin and the data it produces.","https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo\u002Fblob\u002Fmain\u002Fengine\u002Fplugins\u002F_template\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo\u002Fblob\u002Fmain\u002Fengine\u002Fplugins\u002F_template\u002Fskill.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7D8WR3GZT4YSYAGEQT7ZAFJ","career-ops","AI job search command center -- evaluate offers, generate CVs, scan portals, track applications. Use when the user pastes a job URL or JD, asks to scan portals, generate a CV\u002FPDF, track applications, prepare for interviews, draft outreach\u002Femails, or run any career-ops mode.","https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo\u002Fblob\u002Fmain\u002Fengine\u002F.agents\u002Fskills\u002Fcareer-ops\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":90,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7D8VKVCEP91X2QN2Q1CAVHD","deeptutor-cli","Configure, manage, and use DeepTutor through its CLI, including capabilities, knowledge bases, partners, memory, sessions, notebooks, providers, skills, and the server or Web app.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo\u002Fblob\u002Fmain\u002Fbackend\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvaskoyudha\u002Fcareevo\u002Fblob\u002Fmain\u002Fbackend\u002FSKILL.md",[],[]]