Logo: Om Auto Upgrade 0.4.10 To 0.5.0

Om Auto Upgrade 0.4.10 To 0.5.0

OrganisatiounBeléift
open-mercato
om-auto-upgrade-0.4.10-to-0.5.0

Migréiert eng standalone Open Mercato-App vum Framework 0.4.10 op 0.5.0. Dës Versioun ass bis elo déi gréisst Verëffentlechung vun Open Mercato a enthält méi wéi 250 Fixen no der Hackathon-Phas souwéi e puer wichteg Aktualiséierunge vun Ofhängegkeeten. Dëse Skill ergänzt d'Upgrade-Notize fir 0.5.0 mat direkt ausféierbare Schrëtt. E setzt déi dokumentéiert Codemods fir d'Versiounsperiod 0.4.10 → 0.5.0 automatesch ëm: Ëmbenennung vun der Meilisearch-Klass, Typiséierung vun der Stripe-API-Versioun, Ewechhuele vu Brand-Ikonen aus lucide-react a Fixe fir d'Robustheet vu Metadata-Ikonen, Wrapping vum className bei react-markdown, Ëmbenennung vu cron-parser `CronExpressionParser.parse`, méi enk Typen fir Uint8Array bei @simplewebauthn, Ëmbenennung vum react-email CLI, plus d'Jest-ESM-Allowlist. De Skill leeft an der App vum Benotzer, erkennt, wéi eng Mustere wierklech benotzt ginn, ännert d'Dateien direkt, féiert eng Typprüfung duerch a mellt, wat migréiert gouf a wou nach e Mënsch soll nokucken. Benotzt dëst, wann e Benotzer freet: "upgrade my Open Mercato project from 0.4.10 to 0.5.0", "bump open-mercato to 0.5.0" oder "apply the 0.5.0 upgrade notes".

Add to TypingMind

Iwwersiicht

Editeuropen-mercato
Repositoryopen-mercato
Skill-Nummom-auto-upgrade-0.4.10-to-0.5.0
Stären
1.8K
Forks
415
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    open-mercato huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Om Auto Upgrade 0.4.10 To 0.5.0 an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/open-mercato/open-mercato/tree/main/packages/create-app/agentic/shared/ai/skills/om-auto-upgrade-0.4.10-to-0.5.0
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/open-mercato/open-mercato.git /tmp/open-mercato
mkdir -p .claude/skills
cp -r /tmp/open-mercato/packages/create-app/agentic/shared/ai/skills/om-auto-upgrade-0.4.10-to-0.5.0 .claude/skills/om-auto-upgrade-0.4.10-to-0.5.0
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Om Auto Upgrade 0.4.10 To 0.5.0 an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Om Auto Upgrade 0.4.10 To 0.5.0 automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Om Auto Upgrade 0.4.10 To 0.5.0 net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

auto-upgrade-0.4.10-to-0.5.0

Apply the Open Mercato 0.4.10 → 0.5.0 dependency-upgrade codemods to this standalone application.

Context for this window:

  • 0.5.0 is the biggest Open Mercato release so far
  • it includes more than 250 fixes and improvements after the Hackathon in Sopot
  • several important dependency upgrades landed in the same release, which is why dedicated upgrade notes and this companion skill were added

Scope

This skill operates on the current standalone app created with create-mercato-app or any downstream app that depends on @open-mercato/*.

It applies the mechanical parts of the upgrade. It does NOT bump the @open-mercato/* dependencies themselves — that is still the user's pinning decision. Run this skill after the user bumps their dependencies and runs yarn install.

When to use

  • User says: "upgrade Open Mercato from 0.4.10 to 0.5.0", "bump open-mercato to 0.5.0", "migrate my code for the new open-mercato version", "apply the 0.5.0 upgrade notes".
  • After the user changes their @open-mercato/* pins from 0.4.10 to 0.5.0 and runs yarn install.

When NOT to use

  • The user is on a version older than 0.4.10 or newer than 0.4.10 targeting 0.5.0. Use or create the matching auto-upgrade-<from>-<to> skill instead.
  • The user wants to upgrade deferred majors such as MikroORM 6 → 7, TypeScript 5 → 6, or Awilix 12 → 13.

Arguments

  • --path <dir> (optional) — root of the standalone app. Default: current working directory.
  • --dry-run (optional) — print planned edits without writing.
  • --skip <id[,id...]> (optional) — skip specific codemods by id.
  • --only <id[,id...]> (optional) — run only specific codemods.

Codemods

idWhat it doesDetect
meilisearch-class-renameMeiliSearch → Meilisearch in imports, new calls, type refsgrep \bMeiliSearch\b excluding imports of meilisearch-js-plugins
meilisearch-jest-esmAdd transformIgnorePatterns allow-list to Jest configfile jest.config.{cjs,js,ts,mjs} exists and doesn't already allow-list meilisearch
stripe-api-version-typeReplace as Stripe.LatestApiVersion with as StripeConfig['apiVersion'] and inject the StripeConfig type aliasgrep Stripe\.LatestApiVersion
stripe-retrieve-currentstripe.accounts.retrieve() with no args → stripe.accounts.retrieveCurrent()grep \.accounts\.retrieve\(\s*\)
lucide-brand-iconsReplace Linkedin → Briefcase, Twitter → AtSign in lucide-react imports and usages, with a TODO comment asking the user to confirm semanticsgrep from 'lucide-react' that pulls Linkedin or Twitter
lucide-metadata-iconsIn metadata-like server files, replace Lucide component references used as icon values with kebab-case icon names when the mapping is unambiguousgrep icon: in page.meta.ts, nav config, or backend chrome config files that also import from lucide-react
react-markdown-classname-wrapWrap <ReactMarkdown className=\"...\">...</ReactMarkdown> in a parent <div className=\"...\"> and remove the direct className propAST find JSX ReactMarkdown elements with a className prop
cron-parser-apiimport parser from 'cron-parser' + parser.parseExpression(...) → import { CronExpressionParser } from 'cron-parser' + CronExpressionParser.parse(...)grep cron-parser
simplewebauthn-uint8arrayAdd .slice() to new TextEncoder().encode(...) and new Uint8Array(Buffer.from(...)) results passed into @simplewebauthn/server helpersgrep @simplewebauthn/server plus the constructors in the same file
react-email-cliRename email CLI usage in package.json scripts to react-emailgrep "email " or `"email\

Workflow

0. Gate checks

bash
test -f package.json || { echo "Not a Node project — aborting"; exit 1; }
grep -q '"@open-mercato/' package.json || {
  echo "No @open-mercato/* dependency found — is this the right repo?"; exit 1;
}

grep -q '"@open-mercato/core": "\^\\?0\\.5\\.0"' package.json || \
  echo "⚠️  @open-mercato/core is not pinned to 0.5.0 — run this skill after bumping."

If the version check warns, ask the user to confirm before editing.

1. Detection scan

For each codemod id in the table above, run its detection grep or AST query and build a PlannedEdits list: { codemodId, filePath, before, after }.

Skip codemods with no matches. Print the plan before editing:

text
Codemod                            Matches  Files
meilisearch-class-rename           3        src/search/client.ts, src/search/admin.tsx
lucide-brand-icons                 2        src/components/SocialLinks.tsx
cron-parser-api                    1        src/jobs/reminder.ts

Ask the user to confirm, unless the user explicitly requested an automatic run.

2. Apply codemods

Rules:

  • One minimal edit per file where practical. Do not rewrite whole files when a targeted edit is enough.
  • Preserve indentation, surrounding comments, and import ordering.
  • For AST-shaped codemods such as react-markdown-classname-wrap and stripe-api-version-type, read the file first and then make the smallest correct edit.
  • For lucide-brand-icons, add a one-line follow-up comment above the substituted usage:
tsx
// TODO(open-mercato 0.5.0): lucide-react v1 removed brand icons; Briefcase is a generic substitute

3. Post-edit verification

Run in this order and stop at the first failure:

bash
yarn tsc --noEmit 2>&1 | tail -40

If tsc fails with errors clearly caused by a codemod, roll back that codemod and add it to the manual follow-up list. Do not auto-revert unrelated pre-existing errors.

If the app has a Jest config, run:

bash
yarn test 2>&1 | tail -20

If tests fail with meilisearch ESM import errors, make sure the meilisearch-jest-esm codemod applied.

4. Report

Print a final summary with:

  • applied codemods
  • skipped codemods
  • manual review items
  • validation results
  • exact edited file paths

Suggested close-out structure:

text
Upgrade 0.4.10 → 0.5.0 complete.

Applied:
  ✅ meilisearch-class-rename
  ✅ cron-parser-api
  ✅ lucide-brand-icons — review the TODO comments

Needs human review:
  ⚠️ src/components/SocialLinks.tsx — confirm the generic icon replacement.

Validation:
  yarn tsc --noEmit ✅
  yarn test ✅

5. Out of scope

Flag these for manual handling instead of editing them automatically:

  • recharts 2 → 3
  • rate-limiter-flexible 9 → 11
  • framer-motion 11 → 12
  • esbuild 0.25 → 0.28
  • eslint 9 → 10
  • AI SDK major migrations
  • deferred majors such as MikroORM 7, TypeScript 6, or Awilix 13

Rules

  • Never edit node_modules/, .yarn/, dist/, .next/, or build/.
  • Never regenerate yarn.lock; dependency installation belongs to the user's yarn install step.
  • Every codemod must be idempotent.
  • If a codemod is not unambiguous, skip it and add it to manual follow-up.
  • Always include the exact list of edited files in the final report.

Heefeg gestallte Froen

Wat mécht de KI-Skill Om Auto Upgrade 0.4.10 To 0.5.0?

Migréiert eng standalone Open Mercato-App vum Framework 0.4.10 op 0.5.0. Dës Versioun ass bis elo déi gréisst Verëffentlechung vun Open Mercato a enthält méi wéi 250 Fixen no der Hackathon-Phas souwéi e puer wichteg Aktualiséierunge vun Ofhängegkeeten. Dëse Skill ergänzt d'Upgrade-Notize fir 0.5.0 mat direkt ausféierbare Schrëtt. E setzt déi dokumentéiert Codemods fir d'Versiounsperiod 0.4.10 → 0.5.0 automatesch ëm: Ëmbenennung vun der Meilisearch-Klass, Typiséierung vun der Stripe-API-Versioun, Ewechhuele vu Brand-Ikonen aus lucide-react a Fixe fir d'Robustheet vu Metadata-Ikonen, Wrapping...

Firwat Om Auto Upgrade 0.4.10 To 0.5.0 op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Om Auto Upgrade 0.4.10 To 0.5.0 besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Om Auto Upgrade 0.4.10 To 0.5.0 an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/open-mercato/open-mercato/tree/main/packages/create-app/agentic/shared/ai/skills/om-auto-upgrade-0.4.10-to-0.5.0 an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Om Auto Upgrade 0.4.10 To 0.5.0 benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Om Auto Upgrade 0.4.10 To 0.5.0 benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Om Auto Upgrade 0.4.10 To 0.5.0 domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Om Auto Upgrade 0.4.10 To 0.5.0 gratis?

Jo. open-mercato huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇